From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 20:41:35 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 D75AB1065672 for ; Mon, 7 Jul 2008 20:41:35 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id A64B68FC18 for ; Mon, 7 Jul 2008 20:41:35 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2093379wfg.7 for ; Mon, 07 Jul 2008 13:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QiXC1YCwSenh6LwpH2q3n9GKBF1D9ldGOQHqo9n2sKo=; b=Cb8vk/BGek5mlgtjw8uCThOfQKQ+8bxuqvHNS843n4ql/kz0h0ScdjOtHDzwH+/DV0 AGkyzBcX/TJ54UTtbBSK92wjjDgzNYl36tP0/IlepM8FOL3qRNaOIohBo1OK5y0Z/iFt 2YraTMeDbM7LbXfrnEHtrgG/GJZsM5gNXf4QQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pnRoDUR5UiDjS7tYbcJ9pS0nswwB3U+jr66+PJriCRv7wIHniWnI5o0YMWtD4etAev ml49Vim7vk5yrO4K0hsFVe0qMo1pazXD7+1VBAsw+trm13B5pzyAYmzpDf8H0YrGI20O 7HMyjzciQEk9SJtCOQFpcDRh7Lnrnz5/lpL2g= Received: by 10.142.154.20 with SMTP id b20mr1491489wfe.59.1215463294846; Mon, 07 Jul 2008 13:41:34 -0700 (PDT) Received: by 10.142.104.17 with HTTP; Mon, 7 Jul 2008 13:41:34 -0700 (PDT) Message-ID: Date: Mon, 7 Jul 2008 13:41:34 -0700 From: "Kurt Buff" To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> <20080706162400.740db254@serene.no-ip.org> Cc: Subject: Sound on amd64 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: Mon, 07 Jul 2008 20:41:36 -0000 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