Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2022 13:42:46 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Daniel O'Connor <darius@dons.net.au>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Failed control transfer
Message-ID:  <a4ea1837-dcb8-0338-b3b3-f32147732b5e@selasky.org>
In-Reply-To: <75c25972-e998-c7f2-578f-31a364554fd7@selasky.org>
References:  <7FF9CB5C-26B0-4DBA-B7E4-80DBF50A80BB@dons.net.au> <7e1de023-094f-4247-146d-9e8f498ae0e7@selasky.org> <DF88E7EE-B986-4853-9CF8-9047B084F03C@dons.net.au> <577bcb8a-b2ab-8d38-b657-0d085a8a2df6@selasky.org> <C11CE896-7F67-4C2D-8194-22D4C218DD91@dons.net.au> <75c25972-e998-c7f2-578f-31a364554fd7@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/11/22 13:31, Hans Petter Selasky wrote:
> On 10/11/22 13:13, Daniel O'Connor wrote:
>>
>>
>>> On 11 Oct 2022, at 21:30, Hans Petter Selasky <hps@selasky.org> wrote:
>>>
>>> On 10/11/22 12:05, Daniel O'Connor wrote:
>>>> In [6]: d.ctrl_transfer(0xc0, 176, 0x42, 0, 256, 1000)
>>>
>>> 255 and not 256 bytes!
>>
>> Same result :(
>>
>> -- 
>> Daniel O'Connor
>> "The nice thing about standards is that there
>> are so many of them to choose from."
>> -- Andrew Tanenbaum
>>
> 
> What does "usbdump -i usbusX -f Y -s 65536 -vvv" say?
> 

Maybe you should trace using usbdump from the start of attachment.

Maybe some USB request gets the device into a bad state and it starts 
returning STALL for all new requests!

The STALL message comes straight from the USB device!

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4ea1837-dcb8-0338-b3b3-f32147732b5e>