From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 18:15:21 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 A56DB106566C for ; Sun, 11 Jul 2010 18:15:21 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 75F0E8FC18 for ; Sun, 11 Jul 2010 18:15:21 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100711181451472 for ; Sun, 11 Jul 2010 18:14:51 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o6BIEn5V019584 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 11 Jul 2010 11:14:51 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OY13B-0000dF-DT for freebsd-questions@freebsd.org; Sun, 11 Jul 2010 11:14:49 -0700 To: freebsd-questions@freebsd.org References: <20100711160645.17247.qmail@joyce.lan> From: Carl Johnson Date: Sun, 11 Jul 2010 11:14:49 -0700 In-Reply-To: <20100711160645.17247.qmail@joyce.lan> (John Levine's message of "11 Jul 2010 16\:06\:45 -0000") Message-ID: <87fwzp997q.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Very low sound volume on Lenovo X200 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: Sun, 11 Jul 2010 18:15:21 -0000 John Levine writes: > I can't get the sound to play above a whisper on my newish laptop. It > has two sound channels, one for internal speakers, one for the plug, > and it's the same problem for both. Every software sound control, of > which there are several, is set to the max. The hardware is fine, it > works correctly under Windows (sigh.) > > Here's dmesg's opinion of what it's got. > > hdac0: mem 0xf2620000-0xf2623fff irq 17 at device 27.0 on pci0 > hdac0: HDA Driver Revision: 20090624_0136 > hdac0: [ITHREAD] > > I see that the hda driver has a vast array of options, suggesting that > something is defaulting wrong. Any suggestions? > > Here's what it's got now, from the pindump: > > hdac0: Dumping AFG cad=0 nid=1 pins: > hdac0: nid 22 0x042140f0 as 15 seq 0 Headphones Jack jack 1 loc 4 color Green misc 0 > hdac0: Caps: OUT HP Sense: 0x7fffffff > hdac0: nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] > hdac0: Caps: IN VREF Sense: 0x7fffffff > hdac0: nid 24 0x04a190f0 as 15 seq 0 Mic Jack jack 1 loc 4 color Pink misc 0 > hdac0: Caps: IN VREF Sense: 0x7fffffff > hdac0: nid 25 0x612140f0 as 15 seq 0 Headphones None jack 1 loc 33 color Green misc 0 [DISABLED] > hdac0: Caps: OUT Sense: 0x7fffffff > hdac0: nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 > hdac0: Caps: OUT EAPD > hdac0: nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] > hdac0: Caps: OUT EAPD > hdac0: nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] > hdac0: Caps: OUT > hdac0: nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 > hdac0: Caps: IN > hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 > hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 > hdac0: wake=0x00000000 unsol=0x00000000 sticky=0x00000000 I am by no means an expert, but I had similar problems previously. Look at /dev and see if you have multiple /dev/mixer* devices. You can use the -f option for mixer to specify the individual devices. I found that I had to set the controls on the devices that I wasn't even using. In my case, it went from almost completely muted to too loud and was distorting, so I had to reduce some of the settings. You can use sysctl hw.snd.default_unit=1' to set the default mixer device to 1 or whichever you want to use. -- Carl Johnson carlj@peak.org