I went through a similar discussion on another mailing list. We were using small Linux PCs ("Gumstix's") and under battery power it's desirable to switch off USB peripherals. From what I recall it even *appears* that there is an API call to do this, but that it doesn't remove power. -marc On Fri, Mar 7, 2008 at 10:24 AM, hgraf wrote: > Hello everyone, > > I've got an "interesting" problem. I have a linux machine (Ubuntu 7.10) > with a USB device plugged into it, powered by the USB port. > > There are cases where I'd like to cause the device to re-enumerate. The > easiest way is just unplugging it and plugging it back in. > > Unfortunately since this machine must be remotely accessible I need a > way to do the equivalent through software. > > Rebooting the machine is not an option. > > Is there a call in Linux that will cause a USB port to shut down and > start up again? Alternatively is there a way to cause all of USB to > re-enumerate, through software? > > I've tried google but can't seem to find what I'm looking for. > > Thanks, TTYL > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist