Date: Mon, 10 Feb 2014 21:54:24 +0100 (CET) From: Volker Nebel <vnebel@web.de> To: Ajtim <lumiwa@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: No sound on Macmini with FreeBSD 10 Message-ID: <alpine.BSF.2.00.1402102033100.927@macmini.ror.de> In-Reply-To: <1482573.eBeQ4SjVDB@lumiwa.farms.net> References: <alpine.BSF.2.00.1401272128360.1409@localhost> <1482573.eBeQ4SjVDB@lumiwa.farms.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jan 2014, Ajtim wrote: > 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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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. > Dear Ajtim, thank you for the hints! The example in the man page for snd_hda and [CMD]sysctl dev.hdac.0.pindump=1[/CMD] helped me understand the logic how to address the outputs and inputs. Really getting a sound required some testing with dev.hdaa.0.gpio_config. Now my /boot/loader.conf has: hint.hdaa.0.nid10.config="as=2 seq=15" hint.hdaa.0.nid11.config="as=2 seq=0" hint.hdaa.0.nid12.config="as=1" hint.hdaa.0.nid15.config="as=4" hint.hdaa.0.gpio_config="1=set 3=set" Best regards, Volker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1402102033100.927>