From owner-freebsd-current@FreeBSD.ORG Sat Nov 12 11:26:44 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A9C91065673 for ; Sat, 12 Nov 2011 11:26:44 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C65B78FC12 for ; Sat, 12 Nov 2011 11:26:43 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so5757542bkb.13 for ; Sat, 12 Nov 2011 03:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=BtcID5jUuF25594DQQpTWeFFUIyjoibqRr3wQlIOFNo=; b=g3c+8i95p5NCfUN5sl5GgqFyyVUpF7I3Nf2kA2gqNuI6C47rPr1MGuEGT/a1cqK0C/ YfWKL3z6xC9iGROYWmZpRIO0d3uPXjIkujm24/01YAeoOa8TnLnDpPK9z/1orXkMDHRv QztveyTQXEzv2Zgu912Rt1J+XdsJOjlPEpFio= Received: by 10.205.123.3 with SMTP id gi3mr4151140bkc.112.1321097202548; Sat, 12 Nov 2011 03:26:42 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id o7sm7451738bkw.16.2011.11.12.03.26.40 (version=SSLv3 cipher=OTHER); Sat, 12 Nov 2011 03:26:41 -0800 (PST) Sender: Alexander Motin Message-ID: <4EBE57F3.4090102@FreeBSD.org> Date: Sat, 12 Nov 2011 13:26:43 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110910 Thunderbird/6.0.2 MIME-Version: 1.0 To: rmgls@free.fr References: In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: current Subject: Re: no sound on alc-889 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 11:26:44 -0000 On 11.11.2011 22:48, rmgls@free.fr wrote: > i try to unmute a box with a mcp79 ane alc-889. > > the sound is working on another os, and playback > and recording are treated separately by os x, (10.7). > > i tried different combinations according to the snd_hda man page, > but i cannot find a good one. > > Pleease, have you some hints? > > here is the config and pindump: > > hdac0: mem 0xd3480000-0xd3483fff irq 22 at device 8.0 on pci0 > > pci3: at device 0.0 (no driver attached) > hdac0: HDA Codec #0: Realtek ALC885 > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > pins dump > hdac0: Dumping AFG cad=0 nid=1 pins: > hdac0: nid 20 0x012b4040 as 4 seq 0 Headphones Jack jack 11 loc 1 color Green misc 0 > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 21 0x018b3010 as 1 seq 0 Line-in Jack jack 11 loc 1 color Blue misc 0 > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 22 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN OUT HP Sense: 0x00000000 > hdac0: nid 23 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN OUT HP Sense: 0x00000000 > hdac0: nid 24 0x90100130 as 3 seq 0 Speaker Fixed jack 0 loc 16 color Unknown misc 1 > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 25 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 26 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 27 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN OUT HP VREF Sense: 0x00000000 > hdac0: nid 28 0x400000f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 0 [DISABLED] > hdac0: Caps: IN > hdac0: nid 30 0x014be050 as 5 seq 0 SPDIF-out Jack jack 11 loc 1 color White misc 0 > hdac0: Caps: OUT > hdac0: nid 31 0x01cbe020 as 2 seq 0 SPDIF-in Jack jack 11 loc 1 color White misc 0 > hdac0: Caps: IN > hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 > hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 > hdac0: wake=0x00000000 unsol=0x00000000 sticky=0x00000000 > > Thanks, in advance for your help. Could you describe what exactly doesn't work? Do you have sound from speaker or headphones output? In your case headphones are on separate device pcm2/dsp2, but it can be reconfigured for automatic playback redirection with such hint: hint.hdac.0.cad0.nid20.config="as=3 seq=15" -- Alexander Motin