Thanks Robert,
Can one create another event and associate it with gpio ?
In the source code for "Exploring BeagleBone" there is example 
*testgpio_keys*.
In this code author explore *event1* file.
Sincerely.

On Monday, September 21, 2020 at 5:59:56 PM UTC+2, RobertCNelson wrote:
>
> On Mon, Sep 21, 2020 at 10:49 AM Pavel Yermolenko <py....@sunrise.ch 
> <javascript:>> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2349dcb2-96e5-4ed5-9160-4f8e0d147bc5o%40googlegroups.com.

Reply via email to