Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
echo 0 > /sys/devices/platform/soc/*.usb/usb1/1-1/1-1\:1.0/1-1-port2/power/pm_qos_no_power_off
sleep 10
echo 1 > /sys/devices/platform/soc/*.usb/usb1/1-1/1-1\:1.0/1-1-port2/power/pm_qos_no_power_off
@davidhoness

This comment has been minimized.

Copy link
Owner Author

@davidhoness davidhoness commented Oct 19, 2018

Note

Only works if there's no device on the first USB port (top left)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment