Re: [RFC/PATCH 1/3] Input: resume support for i8042 (atkbd & psmouse)

Karol Kozimor
2003-12-04T22:46:41Z

Thus wrote Dmitry Torokhov:
> Here is an attempt to implement resume for i8042 using serio_reconnect
> facility that can be found in -mm kernels. It also depends on bunch of
> other changes in input subsystem all of which can be found here:
> http://www.geocities.com/dt_or/input
>
> They should apply cleanly to -test11.

Your patches seem to work fine for my keyboard -- it reconnects and works
smoothly (the interrupts are fine). My Synaptics touchpad is however not
present after resume -- no response and no mention of i8042 in
/proc/interrupts after S3 resume. I attach a dmesg excerpt in hope that
helps you in any way. Thanks for the good work!

--
Karol 'sziwan' Kozimor
sziwan@hell.org.pl

[...]
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 4.6
180 degree mounted touchpad
Sensor: 18
new absolute packet format
Touchpad has extended capability bits
-> four buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
[...]
hwsleep-0257 [28] acpi_enter_sleep_state: Entering sleep state [S3]
[...]
Restarting tasks...<6>input: AT Translated Set 2 keyboard on isa0060/serio0 (reconnected)
done