[ltp] Re: Dock + USB + Suspend?
David Abrahams
linux-thinkpad@linux-thinkpad.org
Mon, 28 Apr 2008 16:06:55 -0400
on Mon Apr 28 2008, Richard Neill <rn214-AT-hermes.cam.ac.uk> wrote:
> David Abrahams wrote:
>>>
>>>> It only takes having my external keyboard plugged in there to cause the
>>>> problem. You can't unmount a keyboard, can you?
>>> Hm, your'e right.
>>>
>
> Something I just discovered recently may help here. If you have custom
> xorg.conf rules for your input devices and don't just use /dev/mice (and
> the kbd equivalent), then if you unplug one of the devices, and then
> re-plug it, xorg will still be trying to use the open file-pointer from
> the dead device. Normally, you'd have to restart X to get it back.
>
> BUT, chvt 1, chvt 7 seems to make X re-initialise all its hardware.
As implemented by the DOUBLE_CONSOLE_SWITCH thing in
/etc/default/acpi-support, I think.
> So, if you do this, you probably can get away with "unmounting" the
> keyboard.
Get away with it? I can't even figure out how to do it. Is it
meaningful to unmount a keyboard? Sorry for being dense, and thanks for
helping.
--
Dave Abrahams
Boost Consulting
http://boost-consulting.com