Skip to content
Commits on Apr 29, 2016
  1. Merge pull request #37 from tklauser/libusb-min-version

    build: Request at least libusb 1.0.9
    committed Apr 30, 2016
  2. Merge pull request #41 from ebassi/issue-40

    Don't use C99-ism
    committed Apr 30, 2016
  3. @ebassi

    Don't use C99-ism

    Declare the loop iterator before using it.
    
    Fixes #40
    
    Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
    ebassi committed Apr 29, 2016
  4. Merge pull request #39 from tsundre/master

    Added support for Platform Device Capability descriptor
    committed Apr 30, 2016
  5. @tsundre

    Added support for Platform Device Capability descriptor

    Signed-off by: Torleiv Sundre <torleiv@kubicam.com>
    tsundre committed Apr 29, 2016
Commits on Apr 28, 2016
  1. @tklauser

    build: Request at least libusb 1.0.9

    lsusb needs at least libusb 1.0.9 as it uses libusb_error_name.
    Otherwise the build fails with the following linker error:
    
    lsusb-lsusb.o: In function `do_hub':
    .../usbutils/lsusb.c:3314: undefined reference to `libusb_error_name'
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Apr 28, 2016
Commits on Feb 8, 2016
  1. Merge pull request #36 from jwilk/spelling

    Fix typos
    committed Feb 7, 2016
Commits on Jan 24, 2016
  1. add usbreset.c example program

    It comes from Alan Stern.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    committed Jan 24, 2016
Commits on Dec 13, 2015
  1. @jwilk

    Fix typos

    Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
    jwilk committed Dec 13, 2015
Commits on Dec 2, 2015
  1. @muthulnx

    lsusb: Added support for Billboard Capability descriptor

    Added support for Billboard Capability descriptor as per Universal
    Serial Bus Device Class Definition for Billboard Devices Revision 1.1
    
    Signed-off-by: Muthu M <muthu.lnx@gmail.com>
    Reviewed-by: Felipe Balbi <balbi@ti.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    muthulnx committed with Oct 14, 2015
  2. usbhid-dump: update submodule to latest version

    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    committed Dec 1, 2015
Commits on Oct 4, 2015
  1. @muthulnx

    lsusb: Fix issue with lengthy string descriptors

    Fixed the issue in displaying lengthy string descriptor (more than 128 bytes)
    
    Signed-off-by: Muthu M <muthu.lnx@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    muthulnx committed with Jul 31, 2015
Commits on Sep 14, 2015
  1. Merge pull request #35 from matnyman/master

    Add USB 3.1 SuperSpeedPlus capability descriptor to lsusb -v output
    committed Sep 14, 2015
  2. @matnyman

    lsusb: Add support for the USB 3.1 SuperSpeedPlus device capability desc

    USB 3.1 devices have a SuperSpeedPlus USB device capability descriptor
    as part of the BOS descritptor. It if exists then show this content
    togeter with the rest of the BOS descriptor.
    
    A sample output looks like:
    
    SuperSpeedPlus USB Device Capability:
        bLength                20
        bDescriptorType        16
        bDevCapabilityType     10
        bmAttributes         0x00000001
          Sublink Speed Attribute count 1
          Sublink Speed ID count 0
        wFunctionalitySupport   0x1100
        bmSublinkSpeedAttr[0]   0x000a4030
          Speed attr ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
        bmSublinkSpeedAttr[1]   0x000a40b0
          Speed attr ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
    
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    matnyman committed Sep 14, 2015
  3. @matnyman

    lsusb: Allocate the BOS descriptor buffer dynamically

    We can't use a static size for the BOS descritpor anymore as the
    SuperSpeedPlus USB device capability descriptor of USB 3.1 devices
    varies in size depending on how many Sublink Speed Attributes it supports.
    
    Total size is reported in the first 5 bytes of the standard BOS descriptor
    
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    matnyman committed Sep 14, 2015
Commits on Jul 24, 2015
  1. Merge pull request #33 from tklauser/master

    lsusb: Store link state descriptions without preceding space
    committed Jul 24, 2015
  2. @tklauser

    lsusb: Store link state descriptions without preceding space

    Make the space part of the printf() which uses link_state_descriptions
    instead of adding it to each member. Also make the array const char *
    const.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Jul 24, 2015
