From 497cdced542b2b78e11ffb1b5eb85ab0c99917a0 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Mon, 30 Jun 2025 19:16:25 +0200 Subject: [PATCH] Remove udev rules - test with clean LTS kernel configuration Removing custom udev rules since they weren't needed in earlier working configurations. Testing with clean 6.1 LTS kernel to see if touchpad works naturally without interference. --- .../little-rascal/hardware-configuration.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/machines/little-rascal/hardware-configuration.nix b/machines/little-rascal/hardware-configuration.nix index 495d8d3..0af1b85 100644 --- a/machines/little-rascal/hardware-configuration.nix +++ b/machines/little-rascal/hardware-configuration.nix @@ -39,10 +39,10 @@ "hid_input" "evdev" ]; - - # Use LTS kernel for better hardware compatibility + + # Use LTS kernel for better hardware compatibility kernelPackages = pkgs.linuxPackages_6_1; - + extraModulePackages = []; }; @@ -97,17 +97,6 @@ }; }; - # Additional services for touchpad support - services.udev.extraRules = '' - # 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 powerManagement = { enable = true;