Re: Input w/2.5.3-dj3

Vojtech Pavlik
2002-02-12T09:00:57Z

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

On Mon, Feb 11, 2002 at 07:00:47PM -0600, Hal Duston wrote:

> OK, i8042_direct=1 fixed things for my wrong keys issue.
> atkbd_set=3 didn't appear to make any difference (I think)
> I'm using atkbd_set=2 currently, but I think =3 worked as well.

Wow, this must be a crazy machine. This means it's using Set1 by default
on the keyboard and has translation switched off in the i8042. Hmm, I'll
have to add a way to detect this ... can you try the attached patch to
see if it fixes your problem? With this patch, you shouldn't need to add
"i8042_direct=1" as it should detect the case automatically. If it
doesn't, please send me the log with this change and without the option
again.

--
Vojtech Pavlik
SuSE Labs

[-- Attachment #2: i8042-autounxl.diff --]
[-- Type: text/plain, Size: 240 bytes --]

--- i8042.c Tue Feb 12 09:57:13 2002
+++ i8042.new Tue Feb 12 09:56:42 2002
@@ -492,6 +492,9 @@
if (i8042_direct)
i8042_ctr &= ~I8042_CTR_XLATE;

+ if (~i8042_ctr & I8042_CTR_XLATE)
+ i8042_direct = 1;
+
/*
* Write CTR back.
*/