search for: dev_claimed

Displaying 4 results from an estimated 4 matches for "dev_claimed".

2007 May 13
0
No subject
...if LIBUSB_HAS_DETACH_KRNL_DRV + /* this method requires at least libusb 0.1.8: + * it force device claiming by unbinding + * attached driver... From libhid */ + retry = 3; + while (usb_set_configuration(dev_h, 1) != 0 && retry-- > 0) { +// while ((dev_claimed = usb_claim_interface(dev_h, 0)) != 0 && retry-- > 0) { + + upsdebugx(2, "failed to claim USB device, trying %d more time(s)...", retry); + + upsdebugx(2, "detaching kernel driver from USB device..."); + if (usb_detach_kern...
2007 May 13
0
No subject
...LIBUSB_HAS_DETACH_KRNL_DRV + /* this method requires at least libusb 0.1.8: + * it force device claiming by unbinding + * attached driver... From libhid */ + retry = 3; + while (usb_set_configuration(dev_h, 1) != 0 && retry-- > 0) { +// while ((dev_claimed = usb_claim_interface(dev_h, 0)) != 0 && retry-- > 0) { + + upsdebugx(2, "failed to claim USB device, trying %d more time(s)...", retry); + + upsdebugx(2, "detaching kernel driver from USB device..."); + if (usb_detach_ker...
2007 May 13
0
No subject
...LIBUSB_HAS_DETACH_KRNL_DRV + /* this method requires at least libusb 0.1.8: + * it force device claiming by unbinding + * attached driver... From libhid */ + retry = 3; + while (usb_set_configuration(dev_h, 1) != 0 && retry-- > 0) { +// while ((dev_claimed = usb_claim_interface(dev_h, 0)) != 0 && retry-- > 0) { + + upsdebugx(2, "failed to claim USB device, trying %d more time(s)...", retry); + + upsdebugx(2, "detaching kernel driver from USB device..."); + if (usb_detach_ker...
2007 Nov 20
2
Mustek Powermust 600VA
Hi, I'm having a hard time configuring a Mustek Powermust 600VA ups to work via USB with nut. I read somewhere that nut works OK via the rs232 cable, but unfortunately I don't have a COM port in my computer. The kernel detects the ups as an Xbox pad :) and loads the xpad module. I tried running /lib/nut/megatec with different /dev/ttySx but it displays megatec protocol UPS was not