722 Commits

Author SHA1 Message Date
Pete Batard 3f01384271 [internal] bumped internal version pbr341 2011-07-20 14:02:16 +01:00
Pete Batard 3d28b44131 [enum] fixed duplicate listing of devices
* usb_class[class_index] could be used with out of bound index
* issue introduced with 0ffb89ce6a
* issue reported by Xiaofan Chen
2011-07-20 14:01:28 +01:00
Pete Batard 2987ce8913 [internal] bumped internal version pbr340 2011-07-06 22:48:09 +01:00
Alan Stern cf0c842214 [linux] add topology-analysis code to Linux backend
* Determines the port_number and parent_dev fields for each
  device found by sysfs_get_device_list().
2011-07-06 22:34:48 +01:00
Alan Stern b5c9800bbd [xusb] use bulk endpoints only for testing
* also reverts to using first endpoint found rather than last
2011-07-06 22:33:10 +01:00
Pete Batard 0ffb89ce6a [enum] workaround for non listing of 3.0 Renesas root hubs
* Current Nec/Renesas USB 3.0 driver lists root hubs under
  the "NUSB3" PnP Symbolic Name
* This results in root hubs not being acknowledged during enum
2011-07-06 22:18:35 +01:00
Pete Batard 8031a1df35 [xusb] switched default log level to info
* this is the recommended level to run sample applications
2011-07-04 12:29:42 +01:00
Pete Batard ca1b312b19 [internal] bumped internal version pbr339 2011-06-29 11:51:26 +01:00
Hans de Goede 9509d1fb85 [enum] remove duplicate address assignation 2011-06-28 11:59:19 +01:00
Pete Batard 11c2d76a3e [xusb] fixed xusb no longer detaching driver on Linux
* OS_LINUX is no longer defined as it came from config.h
2011-06-28 11:56:03 +01:00
Pete Batard d65eef68d3 [enum] added additional USB 3.0 hub driver names 2011-06-28 11:50:47 +01:00
Pete Batard 2537696069 [enum] added the new USB 3.0 Windows hub service name
* Microsoft has changed the service name for 3.0 hubs
* not identifying 3.0 hubs could result in a "device only
  detected in late pass - ignoring" message
* issue reported by Dave Camarillo
2011-06-08 11:05:13 +01:00
Pete Batard 43ff4ddbc1 [internal] bumped internal version pbr338 2011-05-10 20:21:59 +01:00
Pete Batard 0047081255 [MinGW] fixed warning about dev_info
* MinGW wrongly complains that dev_info may be used
  uninitialized in windows_get_device_list()
2011-05-10 19:26:31 +01:00
Pete Batard e4eeafff4f [misc] set internal windows function as static 2011-05-10 19:09:12 +01:00
Pete Batard f374e41abe [windows] remove call to set_interface_altsetting on interface release
* pointed out by Travis Robinson and Xiaofan Chen
* similar to a change advised Alan Stern for libusb-1.0/Linux:
  http://libusb.6.n5.nabble.com/RFC-Skip-sending-Set-Interface-during-driver-unbinding-td6073.html
2011-05-10 18:13:18 +01:00
Pete Batard 40f36912a1 [enum] fixed initialization of interfaces for WinUSB hub access
* also removed unneeded winusb_handle assignation
* issue reported by René Haunstrup
2011-05-10 18:05:43 +01:00
Peter Stuge 993c17da45 [wdk] fixed path for .rc in libusb_sources 2011-05-10 15:05:33 +01:00
Pete Batard 6ffaea6307 [internal] modified _bump script pbr337 2011-05-09 21:43:10 +01:00
Pete Batard fb7c03b1c7 Move library release version number from configure.ac to libusb/version.h 2011-05-09 21:39:14 +01:00
Pete Batard d2858ef6f6 [mingw] fixed Unicode support (reported by sirreal) 2011-04-15 02:08:10 +01:00
Pete Batard 58aae15046 [internal] switched to Visual Studio 2010 2011-03-16 02:01:04 +00:00
Pete Batard 098b40d792 [integration] more merging for integration with -stuge pbr336 2011-03-08 17:52:17 +00:00
Pete Batard 6d4f27e0fc [xusb] fixed mass storage test data not being freed 2011-03-08 14:24:27 +00:00
Pete Batard 5a0c8efc94 [enum] fixed short device initialization
* some devices (eg. hubs) could fail to be properly setup
  because of short initialization added in pbr333 (memleak issue)
