linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sysfs properties with libudev (for example capabilities/key)
@ 2010-10-30 21:17 Laszlo Papp
  2010-10-30 21:23 ` Laszlo Papp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Laszlo Papp @ 2010-10-30 21:17 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-31 20:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-30 21:17 Sysfs properties with libudev (for example capabilities/key) Laszlo Papp
2010-10-30 21:23 ` Laszlo Papp
2010-10-31  1:39 ` Greg KH
2010-10-31 14:04 ` Laszlo Papp
2010-10-31 14:23 ` Greg KH
2010-10-31 14:39 ` Laszlo Papp
2010-10-31 14:52 ` Laszlo Papp
2010-10-31 16:09 ` Laszlo Papp
2010-10-31 20:54 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).