Problem with snd_hda and Realtek ALC260 and FreeBSD 8.0

Felix Janssen felix at mayaxatl.org
Tue Dec 15 23:16:16 UTC 2009


Hi,

I have a Sony Vaio laptop which has a HDA sound card. The sound used to 
work fine with FreeBSD 6.4. I recently upgraded to FreeBSD 8.0 and I 
can't get the sound to work. Below are dmesg, sndstat and pindump 
outputs. Even the beep which sounds when you press esc in a terminal 
does not work.

What could be the problem and how can I fix it?

Kind regards,
Felix Janssen

# dmesg |grep hdac
hdac0: <Intel 82801F High Definition Audio Controller> mem 
0xb0000000-0xb0003fff irq 16 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20091113_0138
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec #1: Conexant (Unknown)
hdac0: hdac_audio_as_parse: Duplicate pin 0 (18) in association 1! 
Disabling association.
hdac0: hdac_audio_as_parse: Pin 18 has wrong direction for association 
1! Disabling association.
hdac0: hdac_audio_as_parse: Duplicate pin 0 (20) in association 2! 
Disabling association.
hdac0: hdac_audio_as_parse: Pin 20 has wrong direction for association 
2! Disabling association.
pcm0: <HDA Realtek ALC260 PCM #0 Digital> at cad 0 nid 1 on hdac0

# cat /dev/sndstat
Installed devices:
pcm0: <HDA Realtek ALC260 PCM #0 Digital> at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex default)

# sysctl dev.hdac.0.pindump=1
hdac0: Dumping AFG cad=0 nid=1 pins:
hdac0:  nid 15 0x02014110 as  1 seq  0      Line-out  Jack jack  1 loc  
2 color   Green misc 1 [DISABLED]
hdac0:        Caps: IN OUT HP EAPD      Sense: 0x80001f41 delay 15730us
hdac0:  nid 16 0x21011120 as  2 seq  0      Line-out  Jack jack  1 loc 
33 color   Black misc 1 [DISABLED]
hdac0:        Caps: IN OUT HP EAPD      Sense: 0x80001f41 delay 16450us
hdac0:  nid 17 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  
1 color   Black misc 1 [DISABLED]
hdac0:        Caps:    OUT            
hdac0:  nid 18 0x02a15910 as  1 seq  0           Mic  Jack jack  1 loc  
2 color     Red misc 9 [DISABLED]
hdac0:        Caps: IN OUT HP      VREF Sense: 0x80001f41 delay 16450us
hdac0:  nid 19 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  
1 color   Black misc 1 [DISABLED]
hdac0:        Caps: IN OUT HP      VREF Sense: 0x80001f41 delay 16440us
hdac0:  nid 20 0x21845120 as  2 seq  0       Line-in  Jack jack  4 loc 
33 color     Red misc 1 [DISABLED]
hdac0:        Caps: IN OUT HP      VREF Sense: 0x80001f41 delay 16460us
hdac0:  nid 21 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  
1 color   Black misc 1 [DISABLED]
hdac0:        Caps: IN OUT HP      VREF Sense: 0x80001f41 delay 16450us
hdac0:  nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  
1 color   Black misc 1 [DISABLED]
hdac0:        Caps: IN                
hdac0:  nid 24 0x21451130 as  3 seq  0     SPDIF-out  Jack jack  5 loc 
33 color   Black misc 1
hdac0:        Caps:    OUT              Sense: 0x80000000
hdac0:  nid 25 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  
1 color   Black misc 1 [DISABLED]
hdac0:        Caps: IN                  Sense: 0x80000000
hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000
hdac0:       wake=0x00000000  unsol=0x00000000    sticky=0x00000000


More information about the freebsd-questions mailing list