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."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.