summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fallback to libusb_set_debug without libusb_set_optionHEADmasterNikolai Kondrashov2019-01-222-1/+5
| | | | Resolves #4
* configure: Check for ar with AM_PROG_ARNikolai Kondrashov2019-01-221-0/+1
|
* bootstrap: Switch to autoreconf -i -fNikolai Kondrashov2019-01-221-10/+1
|
* usbhid-dump.c: remove deprecated libusb_set_debug() callGreg Kroah-Hartman2018-05-151-2/+2
| | | | | | | | 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>
* Fixed typotufter2017-09-241-1/+1
|
* Merge pull request #1 from gregkh/quiet_buildNikolai Kondrashov2014-11-161-0/+1
|\ | | | | configure.ac: build "quietly" if possible
| * configure.ac: build "quietly" if possibleGreg Kroah-Hartman2014-11-151-0/+1
|/ | | | | If autoconfig supports "quiet" builds, do it, to better be able to see anything that might be warnings or errors in the build.
* Bump version number1.4Nikolai Kondrashov2014-11-112-1/+8
| | | | Increase version number to 1.4, add release notes to NEWS.
* Avoid unused rc variable warningNikolai Kondrashov2014-07-121-0/+1
| | | | | Ensure compiler assumes rc is used in uhd_iface_new to avoid unused variable warning with NDEBUG builds.
* Mention bootstrap in installation instructionsNikolai Kondrashov2014-07-121-1/+1
|
* Retrieve declared descriptor sizeNikolai Kondrashov2014-07-125-10/+92
| | | | | | | | | | 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 output spacing in README.mdNikolai Kondrashov2014-07-121-0/+9
| | | | Fix spacing in README.md's example usbhid-dump output to match reality.
* Add README.mdNikolai Kondrashov2014-07-121-0/+112
| | | | Add README.md with the slightly modified wiki page contents.
* Add missing stdint.h includesstdint_fixNikolai Kondrashov2014-03-114-0/+4
| | | | | Include stdint.h where used. This fixes Gentoo/FreeBSD build issues. Reported by Mike Frysinger. Based on the fix by the same.
* Add 1.3 release NEWS entry1.3Nikolai Kondrashov2012-02-051-0/+6
| | | | Add an entry on 1.3 release to the NEWS file.
* Add manual pageNikolai Kondrashov2012-02-055-2/+142
| | | | Add usbhid-dump manual page.
* Bump package version to 1.3Nikolai Kondrashov2011-12-281-1/+1
|
* Fix program_invocation_name shadowing warningNikolai Kondrashov2011-12-281-2/+2
| | | | | Fix "declaration of 'program_invocation_name' shadows a global declaration" warning on Cygwin by renaming "usage" function argument to simply "name".
* Fix Cygwin array subscript warningsNikolai Kondrashov2011-12-281-6/+6
| | | | | Fix "array subscript has type 'char'" warning on Cygwin by casting is* macro arguments to int.
* Remove no longer used str.cNikolai Kondrashov2011-12-265-86/+2
| | | | Remove str.c, containing only uhd_strisblank function, which is no longer used.
* Include config.h into all .c filesNikolai Kondrashov2011-12-266-0/+12
| | | | | 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 before glibtoolizeNikolai Kondrashov2011-12-261-4/+4
| | | | | Switch to trying libtoolize first and then glibtoolize in bootstrap script. This apparently suits possible Darwin installs better.
* Use LIBUSB_CALL for callbacks, if presentNikolai Kondrashov2011-12-261-1/+6
| | | | | Use LIBUSB_CALL to specify calling conventions for dump_iface_list_stream_cb, if defined. This happens with libusb > 1.0.8.
* Rename ERROR/FAILURE to GENERIC_ERROR/FAILURENikolai Kondrashov2011-12-261-7/+7
| | | | | | 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.
* Use stock libusb_strerror, if presentNikolai Kondrashov2011-12-263-0/+6
| | | | | Hide internal libusb_strerror definition in case it is already defined by libusb.
* Fix config.h include locationNikolai Kondrashov2011-12-261-2/+2
| | | | | Move config.h include in usbhid-dump.c to before all other includes to allow header control.
* Remove _GNU_SOURCE defineNikolai Kondrashov2011-12-261-1/+1
| | | | Remove _GNU_SOURCE define from CFLAGS - no GNU extensions used anymore.
* Stop using program_invocation_short_nameNikolai Kondrashov2011-12-261-5/+16
| | | | | Stop using program_invocation_short_name - a GNU extension variable and extract usbhid-dump invocation name ourselves.
* Prefer glibtoolize over libtoolize, if presentNikolai Kondrashov2011-12-251-1/+6
| | | | | 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 warningNikolai Kondrashov2011-12-251-1/+1
| | | | | Fix ignored fwrite return value warning, which apparently could occur sometimes.
* Add missing stddef.h include to uhd/dev_list.hNikolai Kondrashov2011-12-181-1/+2
| | | | | Add missing stddef.h include to uhd/dev_list.h. Thanks to Debian maintainers!
* Switch to using pkg-configNikolai Kondrashov2011-12-184-9/+7
| | | | | | 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.acNikolai Kondrashov2011-12-181-1/+2
| | | | | Add AM_MAINTAINER_MODE to configure.ac. Thanks to Debian maintainers!
* Fix infinite loop on unsigned char platformsNikolai Kondrashov2011-12-181-1/+1
| | | | Fix infinite loop in command-line option parsing on unsigned char platforms.
* Add missing limits.h include to usbhid-dump.cAlexandre Rostovtsev2011-12-181-1/+2
| | | | | | | 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
* Prepared 1.2 release1.2Nikolai Kondrashov2010-11-202-1/+14
| | | | Bumped up the version in configure.ac and added a NEWS entry.
* Add stream timeout printoutNikolai Kondrashov2010-11-191-0/+45
| | | | Add interrupt transfer stream timeout printout at the start of dumping.
* Refine and fix error handling and reportingNikolai Kondrashov2010-11-181-41/+66
| | | | | | | 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 --stream-timeout option supportNikolai Kondrashov2010-11-182-16/+61
| | | | | Add -t, --stream-timeout option for specifying stream interrupt transfer timeout.
* Make -s, -a, -d and -m options require an argument.Nikolai Kondrashov2010-11-181-1/+1
|
* Remove unneeded libusb_open_device_with_bus_devNikolai Kondrashov2010-11-182-78/+0
| | | | | Remove now unneeded libusb_open_device_with_bus_dev, it is replaced with uhd_dev_list_open.
* Minor naming cleanup in uhd_dev_list_openNikolai Kondrashov2010-11-172-8/+8
| | | | Renamed vendor/product parameters to uhd_dev_list_open to vid/pid.
* Move common generic constants to a separate fileNikolai Kondrashov2010-11-174-38/+83
| | | | Move common generic constants to a separate header file misc.h.
* Add multi-device dumping with limitingNikolai Kondrashov2010-11-1711-260/+901
| | | | | | Add multi-device dumping. Add independent limiting by bus number, device address, vendor, product and interface number.
* Use iteration macro in iface list moduleNikolai Kondrashov2010-11-151-2/+2
| | | | | Use interface list iteration macro in two functions in the interface list module.
* Split iface into iface and iface_listNikolai Kondrashov2010-11-157-223/+296
| | | | Split iface.[hc] into iface.[hc] and iface_list.[hc].
* Use iface iterator in dump_iface_list_descriptorNikolai Kondrashov2010-11-151-1/+1
| | | | | Use interface list iterator in dump_iface_list_descriptor instead of explicit loop.
* Break iface list functions into iface functionsNikolai Kondrashov2010-11-153-274/+275
| | | | | Break interface list functions into interface functions and use list iteration macro instead.
* Add comments to iface.hNikolai Kondrashov2010-11-151-0/+49
| | | | Document all functions in iface.h
* Make ChangeLog generation optionalNikolai Kondrashov2010-11-141-2/+1
| | | | Make ChangeLog generation optional again to fix distcheck target.