Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2022 12:34:48 -0400
From:      Farhan Khan <farhan@farhan.codes>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org
Subject:   Re: Trouble loading firmware to USB device
Message-ID:  <007551144c601a21e2ec8133a8359323de29725f.camel@farhan.codes>
In-Reply-To: <dfc1cd8a-75a9-6637-e721-83d134910185@selasky.org>
References:  <f47b9415c262267d5c2505463b54f58ceaf76315.camel@farhan.codes> <d27787a2-eb6b-25dc-2d0d-56af4184032b@selasky.org> <9315bf6d-b9a9-89a2-9a32-aca9fd9cc015@farhan.codes> <dfc1cd8a-75a9-6637-e721-83d134910185@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2022-04-19 at 09:01 +0200, Hans Petter Selasky wrote:
> On 4/19/22 05:51, Farhan Khan wrote:
> > Thank you! I made the changes, but the problem remains, namely the 
> > athn_usb_intr INTR RX callback is never called.
> 
> Did you start/reststart this USB transfer?
> 
> --HPS

No. How and where would that be done, if the primary thread you are on
is sleeping via msleep()? Do you have an example of this? I was looking
at the code of otus(4)?

On a side note, it seems that my initial usbd_transfer_start() to
wakeup the Rx Intr pipe seems to run the USB_ST_SETUP, which completes
successfully, but there is no associated USB_ST_TRANSFERRED. Not sure
if this is relevant?

- Farhan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007551144c601a21e2ec8133a8359323de29725f.camel>