FBSD 8.2R does not probe sound card

Gua Chung Lim gua.chunglim at gmail.com
Mon Mar 21 05:35:06 UTC 2011


Hi,

Thank you very much for your kind response.

> The reprogramming I gave you was for pcm0.  Your pcm1 is showing
> with the HDMI digital chip pins.
> 
> Make sure that your "cat /dev/sndstat" is showing pcm0 as "default".
> (Use the sysctl hw.snd.default_unit to set it.)
Previously my sysctl hw.snd.default_unit was 1.
So its default was set to pcm1.
Therefore I change it to 0.
By the way my configuration files got changed from time to time for
each suggestion I received.
So I would summarize my current config as follows.

guacl at bsdhost:~% tail -n 1 /etc/sysctl.conf
hw.snd.default_unit=0
guacl at bsdhost:~% cat /boot/loader.conf
atapicam_load="YES"
snd_hda_load="YES"
guacl at bsdhost:~% cat /boot/loader.conf.local
hint.hdac.0.cad0.nid30.config="as=1 seq=0 device=Speaker conn=Fixed"
hint.hdac.0.cad0.nid27.config="as=1 seq=15"

(I have tried nid21, 22, 28 and 30.)
From my current configurations, my speakers are still quiet.
mixer(8) does not even show "speaker" or "volume"
guacl at bsdhost:~% mixer
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer rec      is currently set to  75:75
Mixer monitor  is currently set to  75:75
Recording source: mic

Anythings divert from your suggestion, please tell me.

> Also, I am guessing from your verbose info that pcm0 also shows
> "Analog" and "play" too?  You need these for the speaker output.
> If you, in fact, have pcm0, pcm1 on Analog and then a pcm2 on HDMI,
> we will need to try other settings.  Or if pcm0 does not show "play"
> by it.  Perhaps send me the /dev/sndstat info if it is not
> pcm0: Analog...play and pcm1: HDMI.
guacl at bsdhost:~% cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Realtek ALC662 PCM #0 Analog> (rec) default
pcm1: <HDA ATI R6xx HDMI PCM #0 HDMI> (play)

No, pcm0 shows "Analog" but pcm1 shows "play".

> You might also want to try explicitly adding statements to program
> your input device.  I notice that in your verbose info, your output
> devices are listed on the input association.  Try this:
> 
> 	hint.hdac.0.cad0.nidXX.config="as=1 seq=0"
> 	hint.hdac.0.cad0.nid27.config="as=1 seq=15"
> 	hint.hdac.0.cad0.nid24.config="as=3 seq=0"
> 	hint.hdac.0.cad0.nid25.config="as=3 seq=1"
> 	hint.hdac.0.cad0.nid26.config="as=3 seq=15"
Shall I fix pcm first, then try this later?
I think that I tried reboot 30 times for the last couple days. :-(

Thank you very much.

-- 
Gua Chung Lim
 
Please help donate to Japan.
-- for earthquake, tsunami and nuclear radiation reliefs (2011)


More information about the freebsd-stable mailing list