* use device_address instead of bus_number for check
2011-03-08 14:23:53 +00:00
Pete Batard 5c2824c464 [windows_backends] removed dummy open/close for HUBs 2011-03-08 13:48:58 +00:00
Pete Batard 7ad14d9b6c [internal] bumped internal version pbr335 2011-03-07 19:03:36 +00:00
Pete Batard 00d3fa801e [integration] merged latest from -stuge branch
* also switched to using POLL_NFDS_TYPE in windows_usb.c
2011-03-07 19:02:27 +00:00
Austyn Krutsinger c11ede2913 [xusb] added Sony PS3 SixAxis test
* also removed dependency on libusb's config.h
2011-03-07 17:27:41 +00:00
Chris Johns 53f0488ad7 [autogen] fixed >> instead of > typo in create_def 2011-03-07 16:07:11 +00:00
Pete Batard 6f055e472c bumped internal version pbr334 2011-03-03 23:41:52 +00:00
Pete Batard ae34d85e93 [mingw32] fixed non C99 compliant OVERLAPPED in winbase.h
* issue and workaround similar to
  fb33bf2691 for cygwin
* issue reported by Dave Camarillo
2011-03-03 16:55:51 +00:00
Pete Batard ddaecc3e8a [winusb] removed unused variable pbr333 2011-03-02 00:50:49 +00:00
Pete Batard 348bd2bb5f [topology] removed debug message 2011-03-02 00:37:18 +00:00
Pete Batard 5c4a76dc9b [xusb] removed HID support 2011-03-02 00:26:17 +00:00
Pete Batard d91e712036 [windows-backends] remove HID support 2011-03-02 00:22:08 +00:00
Pete Batard 40579b271e [xusb] minor improvements 2011-03-02 00:07:28 +00:00
Pete Batard 615a830efb [enum] fixed memory leaks when a device is already open
* enum could reinit data from an open device
* also avoid freeing data from any existing device
2011-03-02 00:06:49 +00:00
Pete Batard ac1dcba5e2 [INTERNAL - NOT FOP RELEASE] libusb.h -> include/libusb-1.0
* suggested by Chris Johns
* also copy the .def from MinGW to ensure regenerated one is used
2011-02-25 12:49:19 +00:00
Pete Batard aefe4c8623 fixed that hare-brained zero prefixing on .def creation
* issue reported by Chris Johns
pbr332
2011-02-25 12:10:21 +00:00
Chris Johns 6356d874db fix out of source build for DLL generation pbr331 2011-02-24 19:51:16 +00:00
Pete Batard fdd50d7556 [INTERNAL] remove CRs in repo, part 5 2011-02-24 18:24:40 +00:00
Pete Batard fd955d888e [INTERNAL] remove CRs in repo, part 4 2011-02-24 18:23:22 +00:00
Pete Batard 0f7c89f680 [INTERNAL] remove CRs in repo, part 3 2011-02-24 18:12:21 +00:00
Pete Batard 6e971690e8 [INTERNAL] remove CRs in repo, part 2 2011-02-24 18:11:02 +00:00
Pete Batard d7c22a6f62 [INTERNAL] remove CRs in repo, part 1 2011-02-24 18:05:13 +00:00
Pete Batard 9dc299236c fixed libusb_get_port_path using zombie parents
* add a call to libusb_get_device_list to ensure the parents exist
* modified API as a context is required for get_device_list
pbr330
2011-02-22 15:45:51 +00:00
Pete Batard 315216385f bumped internal version pbr329 2011-02-21 18:42:05 +00:00
Pete Batard d47ed6ce6c different approach to topology retrieval
* uses get_port, get_port_path, get_parent as suggested by Alan Stern
* adds parent_dev and port_number to the libusb device struct
* uses calloc on device struct, to handle currently missing backend implementations
* xusb updated to use new calls
2011-02-21 18:41:38 +00:00
Pete Batard 99e9ca3985 added sorting of .def file
* suggested by Michael Plante
2011-02-21 16:05:43 +00:00