(In reply to Mateusz Jończyk from comment #147)
> Created attachment 146141 [details]
> Reset mouse
>
> Please test this.
I had to slightly fix the patch like this to avoid the compilation error:
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 3807c3e..41cf81a 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -789,6 +789,11 @@ static int __init i8042_check_aux(void)
if (i8042_toggle_aux(true)) return -1;
+ //reset the mouse
+ unsigned char output = 0xff;
+ i8042_command(&output, 0x12d4);
+
+
/*
* Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and
* used it for a PCI card or somethig else.
With that patch, unfortunately Elantech touch pad didn't work after a cold power on. In other words, it didn't solve the problem. Sorry.
(In reply to Mateusz Jończyk from comment #147)
> Created attachment 146141 [details]
> Reset mouse
>
> Please test this.
I had to slightly fix the patch like this to avoid the compilation error:
diff --git a/drivers/ input/serio/ i8042.c b/drivers/ input/serio/ i8042.c input/serio/ i8042.c input/serio/ i8042.c aux(void) toggle_ aux(true) )
return -1;
index 3807c3e..41cf81a 100644
--- a/drivers/
+++ b/drivers/
@@ -789,6 +789,11 @@ static int __init i8042_check_
if (i8042_
+ //reset the mouse &output, 0x12d4);
+ unsigned char output = 0xff;
+ i8042_command(
+
+
/*
* Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and
* used it for a PCI card or somethig else.
With that patch, unfortunately Elantech touch pad didn't work after a cold power on. In other words, it didn't solve the problem. Sorry.