No sound on Macmini with FreeBSD 10

Ajtim lumiwa at gmail.com
Mon Jan 27 23:10:50 UTC 2014


On Monday 27 January 2014 21:56:34 Volker Nebel wrote:
> Good morning!
> 
> Since a few days my Macmini 6.1 is running on FreeBSD 10.0 (yeah, and 
> FreeBSD alone)! Unfortunately, it does not (yet) produce any sound, and I 
> really need help on this. I followed the handbook and it looks like, 
> driver snd_hda is used. [CMD=" "]dmesg | grep hda[/CMD] gives the output 
> shown below. Soundcard seems to be Cirrus Logic CS4206.
>     I tried the following steps:
> - Find a specific driver for this sound card: Nothing.
> - Turn volume up with [CMD=" "]mixer pcm 100 vol 100[/CMD]. Still nothing 
> to hear.
> - Change the value of hw.snd.default_unit to 0,1,2. No effect.
>     Has anybody a good idea how to proceed?
>     Don't know, whether the following is relevant: [CMD=" "]kldload 
> snd_driver[/CMD] gives 6 times "ppc0: cannot reserve I/O port range". When 
> booting, I get this message once.
> 
> Best regards,
> Volker
> 
> 
> dmseg | grep hda gives:
> 
> hdac0: <Intel Panther Point HDA Controller> mem 0xa0710000-0xa0713fff irq 22 at device 27.0 on pci0
> hdacc0: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac0
> hdaa0: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc0
> pcm0: <Cirrus Logic CS4206 (Analog)> at nid 11 and 12 on hdaa0
> pcm1: <Cirrus Logic CS4206 (Digital)> at nid 16 and 15 on hdaa0
> pcm2: <Cirrus Logic CS4206 (Analog Headphones)> at nid 10 on hdaa0
> hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
> hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
> hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (6) in association 1! Disabling association.
> hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (7) in association 1! Disabling association.
> hdac0: <Intel Panther Point HDA Controller> mem 0xa0710000-0xa0713fff irq 22 at device 27.0 on pci0
> hdacc0: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac0
> hdaa0: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc0
> pcm0: <Cirrus Logic CS4206 (Analog)> at nid 11 and 12 on hdaa0
> pcm1: <Cirrus Logic CS4206 (Digital)> at nid 16 and 15 on hdaa0
> pcm2: <Cirrus Logic CS4206 (Analog Headphones)> at nid 10 on hdaa0
> hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
> hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
> hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (6) in association 1! Disabling association.
> hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (7) in association 1! Disabling association.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

I don't know if will help you but anyway
I have iMac 11,1 and:
cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/2.0)> (play/rec) default
pcm2: <Cirrus Logic CS4206 (Rear Analog Line-in)> (rec)
pcm3: <Cirrus Logic CS4206 (Rear Digital)> (play/rec

I did play with hint and on my computer works:
/boot/loader,conf:
hint.hdaa.1.gpio_config="3=set"
hint.hdaa.1.nid9.config="as=4 seq=15"

After the first one I got sound through internal speakers but not headphones. Than I add the second one and I got sound through headphones but at the same time as through speakers.

I hope that will help you too.

And mine dmesg |grep hda:
dmesg |grep hda
hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff irq 17 at device 0.1 on pci1
hdac1: <Intel 5 Series/3400 Series HDA Controller> mem 0xd0700000-0xd0703fff irq 22 at device 27.0 on pci0
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/2.0)> at nid 10,11,9 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog Line-in)> at nid 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff irq 17 at device 0.1 on pci1
hdac1: <Intel 5 Series/3400 Series HDA Controller> mem 0xd0700000-0xd0703fff irq 22 at device 27.0 on pci0
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/2.0)> at nid 10,11,9 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog Line-in)> at nid 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff irq 17 at device 0.1 on pci1
hdac1: <Intel 5 Series/3400 Series HDA Controller> mem 0xd0700000-0xd0703fff irq 22 at device 27.0 on pci0
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/2.0)> at nid 10,11,9 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog Line-in)> at nid 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff irq 17 at device 0.1 on pci1
hdac1: <Intel 5 Series/3400 Series HDA Controller> mem 0xd0700000-0xd0703fff irq 22 at device 27.0 on pci0
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/2.0)> at nid 10,11,9 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog Line-in)> at nid 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1


-- 
Mitja
-------
http://www.redbubble.com/people/lumiwa



More information about the freebsd-questions mailing list