Questions tagged [usb-otg]
The usb-otg tag has no summary.
17 questions
0
votes
0
answers
295
views
How to add usb0 (gadget ethernet interface) to a network bridge using systemd-networkd
I have a working systemd network bridge br0 that I setup by creating the following two files:
# cat /etc/systemd/network/br0.netdev
[NetDev]
Name=br0
Kind=bridge
# cat /etc/systemd/network/br0....
0
votes
1
answer
50
views
System freezes when using write() on gadgetfs device
I am working on creating a USB device using a single-board computer (specifically a Rock Pi S), and to enable USB device functionality I am using GadgetFS with raw vendor bulk and interrupt endpoints.
...
3
votes
0
answers
1k
views
ls /sys/class/udc > UDC "ls:write error: Device or resource busy"
ls /sys/class/udc > UDC
"ls:write error: Device or resource busy"
Trying to use my device as an OTG client, but I can't write to the UDC file. lsof returns nothing. Any suggestions ...
0
votes
1
answer
222
views
.img file mounted, want to see file updates without having to remount
I have a raspberry pi that is emulating a mass storage device, while having the backing .img file mounted. Once the pi is powered up and the .img is mounted, I turn on the mass storage emulation. I'm ...
2
votes
1
answer
4k
views
Use DWC3 module to put USB-C port in Host mode
I have a project which consists into using a device running Ubuntu server which will be connected to a windows computer through a USB-C/USB-A cable. The USB-C would be connected the Ubuntu device and ...
1
vote
0
answers
344
views
USB hard drive on OTG not mounted in Arch Linux
I am trying to mount a USB hard drive (Seagate Backup Plus) via the USB OTG port of my Wandboard on Arch Linux ARM. When I plug in the drive the pilot light flashes several times and Arch Linux finds ...
2
votes
1
answer
341
views
udev doesn't work when usb otg device is attached during boot
I have a setup consisting of a raspberry pi 3 connected to a raspberry pi zero via OTG usb connection. I have followed the following tutorial exactly: http://raspberryjamberlin.de/zero360-part-2-...
1
vote
0
answers
666
views
USB keyboard not working after building the mainline Linux kernel on a generic Allwinner A23 Chinese tablet
For quite a while I've been trying to install a Debian distribution on my useless cheap tablet PC. After reading the details of building Linux kernel on ARM architecture Manual Build Howto I've found ...
1
vote
1
answer
1k
views
mounted g_mass_storage doesn't delete files
I'm having a strange problem with g_mass_storage gadget where deleted files from the PC are not 'actually' being deleted, which causes further problems when indexing.
Here is the procedure:
mount ...
1
vote
0
answers
371
views
Know which one of two linux devices is the host when using USB OTG?
I have a raspberry pi connected to a linux computer by a USB 2.0 type A OTG cable. The problem is I don't know which one is the host. How can I know that?
4
votes
1
answer
2k
views
Binding linux gadget to udc driver
I want to bind my g_hid gadget to the usb otg port on my board. I Know that using the configFS one can bind the gadget to a UDC driver just by pass the name of the otg port, as explained here
but if ...
4
votes
2
answers
3k
views
NetworkManager Multiple Wired Connections Issues
I have a computer that is connected to the router with DHCP and is in fully working order, what I am having issues with adding raspberry pi zero's in link-only mode. First I can get the pi's to ...
3
votes
0
answers
138
views
Required kernel modules / configuration for OTG host on OMAP3 based device
I'm trying to figure out what kernel modules that I need to load in order correctly configure an TI OMAP3 based device (DM3730) as a USB host via the on-chip OTG controller.
Without loading any ...
6
votes
1
answer
15k
views
Configure Linux system as an OTG device
I'm wondering if it's possible to make a Linux system appear like an USB peripheral.
Like smartphones which can switch from master to slave depending on the device they are connected to, I would like ...
1
vote
1
answer
5k
views
Mount BTRFS on Android (usb OTG)
I am using btrFS as a filesystem for my external harddrive.
I'd like to use it under Android. Is there any painless way to do so?