Skip to content

Commit

Permalink
updating usb ports to wakeup the device after suspend.
Browse files Browse the repository at this point in the history
supporting all usb ports to enable wakeup after device
went in sleep state.

Tracked-On: OAM-129941
Signed-off-by: Rajani Ranjan <rajani.ranjan@intel.com>
  • Loading branch information
RajaniRanjan authored and sysopenci committed Feb 6, 2025
1 parent 48f625c commit 6e1ff6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion groups/usb/host/init.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
on boot
write /sys/devices/pci0000\:00/0000\:00\:14.0/power/control auto
write /sys/devices/pci0000\:00/0000\:00\:14.0/usb3/3-*/power/wakeup enabled
write /sys/devices/pci0000\:00/0000\:00\:14.0/usb3/3-1/power/wakeup enabled
write /sys/devices/pci0000\:00/0000\:00\:14.0/usb3/3-2/power/wakeup enabled
write /sys/devices/pci0000\:00/0000\:00\:14.0/usb3/3-3/power/wakeup enabled
write /sys/devices/pci0000\:00/0000\:00\:14.0/usb3/3-4/power/wakeup enabled

on charger
write /sys/devices/pci0000\:00/0000\:00\:14.0/power/control auto

0 comments on commit 6e1ff6a

Please sign in to comment.