Re: [PATCH 2/3] usb: gadget: Add CDC ACM function

2021-09-27 Thread Pali Rohár
On Thursday 19 August 2021 13:13:05 Loic Poulain wrote: > +static void acm_notify_complete(struct usb_ep *ep, struct usb_request *req) > +{ > + if (req->status) > + printf("CDC ACM notify failed (%d)\n", req->status); > + > + /* nothing to do */ > +} > + > +static void acm_tx_co

Re: [PATCH 2/3] usb: gadget: Add CDC ACM function

2021-09-07 Thread Loic Poulain
Hi folks, Any comments on this? On Thu, 19 Aug 2021 at 13:02, Loic Poulain wrote: > > Add support for CDC ACM using the new UDC and gadget API. This protocol > can be used for serial over USB data transfer and is widely supported > by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose

[PATCH 2/3] usb: gadget: Add CDC ACM function

2021-08-19 Thread Loic Poulain
Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing r