On Sun, 22 Jan 2006, Jose Luis Gallardo wrote:

> Is there a command in Linux to eject a plugged usb device? and then to plug 
> it back?

You can't "eject" a USB device; you can only unplug it.  Since unplugging 
requires you to physically remove the plug from the computer, unless your 
computer has a robot hand there is no command that will unplug a USB 
device.

> The
> reason why I want to do such a thing is because I have a wireless card that 
> works a little
> strangely under linux, I have to first load the module (modprobe 
> at76c503-i3861), then
> plug it in, then configure it (iwconfing wlan0 .... ), if for some reason the 
> device is
> plugged while loading the operating system, it will not work properly 
> (strange, I know),
> it will be detected and the module be loaded, but the device starts acting 
> strange.

You should report the problem and give a detailed description of the 
symptoms.  Start by turning on USB verbose debugging in the kernel 
configuration (CONFIG_USB_DEBUG) are post a copy of the dmesg log showing 
what goes wrong during boot, and another log showing what happens when you 
plug the card in later on.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to