History log of /haiku/src/bin/listusb/listusb.cpp
Revision Date Author Comments
# a1bc100a 03-Feb-2024 Jérôme Duval <jerome.duval@gmail.com>

listusb: fix MaxPacketSize, display length

audio: fix zero divide, add missing newline
Change-Id: Ia7d0ae6e403938291471185b14e07dc3e0f90ef4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7369
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 57d035af 22-May-2023 Augustin Cavalier <waddlesplash@gmail.com>

listusb: Dump Super-Speed Endpoint Companion descriptors.


# ed01a462 22-May-2023 Augustin Cavalier <waddlesplash@gmail.com>

listusb: Split CDC listing into a separate file.


# 67df1af4 22-May-2023 Augustin Cavalier <waddlesplash@gmail.com>

listusb: Fix verbose class/subclass/protocol printing.

There should always be a space between the hexadecimal number
and then the looked-up string.


# edeaa9c0 10-Oct-2022 Jérôme Duval <jerome.duval@gmail.com>

listusb: generate class code table from usb.ids, and use it

Change-Id: I43b79c5abc74306aba9a69991aeb5e110b2d790b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5737
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>


# ad398477 22-Apr-2022 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

Enable some more Werror and fix compiler warnings

- All servers are now Werror
- All bus_managers are now Werror
- All input_server add-ons are now Werror
- Some more things in bin/ are Werror

Only tested on x86_64, I'll let the buildbot test on x86_gcc2 and RISC-V

Change-Id: I5ec86512eac729c862828a45d8431f85c4ec422b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5226
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 581013b8 17-Apr-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

listusb: decode USB-CDC descriptors

Change-Id: I36ea15fee28b27332a8092a98a302c22b41ae060
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5225
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>


# d5a29ba9 13-Jul-2019 Augustin Cavalier <waddlesplash@gmail.com>

listusb: Do not try to print the port speed.

The USB3 specification changed the meaning of this field, and
it means different things depending on whether a USB 2 or 3
device is attached, so just don't print it.

Fixes listusb saying "Fullspeed" for USB3 devices. The per-device
information already prints what USB version and protocol the
device is operating on, so this was redundant anyway.


# a92e224f 30-Apr-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

listusb: add some standard subclass codes

From https://www.usb.org/defined-class-codes

Change-Id: Icd029ff2078650fad3c2fa90f1d82cf80b0662b0
Reviewed-on: https://review.haiku-os.org/c/1423
Reviewed-by: Rene Gollent <rene@gollent.com>


# e6464087 01-Nov-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

listusb: parse UVC devices

- Various cleanups to the USB-audio side, which is similar
- Add in the UVC (USB Video) specific info with parsing of some of the
descriptors (most of the "control" part).


# 56f749a6 01-Nov-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

listusb: split out USB audio dumping to own file.

The code to dump audio descriptors is now twice as long as the other
parts of the listusb code. Move it to its own file for clarity.