Searched refs:devnum (Results 1 – 2 of 2) sorted by relevance
331 int busnum, devnum; in convert_to_devfs_name() local337 devnum = read_sysfs_number(sysfs_name, "devnum"); in convert_to_devfs_name()338 if (devnum < 0) in convert_to_devfs_name()341 snprintf(devname, devname_size, "/dev/bus/usb/%03d/%03d", busnum, devnum); in convert_to_devfs_name()
305 local usb_device=`cat ${USB_SERIAL%/serial}/devnum 2>/dev/null | tr -d ' \t\r\n'`