Re: USB output in ucom
Michael van Elst <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jul 13, 2025 at 11:02:05AM +0000, Emmanuel Dreyfus wrote:
> Input received on the other end:
> "6"
> "E"
Your code allocates the xfer with flag USBD_SYNCHRONOUS
and sets up the xfer with flag USBD_NO_TIMEOUT.
usbd_setup_xfer() however rewrites the flags, so
it needs USBD_SYNCHRONOUS while usbd_create_xfer
probably doesn't.
Greetings,
--
Michael van Elst
Internet: [email protected]
"A potential Snark may lurk in every tree."