Date: Fri, 15 Oct 2010 11:46:38 -0400 From: Jerry <freebsd.user@seibercom.net> To: FreeBSD <freebsd-questions@freebsd.org>, Boris Samorodov <bsam@ipt.ru> Subject: Re: no sound with ALC888 Message-ID: <20101015114638.656ac6d2@scorpio> In-Reply-To: <07117059@bb.ipt.ru> References: <4CB759E3.9050805@mail.zedat.fu-berlin.de> <07117059@bb.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Oct 2010 18:42:04 +0400 Boris Samorodov <bsam@ipt.ru> articulated: > On Thu, 14 Oct 2010 21:28:35 +0200 O. Hartmann wrote: > > > Running most recent FreeBSD 8.1-STABLE on a P45/ICH10 based ASUS > > motherboard. There is no sound. > > dmesg output reports two HDA devices, one located on a Radeon HD4830 > > graphics board and one located on the ICH10 chipset. > > > Setting hw.snd.default_unit=1 in /etc/sysctl.conf or manually does > > not solve the problem. > > What about setting it to "2"? ;-) > > > 'cat /dev/sndstat' reports this: > > > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > > Installed devices: > > pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> (play) > > pcm1: <HDA Analog Devices AD1988B PCM #0 Analog> (play/rec) default > > pcm2: <HDA Analog Devices AD1988B PCM #1 Analog> (play) > > pcm3: <HDA Analog Devices AD1988B PCM #2 Digital> (play) > > > (dmesg output: > > hdac0: <ATI RV770 High Definition Audio Controller> mem > > 0xfe7fc000-0xfe7fffff irq 17 at device 0.1 on pci1 > > hdac0: HDA Driver Revision: 20100226_0142 > > hdac0: [ITHREAD] > > hdac1: <Intel 82801JI High Definition Audio Controller> mem > > 0xfe6f8000-0xfe6fbfff irq 22 at device 27.0 on pci0 > > hdac1: HDA Driver Revision: 20100226_0142 > > hdac1: [ITHREAD] > > hdac0: HDA Codec #0: ATI R6xx HDMI > > pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac0 > > hdac1: HDA Codec #0: Realtek ALC888 > > pcm1: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac1 > > pcm2: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac1 > > pcm3: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac1 > > pcm4: <HDA Realtek ALC888 PCM #3 Digital> at cad 0 nid 1 on hdac1) > > > I tried windows 7 on the box, no problem, sound is all right. VLC on > > freebsd doesn't do any sound output. When using a legacy PCI sound > > card (M-Audio Revolution 5.1), sound is present. > > > I do not have any idea what the muting of the device could > > trigger. Any suggestions? I have slightly different output: cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) pcm4: <HDA Realtek ALC883 PCM #0 Analog> (play/rec) default pcm5: <HDA Realtek ALC883 PCM #1 Analog> (play/rec) pcm6: <HDA Realtek ALC883 PCM #2 Digital> (play) dmesg | grep -i "hdac" hdac0: <NVidia (Unknown) High Definition Audio Controller> mem 0xfcffc000-0xfcffffff irq 16 at device 0.1 on pci3 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac1: <NVidia MCP51 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] hdac0: HDA Codec #0: NVidia (Unknown) hdac0: HDA Codec #1: NVidia (Unknown) hdac0: HDA Codec #2: NVidia (Unknown) hdac0: HDA Codec #3: NVidia (Unknown) pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0 pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0 pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0 pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0 hdac1: HDA Codec #1: Realtek ALC883 pcm4: <HDA Realtek ALC883 PCM #0 Analog> at cad 1 nid 1 on hdac1 pcm5: <HDA Realtek ALC883 PCM #1 Analog> at cad 1 nid 1 on hdac1 pcm6: <HDA Realtek ALC883 PCM #2 Digital> at cad 1 nid 1 on hdac1 I set: hw.snd.default_unit=4 in /etc/sysctl.conf and rebooted the system. Now sound works fine except that I cannot get "cdcontrol" to output sound from the CDROM drive. No quite sure why that is. At least sound does work in KDE4. Whether or not this is of any use to you, I have no idea. The fact that it "just works" in Windows 7 is not surprising. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101015114638.656ac6d2>