Re: Input w/2.5.3-dj3

Vojtech Pavlik (vojtech@suse.cz)
Tue, 12 Feb 2002 10:00:32 +0100


--rS8CxjVDS/+yyDmU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="i8042-autounxl.diff"

--- 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. */

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