Skip to content

Commit 02ef3f1

Browse files
install: udev: Add usb-power rules to disable autosuspend
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 8b4a708 commit 02ef3f1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

install/udev/110.usb-power.rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disable USB autosuspend for all USB devices.
2+
# Power management can suspend USB peripherals which causes them to disappear
3+
# or move to the `interface_disabled` state, breaking hotspots, cameras and
4+
# other functionality.
5+
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"

0 commit comments

Comments
 (0)