Logically connect/reconnect USB device

Derek Broughton news at pointerstop.ca
Thu Jun 19 16:24:53 UTC 2008


Karl Larsen wrote:

> Brian McKee wrote:
>> On Sat, Jun 14, 2008 at 7:53 PM, NoOp <glgxg at sbcglobal.net> wrote:
>>   
>>> Anyone know of a way to logically connect and reconnect a USB device
>>> without unplugging/plugging or turning off/on?
>>>     
>>
>> Wild guess - killall --signal SIGHUP dbus-daemon or some other
>> variation of restarting dbus/hal ?
>>
>> I haven't tried it - If your cat marries your best friend, I'm not
>> responsible.....
>>   
>     Here is a an easier way to do it. Plug in the USB device and look on
> /media and see what it is called. Then in a Terminal do $df and this
> will tell you for example that your device is actually /dev/sdf1 and now
> you can do what you want.
> 
>     To un-mount your USB device use $sudo umount /dev/sdf1 and it will
> fine. To remount the device just pull it out and put back in. You need
> to know this if your putting a new file system on your USB device :-)

There you go again, not bothering to read the problem.  First, we're not
necessarily talking about storage devices - printers are a particular
problem - so mount isn't always an option.  Second, the problem is not what
one OS does with the devices.  It's how to get a virtual machine (in this
case VirtualBox) to give the device back to the host.
-- 
derek





More information about the ubuntu-users mailing list