Add udev rules to force ITE8353 touchpad driver binding
- Add udev rule to unbind from hid-sensor-hub and bind to hid-multitouch - Add i2c_hid_acpi.probe_defer parameter to help with device detection - This should fix the touchpad being misidentified as a sensor hub
This commit is contained in:
parent
414f17a5a0
commit
d5ea2514b4
1 changed files with 5 additions and 1 deletions
|
@ -92,11 +92,13 @@
|
|||
|
||||
# Additional services for touchpad support
|
||||
services.udev.extraRules = ''
|
||||
# ITE8353 touchpad support
|
||||
# ITE8353 touchpad support - try to force proper driver binding
|
||||
SUBSYSTEM=="i2c", KERNEL=="i2c-ITE8353:00", MODE="0664", GROUP="input"
|
||||
SUBSYSTEM=="input", ATTRS{name}=="ITE8353:00*", MODE="0664", GROUP="input"
|
||||
# Additional HID rules for touchpads
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="048d", ATTRS{idProduct}=="8353", MODE="0664", GROUP="input"
|
||||
# Force unbind from hid_sensor_hub and rebind to hid_multitouch for ITE8353
|
||||
ACTION=="add", SUBSYSTEM=="hid", ATTRS{idVendor}=="048d", ATTRS{idProduct}=="8353", ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", RUN+="/bin/sh -c 'echo $kernel > /sys/bus/hid/drivers/hid-sensor-hub/unbind; echo $kernel > /sys/bus/hid/drivers/hid-multitouch/bind'"
|
||||
'';
|
||||
|
||||
# Power management for AMD Ryzen 7 4700U
|
||||
|
@ -128,6 +130,8 @@
|
|||
"i2c_hid.debug=1"
|
||||
# Ensure ACPI devices are properly detected
|
||||
"acpi_enforce_resources=lax"
|
||||
# Force ITE touchpad to be recognized as input device
|
||||
"i2c_hid_acpi.probe_defer=1"
|
||||
];
|
||||
|
||||
# TLP for better power management (alternative to power-profiles-daemon)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue