Re: mkdir acm.${name} in configfs always fails with "Device or resource busy"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Sid Spry" <sid@xxxxxxx> writes:

> On Mon, Aug 24, 2020, at 1:16 AM, Felipe Balbi wrote:
>> 
>> Hi,
>> 
>> "Sid Spry" <sid@xxxxxxx> writes:
>> > See title. I'm getting this even when using shell commands, so I don't
>> > think it is my program.  Creating anything else, like ncm.usb0, will
>> > work.
>> 
>> which kernel version? which usb controller? which platform?
>> 
>
> Kernel 5.4.45 compiled for a Raspberry Pi 4, the UDC is a DWC2.

great. Latest v5.4 stable is v5.4.60. There have been a few fixes in
dwc2 and gadget drivers between .45 and .60. Just to rule out a problem
that was already fixed, could you merge v5.4.60 to your kernel and try
again?

> On another device (Allwinner based) I could add one serial gadget
> but not two, and I though this may have been endpoint exhaustion. Now
> I am not so sure.

It could exhaustion of Interrupt-capable endpoints. It depends on how
the gadget and the UDC were configured.

cheers

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux