From owner-freebsd-current@FreeBSD.ORG Sat Jan 21 05:11:56 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85C151065689 for ; Sat, 21 Jan 2012 05:11:56 +0000 (UTC) (envelope-from aconnolly08@yahoo.co.jp) Received: from web100410.mail.kks.yahoo.co.jp (web100410.mail.kks.yahoo.co.jp [183.79.28.112]) by mx1.freebsd.org (Postfix) with SMTP id 2616D8FC14 for ; Sat, 21 Jan 2012 05:11:55 +0000 (UTC) Received: (qmail 44528 invoked by uid 60001); 21 Jan 2012 05:11:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1327122714; bh=qBhb0AUdXQJVDZ80pDzDZeJN6kAdBVzUOfnvOeC0FCs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Sender:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=TX0iqXAo5AhawFlZjEVKBo1cATAvcoecnm3S844Zl5Y5A0/Lhndd/fZToU/5TQFn3+osuDa+oOtsi5FgDGi2/AmzbCV1fPzSGh4N/4eK+RTIDS9mc7w1zBX6umsZiYbWZD4Cg5cRdTfsu/oxThgN2z6j1yvkMrxD48zKunk2RaI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Sender:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=BPQXMWmxEsfv8a+YUjSvVuM75xLrHXfl950xbylHJXt1LwFaK2pTEgIDZtQngNl3AGpmzSg1n3H4tCnzxMXW+zjMaxcm5dRGy2t5b3ZqU0ooxvpcfoC8hSRA5x+lY4CTymmjzO3xO4AEF+wArWSjvbasONfaI/AimUEydP6TtoI=; Message-ID: <639642.41300.qm@web100410.mail.kks.yahoo.co.jp> X-YMail-OSG: WtabMrUVM1n0UejRFnK6CvL1v.TBvxSucuL7hWzQYqqVZJnRGgr.ynBTTi22hX4b8X7aOmSHufudODN7zfMYTX0sHnE_F3neZwXn48G3ogPtz818ls2A2xl6mFJsYYar_.dbf9YdnBaZ.IMH0pKpLGMfsHRn4bHpZ91iUd6d1JZiu3zr9lSgb0w6rhv5DBIib4uxIX65rmMNgwpXMcoCo77Tt2TIVioKogSyUiaL.ATK6fMqzYMMs99RrHskyqOcnw-- Received: from [119.104.145.117] by web100410.mail.kks.yahoo.co.jp via HTTP; Sat, 21 Jan 2012 14:11:54 JST X-Mailer: YahooMailClassic/6.0.19_42 YahooMailWebService/0.7.289.12_42 Sender: aconnolly08@yahoo.co.jp Date: Sat, 21 Jan 2012 14:11:54 +0900 (JST) From: To: John Baldwin In-Reply-To: <201201171015.32364.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-current@freebsd.org" Subject: Re: atkbc not loaded with ACPI enabled in 9.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2012 05:11:56 -0000 --- On Wed, 2012/1/18, John Baldwin wrote: On Friday, January 13, 2012 10:27:13 pm aconnolly08@yahoo.co.jp wrote: > Please try this patch: >=20 > Index: sys/dev/atkbdc/atkbdc_isa.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- atkbdc_isa.c (revision 230009) > +++ atkbdc_isa.c (working copy) > @@ -87,6 +87,7 @@ static driver_t atkbdc_isa_driver =3D { > =20 > static struct isa_pnp_id atkbdc_ids[] =3D { > { 0x0303d041, "Keyboard controller (i8042)" }, /* PNP0303 */ > + { 0x0320d041, "Keyboard controller (i8042)" }, /* PNP0320 */ > { 0 } > }; > =20 >=20 > --=20 > John Baldwin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > John, > Thanks for your help, but that patch doesn't appear to address the proble= m.=20 I edited the atkbdc_isa.c file as you instructed, rebuilt and installed my= =20 kernel, but my integrated keyboard remains unresponsive with ACPI enabled. > Here's the new output of dmesg -a http://pastebin.com/h6ahmD2ddevinfo -ur= =20 http://pastebin.com/sdNcNEJUdevinfo -vr http://pastebin.com/P2yqQBLY > Perhaps I was supposed to remove PNP0303 support? No, the goal was to get atkbdc to try to attach to PNP0320 devices since th= ose=20 have your keyboard I/O ports. Can you add some printfs to atkbdc_isa_probe= ()=20 to see how many times it is getting past the ID check, and how far along it= =20 gets in each cases (i.e. which failure case causes the probe routine to ret= urn=20 an error)? --=20 John Baldwin John, I added some printfs to the isa_probe() function to see how far it was gett= ing. The function is called many times as you can see in the dmesg, but mos= tly it exits at the PnP ID check with ENXIO. At one point it gets further, but still exits with ENXIO when port0 is foun= d to be NULL. Any suggestions for further investigation? edited function http://pastebin.com/uUsVLiz2 dmesg -a http://pastebin.com/kDtC9gvM