![]() The rule itself is just a listing of what to do. So we will use 0e8f and 00a4 for vendor and product ID, respectively. Note the two values that match the output from lsusb at ID (to know which device this is, either test the difference of lsubs with and without the keyboard, or see if you can match the names in the output) lsusbīus 005 Device 004: ID 0e8f:00a4 GreenAsia Inc. udeadm info -a -n /dev/usb/hiddev0 | grep 'idVendor\|idProduct' The vendor and device IDs should be unique enough, but the more matches, the better. Plug it in and out to see if this device (dis)appears ). ![]() ![]() ![]() Use the output of udevadm for this ( your USB keyboard should show in /dev/usb/. In order to make a unique rule for the device, we need to identify it properly. In my example I am using a USB dongle for my wireless mouse, you will have to adjust accordingly: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |