From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 20:20:59 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156C21065674 for ; Tue, 8 Jul 2008 20:20:59 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 967418FC21 for ; Tue, 8 Jul 2008 20:20:58 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KGJgE-00006p-5g; Tue, 08 Jul 2008 21:20:54 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m68KKqs7004727; Tue, 8 Jul 2008 21:20:53 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id AFB30FCA4AE; Tue, 8 Jul 2008 21:20:47 +0100 (BST) Date: Tue, 8 Jul 2008 21:20:47 +0100 From: Frank Shute To: Kurt Buff Message-ID: <20080708202047.GA21361@melon.esperance-linux.co.uk> References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> <20080706162400.740db254@serene.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 08 Jul 2008 21:20:53 +0100 (BST) Cc: FreeBSD Questions Subject: Re: Sound on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2008 20:20:59 -0000 On Mon, Jul 07, 2008 at 01:41:34PM -0700, Kurt Buff wrote: > > First, my apologies - I sent my last missive to Conrad, and not to the > list. I'm replying to myself with an update. Details below. > > Kurt > > On Sun, Jul 6, 2008 at 2:51 PM, Kurt Buff wrote: > > On Sun, Jul 6, 2008 at 2:24 PM, Conrad J. Sabatier wrote: > >> On Sun, 06 Jul 2008 10:25:58 +0200 > >> Tore Lund wrote: > >> > >>> Kurt Buff wrote: > >>> > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier > >>> > wrote: > >>> >> On Sat, 5 Jul 2008 19:02:09 -0700 > >>> >> "Kurt Buff" wrote: > >>> >> ... > >>> >> Do you have both the generic sound support (sound) as well as the > >>> >> specific hardware driver enabled in your kernel config? > >>> > > >>> > Sigh. Always something new to learn. > >>> > >>> Just wondering, why do people modify the kernel when kernel loadable > >>> modules can handle the sound card? Is it necessary on some types of > >>> hardware? > >> > >> Well, probably the main reason most people do it is to strip away any > >> unneeded functionality. The GENERIC kernel contains a whole slew of > >> drivers and options that most people don't need, but are intended to > >> support a wide range of hardware configurations "out of the box". You > >> can greatly reduce the kernel's size by only including the features you > >> really need. > > > > I tried a new kernel, but that didn't work, for whatever reason, but > > editing loader.conf did, sort of. I tried adding > > > > sound_load="YES" > > snd_hda_load="YES" > > hint.pcm.0.config="gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7" > > > > but while the cd player now works, I'm not getting output from the > > built-in speakers - it just sounds like it's coming from a long way > > away - I can barely make it out. I suppose that means it's coming from > > the headphone setup, but I'm not sure of that. > > > > I've been googling, but haven't figured this out yet. > > > > Kurt > > More careful reading shows that the hint line goes in > /boot/device.hints, but placing it there does not improve the > situation, though the sound does seem to be emitting from the > speakers. It's just that it's very soft, and I can't get it any > louder, though using the slider control in gnome will silence it. > > This is a recent Thinkpad T61, and grepping dmesg reveals that the > sound system is detected as an Intel 82801H, and the codec used seems > to be the Analog Devices AD1984. > > I'm running 7-STABLE, updated on Saturday. > > Thoughts on how to improve this would be much appreciated. > Kurt Have you had a play with mixer(8)? E.g: $ mixer vol Mixer vol is currently set to 75:75 $ mixer vol 70:70 Setting the mixer vol from 75:75 to 70:70. Obviously, you'd want to raise the volume rather than reduce it like I just did. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html