Questions tagged [usb]

Questions relating to the Raspberry Pi USB ports and specific Raspberry Pi USB devices and device interaction.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

Is it possible for a Raspberry Pi Zero to act as both a Usb Gadget and a Usb Host?

I am currently working on a Raspberry Pi project, and found an amazing feature that I used many times on my LineageOs phone: Usb Gadget. I figured I could change the function of the Usb port to act as ...
1
vote
0answers
37 views

How to do pass through from USB to HDMI in Raspberry Pi Zero W

Is it possible to pass through from USB to HDMI in Raspberry Pi Zero W? I need to pass through video/data from my laptop to TV Monitor through Raspberry Pi Zero W while capturing passed data in ...
0
votes
0answers
17 views

Cross compiler fails to compile C code that includes a library (eg. libusb)

I need to control the USB ports of my Raspberry Pi 1 B+ in order to disconnect/reconnect USB devices without physically accessing the machine/cable. I have found hub-ctrl.c which seems to be just fine ...
0
votes
0answers
26 views

The built-in Raspberry Pi 4 Wifi doesn't work, but a USB wifi adapter does, is the built-in Wifi broken?

The only WIFI network I'm able to use is 5G WPA EAP. The Pi 4 it will connect to an access point, but on it's own it doesn't connect to the internet. When I ping www.google.com I get Temporary ...
1
vote
0answers
19 views

Is it possible to enter USB-C Gadget Mode using only dhcpcd?

I've been following tutorials like this one to make USB 'Gadget Mode' work on the Pi: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ However the other day I had an issue getting it ...
0
votes
1answer
17 views

USB Ethernet / RNDIS is working over my desktop computer but not from my android phone

After following some guides, I was able to get a USB SSH connection working from my Windows 10 computer into my Raspberry Pi 4. It won't work on my phone though, even though my phone is capable of ...
0
votes
2answers
41 views

USB tethering: Raspi loses it's ip if the host is restarted

currently I'm playing with USB tethering between a raspi and a Linux PC. On the Linux pc I configured the USB interface to get a static ip once it's connected. This is managed by the Networkmanager ...
0
votes
0answers
12 views

pyvisa with raspberry pi get Exception: failed to set configuration [Errno 16] Resource busy

I'm trying to comunicate with USB signal generator using pyvisa import pyvisa rm = pyvisa.ResourceManger() dev = rm.open_resource('USB::13062::68:1106200007::INSTR') unfortunately i get an exception :...
0
votes
1answer
19 views

RaspPi as Master, 4x ESP32 with cameras… Networking, Image transfer and logging [closed]

To give some background: I am a seasoned software developer with experience to different degree in (Java, Python, JavaScript and even some C/C++), but I am new to IoT. The project I am planning is a ...
-1
votes
0answers
31 views

Boot lineageos from usb drive - Raspberry pi 4 [duplicate]

I am having a problem booting from sd card. I am able to boot raspberry os from usb drive, but lineageos stay in the load screen forever. Any solutions?
-1
votes
0answers
14 views

Unable to access USB under QEMU: unable to initalize libusb: -99

I ran raspberry pi under QEMU but can't got USB working $ lsusb unable to initalize libusb: -99 My QEMU command line is following: sudo qemu-system-arm \ -kernel qemu-rpi-kernel/kernel-qemu-4.4....
-1
votes
0answers
15 views

Library hid4java does not work on pi (3b), can't open device, error message: 'Device not intialized'

I'm working on a java project that uses a hid-device. I'm developing it on Windows 10, but it should also work on the raspberry pi. On my laptop everything functions fine, but when I switch to ...
0
votes
1answer
67 views

Disable USB driver on RPi Zero W

I am using a Raspberry Pi Zero W running Raspberry Pi OS (32-bit) Lite (Aug 2020). This is an IoT project where, I have a USB modem that makes my internet connection. When the modem is powered on it ...
0
votes
0answers
10 views

FPV receiver UVC on raspberry

i want to put this FPV receiver in a raspberry pi 3 but it do not show when i tipped lsusb, maybe due to lack of voltage? how can i do? Thanks
0
votes
1answer
41 views

USB drive is not visible [closed]

I mounted an Ext3 USB drive using fstab. It works, but I have one issue. Sometimes when I turn on the system, the drive is not visible. I can not find it in mnt, media or in the desktop. It does not ...
1
vote
1answer
37 views

Pi Zero with RS-485 interface operated inside breaker panel crashes

Setup I am operating an Raspberry Pi Zero inside a distribution board. The pi is powered via usb using a din rail power supply and it connected to an usb-rs485-adapter to get modbus data from a smart ...
0
votes
0answers
28 views

