Questions tagged [otg]
On-The-Go USB ports can be used as either masters or slaves, enabling some Pi models to easily emulate devices such as keyboards or harddrives. The tag is also used for questions about using dedicated slave ports for the same purpose (only the Pi 4 has such a thing).
23 questions
0 votes
0 answers
44 views
RPi Compute Module 4 USB Audio Input
I have a Raspberry Pi Compute Module 4 with the IO Board from the Pi Hut (pictured below), which has a USB 2.0 hub with two A-type ports and also a micro-USB port labelled "USB Slave". What ...
0 votes
0 answers
77 views
How do I rename UVC Camera on host computer
I've spent all day trying to figure out how to rename the webcam I made using this tutorial. It shows up as UVC Camera on my Windows 11 PC and I want to change what the name of it is. I can't figure ...
0 votes
1 answer
411 views
How to decouple USB power and OTG on RPi4 USB-C?
I want to use USB-OTG on my Raspberry Pi 4, but I want to have a possibility to cut the power off and thus force reboot of the device. Currently my RPi is powered via Power pins in 40 pin GPIO headers....
4 votes
1 answer
1k views
PIKVM: OTG via USB-C port but powering via GPIO pins [closed]
For my PIKVM I want to use the OTG functionality of the USB-C port of my Raspberry Pi 4 to control the mouse and keyboard, however, I want to power the Raspberry via the GPIO pins instead, because I ...
0 votes
0 answers
375 views
Can I turn a Pi + HDMI Display into a USB monitor?
Would it be possible to turn a Pi + HDMI display into a USB monitor? The Pi with the monitor would act as a 2nd display. (note that I'm not looking to avoid buying a USB monitor, I want to build an ...
1 vote
0 answers
414 views
Android device not detected when connected to rpizero before boot
I'm working on a project in which a RPi Zero (raspibian buster) controls an android phone by sending commands via adb. Everything works correctly if I connect the device once the RPi Zero has done the ...
0 votes
1 answer
3k views
how to configure usb in raspberry pi as otg
How can I configure usb port available in raspberry pi to OTG ?
1 vote
1 answer
1k views
Looking to have Raspberry Pi Zero act as USB mouse
I’m looking to use a Raspberry Pi Zero to act as a USB mouse for a computer. I’m wanting to move my mouse on a remote computer and have it correspond and move the cursor on the PC the PiZero is ...
0 votes
1 answer
317 views
Pi4 mass storage gadget and powerbank powered
I'm planning on using a pi 4B to act as a usb mass storage via a gadget module on the usb-c port. However, I want it to keep being powered when the usbc power is down, to finalise it's internal tasks. ...
0 votes
0 answers
540 views
Can a PI emulate a CD/RW drive
I have a piece of software that archives out onto CD and I really want to remove the drive as I am just archiving the data and copying it back off the disk onto my computer and putting the CD in the ...
1 vote
1 answer
3k views
Pass traffic from one network interface to another
I have a project where I have 4x RPiZ plugged into a single RPi4. The RPiZs appear as Ethernet over USB devices as network interfaces ethpi1, ethpi2,ethpi3, and ethpi4 with IP addresses 10.0.11.2, 10....
0 votes
2 answers
281 views
Connect 2 Pi's for file transfer, but with minimum networking [closed]
I want to connect two Pi's together for the purpose of transferring files, but I want to do it in the most secure method possible. One Pi ("Device 1") will be connected to the internet, and ...
0 votes
0 answers
479 views
Pi Zero OTG ethernet zero with USB-C
I have been doing a series of projects using RPiZs networked using ethernet over USB. In the middle of this, I upgraded my computer to a new MacBook Pro which only has USB-C ports, so now I need to ...
0 votes
0 answers
42 views
Raspberry Pi 400 as external keyboard via USB [duplicate]
Is it possible to use the raspberry pi 400 as an external keyboard on another PC or tablet using the USB-C (OTG) feature?
0 votes
0 answers
976 views
OTG mode Multi (g_multi) is not working on Raspberry Pi 4
I want to use the Raspberry Pi 4 as ethernet and mass storage device. According to the documentation I have to do configure the following files: /boot/config.txt: dtoverlay=dwc2,dr_mode=peripheral /...