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
0 votes
1 answer
19 views

Raspberry Pi Zero 2 W: Swap File on the USB won't stay in use after reboot

With this fresh install of Pi Zero 2W, after any reboot, if you check for a swap on the Raspberry Pi Zero 2 W, it has none To prevent unnecessary IO (and to extend life), instead of making a swap ...
Omar's user avatar
  • 101
0 votes
0 answers
15 views

Raspberry Pi Zero 2 W: Boot from USB in Ubuntu Server (latest & any version)

How can I setup my Raspberry Pi Zero 2 W to boot from USB in Ubuntu Server Linux distributions. I am looking for a solution that applies to all supported versions of Ubuntu Server, latest and below. ...
Omar's user avatar
  • 101
0 votes
0 answers
23 views

Need help connecting pi to 3 separate 2 digit displays [closed]

Hello we are Solar car race team at a high school and we need to connect our Pi to 3 individual two digit displays then format the data from our charge controller through our Pi. Is this possible ...
Matt Karlsen's user avatar
0 votes
0 answers
23 views

RPi 4B Debian Bullseye ttyUSB0 is missing

Situation: RPi 4B Debian Bullseye using raspberry imager e.g. 64bit lite Problem: After logging in 'ls /dev' does not show ttyUSB0. It has been visible 2 days ago. I guess running bookworm. Hints: I ...
tom tom's user avatar
0 votes
1 answer
22 views

Detect eject by host when using g_mass_storage and dwc2

how can I detect on the Pi when my mass storage device was ejected by the host? I am using a Raspberry Pi 4 as a mass storage device with the dwc2 module. I am "inserting" the mass storage ...
cbg's user avatar
  • 1
0 votes
0 answers
16 views

Cannot use USB presenter (Logitech, Flirc) when running Jack audio on a USB audio interface

I want to use a USB keyboard'ish device on a Pi 4 running Raspbian Buster. I tried both a Logitech R400 (radio based) device, and a Flirc programmble USB receiver for Infrared. Both work fine on a ...
0__'s user avatar
  • 502
0 votes
1 answer
75 views

Play audio on rPi Zero WH using USB speakers

I would like to configure a Phoniebox (play music using RFID reader). I configured pretty much everything, the interface works and indicates that I'm reading the music file, but the rPi doesn't play ...
Pyxel's user avatar
  • 1
0 votes
0 answers
18 views

Understanding USB in Raspberry Pi Model 4

I encounter issues when reading from 2 cameras simultaneously in Raspberry Pi 4. I connected an RGB camera to the USB3.0 port and another B/W camera to USB2.0 since cameras would be disconnected when ...
Patrick Vibild's user avatar
1 vote
2 answers
65 views

I can't see my wifi usb adapter with ifconfig

I am using this raspberry Pi Architecture: armv7l Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) ...
midnight_rambler's user avatar
2 votes
1 answer
513 views

Raspberry Pi's 4 no longer boot with "mmc1: Controller never released inhibit bit(s)" error

