RE: [PATCH] Input: i8042 - disable KBD port on Late-2016 Razer Blade Stealth

From: David Laight
Date: Mon Apr 08 2019 - 05:53:59 EST


From: Lyude Paul
> Sent: 07 April 2019 23:55
> On Sun, 2019-04-07 at 15:10 -0700, Dmitry Torokhov wrote:
> > Hi Lyude,
> >
> > On Sun, Apr 07, 2019 at 05:37:34PM -0400, Lyude Paul wrote:
> > > The late 2016 model of the Razer Blade Stealth has a built-in USB
> > > keyboard, but for some reason the BIOS exposes an i8042 controller with
> > > a connected KBD port. While this fake AT Keyboard device doesn't appear
> > > to report any events, attempting to change the state of the caps lock
> > > LED on it from on to off causes the entire system to hang.
> > >
> > > So, introduce a quirk table for disabling keyboard probing by default,
> > > i8042_dmi_nokbd_table, and add this specific model of Razer laptop to
> > > that table.
> >
> > What does dmesg show about i8042 for this device? Especially line "PNP:
> > PS/2 Controller ..."?
> >
>
> Apr 07 18:42:46 malachite kernel: i8042: PNP: No PS/2 controller found.
> Apr 07 18:42:46 malachite kernel: i8042: Probing ports directly.
> Apr 07 18:42:46 malachite kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
> Apr 07 18:42:46 malachite kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
> Apr 07 18:42:46 malachite kernel: mousedev: PS/2 mouse device common for all mice

That is the 'default' probe of the ps/2 serial ports.
Looks like the BIOS is correct in not exposing the ps/2 controller.
Usually they just fail to expose the mouse when it needs a ps/2 splitter :-(

I do wonder what they've connected it to though.
It is extremely unlikely they've found an x86 chipset that doesn't
have the ps/2 serial ports at the standard io addresses.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)