[SOLVED] Up Square USB Gadget g_serial and g_mass_storage problems
We are having issues with Up Square g_serail and g_mass_storage
BIOS version is 2.1 in our Up2 and we have Ubuntu 16.04.5 with Kernel 4.15.0-38-generic. We did not touch BIOS; default is loaded.
On the other end of USB OTG cable, we have a generic laptop running Windows 8.1
After loading g_serial we saw a new ttyUSB0 is registered in /dev folder and in PC, we see a PI serial 2.4 device is registered at COM 3
Open a minicom session in Up2/Ubuntu and a putty session in Windows
Whatever we type on PC shows up on Up2 minicom; this is good.
However we don't see output on PC putty screen when we type on minicom. Only after we hit "enter" key on PC then the message shows up on putty. We try disable flow control on both minicom and putty but it does not help.
"sudo modprobe g_mass_storage" gives us following error
modprobe: ERROR: could not insert 'g_mass_storage': invalid argument
in kernel log
Mass Storage Function, version 2009/09/11
LUN: removable file: (no medium)
no file given for LUN0
g_mass_storage dwc3.0.auto:failed to satrt g_mass_storage: -22
Nothing shows up on Windows; no new device in device manager or in my computer.
We appreciate any input to solve g_serial and g_mass_storage problems.
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 186 Welcome Developers!
- 55 Unboxing & Project Sharing
- 50 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral