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
Categories
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 595 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 828 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral