07-30-2023, 09:51 AM
Realized that disabling the touchpad is very easy, just use the Fn-F7 shortcut.
dmesg confirms the keyboard as usb 2-1.
From the link you gave, "echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/unbind" and "echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/bind" do work to disable and enable the keyboard+trackpad, thanks!
It would still be nice to have a solution that did not require root/sudo. Since this won't work easily as a desktop launcher, which is my goal.
Also learned about libinput list-devices and libinput list-kernel-devices which might be helpful for a different approach.
I read about one way of just starting evtest to grab all the input from the specified device, effectively disabling it, but that's very hacky and an unnecessary background process.
Thanks!
-john
dmesg confirms the keyboard as usb 2-1.
From the link you gave, "echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/unbind" and "echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/bind" do work to disable and enable the keyboard+trackpad, thanks!
It would still be nice to have a solution that did not require root/sudo. Since this won't work easily as a desktop launcher, which is my goal.
Also learned about libinput list-devices and libinput list-kernel-devices which might be helpful for a different approach.
I read about one way of just starting evtest to grab all the input from the specified device, effectively disabling it, but that's very hacky and an unnecessary background process.
Thanks!
-john