[PATCH 0/3] tools: usb: testusb: Fix reported gadget speeds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using the testusb utility on a qcom platform which supports
super-speed-plus I found that "??" was being reported instead of
super speed or super-plus speed.

This is easily solved by aligning the test tool speeds with
include/uapi/linux/usb/ch9.h::enum usb_device_speed{}

Before:
sudo ./testusb -a -t 0
?? speed	/dev/bus/usb/004/027	0
/dev/bus/usb/004/027 test 0,    0.000004 secs

After:
sudo ./testusb -a -t 0
super-plus speed	/dev/bus/usb/004/027	0
/dev/bus/usb/004/027 test 0,    0.000004 secs

Bryan O'Donoghue (3):
  tools: usb: testusb: Add wireless speed reporting
  tools: usb: testusb: Add super speed reporting
  tools: usb: testusb: Add super-plus speed reporting

 tools/usb/testusb.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

-- 
2.36.1




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux