Commit graph

46 commits

Author SHA1 Message Date
Tormod Volden
cc3df77609 libusb 1.0.27-rc1
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2023-12-10 17:33:32 +01:00
Tormod Volden
4239bc3a50 libusb 1.0.26
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2022-04-10 10:57:16 +02:00
Tormod Volden
78de7dc4b9 libusb 1.0.26-rc1
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2022-03-27 19:37:43 +02:00
Tormod Volden
7ffad5c137 Update AUTHORS
Based on `git shortlog -s | cut -c8-` and a lot of manual fixups.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2022-01-21 18:32:23 +01:00
Chris Dickens
c6a35c5601 libusb 1.0.24
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
2020-12-10 10:53:59 -08:00
Chris Dickens
84209b4fb5 libusb 1.0.22-rc1
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
2018-01-08 23:08:47 -08:00
Nathan Hjelm
578942b5a9 AUTHORS: update my copyright
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2016-03-20 09:48:06 -06:00
Chris Dickens
d73bc723aa libusb 1.0.20-rc1
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
2015-07-29 01:06:37 -07:00
Hans de Goede
e11525c66c libusb 1.0.19
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-06-13 20:31:35 +02:00
Hans de Goede
f3587bb68e libusb 1.0.19-rc2
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-05-30 14:48:28 +02:00
Hans de Goede
edaa1afe5d libusb 1.0.19-rc1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-05-19 11:03:07 +02:00
Pete Batard
a2f2c316fd libusb 1.0.18 2014-01-25 22:59:04 +00:00
Pete Batard
9a34bb705e libusb 1.0.18-rc1 2014-01-08 23:51:45 +00:00
Hans de Goede
6512943087 Release 1.0.17-rc1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-08-28 10:17:53 +02:00
Hans de Goede
ea39a14d0a Prepare for 1.0.16-rc2 release
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-07-01 13:00:43 +02:00
Pete Batard
1b3c8272d6 Misc: Update AUTHORS file 2013-06-20 23:00:34 +01:00
Hans de Goede
e2fe75ebab Prepare for 1.0.16-rc1 release
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-06-20 15:24:09 +02:00
Pete Batard
196acee784 libusbx 1.0.15-rc1
* Also fix missing header in release tarball
2013-04-02 20:21:48 +01:00
Benjamin Dobell
aa482f89ac Windows: Fixed bug in interface autoclaim
* Bug was introduced in f2b19e4a32
* Closes #78
* Closes #80
2013-02-02 00:09:50 +00:00
Zoltán Kovács
2f5023c41d Core: Don't wait for completion if cancel_transfer failed
* See http://libusbx.1081486.n5.nabble.com/Libusbx-devel-libusb-interrupt-transfer-does-not-return-in-case-of-error-td626.html
* Closes #76
2013-01-29 00:21:58 +00:00
Toby Gray
5bdea90cfe WinCE: Add support for WinCE (Solution files) 2013-01-23 00:41:00 +00:00
Роман Донченко
33ba1231a1 Core: Filter out 8-bit characters in libusb_get_string_descriptor_ascii
* Closes #68
2013-01-07 22:23:13 +00:00
Pete Batard
7430e7dd33 Misc: Update copyrights, TODO and libusb_version.describe
* Changes suggested by Chuck Cook & Xiaofan Chen
2012-09-18 21:35:23 +01:00
Pete Batard
4e1d77d3c4 libusbx 1.0.13-rc1 2012-09-16 00:23:09 +01:00
Pete Batard
c38f551e16 libusbx 1.0.12-rc1 2012-06-11 14:27:17 +01:00
Pete Batard
d190bd7887 libusbx 1.0.11-rc1 2012-05-07 00:05:36 +01:00
Pete Batard
f98eaca098 libusbx 1.0.9
* Also updated AUTHORS and THANKS
2012-04-02 15:47:53 +01:00
Peter Stuge
4be84ab49c Revert libusb_strerror() until we have i18n and l10n 2011-06-13 22:06:30 +02:00
Hoi-Ho Chan
3b538c43e1 Darwin: handle kIOReturnUnderrun
This return code indicates that the device returned a data packet
less than the max packet size. In libusb backend terms, this is
a successful transfer.
2010-07-27 21:05:50 -06:00
Pete Batard
9a4249f8a1 Add Windows support
Via Cygwin/MinGW, libusb now has windows support.
Thanks to contributors: Michael Plante, Orin Eman, Peter Stuge,
Stephan Meyer, Xiaofan Chen.
2010-07-27 20:57:20 -06:00
Pete Batard
8aceb5c990 Rename all interface parameters to usb_interface or interface_number
Remove the use of the ambiguous "interface" where possible without
breaking the API.
'interface' is a preprocessor #define already associated with COM on Windows,
that can cause a conflict as soon as windows.h is included.

