LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Flash Drive - can't cut power (https://www.linuxquestions.org/questions/linux-hardware-18/usb-flash-drive-cant-cut-power-312005/)

malone1234 04-11-2005 10:30 AM

USB Flash Drive - can't cut power
 
I have a Sandisk USB Flash Drive that I use in a USB 2.0 port on my Debian box. I can mount and unmount the drive just fine, but when I unmount it, it's still getting power. (The green LED on the drive stays on) Is there some other command to turn off the power to USB devices?

Ricky2004 04-11-2005 10:42 AM

Try umount -l /mnt/[whatever folder you've mounted it in] ... It's a sort of forced unmounting

Half_Elf 04-11-2005 08:55 PM

I have the same... the kernel seems to have some problem to turn off the LED, but it doesn't mean that you can't unplug it, usually, once unmounted, it is fine. I once figured a way to turn off the led (I dont remember how I lost the gadget since a while) but it was a pain (I think I was unloading some modules related to the USB)

FreeThinkerJim 04-21-2005 10:06 PM

A lit-up led is probably just a power thing; all it probably means is that it's plugged in and that it has power. If it unmounts without errors, you probably can just unplug it and it'll be OK

chetanr 08-19-2005 07:32 AM

The generic windows driver that handles my Cruzer mini turns off the light when i do a "Safely remove" on it. In linux, eject -sv /dev/sdb doesn't show any errors, but the device remains and the light still glows.

chetan


All times are GMT -5. The time now is 02:14 PM.