Skip to content

Commit

Permalink
fix(ally): Fix a bug where the power drains when the device is fully …
Browse files Browse the repository at this point in the history
…powered off caused by the fingerprint reader.
  • Loading branch information
KyleGospo committed Apr 10, 2024
1 parent fbc8d53 commit f5f0334
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Fixes a bug that causes battery drain on the ASUS Ally when the device is fully powered off
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{idVendor}=="1c7a", ATTR{idProduct}=="0588", ATTR{power/control}="auto"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Lenovo Legion Go
# Lenovo Legion Go Controller
ACTION=="add", ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6182", RUN+="/sbin/modprobe xpad" RUN+="/bin/sh -c 'echo 17ef 6182 > /sys/bus/usb/drivers/xpad/new_id'"

0 comments on commit f5f0334

Please sign in to comment.