Re: atkbc not loaded with ACPI enabled in 9.0

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 30 Mar 2012 12:10:18 -0400
On Thursday, January 12, 2012 4:08:09 pm John Baldwin wrote:
> On Tuesday, January 03, 2012 7:31:59 pm Adrian Connolly wrote:
> > On 2012/01/04, at 0:37, John Baldwin <jhb_at_freebsd.org> wrote:
> > 
> > 
> > > On Monday, January 02, 2012 11:39:10 pm aconnolly08_at_yahoo.co.jp wrote:
> > >> I am running 9.0-RC3 on an Acer Aspire One D255E netbook. I have most 
of 
> the 
> > > functionality I want with one major exception, when I enable ACPI my 
> > > integrated keyboard drivers aren't loaded. Without ACPI I can use my 
> keyboard 
> > > as atkbdc and atkbd get loaded, (not psm though), but I have problems 
with 
> > > shutdown, time settings, power settings and usb controllers.
> > >> I have tried various ways of tackling this including:
> > >> 1. including "nooptions NEW_PCIB" in kernel configuration, rebuilding 
and 
> > > installing >> no effect
> > >> 2a. including "debug.acpi.disabled="pci" " >> can't mount file 
system2b. 
> > > including "debug.acpi.disabled="bus" " >> can't mount file system 2c. 
> > > including "debug.acpi.disabled="children" " >> can't mount file 
system2d. 
> > > including "debug.acpi.disabled="hostres" "
> > >>>> no effect
> > >> 3. making the edit in r228961, rebuilding the kernel and installing >> 
no 
> > > effect
> > >> I have the latest bios (v3.x), but it features very few changeable 
> options.
> > >> Here's the output of my dmesg -aHere's the output of my devinfo -
vrHere's 
> > > the output of my devinfo -ur
> > >> Any suggestions would be greatly appreciated.
> > >> Best regards,Adrian Connolly
> > > 
> > > Hmm, none of your attachments made it to the list.  Can you post them at 
a 
> > > URL?
> > > 
> > > -- 
> > > John Baldwin
> > > _______________________________________________
> > > freebsd-current_at_freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-
unsubscribe_at_freebsd.org"
> > My apologies, here are the URLs of the output,
> > 
> > dmesg -a http://pastebin.com/rJhddt4A
> > 
> > devinfo -vr http://pastebin.com/MYd8wS7F
> > 
> > devinfo -ur http://pastebin.com/iBr62epv
> 
> Please try this patch:
> 
> Index: sys/dev/atkbdc/atkbdc_isa.c
> ===================================================================
> --- atkbdc_isa.c	(revision 230009)
> +++ atkbdc_isa.c	(working copy)
> _at__at_ -87,6 +87,7 _at__at_ static driver_t atkbdc_isa_driver = {
>  
>  static struct isa_pnp_id atkbdc_ids[] = {
>  	{ 0x0303d041, "Keyboard controller (i8042)" },	/* PNP0303 */
> +	{ 0x0320d041, "Keyboard controller (i8042)" },	/* PNP0320 */
>  	{ 0 }
>  };

So this patch was incorrect, but jkim_at_ committed the proper version of
this to HEAD recently.  Can you verify that it fixes your machine?

-- 
John Baldwin
Received on Fri Mar 30 2012 - 14:36:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC