On Tue, Mar 12, 2013 at 6:40 PM, Richard Hughes <hughsi...@gmail.com> wrote: > I'm trying to build Argyllcms 1.5.1 for Fedora using the libusbx code > rather than the internal USB implementation. Using the system > libraries rather than bundled libraries is best practice for most > distros, so I'm trying this way first. > > ArgyllCMS seems to require the following functions, which I can't find > in libusbx git development sources. > > * libusb_resetep Not implemented yet. Ref: https://github.com/libusbx/libusbx/issues/18
> * libusb_handle_events_check This is probably an extension by Graeme. > * libusb_strerror Not implemented yet. Ref: https://github.com/libusbx/libusbx/issues/14 Graeme was using an older implemetation which was not accepted into libusb-1.0 or libusbx. > Does anyone know the history of those functions? Have > they been deprecated and/or removed? Basically Graeme was using a fork of libusb-1.0 (1.0.8git) and then added his own patches (eg: libusb0.sys backend) and many of his patches were not accepted into libusb-1.0.9 release or the libusbx release. He actually renamed that library to libusb-1.0A in order not to conflict with libusb-1.0. As per his post to libusb-win32 mailing list, he will probably drop libusb-1.0A support and use his own USB implementation in the future. So I am not so sure if your efforts will pay off that much. You could just use his libusb-1.0A implementation for 1.5.1 and move to his new things in the next version. Ref: http://libusb.6.n5.nabble.com/add-device-port-number-usb-device-tp5711000p5711026.html http://libusb.6.n5.nabble.com/add-device-port-number-usb-device-tp5711000p5711032.html ++++++ "Not much good to anybody else I imagine - libusb tries to be everything to everybody, whereas my needs are more focussed. But already having a API level over serial + usb + HID meant that there was a degree of duplication that could be eliminated. Ditched libusb, and replaced it with my own back ends, on Linux, OS X and MSWindows (using libusb0.sys). Pretty much what everyone else does anyway I guess, if they are not using a library like libusb. Graeme Gill" ++++++++ -- Xiaofan ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel