Kernel Bug Tracker – Bug 7556
Have to reconnect keyboard after s2ram
Last modified: 2006-12-03 10:48:35 UTC
Distribution: Debian Sid
Hardware Environment: HP NX 7400
Problem Description: After resuming from suspend2ram (s2ram -p) my machine is
keyboard less. I have to "echo -n reconnect >
/sys/bus/serio/drivers/atkbd/serio0/drvctl" automaticaly to use it again. This
happens with a stock 2.6.19-rc5 but also with the Debian package of 2.6.18.
I'm not sure where the problem exactly is, so maybe the category is incorrect.
What additional infos do you need?
Please do "echo 1 > /sys/modules/i8042/parameters/debug" before suspending and
send me dmesg. Thank you!
Created attachment 9630 [details]
dmesg after setting debug option
Here's the dmesg. I set the debug option, then suspended via "powersave -u" and
reset it again.
*** This bug has been marked as a duplicate of 7216 ***
Hmm, can't quite see what is going on from the log as it is too short. Could
you please recomplie with CONFIG_PRINTK_TIME=y and also boot
with "log_buf_len=131072" and repeat the process. Also if you could put a delay
in your script before forcing atkbd reconnect and bang on the keyboard a few
times while it is not reconnected that would be great.
Created attachment 9726 [details]
New extended dmesg
Hopefully this contains the information you need. I did as you asked and hit
the keyboard quite some time before calling reconnect.
BTW. since this bug is marked "rejected duplicate" I wonder if it's correct to
still report here.
Yes, it is. I will review the dmesg hopefully later tonight.