Kernel Sources / OTG Device Mode
Michael Meyer
New Member Posts: 2 ✭
Hi,
I'm trying to get USB OTG to work in device mode, and so far I haven't had much luck (running linux 4.8-rc6, Fedora 24). I have a feeling this is because I'm running the vanilla kernel (no patches applied). I also tried after enabling two kernel options (while inside `make menuconfig`), USB OTG and gadget mode, no luck.
Where can I find the source code for Linux 4.2 kernel w/upboard changes (the one mentioned here)?
Also, if you're still beta testing Linux 4.4 / Ubuntu 16.04, I would love to help out.
Thanks!
Michael
I'm trying to get USB OTG to work in device mode, and so far I haven't had much luck (running linux 4.8-rc6, Fedora 24). I have a feeling this is because I'm running the vanilla kernel (no patches applied). I also tried after enabling two kernel options (while inside `make menuconfig`), USB OTG and gadget mode, no luck.
Where can I find the source code for Linux 4.2 kernel w/upboard changes (the one mentioned here)?
Also, if you're still beta testing Linux 4.4 / Ubuntu 16.04, I would love to help out.
Thanks!
Michael
Comments
-
Hi mmeyer,
Have you checked out our tutorial on how to enable and use it as a serial console?
Have a look at our wiki: https://up-community.org/wiki/Serial_console#USB3.0_OTG_port_in_device_mode
You can get the source from our ubilinux distribution downloading the linux source package using
apt-get install linux-ubilinux-source
or directly from this link:
http://ubilinux.org/ubilinux/pool/main/l/linux-ubilinux/linux-ubilinux-source-4.4_4.4.13-1_all.deb
Also downloading the Yocto BSP layer you can find the patches applied to a standard 4.4 kernel
I am glad to read that you are interested in the beta testing program. Please send an email to "community AT up-board.org" and send us your request including your launchpad PPA username/email.
Thanks! -
Thanks! I got it working now.
For anyone wondering.. I had to set this in my kernel's .config before compiling:CONFIG_USB_DWC3=m CONFIG_USB_DWC3_GADGET=y CONFIG_USB_DWC3_PCI=m