Connecting Raspberry PI with Pi Camera to my computer via USB

There are many tutorials about setting up a RasPI with camera as an IP camera and then using software on the PC that takes the IP stream and looks like a webcam such that Zoom or whatever can use the ...
1
vote
0answers
25 views

Lost connection to USB device through USB hub

After some physical interference, like moving a bit the USB cable connecting the USB Ethernet card to USB hub, it looses connection -- it's no longer visible in the system, despite the green diode is ...
1
vote
0answers
30 views

USB webcam (spherical camera) not working with Raspberry Pi OS

I'm feeling utterly hopeless with this one, but my USB spherical camera, Insta360 Air, no longer works with Raspberry Pi. It used to work in a previous OS (forgot the kernel version but before the OS ...
1
vote
0answers
197 views

Pi 4 - Ubuntu 64 bit - Boot from SSD over USB - Gets stuck in Initramfs after reboot

TL;DR; Successfully install Ubuntu Mate 20.04 64 Bit on Raspberry Pi 4 (4GB) and boot over USB 3.0 SSD. Works fine. After I do sudo reboot -> ubuntu is broken and I enter initramfs shell, cannot ...
1
vote
0answers
46 views

Recommended filesystem for USB flash drive

I've got a Raspberry Pi 4 used as a home automation server and I would like to add a USB flash memory stick as yet another drive. Question is: what filesystem would be the best choice for such a stick?...
0
votes
0answers
19 views

USBTMC library with Rasspberry pi

I'm trying to communicate with USBTMC device using raspberry pi and python. The first time i run the code it returns the right answer and everything is good, but on the second run i get no answer from ...
2
votes
1answer
37 views

How to bind usb encoder to keyboard keys

I currently have an arcade stick I made a while ago, which I want to use in a project with my Pi, which will run a simple scratch project. The Arcade Stick connects to the Pi through USB, and I can't ...
0
votes
1answer
80 views

writing to GPIO [closed]

Is there a way using python (Raspberry PI 4) to write a nibble to the GPIO in one write operation. I have done a project which would benefit from that. Project details here. https://sites.google.com/...
0
votes
2answers
39 views

Red Led flashing

I have a PI 4, WHEN using a 3.5A USB power measured 5.1v supply, the red LED is constantly on. When using a power supply which was rescued from a DVD player, checked supply 5.1v I get a flashing red ...
0
votes
0answers
42 views

Constant noise while recording with Zoom H1 through USB

I'm trying to build up a recording station using a Raspberry pi 3B. I solderet four mics (two per channel) to a stereo jack and plugged it into the "external mic" audio input of the Zoom H1. ...
1
vote
1answer
48 views

Issues running two PL2303 USB to Serial converters on a Raspberry Pi Zero W

I'm having a bit of a problem building a little network-connected UPS monitor. I have two USB to Serial adapters of the pl2303 kind. Latest Raspbian and I'm running them off a tiny powered USB hub ...
0
votes
0answers
52 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 /...
0
votes
0answers
59 views

strange behavior when booting Raspbian OS on 4B 8GB from a microSD card with a non-bootable SSD attached

I have a Raspbian OS microSD card that I use with the Raspberry Pi 8GB model I upgraded the firmware to the June-15 stable version of the firmware so that I could boot from the SSD. That worked fine. ...
1
vote
0answers
46 views

USB device turns off - relay switch does not restart it - unplugging and re-plugging does. What is the difference?

I have a USB to serial converter which the Raspberry Pi 3B seems to turn off after a few hours. LSUSB shows it is gone, and then it can be restarted by unplugging and then re-plugging the device into ...
1
vote
1answer
38 views

Problem saving images to USB from Python Script

