Re: serio / atkbd / PS/2 Strangeness with Serial port adapter

From: Dmitry Torokhov
Date: Mon Aug 10 2009 - 04:34:55 EST


Hi Matt,

On Thu, Aug 06, 2009 at 09:15:01PM +0100, Matt Causey wrote:
>
> So, I enabled debugging on the contoller driver(serio.c), and I see
> that the device generates noise when connected:
>
> [ 458.875614] drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [444989]
> [ 458.908119] drivers/input/serio/i8042.c: fe <- i8042 (interrupt, 0,
> 1, timeout) [445022]
> [ 458.908144] drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [445022]
> [ 458.940151] drivers/input/serio/i8042.c: fe <- i8042 (interrupt, 0,
> 1, timeout) [445054]
> [ 458.940225] drivers/input/serio/i8042.c: d4 -> i8042 (command) [445054]
> [ 458.940234] drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [445054]
> [ 458.972190] drivers/input/serio/i8042.c: fe <- i8042 (interrupt, 1,
> 12, timeout) [445086]
> [ 458.972204] drivers/input/serio/i8042.c: d4 -> i8042 (command) [445086]
> [ 458.972212] drivers/input/serio/i8042.c: ed -> i8042 (parameter) [445086]
> [ 459.004227] drivers/input/serio/i8042.c: fe <- i8042 (interrupt, 1,
> 12, timeout) [445118]
> [20171.684870] drivers/input/serio/i8042.c: 0b <- i8042 (interrupt, 0,
> 1) [20162195]
>
> However - the atkbd driver does not pick the device up at all.
>

Your device is steadely refusing to say that it is a keyboard - and so
atkbd driver does not bind to it.

> So, I did find a workaround (which is NOT acceptable for this
> deployment). Remember the PS/2 'wedge' I mentioned? Well, it has an
> extra PS/2 port for your keyboard. If I connect a PS/2 keyboard to
> that thing, suddenly my scanner starts working.
>
> We see some chatter from the controller driver, then one of these:
>
> [23811.805578] input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input6
>

That happened because apparently the 'wedge' passes the inquirys to
the real keyboard and it answers propery.

I think the "i8042.dumbkbd" kernel parameter will solve your issue.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/