Package: usbutils Version: 0.87-1 Severity: normal Tags: patch The 'bcdDFU' field for a DFU device is stored in little-endian order. The lsusb program prints the field out big-endian. The attached patch fixes this minor problem.
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages usbutils depends on: ii libc6 2.10.2-8 Embedded GNU C Library: Shared lib ii libusb-0.1-4 2:0.1.12-14 userspace USB programming library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime usbutils recommends no packages. Versions of packages usbutils suggests: ii lynx 2.8.8dev.3-3 Text-mode WWW Browser (transitiona ii wget 1.12-2 retrieves files from the web -- no debconf information
--- lsusb.c.orig 2010-05-20 16:46:44.000000000 -0400 +++ lsusb.c 2010-05-20 16:49:34.000000000 -0400 @@ -1907,7 +1907,7 @@ if (buf[0] < 9) return; printf(" bcdDFUVersion %x.%02x\n", - buf[7], buf[8]); + buf[8], buf[7]); } static void dump_hub(char *prefix, unsigned char *p, int has_tt)