Re: Sound problem: ac97 codec invalid or not present

2003-03-01 Thread Orion Hodson

Hugo

Having 'device pcm' in the kernel is all you should need for you VT82C686 
(kldload'ing sound drivers requires pcm support not be compiled into the 
kernel.

The are two portions to the sound h/w you have, the pcm component, ie the 
VT82C686, and the AC97 codec that controls the mixer and routing of the audio 
within the h/w.  The AC97 code does not detect your AC97 codec so you end up 
with a pcm component with no ac97 mixer.

Does you BIOS have an onboard sound setting?  If this is not enabled then 
might explain what you see.  Failing that can you post the complete output of 
dmesg and set 'sysctl hw.snd.verbose=3' and post the output of 'cat 
'/dev/sndstat'?

Thanks
- Orion





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Sound problem: ac97 codec invalid or not present

2003-02-28 Thread Hugo D. Valentim
Hi, 
 
 I am unable to get the sound going on my laptop and I badly need your HELP! 
 
 1) Recompiled the Kernel adding «dev pcm» (Via AC'97). 
 
 2) Now, these /dev(s) are shown: 
 audio0.0, audio0.1, dsp0.0, dsp.0.1,dspW0.0, dspW0.1, stderr, stdin, stdout 
etc...
 
 3) I have tried to output sound to all of them (KDE*) WITHOUT success (I do 
not hear a thing). 
 
 4) This is what I have found out: 
 4.a 
 # grep pcm /var/run/dmesg.boot 
 pcm0: VIA VT82C686A port 0x1830-0x1833,0x1834-0x1837,0x1000-0x10ff irq 9 at 
device 7.5 on pci0 
 pcm0: ac97 codec invalid or not present (id == ) 
 robur# 
 
 4.b 
 # pciconf -lv 
 [EMAIL PROTECTED]:7:5: class=0x040100 card=0xb1940e11 chip=0x30581106 rev=0x20 
hdr=0x00 
 vendor = 'VIA Technologies Inc' 
 device = 'VT82C686/A/B AC'97 Audio Codec' 
 class = multimedia 
 subclass = audio 
 
 4.c
 # cat /dev/sndstat 
 FreeBSD Audio Driver (newpcm) 
 Installed devices: 
 pcm0: VIA VT82C686A at io 0x1000 irq 9 (1p/1r/0v channels duplex default)
 
 5) If I try to load the codec: 
 # kldload snd_via82c686.ko 
 kldload: can't load snd_via82c686.ko: File exists 
 
 I am affraid I am lost. Can anyone give me an insight please? 
 
 Thank You, 
 HDV
 
 *Before adding «device pcm» to the Kernel KDE always showed a message saying 
there was no sound device or something similar, this error message does not 
appear now but either I am unable to run the Mixer (it hangs for a while and 
does not start) either it starts but shows no volume control.

 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message