Re: Trouble loading firmware to USB device
- Reply: Farhan Khan : "Re: Trouble loading firmware to USB device"
- In reply to: Farhan Khan : "Re: Trouble loading firmware to USB device"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Apr 2022 18:19:41 UTC
On 4/21/22 19:51, Farhan Khan wrote: > The usb_config is listed below. I got the bufsize's by running `lsusb` > on Linux, but it should be the same basic output from FreeBSD tools. A > link to my latest commit is here: > https://github.com/khanzf/freebsd/blob/30fe0bd7677f07fd290e4150ccec620b7b09d532/sys/dev/athn/usb/if_athn_usb.c#L249 bufsize from lsusb is just wMaxPacketSize and is not correct. You need to check the driver how big transfers it is doing per endpoint. Can you capture all traffic using "usbdump -i usbusX -f Y -s 256 -vvv" after you load the driver? --HPS