| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Resolves #4
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Replace libusb_set_debug() with the "correct" libusb_set_option() call.
This removes a warning message from the build on newer versions of
libusb.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
| |
|
|\
| |
| | |
configure.ac: build "quietly" if possible
|
|/
|
|
|
| |
If autoconfig supports "quiet" builds, do it, to better be able to see
anything that might be warnings or errors in the build.
|
|
|
|
| |
Increase version number to 1.4, add release notes to NEWS.
|
|
|
|
|
| |
Ensure compiler assumes rc is used in uhd_iface_new to avoid unused
variable warning with NDEBUG builds.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Request transfer of report descriptor with the destination buffer size
equal to report descriptor size declared in HID descriptor, instead of
the maximum possible report descriptor size. Only fall back to the
maximum possible size, if report descriptor size cannot be retrieved.
This fixes ERROR_PIPE when retrieving report descriptors from some
devices (e.g. Waltop Vega tablet).
|
|
|
|
| |
Fix spacing in README.md's example usbhid-dump output to match reality.
|
|
|
|
| |
Add README.md with the slightly modified wiki page contents.
|
|
|
|
|
| |
Include stdint.h where used. This fixes Gentoo/FreeBSD build issues.
Reported by Mike Frysinger. Based on the fix by the same.
|
|
|
|
| |
Add an entry on 1.3 release to the NEWS file.
|
|
|
|
| |
Add usbhid-dump manual page.
|
| |
|
|
|
|
|
| |
Fix "declaration of 'program_invocation_name' shadows a global declaration"
warning on Cygwin by renaming "usage" function argument to simply "name".
|
|
|
|
|
| |
Fix "array subscript has type 'char'" warning on Cygwin by casting is* macro
arguments to int.
|
|
|
|
| |
Remove str.c, containing only uhd_strisblank function, which is no longer used.
|
|
|
|
|
| |
Include config.h into all .c files to control libusb_error declaration in
uhd/libusb.h (which is included in all of them) and definition in libusb.c
|
|
|
|
|
| |
Switch to trying libtoolize first and then glibtoolize in bootstrap script.
This apparently suits possible Darwin installs better.
|
|
|
|
|
| |
Use LIBUSB_CALL to specify calling conventions for dump_iface_list_stream_cb,
if defined. This happens with libusb > 1.0.8.
|
|
|
|
|
|
| |
Rename ERROR and FAILURE macros in usbhid-dump.c to GENERIC_ERROR and
GENERIC_FAILURE respectively. This is needed to avoid clashes with ERROR define
in wingdi.h on cygwin.
|
|
|
|
|
| |
Hide internal libusb_strerror definition in case it is already defined by
libusb.
|
|
|
|
|
| |
Move config.h include in usbhid-dump.c to before all other includes to allow
header control.
|
|
|
|
| |
Remove _GNU_SOURCE define from CFLAGS - no GNU extensions used anymore.
|
|
|
|
|
| |
Stop using program_invocation_short_name - a GNU extension variable and extract
usbhid-dump invocation name ourselves.
|
|
|
|
|
| |
Use explicitly named GNU libtoolize (glibtoolize) instead of system libtoolize,
if present, in bootstrap script. This is needed for Darwin.
|
|
|
|
|
| |
Fix ignored fwrite return value warning, which apparently could occur
sometimes.
|
|
|
|
|
| |
Add missing stddef.h include to uhd/dev_list.h.
Thanks to Debian maintainers!
|
|
|
|
|
|
| |
Switch to using pkg-config to locate libusb, update headers to include libusb.h
without subdirectory.
Thanks to Debian maintainers!
|
|
|
|
|
| |
Add AM_MAINTAINER_MODE to configure.ac.
Thanks to Debian maintainers!
|
|
|
|
| |
Fix infinite loop in command-line option parsing on unsigned char platforms.
|
|
|
|
|
|
|
| |
Fix build with glibc-2.14.1, gcc-4.6.2 by including missing limits.h to
usbhid-dump.c, for UINT_MAX.
Bug 3459209
|
|
|
|
| |
Bumped up the version in configure.ac and added a NEWS entry.
|
|
|
|
| |
Add interrupt transfer stream timeout printout at the start of dumping.
|
|
|
|
|
|
|
| |
Refine error handling and reporting macros.
Add interface address to relevant error messages.
Fix interface release and reattachment error handling.
Fix interrupt transfer resubmission error handling.
|
|
|
|
|
| |
Add -t, --stream-timeout option for specifying stream interrupt transfer
timeout.
|
| |
|
|
|
|
|
| |
Remove now unneeded libusb_open_device_with_bus_dev, it is replaced with
uhd_dev_list_open.
|
|
|
|
| |
Renamed vendor/product parameters to uhd_dev_list_open to vid/pid.
|
|
|
|
| |
Move common generic constants to a separate header file misc.h.
|
|
|
|
|
|
| |
Add multi-device dumping.
Add independent limiting by bus number, device address, vendor, product and
interface number.
|
|
|
|
|
| |
Use interface list iteration macro in two functions in the interface list
module.
|
|
|
|
| |
Split iface.[hc] into iface.[hc] and iface_list.[hc].
|
|
|
|
|
| |
Use interface list iterator in dump_iface_list_descriptor instead of
explicit loop.
|
|
|
|
|
| |
Break interface list functions into interface functions and use list
iteration macro instead.
|
|
|
|
| |
Document all functions in iface.h
|
|
|
|
| |
Make ChangeLog generation optional again to fix distcheck target.
|