Commits on Jul 17, 2015
  1. Merge pull request #32 from Somasis/master

    Makefile: install pkgconfig file to arch-dependent location
    committed Jul 16, 2015
  2. @somasis
Commits on Jul 16, 2015
  1. Merge pull request #31 from dare599z/master

    Update lsusb.c for UVC
    committed Jul 15, 2015
  2. @justinmcbride
  3. @justinmcbride

    Update lsusb.c

    Very minor UVC Frame descriptor formatting change
    justinmcbride committed Jul 15, 2015
Commits on Jul 15, 2015
  1. Merge pull request #30 from tklauser/usb3x-fixes

    USB 3.x fixes
    committed Jul 15, 2015
Commits on May 15, 2015
  1. @tklauser

    lsusb: Request proper descriptor type for USB 3.1

    For USB 3.1 the same descriptor type (0x2A) as for USB 3.0 should be
    requested. Fix the corresponding check in do_hub() and adjust the
    command.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed May 15, 2015
  2. @tklauser

    lsusb: Report correct MaxPower for USB 3.0 devices

    For USB 3.0 devices MaxPower is in units of 8 mA instead of 2 mA. Fix
    dump_config to consider this.
    
    Closes #23
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed May 15, 2015
Commits on Nov 15, 2014
  1. Merge pull request #27 from DIGImend/usbhid-dump-update

    Usbhid-dump update
    committed Nov 15, 2014
Commits on Nov 11, 2014
  1. @spbnick

    Update usbhid-dump to v1.4

    Update usbhid-dump to v1.4 release, bringing mostly bug fixes.
    
    Among the changes are:
    
    * Request report descriptor with size specified in the interface descriptor
      to fix retrieval with some devices (e.g. Waltop Vega Tablet) which
      would produce ERROR_PIPE otherwise.
    * Add missing stdint.h includes to fix Gentoo/FreeBSD build issues.
    * Add README.md
    spbnick committed Nov 11, 2014
  2. @spbnick

    Update usbhid-dump repo URL

    Set usbhid-dump submodule URL to point to the new home on github.com.
    
    NOTE: Run "git submodule sync" to update remote URL in the cloned
          submodule repo.
    spbnick committed Nov 11, 2014
Commits on Oct 21, 2014
  1. usbutils 008 release

    committed Oct 22, 2014
  2. .gitignore: add compile to the list of things we need to ignore

    Fun automake stuff...
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    committed Oct 22, 2014
  3. lsusb-t: handle problem if there is no usb bus list

    Check to see if we really have a list of usb busses before we start
    walking it.
    
    Thanks to Benoit Izac <benoit@izac.org> for pointing out the fix.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    committed Oct 22, 2014
  4. Merge pull request #24 from vrutkovs/master

    New path for usbhid-dump submodule
    committed Oct 22, 2014
Commits on Oct 11, 2014
  1. Merge pull request #26 from drzraf/patch-1

    usb-devices: hexadecimal bInterfaceNumber handling
    committed Oct 11, 2014
  2. @drzraf

    usb-devices: hexadecimal bInterfaceNumber handling

    # lsusb -s 1:2
    Bus 001 Device 002: ID 0421:0264 Nokia Mobile Phone
    # cat /sys/bus/usb/devices/usb1/1-2/1-2:1.10/bInterfaceNumber
    0a
    # bash -vx usb-devices
    [...]
    printf 'I:  If#=%2i Alt=%2i #EPs=%2i Cls=%s(%s) Sub=%s Prot=%s Driver=%s\n' 0a 0 00 02 commc 0b 00 '(none)'
    bash: printf: 0a: invalid number
    [...]
    drzraf committed Oct 11, 2014
Commits on Sep 24, 2014
  1. @vrutkovs
Something went wrong with that request. Please try again.