Re: Q: boot time & usb enumeration

2018-12-18 Thread Ranran
On Wed, Dec 19, 2018 at 8:54 AM Greg KH wrote: > > On Wed, Dec 19, 2018 at 08:41:56AM +0200, Ranran wrote: > > On Wed, Dec 19, 2018 at 12:00 AM Alan Stern > > wrote: > > > > > > On Tue, 18 Dec 2018, Ranran wrote: > > > > > > > Hello, >

Re: Q: boot time & usb enumeration

2018-12-18 Thread Ranran
On Wed, Dec 19, 2018 at 12:00 AM Alan Stern wrote: > > On Tue, 18 Dec 2018, Ranran wrote: > > > Hello, > > > > We are afraid that the USB enumeration might take too much time (~3 > > seconds) , and consider to disable usb and change interface to device > >

Q: boot time & usb enumeration

2018-12-18 Thread Ranran
Hello, We are afraid that the USB enumeration might take too much time (~3 seconds) , and consider to disable usb and change interface to device from usb to serial. Does anyone knows if it usb enumeration really takes that long in recent kernels ? Is it that usb enumeration at startup can be post

HID gadget driver supports get/set features ?

2018-10-02 Thread Ranran
Hello, >From my reading about HID gadget driver (hidg), it seems that it support input reports, but not get/set features. This is my understanding from the documentation: https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt Is that correct ? Thank you, ranran

Re: gadgetfs & endpoints

2018-09-04 Thread Ranran
On Tue, Sep 4, 2018 at 2:36 PM Ranran wrote: > > Hello, > > In gadgetfs documentation I find no mention of endpoints: > https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt > > Is it possible to create endpoints using gadgetfs ? > The question need to be ph

Re: Nothing in /sys/class/udc

2018-09-04 Thread Ranran
On Tue, Sep 4, 2018 at 3:26 PM Felipe Balbi wrote: > > > hi, > > Ranran writes: > > > A fix for my last comment: > >> > usb device controller should be supported with conga-MA5 (contains > >> > Intel's appolo lake), so I am still not s

Re: Nothing in /sys/class/udc

2018-09-04 Thread Ranran
On Tue, Sep 4, 2018 at 12:12 PM Felipe Balbi wrote: > > > Hi, > > Ranran writes: > > On Mon, Sep 3, 2018 at 4:50 PM Ranran wrote: > >> > >> On Mon, Sep 3, 2018 at 4:22 PM Ranran wrote: > >> > > >> > On Mon, Sep 3, 2018 at 3:40 PM

gadgetfs & endpoints

2018-09-04 Thread Ranran
Hello, In gadgetfs documentation I find no mention of endpoints: https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt Is it possible to create endpoints using gadgetfs ? Thank you, ranran

Re: Nothing in /sys/class/udc

2018-09-03 Thread Ranran
On Mon, Sep 3, 2018 at 4:50 PM Ranran wrote: > > On Mon, Sep 3, 2018 at 4:22 PM Ranran wrote: > > > > On Mon, Sep 3, 2018 at 3:40 PM Greg KH wrote: > > > > > > On Mon, Sep 03, 2018 at 09:39:14AM +0300, Ranran wrote: > > > > Hello, > > &g

Re: Nothing in /sys/class/udc

2018-09-03 Thread Ranran
On Mon, Sep 3, 2018 at 4:22 PM Ranran wrote: > > On Mon, Sep 3, 2018 at 3:40 PM Greg KH wrote: > > > > On Mon, Sep 03, 2018 at 09:39:14AM +0300, Ranran wrote: > > > Hello, > > > > > > I try to add gadget configfs as described in: >

Re: Nothing in /sys/class/udc

2018-09-03 Thread Ranran
On Mon, Sep 3, 2018 at 3:40 PM Greg KH wrote: > > 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 not

Nothing in /sys/class/udc

2018-09-02 Thread Ranran
: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. Thank you for any idea, ranran