There are a few more places where interface is still used, which should
be changed for libusb-2.0
2010-05-18 19:08:03 -03:00
Francesco
3473ac6c6f Add libusb_strerror() to get short error message in English from enum
[dsd: small tweaks]
2010-05-12 22:17:39 -03:00
Michael Plante
5b69f3b7b0 Fix libusb_device::lock memory leak 2010-05-12 22:11:32 -03:00
Peter Stuge
23b5db8b3e Add internal abstraction for POSIX Threads
This prepares for a Windows backend without dependency on pthreads-w32.

pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*.

A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are
introduced for statically initialized mutexes, since they may be
implemented using other types when pthreads mutexes aren't used.

Move -pthread from libusb/Makefile.am to host-specific THREAD_CFLAGS in
configure.ac. This will enable optional use of -lpthread for cygwin.

[dsd: minor tweaks, and roll in a change based on patches from Pete
Batard to only build dpfp_threaded example when we're using pthreads]
2010-05-12 22:11:29 -03:00
Martin Koegler
02df59a309 Linux: Fix endianness handling of usbfs config descriptors (#27)
driver/usb/core/devio.c function usbdev_read translate the follwing files
to CPU endianess:

le16_to_cpus(&temp_desc.bcdUSB);
le16_to_cpus(&temp_desc.idVendor);
le16_to_cpus(&temp_desc.idProduct);
le16_to_cpus(&temp_desc.bcdDevice);

All other data is passed without any change.

libusb/os/linux_usbfs.c calls usbi_parse_descriptor with host_endian=1
for config descriptors. According to the kernel code, they must be
processed with host_endian=0, as they are not translated by the kernel.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
2010-04-05 10:08:20 -06:00
Nathan Hjelm
161893cfbe Darwin: use logging functions
Use usbi_warn, usbi_err, and usbi_info instead of _usbi_log.
2010-02-15 14:09:19 -06:00
Daniel Drake
90d8fcab90 v1.0.5 release 2009-11-15 12:17:13 +00:00
Daniel Drake
4783008b7e Use timerfd for timeout handling
Use a new file descriptor from the timerfd system calls to handle
timeouts. On supported systems, this means that there is less hassle
figuring out when the poll() timeout should be, since
libusb_get_next_timeout() will always return 0 and the timeout events will
be triggered as regular activity on the file descriptor set.

Add API function libusb_pollfds_handle_timeouts() to detect whether
you're on a platform with the timing headache, and flesh out the
surrounding documentation.
2009-11-07 10:46:09 +00:00
Daniel Drake
ef6ea6c3ae v1.0.4 release 2009-11-06 21:54:08 +00:00
Alex Vatchenko
b501795985 pre-gcc-3.4 compatibility
The -fvisibility and -Wno-pointer-sign options are not available on
old GCC versions.
2009-05-28 16:06:24 -04:00
Daniel Drake
068ff5b8a8 Update AUTHORS 2009-05-12 19:20:51 -04:00
Nathan Hjelm
b49f6bf5c9 Darwin backend 2009-02-16 21:40:45 -03:00
Daniel Drake
a133875e6e v0.9.4 release 2008-11-21 10:54:57 +00:00
Artem Egorkine
546dee211e a fix for SIGSEGV in handle_bulk_completion()
We cannot dereference tpriv after calling
usbi_handle_transfer_cancellation() because that function may invoke
the user-supplied callback which may free the transfer.
2008-06-17 18:27:38 -05:00
Daniel Drake
e7a7a49d03 docs update
Add a THANKS file, make copyright notices easily accessible, update TODO
2008-06-15 15:30:02 -05:00
Daniel Drake
852bba4754 Initial commit
Basic library structure which supports enumerating detected USB devices
2007-12-02 22:54:59 +00:00