Re: UVC Configuration Issue on RB5

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


On 2/28/2024 7:27 PM, Robert Arndt wrote:

Please don't top post on the mail.

   I added the "f1" subdirectory, and noticed an ss header missing, and
I finally was able to bind, then run the ideasonboard's uvc-gadget
app, then see a video device on my 18.04 laptop host.  The device
appeared for a second but the host said the device wouldn't accept the
address it was providing.  But still the best progress I've had in
weeks.  Thank you so much Krishna, it was getting frustrating.

Good to see it working.

Regarding the device address failing, I am not sure but you can add logs and check "dwc3_ep0_set_address()" in drivers/usb/dwc3/ep0.c. Also check if the wValue of ctrl_request is proper or not. You can do so by enabling traces for "trace_dwc3_ctrl_req".

If the address being referred to by Linux machine is something different and specific to UVC, then I have no idea.

I'm not sure what you meant by "deferred for a600000.usb"...does that
mean the UDC driver went into the "pending" list of drivers?

You can ignore the deferred probe comment. UDC for our dwc3 device generally is not created if the dwc3 driver probe fails or gets deferred. I was thinking in that direction. But seems that was not the issue.


...and while udc_name came up with the string a600000.usb, &udc->dev was
an empty string.  So it seems like the device is not in the master UDC
list?  I don't know why...maybe my ConfigFS script is wrong?

I've attached my kernel config, ConfigFS script, and dmesg output as a
single file.  Would appreciate if someone could tell me if I'm looking
in the right direction or completely off.

Hi Robert,

   Can you check if dwc3 driver probe was successful or if it was
deferred for the a600000.usb controller. And seems like you are printing
&udc->dev instead of dev_name(&udc->dev).

   Also the symlink being created must be the following:
   ln -s functions/uvc.usb0 configs/c.1/f1

   You are directly linking it to c.1 in your script like the following
which is wrong:
   ln -s functions/uvc.usb0 configs/c.1

   Can you check if fixing the symlink is helping with successful


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux