5

How do I get the device ID for my touchpad in Linux? The device doesn't show up in lspci, lsusb, or cat /proc/bus/input/devices. For example, this patch adds the ID "ELAN0608": https://lkml.org/lkml/2017/8/10/145

I have a similar touchpad but I'm not sure what the ID is - it may need a change in the kernel. How do kernel developers go about querying info like this?

nnyby
  • 4,748
  • 10
  • 49
  • 105
  • https://stackoverflow.com/questions/4795544/determining-if-a-device-is-a-touchscreen-device-in-linux – 0andriy Jan 12 '18 at 00:27

1 Answers1

3

Alright, well I emailed the author of that patch and it turns out that info is found with udev, using the command: udevadm info -e

nnyby
  • 4,748
  • 10
  • 49
  • 105
  • 2
    What do you look for in that (extensive) output? – o11c Sep 19 '17 at 23:39
  • 2
    I piped it to less and searched for "touchpad", so: `udevadm info -e|less`, then `/ouchpad` or something like that, since it may or may not be capitalized. – nnyby Sep 19 '17 at 23:41