I have a problem which I can not solve. I have a Raspberry Pi 4B with 4GB RAM. This worked until this morning without problems with a USB 3.0 stick from Transcend and with 64-bit Bullseye PiOS (...
Peter's user avatar
  • 31
1 vote
0 answers
178 views

Configuring the Raspberry Pi 4 B as a USB (HID) Gadget?

I am new to Raspberry Pi and recently got a RB Pi 4 intending to use it as a mouse/keyboard for my laptop. The problem is that I can't find valid information about how to configure the Pi 4 as a USB ...
BLUC's user avatar
  • 111
0 votes
0 answers
34 views

Raspberry Pi W Zero HID by USB socket

I’m currently working on a Bluetooth bridge device. For this purpose I have soldered a male USB to the USB TP (Test Points) on the Raspberry Pi PCB, see image. I’d like to power and send HID ...
Eryk's user avatar
  • 1
0 votes
2 answers
52 views

PI not accessible over USB tether from Android

I am trying to connect to my RPI4 with my WiFi card in monitor mode using a USB tether connection, I have setup a static IP on the usb0 interface in the Pi as 192.168.231.212, my device is using the ...
Arnav Mishra's user avatar
1 vote
1 answer
35 views

UDev rule for removing device not triggered

I am having a monitor with an integrated USB hub (and a physical power-switch) attached to my pi and want to execute two different scripts, when the monitor is turned on and off. The first part for ...
treuss's user avatar
  • 111
0 votes
0 answers
27 views

USB ports do not work after attempting to boot from USB

I just got a Raspberry Pi Model 4B with 8GB RAM. I put the USB Boot bootloader on an SD card to switch it to run off an external SSD, but when I tried actually booting, I had a black screen. I changed ...
Ryland Goldman's user avatar
-1 votes
1 answer
41 views

Can I power my PI via USB if I Disable USB?

I learnt that I can disable the USB circuitry with this command: echo '1-1' |sudo tee /sys/bus/usb/drivers/usb/unbind Does doing this disable USB power too? Or just data/connectivity? I would test ...
Tom J Nowell's user avatar
-1 votes
1 answer
100 views

Pi 4; 8GB RAM: Having fimware and OS(openBSD) both on the SD card

Yesterday I installed openBSD on my Pi 4 with 8GB RAM: I first installed the [UEFI firmware][1] on the vfat formated, primary, and only partition of an SD Card I created an openBSD 7.3 boot stick I ...
M0M0's user avatar
  • 99
0 votes
0 answers
36 views

Access Retropie SSH from USB in Raspberry Pi Zero?

I have a raspberry pi zero without wireless and I need to log into Retropie SSH, but I have no other means of accessing it than through USB. I've tried following a tutorial before about using SSH ...
user832's user avatar
0 votes
0 answers
183 views

converting raspberryPi4 to a USB UVC device mimicking a USB camera

I have a raspberyPi4 with Raspabion OS (Debian Bullseye) in it and i am willing to convert it to a USB-UVC device mimicking a USB camera so that whenever i connect it the host machine(PC in this case) ...
Harsh Kumar's user avatar
0 votes
1 answer
50 views

IO capacity of SD and USB on RPi 4B

Ignoring the limitations of the SD card or SSD (via USB) what is the limitation on read and write speed in MB/s provided by the RPi 4B itself on the SD card and USB connection. I don't know much about ...
HashBr0wn 's user avatar
0 votes
1 answer
435 views

Using USB port as serial UART

So I have a circuit board (IWR6843ISK) that I want to connect to RPI400 via USB serial to send and receive data. Here are some details: This board uses a USB to dual UART bridge (micro USB port). I'...
Discombobulous's user avatar
1 vote
2 answers
347 views

Raspberry Pi Pico -- Read USB Midi Input

I'm new to programming with Raspberry Pi's. I have a Yamaha p45 electric keyboard that outputs MIDI over a USB cable (not the 5-pin midi cable) and I need to read the midi input into my Raspberry Pi ...
deastmon's user avatar
0 votes
1 answer
81 views

Disable USB until boot is complete

TLDR; I want to disable the USB hub on a RPi4 until boot is complete. Hi, I am trying to solve a problem that I have not seen posted about. I have a RPi4 with multiple RPiZs plugged into it acting as ...
Rusty's user avatar
  • 152
0 votes
1 answer
176 views

Raspberry Pi Zero WH headless setup USB keeps disconnecting/connecting

I'm new to this and sorry if this is a stupid question... I have a Raspberry Pi Zero WH and since I don't have a Mini-Hdmi cable I must setup it via USB. I've installed the Raspberry Pi OS on a SD ...
Vanej's user avatar
  • 1
0 votes
0 answers
71 views

RPi Bullseye: libcamera-jpeg does not write to USB drive, while libcamera-vid does

I'm running a Python script on a Raspberry Pi 3 B+. This script automatically takes video and stills using the Raspberry Pi camera and should write it to an external USB drive. I've mounted a USB ...
Bert's user avatar
  • 1
1 vote
0 answers
82 views

no consistent connection when using RBP as Ethernet gadget on macos

I am trying to connect my RBP to my MacBook using Ethernet gadget. I followed this guide link, I also had to share internet to the RNDIS/Ethernet Gadget. I managed to SSH to my RBP and to access ...
Pa Dalton's user avatar
2 votes
0 answers
39 views

Ep in and out files not being created when trying to emulate a USB device using libcomposite on Raspberry Pi 4

I'm using the following to set up and emulate a usb device: modprobe libcomposite cd /sys/kernel/config/usb_gadget/ mkdir -p g1 cd g1 echo 0x1430 > idVendor # Linux Foundation echo 0x0150 > ...
matt's user avatar
  • 81
1 vote
0 answers
48 views

Need help emulating a USB device using my Raspberry Pi

I've tried to follow a couple examples online. I've got dwc2 at boot, I've added libcomposite to my modules file. I can run the following successfully. cd /sys/kernel/config/usb_gadget/ mkdir g1 cd g1 ...
matt's user avatar
  • 81
0 votes
0 answers
68 views

Raspberry Pi SD Card Reader Overheat?

We have Raspberry Pi 3B, and tried plugging it in after trying to supply power using the GPIO pins but to no response. We tried to turn it on again using the cable charger we initially used but only ...
user154337's user avatar
0 votes
1 answer
1k views

can't mount usb drive to Zero W: "can't open blockdev" and "special device /dev/sda does not exist" errors

I have a Pi Zero W, and I want to plug in a USB drive and use it as a tiny little backup server. I have a USB OTG cable, and when I plug in a flash drive (later I hope to use a much larger external ...
Dan Drake's user avatar
  • 101
-1 votes
2 answers
67 views

Raspberry Pi 3 not boots if usb camera plugged in

Raspberry Pi 3 Model B Plus Rev 1.3 Boots from usb Ultra Fit and works perfect. Except it not trying to boot if camera plugged in usb. ACT LED not flashes. If I remove cam and insert it after boot - ...
eri's user avatar
  • 107
1 vote
0 answers
25 views

Pi 3B+ (several of them ! ) no longer perfortm USB boot

All 5 of my 3B+ no longer perform a USB boot, from USB stick. Problem first noticed where OS was MoodeAudio and a HiBerry Hat was in use. Other similar systems (using diferent 3B+'s with different ...
Ouchita's user avatar
  • 11
0 votes
0 answers
24 views

Keyboard only works after resetting via usb_modeswitch

Using a Raspberry Pi 1a+ running Raspberry Pi OS Lite (Legacy). Using the official Raspberry Pi keyboard. Everything worked fine until I set up wi-fi. For some reason after that the keyboard stopped ...
Franklin's user avatar
1 vote
0 answers
48 views

Reboot PI flashed via rpiboot without disconnection power

I've used rpiboot to get access to a raspberrypi's storage and flashed an image. How can I reboot the raspberry from the terminal. It should boot into the flashed OS, without any physical action such ...
Aki's user avatar
  • 111
2 votes
0 answers
271 views

Cannot SSH to headless RPI Zero W via USB

I am unable to access my RPI Zero W v1.1 with SSH through USB. I'm using a fresh install of the RPI OS Lite 32 bit version through the official Imager (1.7.4), with a custom username/password, custom ...
HelpMeGame's user avatar
0 votes
2 answers
848 views

How can I flash Raspberry Pi OS onto a single partition of an SSD?

Context I have a 500GB external SSD whith a 32 GB partition containing an older 32-bit Raspberry Pi OS, a boot partition of a few GB and a 468-ish GB partition for data (docker volumes, photos, ...
Saaru Lindestøkke's user avatar
0 votes
2 answers
220 views

unable to ssh via usb cable

Installed fresh raspberry pi OS with default settings created empty ssh file in root folder in config.txt commented original dtoverlay and did put dtoverlay=dwc2 cmdline.txt did put modules-load=dwc2,...
VextoR's user avatar
  • 131
1 vote
1 answer
249 views

Handling of USB connection breaks in Python3

I have USB connection from RPI4 to Pico, usually occupying ttyACM1, but occasionally after connection break/boot it may get values ACM2 or AMA0 I am trying to build an automatic recovery if USB is ...
Ismo Öhman's user avatar
1 vote
0 answers
395 views

Read serial data from incoming USB device on the Pico

So I am new to using the pico w and I am trying to connect a scoreboard controller device (Daktronics All Sport® 5000) that outputs real time data over serial. I have an RS323 to USB converter that is ...
Juhuxen's user avatar
  • 11
1 vote
0 answers
306 views

How to boot Raspberry 3b from SSD?

I have Raspberry Pi 3b v1.2 Smartbuy Splash 128GB SBSSD-128GT-MX902-25S3 SATA to USB 2.0 cable I would like to boot Home Assistant OS (img) from SSD. The same system boots well from SD card. I have ...
LA_'s user avatar
  • 141
1 vote
0 answers
112 views

Using Raspberry Pi as USB device description pass-through/emulator

TLDR: Is it possible to use a Pi (or Pi like device) as a method for emulating a USB device descriptor and passing packets across? If I could get the Pi to emulate the correct ID and details, I could ...
I.Tend.To.Break.Things's user avatar
-1 votes
2 answers
286 views

Exchange data between two Raspberry Pi 4 using USB-A cable

I have 2 Raspberry pi 4 and I want to exchange data from the first Raspberry pi 4 to the second one using USB-A cable. How can I do this, anyone tried this?
Mohammed's user avatar
-2 votes
1 answer
130 views

Why does Raspberry Pi 400 use white color (and not black) for its USB 2.0 port?

On a quick look up, it seems the general trend is white for USB 1.0 and black for USB 2.0. I also glanced through the USB 2.0 specification to try find anything relevant but it seems a bit ...
ritiek's user avatar
  • 115
1 vote
0 answers
97 views

Bare metal USB on the Raspberry Pi 3B

I have been trying to learn the working of USB drivers through the on-board port on the Raspberry Pi 3B(BCM2837). I'm referring to this repo for the source code: https://github.com/xinu-os/xinu/blob/...
NotAProgrammer's user avatar
2 votes
2 answers
738 views

automatically mount usb storage on Raspberry OS bullseye Lite (as Desktop version does)

in raspberry OS Desktop the usb storage is automatically mounted when inserted. I would like to get the same behavior on Raspberry OS Lite as well. I tried autofs. It doesn't match my needs, since I ...
mastupristi's user avatar
3 votes
1 answer
406 views

Can't boot Raspberry Pi 4 (4GB RAM) from USB

I am trying to boot my Raspberry Pi 4 from SSD attached to USB3.0 port via USB-SATA cable. The disk works fine under Linux (I am running Ubuntu 22 LTS) when Pi is booted from SD, but I can't boot from ...
gozdal's user avatar
  • 31
1 vote
1 answer
940 views

Raspberry Pi to Esp32 USB communication

I have a project which involves up to 9 esp32 connected to the raspberry pi 4 throught usb and usb hubs. 4 esp32 are "far away" (3.5 meters with a usb repeater cable of 5m length) connected ...
lemon's user avatar
  • 69
2 votes
2 answers
537 views

How to enable and use wifi adapters with ubuntu server on pi 3b+?

I got the following pi with ubuntu server installed OS: Ubuntu 22.04.1 LTS aarch64 Host: Raspberry Pi 3 Model B Rev 1.2 Kernel: 5.15.0-1024-raspi Uptime: 3 mins Packages: 832 (dpkg), 4 (snap) Shell: ...
m3sfit's user avatar
  • 21
0 votes
1 answer
69 views

Why can I mount an NTFS HDD, but mounting an NTFS SSD fails?

I have a Pi 4 and want to mount my Samsung 860 EVO SSD. I am unable to accomplish this, but attaching a HDD (same adapter and usb port) work just fine. Both the SSD and HDD were formatted in NTFS (...
MadMagic's user avatar
0 votes
1 answer
306 views

I broke SSH access to my Raspberry Pi

I had my Raspberry Pi 3B+ running old Raspbian Jessy. I was connecting to it by ssh. I have installed uhubctl. uhubctl is a tool which can turn off power supply for USB port. I got # uhubctl Current ...
Dims's user avatar
  • 175

1
2 3 4 5
35