[ltp] Re: Dock + USB + Suspend?

David Abrahams linux-thinkpad@linux-thinkpad.org
Tue, 29 Apr 2008 16:23:37 -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.

Is there a way to "unplug" a USB device under software control?

-- 
Dave Abrahams
Boost Consulting
http://boost-consulting.com