I'm very new to Python / Raspberry Pi and I'm trying to set up a time lapse camera. Due to the number and size of images, I wish to save to USB. At first the below program (copied and altered from the ...
1
vote
1answer
101 views

Raspberry Pi 4 hung on boot while powered USB hub is plugged in

I've got a powered USB hub with an ethernet port connected to my Pi. When the Pi boots with it plugged, the boot process hangs until I unplug it. This seemingly includes the clock, as /var/log/syslog ...
1
vote
1answer
63 views

Ethernet port on USB hub overrides on-board ethernet

I've got a powered USB hub with an ethernet port connected to my Pi, but I'm only interested on the USB ports, as it already has on-board ethernet. However, for some reason, when the Pi boots, the hub'...
2
votes
0answers
30 views

Debug OTG on RPI 4 for g_midi?

I tried to set a RPI 4 in OTG device mode I added dtoverlay=dwc2 to config.txt I modified the cmdline.txt so it launches wc2 & g_midi I tried ,dr_mode=peripheral too I just tried replacing ...
2
votes
3answers
78 views

The usb-storage driver seems to be constantly accessing external USB drive on a Pi B+

Well, today is turning out to be a bit of a pain with disk drives (esp with zero sleep last night). I have an external ICY BOX JBOD box with one Seagate Barracuda and one Samsung Momentus drive in it ...
0
votes
1answer
39 views

3B+ will boot from USB (microSD to USB adapter) and not from the microSD card itself

I have searched and searched for an answer to this issue but am unable to find it. I have checked the boot thread on the main forums but with no luck. I got a new 3B+, formatted an SDCard using ...
0
votes
1answer
37 views

Unable to read serial port with python script but can write [closed]

I have a microcomputer that is initiated from a pico terminal script establishing a ttyUSB0 and baudrate. The micro is programmed only to respond to a small list of alphanumeric inputs. Enter x into ...
1
vote
2answers
106 views

Pi 4: SD Card or USB SSD?

I'm currently using my Pi4 as a NAS with OpenMediaVault and i was thinking about moving the OS from the SD Card to an external SSD on one of the USB 2 Ports, since both USB 3 Ports are being used for ...
0
votes
1answer
98 views

SSH into Rasberry Pi 4 over USB (Ubuntu Core) [duplicate]

Is it possible to SSH connect via USB-C -> USB to Rasberry Pi 4 in Ubuntu? Like this
0
votes
1answer
45 views

Raspberry Pi 3B Serial Port Flow Control Issue

I am trying to connect ESP-Prog to Raspberry Pi Model 3B. The Pi is back-powered by 5V power supply connected to the hat on the Pi. By default, serial port /dev/ttyUSB1 is connected for Espressif ...
1
vote
3answers
831 views

Unable to boot Raspbian or Ubuntu Server 20.04 from a USB SSD using a Raspberry Pi 4 4GB

I know of two methods to do this which I've tried: Use RPi Imager to install Ubuntu on both the SD card and SSD as per this post and this post Install BerryBoot and use that to install and boot ...
0
votes
0answers
39 views

Raspberry Pi 3, Wifi Extender, “Could not set interface wlan1 flags (DOWN): Operation not permitted”

I'm attempting to create a wifi extender out of my Raspberry Pi 3 using this guide: https://pimylifeup.com/raspberry-pi-wifi-extender/ After some troubleshooting, I made it all the way through the ...
0
votes
0answers
93 views

I have a Logitech c930e camera, what is the highest frame rate I can get at max. resolution? (i.e. 1920x1080)

I have a c930e camera: $ v4l2-ctl --list-devices Logitech Webcam C930e (usb-0000:00:1d.0-1.3): /dev/video0 I checked the capabilities like so: $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 [...
0
votes
1answer
28 views

Setting USB current limit on Raspberry Pi 4

I have a Samsung Galaxy s8 that's connected to my Raspberry Pi in order to provide an internet connection. I'm looking to limit the harm done to the battery in the phone. Right now the battery in the ...
1
vote
0answers
66 views

RPI-Clone an SSD to an SSD - Fails with I/O Error

I have a RPi 4 system with 4GB RAM and another 4GB with ZRAM. It is running XFCE and I've successfully converted from SD to SSD. Everything works fine here as of right now. Recently I've attempted to ...
0
votes
0answers
15 views

Adding shared USB key to a Raspberry Pi that is running Pi-Hole

I have an original Raspberry Pi running Pi-Hole that is working successfully. I was wondering whether I could connect a USB key to the R-Pi to act as shared network storage on my LAN. To get Pi-Hole ...
1
vote
1answer
545 views

Booting from SSD on Raspberry Pi

Recently got a Raspberry Pi 4, and want to configure it to boot from a SSD I have. I am new to linux, so I may not be doing this right, but I have followed instructions on several guides I found ...
0
votes
1answer
30 views

Two USB cameras and ASP.NET Core

I want to build a project based on Raspberry Pi 4B and I would like to hear opinion someone's more experienced with this platform (as I am mostly SW and did some projects with Arduinos) if it is ...
0
votes
1answer
72 views

Connect to internet with Sakis3g when modem establish network connection

RP-beginner here, Background I'm using a shell script called Sakis3g to connect to internet and it works very well (It uses wvdial in the background and sets up a ppp-connection) I want Sakis3g to run ...
-1
votes
1answer
214 views

Why does Raspberry Pi 4 do not support USB boot?

I was searching for a way to boot from USB on RPi4. But I am always finding articles that is telling me that 3B+ has this boot feature but RPi4 doesn't. After some more finding I found that this is ...

1
2 3 4 5
29