LINUX.ORG.RU

История изменений

Исправление greenman, (текущая версия) :

https://superuser.com/questions/366282/how-do-i-disconnect-the-power-from-a-u...

The advice found in some places about echoing on and suspend to /sys/bus/usb/devices/usb?/power/level does not really remove power from the USB host port, it merely requests the device to go into suspend mode, and vice-versa.

https://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on...

https://unix.stackexchange.com/questions/165447/turning-off-power-to-usb-port...

for newer kernels «suspend» does not work anymore:

echo "0" > "/sys/bus/usb/devices/usbX/power/autosuspend_delay_ms"
echo "auto" > "/sys/bus/usb/devices/usbX/power/control"
But it doesn't literally cut the power, it signals the device to poweroff, it's up to the device to implement power management and do the rigth thing.

Исправление greenman, :

https://superuser.com/questions/366282/how-do-i-disconnect-the-power-from-a-u...

The advice found in some places about echoing on and suspend to /sys/bus/usb/devices/usb?/power/level does not really remove power from the USB host port, it merely requests the device to go into suspend mode, and vice-versa.

https://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on...

Исправление greenman, :

https://superuser.com/questions/366282/how-do-i-disconnect-the-power-from-a-u...

The advice found in some places about echoing on and suspend to /sys/bus/usb/devices/usb?/power/level does not really remove power from the USB host port, it merely requests the device to go into suspend mode, and vice-versa.

Исходная версия greenman, :

https://superuser.com/questions/366282/how-do-i-disconnect-the-power-from-a-u...

The advice found in some places about echoing on and suspend to /sys/bus/usb/devices/usb?/power/level does not really remove power from the USB host port, it merely requests the device to go into suspend mode, and vice-versa.[/quote]