Thread (3 messages) flat view 3 messages, 2 authors, 2011-11-16

Findind input event device path with libudev

From: Nuno Santos <hidden>
Date: 2011-11-16 12:02:32

Hi,

I found an example on how to use libudev to iterate over devices present 
in the system to find its precise path since the path can be different 
everytime we plug a device into the system.

http://www.signal11.us/oss/udev/

In this example, the type of device searched is hidraw, however I have 
already tried input, event, etc and none of this match criterias in the 
following function:

|*udev_enumerate_add_match_subsystem*(enumerate,*"hidraw"*);|


Only hidraw seems to work.

Can I use this technic to found the path a of input event device?

Thanks,

With my best regards,

Nuno
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help