From 2ef24a16ac054bc06c3a2520e0d8e862eeea65f8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 18 Jun 2015 19:15:59 +0200 Subject: man: udev_device - finish new_* man page A description of device_id lacked. We still need to do the other udev_device_* man pages. --- man/udev_device_new_from_syspath.xml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'man/udev_device_new_from_syspath.xml') diff --git a/man/udev_device_new_from_syspath.xml b/man/udev_device_new_from_syspath.xml index fc147a879a..9c4ab7a1bf 100644 --- a/man/udev_device_new_from_syspath.xml +++ b/man/udev_device_new_from_syspath.xml @@ -136,10 +136,37 @@ c for character devices, as well as a devnum (see makedev3). udev_device_new_from_subsystem_sysname looks up devices based - on the provided subsystem and sysname and - udev_device_new_from_device_id looks up devices based on the provided - device id (see - udev_device_get_subsystem3). + on the provided subsystem and sysname + (see udev_device_get_subsystem3 + and + udev_device_get_sysname3) + and udev_device_new_from_device_id looks up devices based on the provided + device id which is a special string in one of the following four forms: + + Device ID strings + + + + + + Example + Explanation + + + b8:2 + block device major:minor + + c128:1 + char device major:minor + + n3 + network device ifindex + + +sound:card29 + kernel driver core subsystem:device name + + +
udev_device_new_from_environment -- cgit v1.2.3-54-g00ecf