Hello, my Logitech G Pro X wireless receiver causes KDE to wake from sleep immediately so I’ve created a udev rule to disallow it from waking the computer at all.
/etc/udev/rule.d/logitech-unifying.rules
ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c547", ATTR{power/wakeup}="disabled"
This works, the device can no longer wake the computer on reboot. However, if I then run dracut-rebuild in the future, I get a timeout on boot, which takes 2 minutes to get through, and the following errors.
Mar 27 07:57:30 patrick-PC (udev-worker)[770]: 1-3:1.0: /etc/udev/rules.d/logitech-unifying.rules:1 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/power/wakeup}, ignoring: No such file or directory
Mar 27 07:57:30 patrick-PC (udev-worker)[773]: 1-3:1.2: /etc/udev/rules.d/logitech-unifying.rules:1 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2/power/wakeup}, ignoring: No such file or directory
Mar 27 07:57:30 patrick-PC (udev-worker)[786]: 1-3:1.1: /etc/udev/rules.d/logitech-unifying.rules:1 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/power/wakeup}, ignoring: No such file or directory
Mar 27 07:56:55 patrick-PC dracut-initqueue[567]: Timed out for waiting the udev queue being empty.
It seems like the dracut-rebuild is inappropriately trying to add this rule and it’s trying to run the command again? Sorry I’m new to dracut.
Anyone have any thoughts on how to fix this? Can I prevent dracut from incorporating the udev rule I created?
Thank you!
-patrick