4/5/2024 0 Comments Xinput test bloodstoneYou can monitor what udev is doing with udevadm monitor. I'm not sure how this works for a fixed device, as usually for usb devices you can simply unplug it and plug it in again, so you may need to reboot. You can then try to trigger a change of the device: $ sudo udevadm trigger -action=change /dev/input/event4 Normally the change to a file should be noticed automatically by udev, but if not do sudo udevadm control -reload. Then events are delivered to the test program, and no longer pass through to the graphics server. On the new version of Ubuntu (17.10) this isnt working anymore due to the update to wayland. ![]() Therefore, I wrote a script which would disable the on-board keyboard with xinput float ID. The E: prefix means this variable is set in the udev environment, so in a udev rule you should say you want to match ENV="" My laptops keyboard isnt working anymore. Typically this is a usb vendor and product id (as in the ID_SERIAL above). You now have to find something that will uniquely identify your device. I have not tried the following, so use it as a guide to explore rather than a definitive solution.įirst, list the udev info for the event device that is the keyboard, eg: $ udevadm info /dev/input/event4 You must leave this program running all the time.Ī more difficult way to disable the device is by adding a udev rule for it that sets ID_INPUT to empty, so that libinput will ignore it. $ sudo evtest -grab /dev/input/event4 >/dev/null Or is there a possibility to simply ignore the group 9?Ī quick and dirty way to disable the keyboard may be to use evtest to grab it. I read that in order to have a device ignored, the capabilities can be removed from it ( ). ![]() Rapoo E6100 is the working keyboard and AT Translated Set 2 keyboard is the broken, on-board keyboard. When I Iist my devices with sudo libinput list-devices, I get: On the new version of Ubuntu (17.10) this isn't working anymore due to the update to wayland. ![]() My laptop's keyboard isn't working anymore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |