Commit Graph

  • 57576c3526 darwin: return correct error code from libusb_get_config_descriptor when the configuration is not found Nathan Hjelm 2013-05-20 08:20:33 -06:00
  • 936796f4a6 darwin: increment the reference counter to the parent device Nathan Hjelm 2013-05-16 22:04:18 -06:00
  • 83331a1182 darwin: avoid enumerating devices more than once Nathan Hjelm 2013-05-16 20:48:56 -06:00
  • c35629939b Windows: Fix broken WDK compilation Pete Batard 2013-05-29 12:42:05 +02:00
  • f51b19db34 examples: Add sam3u_benchmark isochronous example by Harald Welte Peter Stuge 2012-05-08 19:50:17 +02:00
  • d7b796f1fe Add BOS descriptor support Hans de Goede 2013-05-27 16:31:48 +02:00
  • ef698c633d Add superspeed endpoint companion descriptor support Hans de Goede 2013-05-27 11:12:28 +02:00
  • cedc7f6e28 hotplug: Add a hotplug_poll backend function Hans de Goede 2013-05-24 16:15:51 +02:00
  • 7ced70e149 linux: rework hotplug lock handling Hans de Goede 2013-05-24 14:40:27 +02:00
  • d250964e64 linux: Add a linux_netlink_read_message helper function Hans de Goede 2013-05-24 15:52:45 +02:00
  • d9f30bc50a descriptor.c: AlternateSettings are related by InterfaceNumber Hans de Goede 2013-05-24 14:03:54 +02:00
  • 462c88702e WinCE: Add hotplug.c to projects Toby Gray 2013-05-24 10:42:56 +02:00
  • 50d9312621 Windows: Add new symbol for libusb_get_port_numbers to def file Toby Gray 2013-05-24 10:38:48 +02:00
  • 3abc6f3ba5 Hotplug: Make use of HAVE_SYS_TYPES_H define Toby Gray 2013-05-24 10:36:20 +02:00
  • 51655d7490 POSIX: Move setting of pipes to non-blocking into usbi_pipe Toby Gray 2013-05-24 10:35:24 +02:00
  • 4527d16c5c wince_get_active_config_descriptor() sets host_endian incorrectly Simon Haggett 2013-05-20 12:40:43 +01:00
  • cf641bab1e all: ensure host_endian is always initialized Hans de Goede 2013-05-24 10:24:57 +02:00
  • 6b41074352 all: Allow backend to provide a better get_config_descriptor_by_value Hans de Goede 2013-05-23 19:51:07 +02:00
  • da5b335e0c descriptor.c: Add a raw_desc_to_config helper function Hans de Goede 2013-05-23 19:24:48 +02:00
  • b42954bd5d descriptor.c: Consequently check bDescriptorType and bLength everywhere Hans de Goede 2013-05-23 17:20:47 +02:00
  • 25b314279a descriptor.c: Read a full config-desc-header on first config-desc read Hans de Goede 2013-05-23 15:20:12 +02:00
  • bbe25fac47 all: Make usbi_os_backend.get_[active_]config_descriptor return len Hans de Goede 2013-05-23 14:40:05 +02:00
  • af06916bed linux: Properly deal with invalid config.wTotalLength in sysfs Hans de Goede 2013-05-23 13:25:08 +02:00
  • b241dd329c linux: get_configuration don't return LIBUSB_ERROR_NOT_SUPPORTED with usbfs Hans de Goede 2013-05-22 20:45:26 +02:00
  • 200931805b linux: Use cached config descriptors Hans de Goede 2013-05-22 20:38:51 +02:00
  • 4a34eda8bf linux: init: Only stop the event monitor if we also started it Hans de Goede 2013-05-22 15:57:29 +02:00
  • 0d33bb0b31 linux: Switch to kernel version check to determine if sysfs can relate devs Hans de Goede 2013-05-22 15:48:22 +02:00
  • 8f9f211902 linux: Switch to kernel version check to determine if sysfs has descriptors Hans de Goede 2013-05-22 15:25:06 +02:00
  • 24b63efe46 linux: Clear descriptor buffer before read when using usbfs Hans de Goede 2013-05-22 14:52:37 +02:00
  • af9997c408 linux: Cache the entire descriptors at device-init Hans de Goede 2013-05-22 12:57:32 +02:00
  • 7201f72f2b linux: Add a _get_usbfs_fd helper function Hans de Goede 2013-05-22 12:40:51 +02:00
  • 1049db5db5 usbi_alloc_device: Drop unnecessary memset 0 Hans de Goede 2013-05-22 12:12:28 +02:00
  • 9f59875fbc linux: Fix host_endian handling Hans de Goede 2013-05-18 14:07:49 +02:00
  • f3fcf84026 Examples: Fix use of deprecated libusb_get_port_path Hans de Goede 2013-05-17 10:42:47 +02:00
  • 4d7789be7e core: Add a new public libusb_get_port_numbers function Hans de Goede 2013-05-17 10:36:32 +02:00
  • fa27f99772 core: Fix handle_events return code on hotplug pipe read error Hans de Goede 2013-05-17 10:07:25 +02:00
  • 858b794cf1 usbi_handle_disconnect: Fix race condition leading to double completion Hans de Goede 2013-05-03 21:19:28 +02:00
  • 84d5328897 usbi_handle_disconnect: Add some debugging wrt cancelled transfers Hans de Goede 2013-05-03 20:19:06 +02:00
  • a56fbe7977 linux: linux_get_parent_info: properly propagate malloc errors Hans de Goede 2013-05-16 22:40:13 +02:00
  • ebac6ac1b3 listdevs: Also print portpath for non root hubs Hans de Goede 2013-05-16 22:36:26 +02:00
  • 6391d86e81 All: ref dev->parent_dev Hans de Goede 2013-05-16 22:09:58 +02:00
  • c235fa2f9d core: Improve error / debug messages for hotplug pipe handling Hans de Goede 2013-05-16 21:50:50 +02:00
  • 631d1ae168 linux: Fixup init_count tracking on hotplug init error Hans de Goede 2013-05-16 21:31:31 +02:00
  • 34e5d1888f linux_udev: linux_start_event_monitor: Properly cleanup on error Hans de Goede 2013-05-16 21:30:42 +02:00
  • 972e9cde6e linux: Replace should-not-happen checks with asserts Hans de Goede 2013-05-16 21:18:11 +02:00
  • 36463b0bf0 linux: Not finding a device on hotplug_disconnect is not an error Hans de Goede 2013-05-16 20:49:01 +02:00
  • 2e53d2662f linux: Improve topology related debug messages Hans de Goede 2013-05-16 20:46:07 +02:00
  • 3a1bdebf11 linux: Set device->port_number Hans de Goede 2013-05-16 20:37:51 +02:00
  • cf46b17f82 linux: Deal with devices being enumerated before their parents are Hans de Goede 2013-05-16 17:13:11 +02:00
  • f168b3d23f linux: Move check for a device being added twice to linux_enumerate_device Hans de Goede 2013-05-16 17:02:08 +02:00
  • 9f679a9c9a linux: hotplug_enumerate and _disconnect take active_contexts_lock Hans de Goede 2013-05-16 16:56:40 +02:00
  • 2d08a3e6da linux: Replace pthread_mutex with usbi_mutex_static Hans de Goede 2013-05-16 16:54:02 +02:00
  • 4ea8e4a1b9 core: Fixup default_context handling Hans de Goede 2013-05-16 16:43:24 +02:00
  • fc8be23868 core: Fixup cleanup on init error Hans de Goede 2013-05-16 16:38:41 +02:00
  • 851b257053 core: Add ctx to the active context list before backend->init Hans de Goede 2013-05-16 16:32:33 +02:00
  • 6270638991 linux: Take hotplug_lock for scan_devices, hotplug_enumerate and _disconnect Hans de Goede 2013-05-16 16:21:23 +02:00
  • 50f79a1ada linux: linux_parent_dev search for . from the right Hans de Goede 2013-05-16 15:02:12 +02:00
  • 8ad7e5ad51 configure: Fix --enable-udev help text Hans de Goede 2013-05-16 13:08:58 +02:00
  • 99660ec22e linux: fix topology Nathan Hjelm 2013-05-15 07:54:53 -06:00
  • 8a76406d91 darwin: fix topology Nathan Hjelm 2013-05-14 19:25:55 -06:00
  • 4b23b75cc4 darwin: clean up extraneous includes Nathan Hjelm 2012-12-07 19:55:21 -07:00
  • 7e858a3408 Add hotplugtest to msvc project files Pete Batard 2013-05-15 17:39:47 +02:00
  • 4198182d19 Misc fixes Pete Batard 2013-05-15 17:34:01 +02:00
  • a1b0ae5e59 examples: Only check for HAVE_SIGACTION once in Makefile.am Peter Stuge 2012-05-08 19:22:31 +02:00
  • cedfca68a8 Add INSTALL_WIN.txt eol=crlf to .gitattributes Hans de Goede 2013-05-15 16:19:02 +02:00
  • 57256dd159 Add some editor meta-comments for proper tab usage Nathan Hjelm 2013-05-15 16:11:22 +02:00
  • 6e501b377d Core: use C99 flexible array member when possible Sean McBride 2012-10-12 17:34:25 -04:00
  • b247ea165c darwin: return LIBUSB_ERROR_NOT_FOUND when reading the active config descriptor when the device is not configured. Nathan Hjelm 2013-05-03 08:03:37 -06:00
  • 2bb148be97 darwin: clean up old code hjelmn@cs.unm.edu 2013-04-23 16:35:33 -06:00
  • 91deff8f6b darwin: fix memory leaks in the darwin backend. Nathan Hjelm 2013-04-25 21:12:45 -06:00
  • 8dfb979df1 core: release the context device list when the context is deleted. Nathan Hjelm 2013-04-25 21:09:19 -06:00
  • bae927f896 darwin: don't assume an interval of 1 or high/super speed Nathan Hjelm 2013-04-02 22:12:47 -06:00
  • ae712a7be9 darwin: add support for the LIBUSB_TRANSFER_ADD_ZERO_PACKET transfer flag. Nathan Hjelm 2013-02-08 00:12:13 -07:00
  • 7598cc176c darwin/libusb_reset: reenumerate device if the device descriptor or any configuration descriptor has changed Nathan Hjelm 2013-02-07 21:56:30 -07:00
  • b08592edd8 darwin: dpriv->device will never be NULL for a valid device. remove unnecessary code that handled this case Nathan Hjelm 2012-11-30 19:17:43 -07:00
  • d5c9542cee darwin: allow control messages on devices we can not exclusively open Nathan Hjelm 2012-11-29 16:19:11 -07:00
  • 86031e26ad Bump LIBUSBX_API_VERSION for new hotplug API Hans de Goede 2013-05-15 12:17:42 +02:00
  • 6853291ed0 Add hotplug support to the Linux backend. Nathan Hjelm 2012-11-29 16:14:03 -07:00
  • 9b76386f3e Add hotplug support to the Darwin backend. Nathan Hjelm 2012-11-29 16:13:00 -07:00
  • 7801ff94fa Add hotplug support. Nathan Hjelm 2012-11-29 14:23:26 -07:00
  • 2948008951 Fixup .gitignore for examples and tests now living in subdirs Pete Batard 2013-05-15 10:21:16 +02:00
  • 8399b52062 Core: Cache device descriptors in the core Nathan Hjelm 2012-11-29 13:53:41 -07:00
  • 913a233ec2 Core: Keep a list of contexts created by libusb_init() Nathan Hjelm 2012-09-30 11:49:01 -06:00
  • 2790e8f2b0 libusb.h: Correct errors in doxygen comment for struct libusb_device Hans de Goede 2013-04-23 10:46:32 +02:00
  • 4ca748f654 WinCE: Include COPYING and license information in binary snapshots. Toby Gray 2013-04-16 15:22:14 +01:00
  • 85f1bed8e7 libusbx-1.0.15 v1.0.15 Pete Batard 2013-04-15 23:15:10 +01:00
  • 77a37cba54 Samples: Fix timeout error on FX3 and logging improvements for fxload Pete Batard 2013-04-14 22:38:52 +01:00
  • e68c666792 Windows: Correctly clear backend transfer private information Toby Gray 2013-04-11 13:40:31 +01:00
  • a66cfa05fe WinCE: Add internal build script for WinCE binaries Toby Gray 2013-04-04 13:32:31 +01:00
  • 3b50a9391a WinCE: Fix x86 build on Visual Studio 2005 Toby Gray 2013-04-04 13:33:20 +01:00
  • ad3e3d42ee libusbx 1.0.15-rc3 v1.0.15-rc3 Pete Batard 2013-04-04 19:03:15 +01:00
  • 6ae13628e0 OS X: Don't try to work around buggy devices with bInterval = 0 on isochronous... Nathan Hjelm 2013-04-04 14:51:03 -06:00
  • fed4f7e47f Core: fix bug in libusb_has_capability() Ludovic Rousseau 2013-04-04 18:08:39 +02:00
  • aa94d3e43b libusbx 1.0.15-rc2 v1.0.15-rc2 Pete Batard 2013-04-03 19:49:10 +01:00
  • 2ffefc0476 OS X: Don't assume an interval of 1 Nathan Hjelm 2013-04-03 04:12:47 -06:00
  • cf8506faf4 WinCE: Fix missing sources from dist tarball Toby Gray 2013-04-03 12:02:50 +01:00
  • 196acee784 libusbx 1.0.15-rc1 v1.0.15-rc1 Pete Batard 2013-04-02 19:52:16 +01:00
  • e0628c566a Core: Add HID and kernel detach capability detection for all backends Pete Batard 2013-03-17 22:13:53 +00:00
  • f00edf639d Windows: Fix USB descriptor creation code for HID devices Toby Gray 2013-03-22 13:50:01 +00:00
  • 8aa50632ad Samples: More fxload improvements and cleanup Pete Batard 2013-03-16 23:36:47 +00:00