Sysfs properties with libudev (for example capabilities/key)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to get the capabilities/key entry from sysfs for my
keyboard for example with libudev library.

>From the documentation:
http://www.signal11.us/oss/udev/
'Any non-directory file or link in that directory can be queried with
udev_device_get_sysattr_value() to determine the properties of the
device.'

Hence in essence: the problem is that I can use
udev_device_get_sysattr_value(dev,"idVendor") way only for simple
files under the related sysfs entry, but I would to use in case a
'hello/world' file where 'hello' is the directory which contains the
'world' file. I hope I was clear, but feel free to contact me if you
need help with anything about the clarification. Thank you in advance!

Best Regards,
Laszlo Papp
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux