usb_device_name(8)
NAME
usb_device_name - udev callout to split kernel name for usb devices
SYNOPSIS
usb_device_name [--export] devicename
DESCRIPTION
usb_device_name is normally called from a udev rule to split the kernel-assigned name for a device in the usb_device subsystem into bus and
device numbers. Udev can use this information to construct a name
under /dev/bus/usb for the real device node.
USAGE
usb_device_name splits the kernel-assigned name specified on the command-line and prints the information chosen by the options.
OPTIONS
The following command-line switches are supported to specify what
usb_device_name should print:
- --export
- print bus and device numbers as USB_BUS and USB_DEV environment variables, for use with an IMPORT{program} rule.
SEE ALSO
AUTHORS
- Scott James Remnant <scott@ubuntu.com>