Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 12:34:36 +0700
From:      Gua Chung Lim <gua.chunglim@gmail.com>
To:        "J.R. Oldroyd" <fbsd@opal.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FBSD 8.2R does not probe sound card
Message-ID:  <20110321053436.GA1483@gmail.com>
In-Reply-To: <20110320145751.193fb06e@shibato.opal.com>
References:  <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> <20110319132750.7edc62b3@shibato.opal.com> <20110320064842.GA1335@gmail.com> <20110320145751.193fb06e@shibato.opal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>=20
> 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@bsdhost:~% tail -n 1 /etc/sysctl.conf
hw.snd.default_unit=3D0
guacl@bsdhost:~% cat /boot/loader.conf
atapicam_load=3D"YES"
snd_hda_load=3D"YES"
guacl@bsdhost:~% cat /boot/loader.conf.local
hint.hdac.0.cad0.nid30.config=3D"as=3D1 seq=3D0 device=3DSpeaker conn=3DFix=
ed"
hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15"

(I have tried nid21, 22, 28 and 30.)
=46rom my current configurations, my speakers are still quiet.
mixer(8) does not even show "speaker" or "volume"
guacl@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@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:
>=20
> 	hint.hdac.0.cad0.nidXX.config=3D"as=3D1 seq=3D0"
> 	hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15"
> 	hint.hdac.0.cad0.nid24.config=3D"as=3D3 seq=3D0"
> 	hint.hdac.0.cad0.nid25.config=3D"as=3D3 seq=3D1"
> 	hint.hdac.0.cad0.nid26.config=3D"as=3D3 seq=3D15"
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110321053436.GA1483>