Re: Nothing in /sys/class/udc

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

 



On Mon, Sep 03, 2018 at 09:39:14AM +0300, Ranran wrote:
> Hello,
> 
> I try to add gadget configfs as described in:
> https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt
> Yet, I find nothing in /sys/class/udc:
> 
> user@user-VirtualBox:~/tegra$ ls /sys/class/udc/ -al
> total 0
> drwxr-xr-x  2 root root 0 Sep  3 00:30 .
> drwxr-xr-x 58 root root 0 Sep  3 00:30 ..
> 
> I also don't have dwc2, but dwc3:
> user@user-VirtualBox:~/tegra$ lsmod | grep dw
> dwc3                   90112  0
> ulpi                   16384  1 dwc3
> udc_core               24576  2 dwc3,libcomposite
> user@user-VirtualBox:~/tegra$
> 
> Kernel is 4.4.50.

Why do you think the dwc3 driver will work here?  Do you really have
this hardware being emulated?

And 4.4.50 is very old, please use a modern kernel please.

thanks,

greg k-h



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

  Powered by Linux