LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices

Rate this Entry

powering down a USB port

Posted 06-08-2012 at 09:25 AM by neonsignal

A USB device can be powered down by setting the power level parameter:
Code:
echo suspend >/sys/bus/usb/devices/usb-device/power/level
However, note that the power suspend is done by the slave device, not by the port. Not all USB devices can be suspended (particularly parasitic ones such as lights that have no communications interface).

The device can be turned back on by setting it to auto mode:
Code:
echo auto >/sys/bus/usb/devices/usb-device/power/level
Posted in Uncategorized
Views 361 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration