Ignore bad result of i8042 AUX test - happens on Dell machines
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Ignore bad result of i8042 AUX test - happens on Dell machines
Hi!
You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual. 'bk pull bk://linux-input.bkbits.net/linux-input' should work as well.
===================================================================
[email protected], 2002-08-30 11:22:23+02:00, [email protected]
Ignore error 0xff - 'general error' in AUX wire test in i8042.c, some mainboards (Andrew Morton's Dell) report that even when everything is okay with AUX. Also remove a check for very old AMI i8042's, which could generate false positives on modern buggy mainboards.
i8042.c | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-)
===================================================================
drivers/input/serio/i8042.c +4 -13
@@ -576,9 +576,12 @@/* * External connection test - filters out AT-soldered PS/2 i8042's +* 0x00 - no error, 0x01-0x03 - clock/data stuck, 0xff - general error +* We ignore general error, since some chips report it even under normal +* operation. */ -if (i8042_command (¶m,I8042_CMD_AUX_TEST ) || param) +if (i8042_command (¶m,I8042_CMD_AUX_TEST ) || (param && param !=0xff ))return -1 ;/*
@@ -587,23 +590,11 @@if (i8042_command (¶m,I8042_CMD_AUX_DISABLE ))return -1 ; -if (i8042_command (¶m,I8042_CMD_CTL_RCTR ) || (~param &I8042_CTR_AUXDIS ))return -1 ; -if (i8042_command (¶m,I8042_CMD_AUX_TEST ) || param) { - -/* -* We've got an old AMI i8042 with 'Bad Cache' commands. -*/ - -i8042_command (¶m,I8042_CMD_AUX_ENABLE ); -return -1 ; - } -if (i8042_command (¶m,I8042_CMD_AUX_ENABLE ))return -1 ; -if (i8042_command (¶m,I8042_CMD_CTL_RCTR ) || (param &I8042_CTR_AUXDIS ))return -1 ;
===================================================================
This BitKeeper patch contains the following changesets:
+
## Wrapped with gzip_uu ##
begin 664 bkpatch20470 M'XL(`/,Y;ST``^U576_;-A1]-G_%'0KD8[4EDI(_9,!#O+C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