On Mon, Sep 21, 2020 at 10:49 AM Pavel Yermolenko <[email protected]> wrote: > > Hello, > There are single event0 file in /dev/input/. > How to check to which peripheral it's associated ?
You can use /dev/input/by-path/ to figure that out.. debian@bbg-pwr06-ser14:~$ ls -lha /dev/input/by-path/platform-44e0b000.i2c-platform-tps65217-pwrbutton-event lrwxrwxrwx 1 root root 9 Sep 8 16:22 /dev/input/by-path/platform-44e0b000.i2c-platform-tps65217-pwrbutton-event -> ../event0 The tps65217's power button is setup as event0.. (labeled as POWER on the silkscreen of the pcb) Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgTn%2BS4EP_Cs5fNMZp7PvQ7x3HEfSLxeS9OtPYpmF8b%2Bw%40mail.gmail.com.
