diff options
author | Justin Bischoff <justin.bischoff@ciinow.com> | 2014-03-26 12:00:20 -0700 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2014-04-07 22:36:50 -0600 |
commit | c59d574b211bedcab951b2f19de58bb03a04d671 (patch) | |
tree | 7c8410ed512d8b0dfe29ad3ddd1c2369d387ce8c /libusb/os/windows_usb.c | |
parent | b38ac3fbb1098b15a4e9f58d468ae7a2e70fd87b (diff) | |
download | libusb-c59d574b211bedcab951b2f19de58bb03a04d671.tar.gz |
Updated netlink code to parse events that do not contain BUSNUM and
DEVNUM but do have a DEVICE parameter.
These netlink events are now parsed:
>>>>>>>>>>>>>>>>>
add@/devices/platform/brcm-ohci-0.0/usb3/3-2/3-2:1.0
ACTION=add
DEVPATH=/devices/platform/brcm-ohci-0.0/usb3/3-2/3-2:1.0
SUBSYSTEM=usb
SEQNUM=290
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/003/003
PRODUCT=45e/28e/114
TYPE=255/255/255
INTERFACE=255/93/1
<<<<<<<<<<<<<<<<<
Also added a retry when opening the device file to work around a race condition with the kernel
Diffstat (limited to 'libusb/os/windows_usb.c')
0 files changed, 0 insertions, 0 deletions