Bug#440495: xserver-xorg-input-synaptics: Keyboard doesn't work after turning touchpad off and on
I have a problem that sounds like it could be the same as this bug,
except the previous report sounds a bit confused to me. My problem is
I have a HP Pavilion dv6700-series laptop. with a SynPS/2 Synaptics
TouchPad, with an on/off button (with an indicator that lights blue when
the touchpad is active, amber when the touchpad is turned off.)
Since I hate touchpads when I'm trying to type something, being able to
use that on/off switch would be very handy, if I could trust it.
Turning the touchpad off (by pressing the on/off button) works fine,
although this appears in my syslog:
Dec 27 02:39:34 merlin kernel: [1138385.912633] atkbd.c: Unknown key
pressed (translated set 2, code 0xd8 on isa0060/serio0).
Dec 27 02:39:34 merlin kernel: [1138385.912646] atkbd.c: Use
'setkeycodes e058 <keycode>' to make it known.
However, turning the touchpad back on often causes trouble (but not
always, seems to depend on how long the touchpad had been on before or
something) - after I use that button, something seems to grab the
keyboard so that nothing has keyboard focus (the gnome-terminal cursor
turns hollow to indicate this) and I cannot type anything, though the
touchpad (and external mouse) works fine. To regain control of the
keyboard, it is possible to switch to a console (Ctrl-Alt-F1) and back
to X (Alt-F7). However, once I do so, Gnome brings up the help window, a
bit like I had pressed the Help key (on this keyboard that would be
Fn-F1) or something. I can close that window and move on, though.
However, that kind of hassle is usually enough to deter me from using
that on/off switch, except for emergencies...
This could perhaps be a problem with the kernel PS/2 driver rather than
something in the X driver. After all, I'd occasionally get this in the
syslog, when messing with this stuff:
Dec 27 03:16:16 merlin kernel: [1140600.945694] psmouse.c: TouchPad at
isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Dec 27 03:16:17 merlin kernel: [1140601.470700] psmouse.c: resync
failed, issuing reconnect request
Linux merlin 2.6.26-1-686 #1 SMP Sat Nov 8 19:00:26 UTC 2008 i686 GNU/Linux