From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 9 16:34:21 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77E2516A418 for ; Fri, 9 Jun 2006 16:34:21 +0000 (UTC) (envelope-from bsd-ports@mguillaud.net) Received: from mail.mguillaud.net (vds202.sivit.org [80.248.208.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id E019F43D73 for ; Fri, 9 Jun 2006 16:34:20 +0000 (GMT) (envelope-from bsd-ports@mguillaud.net) Received: from [IPv6???1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Maxime Guillaud", Issuer "mguillaud.net CA" (verified OK)) by mail.mguillaud.net (Postfix) with ESMTP id 3B15A69C85 for ; Fri, 9 Jun 2006 18:34:18 +0200 (CEST) Message-ID: <4489A305.5020307@mguillaud.net> Date: Fri, 09 Jun 2006 18:34:13 +0200 From: Maxime Guillaud User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <20060605193644.GA5745@shorty.sorbonet.org> In-Reply-To: <20060605193644.GA5745@shorty.sorbonet.org> Content-Type: multipart/mixed; boundary="------------090303070406070403020802" Subject: Re: HDA sound driver mod for thinkpad x60s X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 16:34:21 -0000 This is a multi-part message in MIME format. --------------090303070406070403020802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit It seems to load properly on my Acer Aspire 1641 (see the details -dmesg, etc.- here: http://www.mguillaud.net/acer1641/FreeBSD/ ). This machine has a Intel 82801F chipset, I attach the diff to have it properly identified. However, although applications seem to be able to play sound now, nothing can be heard at the output. I seem to recall that these chipsets need to be unmuted upon startup, which might be the solution here. I'll try to have a look into the HDA spec (http://www.intel.com/standards/hdaudio/) about this muting issue... Thanks for your work ! Maxime Andrea Bittau wrote: > this is an ultra crude mod of Stephane's hdac driver. It allows me to play > music [and change the volume; w00t!] on my ibm x60s laptop. I posted it in case > anyone wanted a 0day sound driver for this laptop without having to wait until a > stable and proper version comes out. > > Doesn't support recording. I'll probably do that next if no one writes > something in the near future. > > Stephane: if you are interested in me helping out with the "mainstream" driver, > let me know. My time is very limited [you can tell by reading the code] but I > have all the info I need about this card in my head now, so I might be able to > produce something useful. > > [I'm not subscribed to the list---email me directly if you need to contact me.] > > Driver: > fetch http://darkircop.org/hdac.tgz > tar zxvf hdac.tgz > cd dev > make > kldload ./hdac.ko > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > --------------090303070406070403020802 Content-Type: text/plain; name="hdac.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hdac.c.diff" --- sys/dev/hdac/hdac.c.orig Fri Jun 9 18:18:07 2006 +++ sys/dev/hdac/hdac.c Fri Jun 9 18:19:14 2006 @@ -54,6 +54,7 @@ #define INTEL_VENDORID 0x8086 +#define INTEL_82801F 0x2668 #define INTEL_82801G 0x27d8 @@ -62,6 +63,8 @@ uint16_t vendor; char *description; } hdac_devices[] = { + { INTEL_82801F, INTEL_VENDORID, + "Intel 82801F High Definition Audio Controller" }, { INTEL_82801G, INTEL_VENDORID, "Intel 82801G High Definition Audio Controller" } }; --------------090303070406070403020802--