From owner-freebsd-questions@FreeBSD.ORG Sat Oct 16 13:02:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A41D106564A for ; Sat, 16 Oct 2010 13:02:24 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 218398FC14 for ; Sat, 16 Oct 2010 13:02:23 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1P76Oz-0000l8-GP>; Sat, 16 Oct 2010 15:02:21 +0200 Received: from e178024236.adsl.alicedsl.de ([85.178.24.236] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1P76Oz-0007Kx-6n>; Sat, 16 Oct 2010 15:02:21 +0200 Message-ID: <4CB9A25C.8080308@mail.zedat.fu-berlin.de> Date: Sat, 16 Oct 2010 15:02:20 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Bernt Hansson References: <4CB759E3.9050805@mail.zedat.fu-berlin.de> <4CB886EA.6080706@bah.homeip.net> In-Reply-To: <4CB886EA.6080706@bah.homeip.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.24.236 Cc: 07117059@bb.ipt.ru, freebsd-questions@freebsd.org Subject: Re: no sound with ALC888 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2010 13:02:24 -0000 On 10/15/10 18:52, Bernt Hansson wrote: > 2010-10-14 21:28, O. Hartmann skrev: >> 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. 'cat /dev/sndstat' reports this: >> >> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) >> Installed devices: >> pcm0: (play) >> pcm1: (play/rec) default >> pcm2: (play) >> pcm3: (play) >> >> (dmesg output: >> hdac0: mem >> 0xfe7fc000-0xfe7fffff irq 17 at device 0.1 on pci1 >> hdac0: HDA Driver Revision: 20100226_0142 >> hdac0: [ITHREAD] >> hdac1: 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: at cad 0 nid 1 on hdac0 >> hdac1: HDA Codec #0: Realtek ALC888 >> pcm1: at cad 0 nid 1 on hdac1 >> pcm2: at cad 0 nid 1 on hdac1 >> pcm3: at cad 0 nid 1 on hdac1 >> pcm4: at cad 0 nid 1 on hdac1) > > This is what I have > > hdac0: mem > 0xfe024000-0xfe027fff irq 16 at device 20.2 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > hdac0: HDA Codec #0: Realtek ALC888 > hdac1: mem > 0xfdffc000-0xfdffffff irq 19 at device 0.1 on pci1 > hdac1: HDA Driver Revision: 20100226_0142 > hdac1: [ITHREAD] > hdac1: HDA Codec #0: ATI R6xx HDMI > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > pcm3: at cad 0 nid 1 on hdac1 > > Try putting this in rc.local: kldload snd_hda > If you put it in boot/loader.conf sound won't work, at least not for me. > >> 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? > > What is the output of the command "mixer" > >> Please email, too, since I'm not subscribing 'questions'. Thanks. >> >> Oliver Setting 'hw.snd.default_unit=2' didn't do anything. The driver(s) 'sound' and 'snd_hda' are compiled into the kernel. The output of 'mixer' looked good for the device in question, all HDMI/ATi R600/R700 related devices had two lines of devices while device number '1' had several, like this: Mixer vol is currently set to 100:100 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Recording source: mic Well, one problem vanished: after rebooting the box and prior to this extracting the PCI sound card, using sound on the rear plugs is a sexpected, but there is no sound on the front plugs (while Windows 7 shows on both sources sound). Oliver