fix(ally): Fix a bug where the power drains when the device is fully powered off caused by the fingerprint reader.

This commit is contained in:
Kyle Gospodnetich 2024-04-09 21:51:34 -07:00
parent fbc8d534c2
commit f5f0334242
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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'"