FBSD 8.2R does not probe sound card

J.R. Oldroyd fbsd at opal.com
Sat Mar 19 17:46:55 UTC 2011


Hi,

The info you attached below shows your problem.

First, read the association list at the bottom.  You have two associations,
0 for output and 1 for input.  Look at the output association 0.  It shows
the output is mapped to nid 20 seq 0 and then nid 27 seq 15.  The "seq"
tells you what it will use.  It will start at seq=0 then seq=1 then seq=2
etc, but seq=15 is special which means to use that if there's something
connected to the jack.  So yours will use nid 20 normally or nid 27 if
there's something connected to the jack.

Now look at the nids in the main list, AFTER where it says "Patched".
You see nid 20 is Line-out and nid 27 is Headphones.

So, nid 27 is OK (you want it to use the headphones if they are connected
to the jack), but nid 20 is not - nid 20 is your Line-out and you want
to use Speakers.  But all the Speaker nids are [DISABLED].

So you need to reprogram your HDAC.  You have four speaker possibilities,
nids 21, 22, 28 and 30.  I can't tell which one is the one you want, so
you'll need to try all four until you find it.  Use config in your
/boot/loader.conf.local like this:

hint.hdac.0.cad0.nid21.config="as=0 seq=0"
hint.hdac.0.cad0.nid27.config="as=0 seq=15"

Reboot and see if that works.  If not, replace the "21" with each
of 22, 28 and 30 and try again.  If you use verbose boot again, you
will see the Patched nid list and you can verify that the speaker
nid is not [DISABLED].

One thing puzzles me about your list.  All your speakers have a location
of "None".  Normally, you'd expect one to have location of "Fixed" and
that would be the built-in speaker.  Since you can't tell here which is
your built-in speaker, try all four and hope you find it.  If none of
the four work, you could try again explicitly setting the location:

hint.hdac.0.cad0.nid21.config="as=0 seq=0 device=Speaker conn=Fixed"

to see if that helps.

Note that if there is already configuration in either loader.conf.local
or loader.conf for "hint.hdac" you should comment that out first.

Also, be sure to run mixer each time to make sure that both the vol
and the pcm are turned up when you test.  Otherwise you won't hear
anything.

Your input side, association 1, is set to nid 24, 25 or 26 which are all
Mic and Line-in, so probably OK.  But if the mic doesn't work as expected,
you can try changing these around, too.

	-jr


On Sat, 19 Mar 2011 21:41:53 +0700, Gua Chung Lim <gua.chunglim at gmail.com> wrote:
>
> hdac0: Processing audio FG cad=0 nid=1...
> hdac0: GPIO: 0x40000002 NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
> hdac0:  nid 20 0x01014010 as  1 seq  0      Line-out  Jack jack  1 loc  1 color   Green misc 0
> hdac0:  nid 21 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
> hdac0:  nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
> hdac0:  nid 24 0x01a19830 as  3 seq  0           Mic  Jack jack  1 loc  1 color    Pink misc 8
> hdac0:  nid 25 0x02a19831 as  3 seq  1           Mic  Jack jack  1 loc  2 color    Pink misc 8
> hdac0:  nid 26 0x0181303f as  3 seq 15       Line-in  Jack jack  1 loc  1 color    Blue misc 0
> hdac0:  nid 27 0x0221401f as  1 seq 15    Headphones  Jack jack  1 loc  2 color   Green misc 0
> hdac0:  nid 28 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
> hdac0:  nid 29 0x4004c601 as  0 seq  1      Line-out  None jack  4 loc  0 color   Res.C misc 6
> hdac0:  nid 30 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
> hdac0: Patched pins configuration:
> hdac0:  nid 20 0x01014010 as  1 seq  0      Line-out  Jack jack  1 loc  1 color   Green misc 0
> hdac0:  nid 21 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
> hdac0:  nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
> hdac0:  nid 24 0x01a19830 as  3 seq  0           Mic  Jack jack  1 loc  1 color    Pink misc 8
> hdac0:  nid 25 0x02a19831 as  3 seq  1           Mic  Jack jack  1 loc  2 color    Pink misc 8
> hdac0:  nid 26 0x0181303f as  3 seq 15       Line-in  Jack jack  1 loc  1 color    Blue misc 0
> hdac0:  nid 27 0x0221401f as  1 seq 15    Headphones  Jack jack  1 loc  2 color   Green misc 0
> hdac0:  nid 28 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
> hdac0:  nid 29 0x4004c601 as  0 seq  1      Line-out  None jack  4 loc  0 color   Res.C misc 6 [DISABLED]
> hdac0:  nid 30 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
> hdac0: 2 associations found:
> hdac0: Association 0 (1) out:
> hdac0:  Pin nid=20 seq=0
> hdac0:  Pin nid=27 seq=15
> hdac0: Association 1 (3) in:
> hdac0:  Pin nid=24 seq=0
> hdac0:  Pin nid=25 seq=1
> hdac0:  Pin nid=26 seq=15
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110319/e13d797c/signature.pgp


More information about the freebsd-stable mailing list