Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    The entries in /dev/disk/by-id/ are imho created by udev - question is whether this is available in this partcular case (embedded platform).
    – peterph
    Commented Oct 9, 2013 at 21:26
  • @peterph: You are correct. If not using udev the first suggestion won't work.
    – Jeight
    Commented Oct 9, 2013 at 21:30
  • @Gilles: I see you edited the answer and change the path to input rather than disk. In that case I believe it would be input/by-path and not disk/by-id. I suspect either would work.
    – Jeight
    Commented Oct 9, 2013 at 22:40
  • 1
    No, by-id is correct. For example my USB keyboard is available as /dev/input/by-id/usb-_USB_Keyboard-event-kbd and /dev/input/by-path/pci-0000:00:1d.2-usb-0:2:1.0-event-kbd. Commented Oct 9, 2013 at 22:44
  • @Jeight: Once I find the correct device node, do you know how I can access key presses?
    – KyleL
    Commented Oct 9, 2013 at 23:37