summaryrefslogtreecommitdiff
path: root/names.c
Commit message (Collapse)AuthorAgeFilesLines
* Make 'lsusb -t' use the correct device class string namesGreg Kroah-Hartman2012-07-061-0/+24
| | | | | | | | | | | This fixes the annoying "bInterfaceClass 0x0e not yet handled" messages in 'lsusb -t' for video devices, and will handle any future class types as well. Just one step in merging 'lsusb -t' into the main portion of the program instead of really just being a stand-alone program. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* set arrays to NULL when freeing them.Thierry Vignaud2012-01-111-0/+8
| | | | | | (free_*) fix segfaulting when calling usb_probe() more than once Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Remove the FSF address from the source files.Greg Kroah-Hartman2011-09-091-4/+0
| | | | | | | This keeps us from having to track the movements of them, as that's a pointless exercise. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Verbose flag in tree mode shows vendor and product name.Dafydd Crosby2011-06-081-0/+26
| | | | | | | When running `lsusb -tv`, devices should have the vendor and product name appended to the row. Signed-off-by: Dafydd Crosby <dtcrsby@gmail.com>
* Fix up a lot of memory leaksGreg Kroah-Hartman2010-08-121-0/+145
| | | | | | Based on an original patch from Pedro Kiefer <pedro@kiefer.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Include config.h before everything else.Nix2010-08-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | In a couple of cases, we fail to include config.h before all standard header files. As configure.ac specifies AC_SYS_LARGEFILE, config.h can define things like _FILE_OFFSET_BITS=64, which must be defined before all standard headers are included. Changing this in the middle of compilation confuses things like zlib, and can lead to compilation failures: In file included from names.c:42: /usr/include/32/zlib.h:1583: error: conflicting types for 'gzseek64' /usr/include/32/zlib.h:1567: note: previous declaration of 'gzseek64' was here /usr/include/32/zlib.h:1584: error: conflicting types for 'gztell64' /usr/include/32/zlib.h:1568: note: previous declaration of 'gztell64' was here /usr/include/32/zlib.h:1585: error: conflicting types for 'gzoffset64' /usr/include/32/zlib.h:1569: note: previous declaration of 'gzoffset64' was here /usr/include/32/zlib.h:1586: error: conflicting types for 'adler32_combine64' /usr/include/32/zlib.h:1570: note: previous declaration of 'adler32_combine64' was here /usr/include/32/zlib.h:1587: error: conflicting types for 'crc32_combine64' /usr/include/32/zlib.h:1571: note: previous declaration of 'crc32_combine64' was here make[1]: *** [lsusb-names.o] Error 1 The fix is to include it first. Signed-off-by: Nick Alcock <nix@esperi.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* names.c: fix lots of coding style issuesGreg Kroah-Hartman2009-09-281-194/+201
| | | | | | Mostly tab conversions, but lots of other little things. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* names.c: fix up some compiler warningsGreg Kroah-Hartman2009-09-281-7/+9
| | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* lots of trailing whitespace removed.Greg Kroah-Hartman2009-09-281-4/+4
| | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gzipped usb.ids (from Aurelien Jarno); regen config/install stuffDavid Brownell2006-12-101-5/+18
|
* Print video terminal info; from Laurent Pinchart.David Brownell2005-10-221-0/+58
|
* From: Aurelien Jarno <aurelien@aurel32.net>Thomas Sailer2004-03-181-0/+32
| | | | | | | | | | | | | | | | | | | | | | | Subject: [usbutils] Patch to support reporting of keyboard country type Date: Thu, 18 Mar 2004 10:58:31 +0100 Hi Thomas ! Please find attached a patch against the current CVS that I received viathe Debian Bug Tracking System. It looks up the decimal HID Country Code in usb.ids and reports it when "lsusb -v" is used on an HID device. For most cheap PC USB keyboards the data may be misleading, as they commonly report as 00 or 33 types regardless of mapping. However, Sun and Apple kit uses the extension. The list of HID Country Code has already been integrated into usb.ids.You may have to update the version in the CVS from http://linux-usb.org Regards, Aurelien
* Initial revisionThomas Sailer2004-02-201-0/+706