Sound on SiS 7012 under 4.8 ?
Florent DANIEL
fdaniel-at-noos-point-fr at FreeBSD.ORG
Tue May 27 15:15:51 PDT 2003
Hello,
I can't get my onboard soundcard to work on FreeBSD 4.8-STABLE. My computer
is an Asus Terminator P4-533A, and its motherboard is based on SiS 651/962
chipsets. I've addedd "device pcm" to my kernel and rebuilt it, and now my
soundcard appears in boot messages :
bash-2.05b$ dmesg | grep pcm
pcm0: <SiS 7012> port 0x9000-0x907f,0x9400-0x94ff irq 5 at device 2.7 on
pci0
pcm0: <unknown ac97 codec> (id=0x41445370)
I've executed "sh MAKEDEV snd0" in /dev, and the needed entries seems to
have been created, like :
bash-2.05b$ ls -al /dev/audio*
lrwxrwxrwx 1 root wheel 6 May 25 12:56 /dev/audio -> audio0
lrwxrwxrwx 1 root wheel 8 May 25 12:56 /dev/audio0 -> audio0.0
crw-rw-rw- 1 root wheel 30, 4 May 25 18:22 /dev/audio0.0
crw-rw-rw- 1 root wheel 30, 0x00010004 May 25 12:56 /dev/audio0.1
crw-rw-rw- 1 root wheel 30, 0x00020004 May 25 12:56 /dev/audio0.2
crw-rw-rw- 1 root wheel 30, 0x00030004 May 25 12:56 /dev/audio0.3
bash-2.05b$ ls -al /dev/dsp*
lrwxrwxrwx 1 root wheel 4 May 25 12:56 dsp -> dsp0
lrwxrwxrwx 1 root wheel 6 May 25 12:56 dsp0 -> dsp0.0
crw-rw-rw- 1 root wheel 30, 3 May 25 16:55 dsp0.0
crw-rw-rw- 1 root wheel 30, 0x00010003 May 25 14:09 dsp0.1
crw-rw-rw- 1 root wheel 30, 0x00020003 May 25 18:14 dsp0.2
crw-rw-rw- 1 root wheel 30, 0x00030003 May 25 12:56 dsp0.3
lrwxrwxrwx 1 root wheel 5 May 25 12:56 dspW -> dspW0
lrwxrwxrwx 1 root wheel 7 May 25 12:56 dspW0 -> dspW0.0
crw-rw-rw- 1 root wheel 30, 5 May 25 12:56 dspW0.0
crw-rw-rw- 1 root wheel 30, 0x00010005 May 25 12:56 dspW0.1
crw-rw-rw- 1 root wheel 30, 0x00020005 May 25 12:56 dspW0.2
crw-rw-rw- 1 root wheel 30, 0x00030005 May 25 12:56 dspW0.3
I've also added "hw.snd.pcm0.vchans=4" and "hw.snd.maxautovchans=4" to
/etc/sysctl.conf. KDE has been configured to use /dev/dsp0.1, but I can't
get any output ? I've tried to test it with xmms or wavplay, but it with the
same results...
Does the "unknown ac97 codec" message indicate a problem ? If so, is there a
patch somewhere to fix this ? I've downgraded from 5.0 (where sound also
didn't work), and under this one I was just having this line :
pcm0: <SiS 7012> port 0x9000-0x907f,0x9400-0x94ff irq 3 at device 2.7 on
pci0
And no information about AC97 codec. One of the Windows drivers bundled with
the box is called "AD1980 SoundMAX Audio Driver", maybe the the codec to be
used is AD1980, but it doesn't appear in /usr/src/sys/dev/sound/pcm/ac97.c
Thanks in advance for your suggestions.
Florent
More information about the freebsd-questions
mailing list