Hello, There is UPS APC RS-500 and ibusb(newhidups) library is used. Linux 2.6.10 kernel. The 'usb_claim_interface' function returns -EBUSY when 'newhidups' is executed, it's ok because this interface already claimed by usbhid.
At that time function 'usb_detach_kernel_driver_np' is executed, to detach driver from this interface, then retry claiming and code work fine. It's also ok, but /sys/class/usb/hiddev0 and /dev/usb/hiddev0 will be removed. How to make so that HID device isn't being removed from the system? -- Uladzislau Rezki ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel