6
2
I have a nice little USB light which has no off switch, it is 'on' for the duration of being plugged in.
My question is, is there a way of disabling the USB port so as to turn off the light while it is still plugged in? Preferably, this could be done from the command line, but if it's possible at all that would be really cool regardless. I use Mac and Linux, but am interested to learn if this is possible in any OS, or if physical hardware prevents usage like this.
I'm not sure what you mean... do you mean hard drive? How would the hard drive impact the ability to toggle power to the USB port? – Jeff Welling – 2011-07-24T14:04:35.830
1If you want to disable the whole thing, use a device manager type thing (dont know what it is in mc or linux). If you just want to disable the light, it depends o the hardware (USB drive) involved. – soandos – 2011-07-24T14:07:22.980
I only know how to do this in Windows. Are you interested in the Windows way? – Larssend – 2011-07-24T16:13:03.497
Well I don't think I'd have included the sentence at the end of the question otherwise.. ;) – Jeff Welling – 2011-07-24T22:41:10.477
If it shows up in your
dev/
folder, try unmounting the device (e.g.unmount /dev/usbdev0
or something similar. – Breakthrough – 2011-07-25T00:27:50.570