Re: atkbc not loaded with ACPI enabled in 9.0

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 17 Jan 2012 10:15:32 -0500
On Friday, January 13, 2012 10:27:13 pm aconnolly08_at_yahoo.co.jp wrote:
> 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 }
>  };
>  
> 
> -- 
> 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
> John,
> Thanks for your help, but that patch doesn't appear to address the problem. 
I edited the atkbdc_isa.c file as you instructed, rebuilt and installed my 
kernel, but my integrated keyboard remains unresponsive with ACPI enabled.
> Here's the new output of dmesg -a http://pastebin.com/h6ahmD2ddevinfo -ur 
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 those 
have your keyboard I/O ports.  Can you add some printfs to atkbdc_isa_probe() 
to see how many times it is getting past the ID check, and how far along it 
gets in each cases (i.e. which failure case causes the probe routine to return 
an error)?

-- 
John Baldwin
Received on Tue Jan 17 2012 - 14:17:22 UTC

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