search for: subdriver_match

Displaying 2 results from an estimated 2 matches for "subdriver_match".

Did you mean: subdriver_matcher
2006 Aug 15
2
newhidups subdriver_matcher incorrectly matches USB hub
I ran into the following issue today and would like some feedback from the group. Setup: I am using a MGE Pulsar Evolution 2200 UPS connected through a Belkin (F5U218-MOB) 4-Port USB Hub. Scenario: The newhidups subdriver_matcher function calls belkin_subdriver->belkin_claim. The belkin_claim function in belkin-hid.c matches the VendorID of the hub to Belkin's VendorID (0x050d), causing the hub to be recognized as a UPS. The newhidups driver (libusb.c) then attempts to claim the device and detatches the kernel driv...
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
..., 9); > > Modified: trunk/drivers/megatec_usb.c > ============================================================================== > --- trunk/drivers/megatec_usb.c (original) > +++ trunk/drivers/megatec_usb.c Thu Aug 23 19:43:41 2007 > @@ -153,6 +153,7 @@ > HIDDeviceMatcher_t subdriver_matcher; > int ret, i; > char flush_buf[256]; > + int mode = MODE_NOHID; > > HIDDeviceMatcher_t *regex_matcher = NULL; > int r; > @@ -200,21 +201,21 @@ > regex_array[4] = NULL; /* getval("serial"); */ > regex_array[5] = getval("bus"); > &g...