Creative SB Audigy

From: Jamie Bowden <ragnar_at_sysabend.org>
Date: Fri, 13 Feb 2004 16:39:23 -0800 (PST)
I've installed the Audigy module from the patches at:

http://chibis.persons.gfk.ru/audigy/

and have successfully attached to my Audigy Platinum EX.

The problem I have is that I don't actually have sound coming out when I
try to use audio applications.

I preload the emu10kx module:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RELEASE-p2 #0: Sat Feb  7 16:43:51 EST 2004
    jamie_at_yakko:/usr/obj/usr/src/sys/yakko
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0903000.
Preloaded elf module "/boot/kernel/snd_emu10kx.ko" at 0xc09031f4.

and I get the following when the kernel loads:

emu10kx0: <Creative EMU10K2 (Audigy)> port 0xa400-0xa41f irq 22 at device
6.0 on pci2

pcm doesn't attach to it, however it does reserve for it:

pcm1: <Intel ICH5 (82801EB)> port 0xdc00-0xdc3f,0xd800-0xd8ff mem
0xec103000-0xe
c1030ff,0xec102000-0xec1021ff irq 17 at device 31.5 on pci0
pcm1: <Avance Logic ALC650 AC97 Codec>

and rc.local reloads the module and sets output to analogue:

%cat /etc/rc.local
#!/bin/sh
/bin/echo ""
/bin/echo "Reloading the EMU10Kx driver"
/sbin/kldunload snd_emu10kx
/bin/sleep 5
/sbin/kldload snd_emu10kx
/bin/sleep 5
/bin/echo "Setting Sound Blaster Audigy to analog"
/usr/sbin/emuctrl mode analog
/bin/sleep 5

yeilding the following output:

Mounting root from ufs:/dev/ad4s2a
emu10kx0: detached
emu10kx0: <Creative EMU10K2 (Audigy)> port 0xa400-0xa41f irq 22 at device
6.0 on
 pci2
midi0: <EMU10Kx MIDI Interface> on emu10kx0
midi1: <EMU10Kx MIDI Interface> on emu10kx0
pcm0: <EMU10Kx PCM Interface> on emu10kx0
pcm0: <TriTech TR28602 AC97 Codec>

And /dev/sndstat looks like:

%cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <EMU10Kx PCM Interface> on emu10kx0 (16p/2r/0v channels duplex
default)
pcm1: <Intel ICH5 (82801EB)> at io 0xec102000, 0xec103000 irq 17 bufsz
16384 (1p/1r/0v channels duplex)

Everything looks like it should be fine.  My question is, is anyone else
using this module successfully, and if so, how did you get it to work?
Both xmmix and xmcd think they are successfully manipulating the device,
and I don't see any errors in syslog or on the console.  In fact, here's
the last bit of syslog:


%tail /var/log/messages
Feb 13 15:36:43 yakko kernel: (da0:ata1:0:0:0): Medium not present
Feb 13 15:36:43 yakko kernel: (da0:ata1:0:0:0): Unretryable error
Feb 13 15:36:43 yakko kernel: Opened disk da0 -> 6
Feb 13 15:36:43 yakko kernel: Mounting root from ufs:/dev/ad4s2a
Feb 13 15:36:48 yakko kernel: emu10kx0: detached
Feb 13 15:36:53 yakko kernel: emu10kx0: <Creative EMU10K2 (Audigy)> port
0xa400-0xa41f irq 22 at device 6.0 on pci2
Feb 13 15:36:53 yakko kernel: midi0: <EMU10Kx MIDI Interface> on emu10kx0
Feb 13 15:36:53 yakko kernel: midi1: <EMU10Kx MIDI Interface> on emu10kx0
Feb 13 15:36:53 yakko kernel: pcm0: <EMU10Kx PCM Interface> on emu10kx0
Feb 13 15:36:53 yakko kernel: pcm0: <TriTech TR28602 AC97 Codec>

The author of this set of patches has links to two other drivers for the
Audigy(2), has anyone tested those, and if so do they work for you?  Are
any of these going to be committed at some point?

Jamie Bowden

-- 
"It was half way to Rivendell when the drugs began to take hold"
Hunter S Tolkien "Fear and Loathing in Barad Dur"
Iain Bowen <alaric_at_alaric.org.uk>
Received on Fri Feb 13 2004 - 15:39:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC