Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ echo "Going to install BlueOS version ${VERSION}."

echo "Downloading and installing udev rules."
curl -fsSL $ROOT/install/udev/100.autopilot.rules -o /etc/udev/rules.d/100.autopilot.rules
curl -fsSL $ROOT/install/udev/110.usb-power.rules -o /etc/udev/rules.d/110.usb-power.rules

if [ -f /etc/dhcpcd.conf ]
then
Expand Down
5 changes: 5 additions & 0 deletions install/udev/110.usb-power.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Disable USB autosuspend for all USB devices.
# Power management can suspend USB peripherals which causes them to disappear
# or move to the `interface_disabled` state, breaking hotspots, cameras and
# other functionality.
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"
Loading