Hi, On Mon, 07 Apr 2025 16:59:34 +0200, Stephan Gerhold wrote: > The ACM console does not work properly with ci_udc, it crashes immediately > when setting it up, because usb_ep_disable() is called on an USB endpoint > that was never enabled before. There are also some other issues in f_acm > where state is not correctly claimed or cleaned up. > >
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu) [1/3] usb: gadget: f_acm: Claim requested USB endpoints https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/eeef1223025c68bd546a1f9411bdcdf518f8cb97 [2/3] usb: gadget: f_acm: Allow restarting ACM console after stopping it https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/22b5aad20ae0f17bd9617fb9c10ddb38d2b91920 [3/3] usb: gadget: introduce 'enabled' flag in struct usb_ep https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/59310d1ecb9f56a1bac405a5edfa9774f2d90220 -- Mattijs