You are not logged in.

#1 2010-08-05 20:30:44

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

libusb confusion

Can anyone tell me what the difference between the libusb and libusb1 packages is?

Name           : libusb
Version        : 0.1.12-4
URL            : http://libusb.sourceforge.net/
(...)
Description    : Library to enable user space application programs to communicate with USB devices

Name           : libusb1
Version        : 1.0.8-1
URL            : http://libusb.sourceforge.net/
(...)
Description    : Library to enable user space application programs to communicate with USB devices.

I'm writing a little usb device querying tool and am very confused about those two packages. The libs they contain provide quite the same functions, but the ones from libusb1 are prefixed with 'libusb_' while the others are prefixed with 'usb_'.
libusb seems to lack some of the documented ones, e.g. usb_get_configuration().

Now which one should I use?


Thanks

lynix

Offline

#2 2010-08-05 20:59:22

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: libusb confusion

lynix wrote:

Can anyone tell me what the difference between the libusb and libusb1 packages is?

Name           : libusb
Version        : 0.1.12-4
URL            : http://libusb.sourceforge.net/
(...)
Description    : Library to enable user space application programs to communicate with USB devices

Name           : libusb1
Version        : 1.0.8-1
URL            : http://libusb.sourceforge.net/
(...)
Description    : Library to enable user space application programs to communicate with USB devices.

I'm writing a little usb device querying tool and am very confused about those two packages. The libs they contain provide quite the same functions, but the ones from libusb1 are prefixed with 'libusb_' while the others are prefixed with 'usb_'.
libusb seems to lack some of the documented ones, e.g. usb_get_configuration().

Now which one should I use?


Thanks

lynix

http://www.libusb.org/

Offline

Board footer

Powered by FluxBB