Home | History | Annotate | Download | only in qemu

Lines Matching full:devices

11  *      Added flexible support for /dev/bus/usb /sys/bus/usb/devices in addition
78 #define USBDBG_DEVOPENED "husb: opened %s/devices\n"
933 * always work. I've seen devices where first config starts
1054 * Use /proc/bus/usb/devices or /dev/bus/usb/devices file to determine
1055 * host's USB devices. This is legacy support since many distributions
1071 snprintf(line, sizeof(line), "%s/devices", usb_host_device_path);
1074 perror("husb: cannot open devices file");
1158 snprintf(filename, PATH_MAX, USBSYSBUS_PATH "/devices/%s/%s", device_name,
1172 * Use /sys/bus/usb/devices/ directory to determine host's USB
1173 * devices.
1187 dir = opendir(USBSYSBUS_PATH "/devices");
1189 perror("husb: cannot open devices directory");
1253 * Determine how to access the host's USB devices and call the
1267 f = fopen(USBPROCBUS_PATH "/devices", "r");
1269 /* devices found in /proc/bus/usb/ */
1277 f = fopen(USBDEVBUS_PATH "/devices", "r");
1279 /* devices found in /dev/bus/usb/ */
1286 dir = opendir(USBSYSBUS_PATH "/devices");
1288 /* devices found in /dev/bus/usb/ (yes - not a mistake!) */
1297 monitor_printf(mon, "husb: unable to access USB devices\n");
1301 /* the module setting (used later for opening devices) */
1451 * Right now we're using timer to check for new devices.
1462 /* Check for new devices every two seconds */