From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 19 23:28:51 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3122B106564A for ; Mon, 19 Jan 2009 23:28:51 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id A64518FC14 for ; Mon, 19 Jan 2009 23:28:50 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 232005200; Tue, 20 Jan 2009 01:28:49 +0200 Message-ID: <49750CB5.8020308@FreeBSD.org> Date: Tue, 20 Jan 2009 01:28:53 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: Torfinn Ingolfsen References: <1232319578.00062767.1232307602@10.7.7.3> <1232396584.00063271.1232385003@10.7.7.3> <1232400186.00063289.1232389202@10.7.7.3> In-Reply-To: <1232400186.00063289.1232389202@10.7.7.3> Content-Type: multipart/mixed; boundary="------------000806070700090809050403" Cc: freebsd-multimedia@freebsd.org Subject: Re: ThinkPad T61, FreeBSD 7.1-stable and snd_hda 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: Mon, 19 Jan 2009 23:28:51 -0000 This is a multi-part message in MIME format. --------------000806070700090809050403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Torfinn Ingolfsen wrote: > On Mon, 19 Jan 2009 18:00:40 +0200 > Alexander Motin wrote: > >> Looks mostly good, except speaker input was not traced properly. >> Is everything else fine, or you have just missed the problem >> description? :) > > Everything else is working fine, no problem description needed. :-) Fine. Try please this patch. It should give you analog PC-speaker working if it is connected in hardware. It should be controllable with speaker and mix controls. >> PS: 7.1-STABLE already includes one SD card reader driver (sdhci). >> Have you tested it before installing alternative one? > > The sdmmc driver was therer from testing in the past. > I was not aware of sdhci - thanks for mentioning it. > > After I loaed mmcsd and mmc (I guess which one is loaed first doesn''t matter?) this happens when I insert a SD card (I have no mmc or memorystick cards - sorry) (from /var/log/messages): 1. Load order is not important. 2. MMC should work, while MemoryStick is different, practically closed standard and not implemented. -- Alexander Motin --------------000806070700090809050403 Content-Type: text/plain; name="hda.ad-speaker.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hda.ad-speaker.patch" diff -ruNp hda2/hdac.c hda/hdac.c --- hda2/hdac.c 2009-01-19 20:42:28.000000000 +0200 +++ hda/hdac.c 2009-01-20 01:24:47.000000000 +0200 @@ -2585,8 +2585,15 @@ hdac_widget_getcaps(struct hdac_widget * Change beeper pin node type to beeper to help parser. */ *waspin = 0; switch (id) { + case HDA_CODEC_AD1882: + case HDA_CODEC_AD1883: + case HDA_CODEC_AD1984: + case HDA_CODEC_AD1984A: + case HDA_CODEC_AD1984B: + case HDA_CODEC_AD1987: case HDA_CODEC_AD1988: case HDA_CODEC_AD1988B: + case HDA_CODEC_AD1989B: beeper = 26; break; case HDA_CODEC_ALC260: --------------000806070700090809050403--