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
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
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
58aae15046
[internal] switched to Visual Studio 2010
2011-03-16 02:01:04 +00:00
Pete Batard
6d4f27e0fc
[xusb] fixed mass storage test data not being freed
2011-03-08 14:24: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
Pete Batard
5c4a76dc9b
[xusb] removed HID support
2011-03-02 00:26:17 +00:00
Pete Batard
40579b271e
[xusb] minor improvements
2011-03-02 00:07:28 +00:00
Pete Batard
6e971690e8
[INTERNAL] remove CRs in repo, part 2
2011-02-24 18:11:02 +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
2011-02-22 15:45:51 +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
39f2e49d54
minor code improvements to xusb
2011-02-03 17:51:44 +00:00
Pete Batard
1363b3af32
added topology information retrieval to xusb
2011-01-20 12:56:45 +00:00
Pete Batard
8494522bfe
xusb: better hex dump, with address and printable ASCII
2011-01-18 15:59:49 +00:00
Pete Batard
ef2e353453
moved WDK/DDK build scripts to /msvc
2010-11-22 23:30:06 +00:00
Pete Batard
54e71cdd7c
moved MSVC projects files to /msvc
2010-11-22 23:20:40 +00:00
Pete Batard
3b5fd4a77e
also apply the new "libusb.h" include to the dpfp samples
2010-11-18 13:58:51 +00:00
Pete Batard
9ec1bee9fb
use #include "libusb.h" in the samples
...
* also removed unneeded ../msvc/ lib dir for VS2005
2010-11-18 12:37:46 +00:00
Pete Batard
727bb1d499
removed dependency on stdint.h for MS binary snapshot users
...
* binary snapshot users, with a version of Visual Studio < 10
don't have stdint.h available
* stdint.h is referenced in libusb.h
* ssize_t, uint8_t and uint16_t are now defined in libusb.h
when required
2010-11-18 12:24:37 +00:00
Pete Batard
3981b0d9d8
[INTERNAL - NOT FOR RELEASE] prefixed internal files with _
2010-10-27 13:26:13 +01:00
Pete Batard
98c3552705
added /MT option for DDK builds
...
* default for ddk was to use MSVCRT, which produces static
libs that cannot be used in MSVC with /MT (libcmt)
* ddk_build script now allows users to chose between /MD
and /MT compatibility
* also simplified libusb_sources and updated INSTALL_WIN.txt
2010-10-27 13:17:57 +01:00
Pete Batard
5a2aa170f3
removed SetupAPI, AdvAPI32 and OLE32 dependencies
...
* this ensures that libusb dependent applications only need
to link with libusb on Windows
2010-10-26 16:31:13 +01:00
Pete Batard
d9a0a98add
switched MSVC project files from MBCS to Unicode
...
* MBCS (which is different from UTF-8) only makes sense if
supporting Windows 95/98, which we don't
* also switched all string functions to use char*
2010-10-26 11:39:38 +01:00
Pete Batard
08aef0b40e
merged latest from official
...
678c242705 & 9cd9059bf9
2010-10-18 16:55:43 +01:00
Pete Batard
dfc99bb006
replaced LIBUSB_API with LIBUSB_CALL
2010-09-20 15:39:26 +01:00
Pete Batard
94039837f6
added libusb version display to xusb
2010-09-20 13:28:04 +01:00
Pete Batard
9daf8200f0
VS 2008 project files now use default for most options
...
* also fixed DLL generation that was set to MT(d) to using MD(d)
2010-08-06 18:55:17 +01:00
Pete Batard
b5820d34ad
enforce proper line terminators for MSVC and .sh files
2010-07-31 01:03:39 +01:00
Pete Batard
972106d2c8
more residuals from official: samples
2010-07-30 00:02:18 +01:00
Daniel Drake
435760539e
bring autoconf/automake in line with official
2010-07-29 12:42:25 +01:00
Pete Batard
1ebd8c9052
improved readout of string descriptors in xusb
...
reads man/prod/ser strings using the relevant string index
2010-06-14 22:07:19 +01:00
Pete Batard
0e74019d22
added detection of -pthread option - only use when required
2010-05-11 00:36:46 +01:00
Pete Batard
71eaaccde2
disabled autoclaim in windows_usb.c and removed its use in xusb.c
2010-05-05 23:07:18 +01:00
Michael Plante
4242ac1b31
added threads_windows to source browser
2010-04-26 19:11:11 +01:00
Michael Plante
4226f9ee90
general whitespace cleanup
2010-04-24 11:18:56 +01:00
Pete Batard
307c5490de
added missing calling convention for callbacks in dpfp
...
also whitespaces in dpfp.c
2010-04-18 23:15:33 +01:00
Pete Batard
9c896f5d98
switched DDK calling convention for examples to __cdecl
2010-04-18 23:01:44 +01:00
Pete Batard
3c06787b84
DDK build (sources) advapi32.lib dependency
...
also removed unneeded user32.lib dependency from libusb_sources (suggested by Michael Plante)
2010-04-16 23:35:01 +01:00
Pete Batard
ea272ad88b
[INTERNAL - NOT FOR RELEASE] MSVC 2008 advapi.lib dependency
2010-04-16 23:32:55 +01:00
Pete Batard
d70641755c
added advapi32.lib dependency reference in xusb.c
2010-04-16 23:31:50 +01:00
Pete Batard
fc2b212758
better handling of attach/detach for Linux in xusb.c
2010-04-16 10:47:37 +01:00
Tim Roberts
32a674508a
added more explicit library dependencies in xusb.c (MSVC)
2010-04-16 10:27:33 +01:00
Pete Batard
9300883d04
set default messaging level to warnings in xusb
2010-04-08 13:30:17 +01:00
Pete Batard
31aff02b62
fixed "ignoring return value of 'fwrite'" warning with gcc
2010-04-08 12:40:54 +01:00
Pete Batard
c1cea1b0fe
addressed MSVC warnings prompted by previous change
2010-04-08 12:33:27 +01:00
Pete Batard
e295c065f3
added binary dump option to xusb (-b)
...
also switched boolean variables to actual bool
2010-04-08 12:30:06 +01:00
Pete Batard
2ec0c2b1ff
fixed HID record size computation in xusb
2010-04-08 11:48:58 +01:00
Pete Batard
adc0945982
fixed arglen warning from previous commit
2010-04-06 20:21:45 +01:00
Pete Batard
b52b131343
xusb improvements (parameter handling + debug enable)
2010-04-06 20:20:01 +01:00
Michael Plante
e5a9ce5865
xusb HID test improvements (Feature Reports)
...
Issue reported by Axel Rohde
2010-04-06 17:26:09 +01:00