On Wed, Aug 25, 2010 at 2:51 PM, Nikolai Kondrashov <spbnick@xxxxxxxxx> wrote: > On 08/19/2010 11:23 PM, Nikolai Kondrashov wrote: >> I think I'll release a new version soon and you will be able to use a tag >> instead of just master. > OK, usbhid-dump 1.1 is released, you could use tag "1.1" now. > Now that usbhid-dump is integrated into usbutils git, just wondering if it makes sense to integrate hidrd (which provides hidrd-convert) as well. If not, usbhid-dump is not that useful after all. >From the site, typical use of usbhid-dump will be redirect the output to hidrd-convert to dump human readable format. http://digimend.sourceforge.net/#proj-hid-dump One more thing, right now I need to use lsusb to find the bus and device number first before I can run usbhid-dump, is it possible to add the "-d vid:pid" option just like lsusb? BTW, it is working nicely. For example, if I need to dump the HID report descriptor of a USB composite device (interface 1), then I need to manually unbind the kernel driver in order to use "lsusb -vvv". But usbhid-dump makes things easier. mcuee@ubuntu:~/Desktop/build/usbutils/usbutils$ usbhid-dump 2 6 1 | grep -v : | tr -d ' \n' | xxd -r -p | hidrd-convert -o spec Usage Page (Desktop), ; Generic desktop controls (01h) Usage (Sys Control), ; System control (80h, application collection) Collection (Application), Report ID (1), Usage Minimum (Sys Power Down), ; System power down (81h, one-shot control) Usage Maximum (Sys Wake Up), ; System wake up (83h, one-shot control) Logical Minimum (0), Logical Maximum (1), Report Count (3), Report Size (1), Input (Variable), Report Count (1), Report Size (5), Input (Constant), End Collection, Usage Page (Consumer), ; Consumer (0Ch) Usage (Consumer Control), ; Consumer control (01h, application collection) Collection (Application), Report ID (3), Logical Minimum (0), Logical Maximum (1), Report Size (1), Report Count (8), Usage Minimum (Scan Next Track), ; Scan next track (B5h, one-shot control) Usage Maximum (Eject), ; Eject (B8h, one-shot control) Usage (Play Pause), ; Play/pause (CDh, one-shot control) Usage (Mute), ; Mute (E2h, on/off control) Usage (Volume Inc), ; Volume increment (E9h, re-trigger control) Usage (Volume Dec), ; Volume decrement (EAh, re-trigger control) Input (Variable), Usage (AL Consumer Control Config), ; AL consumer control configuration (0183h, selector) Usage (AL Email Reader), ; AL email reader (018Ah, selector) Usage (AL Calculator), ; AL calculator (0192h, selector) Usage (AL Local Machine Brwsr), ; AL local machine browser (0194h, selector) Usage (AC Search), ; AC search (0221h, selector) Usage Minimum (AC Home), ; AC home (0223h, selector) Usage Maximum (AC Forward), ; AC forward (0225h, selector) Input (Variable), Usage (AC Stop), ; AC stop (0226h, selector) Usage (AC Refresh), ; AC refresh (0227h, selector) Usage (AC Bookmarks), ; AC bookmarks (022Ah, selector) Report Count (3), Input (Variable), Report Count (5), Input (Constant), End Collection, Usage Page (FF00h), ; FF00h, vendor-defined Usage (01h), Collection (Application), Report ID (2), Logical Maximum (1), Logical Minimum (0), Report Size (1), Report Count (8), Usage Minimum (F1h), Usage Maximum (F8h), Input (Variable), End Collection -- Xiaofan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html