Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 answers
55 views

Unable to boot from USB on raspberry pi 5

I have a raspberry pi 5, and it won't boot from any image on any usb drive, but it works fine on microSD. I already tried setting nvme/usb to priority (to no avail) and tried flashing a drive with the ...
Swerve Driven's user avatar
0 votes
1 answer
32 views

Pi Zero W Rev 1.1 HID keyboard with newer kernels /distributions not working

Please comment if you think I can improve my question (like rephrase, add other tags) . I'm really at a loss at the moment There's many online instructions explaining how to make a raspberry pi zero ...
gelonida's user avatar
  • 101
0 votes
0 answers
24 views

Raspberry freezes when closing serial connection

I wrote a Python script with pyserial to read data from two different USB devices (Witmotion IMU, Ublox ZED-F9P GNSS Receiver). This works perfectly on Windows. Every time I run the same script on a ...
pythom2's user avatar
0 votes
3 answers
70 views

trying to do the project musicfig problem with python-usb

I'm currently trying to do the project made by Dennis Mellican about using a raspberry Pi with the lego dimension platform. He made a step by step guide here https://codeburst.io/my-lego-minifigures-...
loic's user avatar
  • 3
-1 votes
0 answers
15 views

Configuring the USB output port [closed]

I have multiple USB devices connected. How can I select a USB port for output based on its USB ID rather than the ID of the connected device?
Tian du Toit's user avatar
0 votes
0 answers
25 views

Is anyonle else having problems with USB 3 ports on a Raspbery Pi 5 vs Pi 4?

I have 2 issues I upgraded my homeassistant from pi4 to pi 5 The USB to SATA adapter would work right in the USB 3 port. It worked just fine in the USB 2 port. (except slower of course). I had to ...
cybernard's user avatar
  • 196
0 votes
1 answer
36 views

Raspberry Pi Zero W UART, Bluetooth, and USB

I have a Raspberry Pi with Bluetooth using the /dev/ttyAMA0 and a UART using /dev/ttyS0. Is it also possible to use the USB as another UART? Are pins 14 and 15 tied to the USB as well?
CrabbyPete's user avatar
0 votes
1 answer
31 views

USB Python Script Issue Raspberry Pi OS

I'm encountering an issue where I'm trying to trigger a Python script in the background upon plugging in up to four USB devices, all with the same USB vendor and product IDs. To accomplish this, I've ...
Figaro's user avatar
  • 1
0 votes
0 answers
38 views

Ubuntu 22.04 on Raspberry Pi 4B can't connect to teensy 4.1 via USB

I have been trying to connect my Teensy 4.1 to a RaspberryPi 4B running Ubuntu 22.04 via USB, but no USB device is identified. Programming and serial communication works fine with THAT Teensy and THAT ...
Phi's user avatar
  • 1
0 votes
1 answer
56 views

Boot Order Modification on Raspberry Pi Zero 2W (USB -> SDcard)

I have an RPI Zero 2W and I have a question regarding booting (bootloader, boot order). First of all, I've set up USB booting using an SD card on the Raspberry Pi. What I want to do is to change the ...
rpirpi's user avatar
  • 1
0 votes
1 answer
61 views

Choose from SD or USB boot every time I power on the Pi 5?

So I have Raspberry Pi OS on a microSD and RecalBox on a USB thumb drive. The boot order is SD then USB. So to get into RecalBox I have to shut down the Pi, remove the microSD card, then turn it back ...
user162153's user avatar
0 votes
2 answers
35 views

can't connect to pi over USB C cable

I tried a couple different guides on how to do this: https://howchoo.com/pi/raspberry-pi-gadget-mode/ https://www.makeuseof.com/how-to-connect-raspberry-pi-to-laptop-or-pc-usb/ They differ in whether ...
user162095's user avatar
0 votes
1 answer
96 views

Communication between two RP2040 devices with micropython

I have two RP2040 devices, one a Raspberry Pi Pico W(H), and one a Waveshare RP2040 LCD 1.28 device. I am trying to send data from the Waveshare to the Pico through a USB cable (USB-C on the ...
Andrew Stacey's user avatar
0 votes
0 answers
37 views

Raspberry Pi Zero W with OpenMoko CAN adapter

I have a Raspberry Pi Zero W and a OpenMoko, Inc. Geschwister Schneider CAN adapter. I watched this video on YouTube and removed the resistor: https://www.youtube.com/watch?v=DonsJ5cW55I&t=196s I'...
SPlatten's user avatar
  • 111
0 votes
1 answer
32 views

USB not working for CM4S

I used to work with CM3+ and I recently got some CM4S. I have an issue with it and I don't know what to think about it. Previous setup: I have a Compute Module IO Board Plus designed by WaveShare. ...
Bibibou's user avatar
  • 13
1 vote
0 answers
35 views

Is it feasible to make long-range PC monitor display extender with pi and openHD?

Wanted to ask more experienced users about the feasibility of this proposed project: Use OpenHD to transmit a PC monitor display wirelessly to another device (ie laptop). My thought process is that ...
anonymouscoder's user avatar
1 vote
0 answers
34 views

Making USB device stable and reliable

On my iMAC: iMac (Retina 5K, 27-inch, Late 2015) Processor 4 GHz Quad-Core Intel Core i7 Memory 16 GB 1867 MHz DDR3 Graphics AMD Radeon R9 M395X 4GB I have created a Ubuntu 22.04 virtual machine in ...
SPlatten's user avatar
  • 111
0 votes
0 answers
18 views

USB devices changes ttyACM and device rumber on automatic reconnect

I have a Quark elec AIS receiver connected to my raspberry pi 4 and after some randon amount of time it disconnects en reconnects. After this the device number and the ttyACM* number changes. See the ...
Daan's user avatar
  • 1
0 votes
0 answers
23 views

Using a Raspberry Pi as a 5GHz Router to distribute 2.4GHz on a boat

The topics of using a Raspberry Pi as a router, repeater seem to be well covered but my attempts to change those to my boat's needs have been...unfruitful. I'd like to connect the marina's included ...
user67776's user avatar
0 votes
0 answers
42 views

Automatic upload to Google Drive of new files on USB upon inserting

first post here and been getting to know my RPi over the last week. I record band practice every week on a USB, and every time when I get home I: A.) create a new folder for the month, named “MM MMM” ...
Willem van Leeuwen's user avatar
0 votes
1 answer
26 views

Pi zero W - sound from wav files

A common theme and I’ve spend days looking. My pi zero w won’t play my wav file. Ive tried: Omxplayer Mpg321 Winsound Vlc Pygame The above (especially pygame) seem to go through the motions but no ...
Rik's user avatar
  • 1
0 votes
0 answers
26 views

GNSS module do not working with raspberry pi, but working on pc

I have an error with my GNSS module. I use it with an usb-uart driver, and when I connect it to my computer, and read datas with u-center or in a python script I get continously updated position ...
Domkrt's user avatar
  • 1
0 votes
1 answer
111 views

Pi 5 vs. Pi 4 and External HDD

If I lsusb I see my portable hard drives. If I fdisk -l I do not. More concerning, when I listen closely to the drives that are plugged in, I hear them cycling every few seconds. I have a 5 amp ...
addohm's user avatar
  • 107
1 vote
1 answer
95 views

How to program a RP2040 Chip (I don't have a Pico board, just the chip). I'm building my own PCB for my own needs

I have a rp2040 chip without the pico board. The usual method is to hold the BOOTSEL button, but I don't know which pins are connected to that button (well all I found is it is connected to TP6) but ...
Syed Khalid Hussain's user avatar
0 votes
0 answers
16 views

UART Issues without USB Power

I'm experiencing an issue with UART communication when I attempt to power the RPi over the 5V pin instead of the USB port. Here's a rudimentary look at my setup: RPi 3B -> Teensy 4.1 GND -> GND +...
Joshua Taylor's user avatar
0 votes
0 answers
52 views

Use of a USB Wifi dongle in both AP and client modes

I have a Rpi 4B running Buster and a AWUS036ACM USB Wifi dongle connected to it. I am looking at configuring it as an access point and a client. When I type: iw list | grep "valid interface ...
jfh999's user avatar
  • 1
0 votes
1 answer
49 views

Windows computer not able to find Raspberry Pi 0 2 over USB

I'm trying to set up my Raspberry Pi 0 2 over USB. To do this, I've followed guides like this one (I've looked at multiple, they all have the same instructions), and have correctly edited both config....
Nick's user avatar
  • 31
0 votes
0 answers
59 views

Has there been an update in how to install pmount to Raspberry Pi OS lite?

I am working on this project: https://www.dannyromano.com/raspberry-pi4b-dual-screen-video-looper/ Who references the installation procedure by pauliucxz here: Auto mount USB stick on plug-in without ...
Chris Graue's user avatar
0 votes
1 answer
98 views

How to tell if my raspberry PI is working (Home assistant USB booting)?

I am trying to run HA on a Raspberry PI 3B via USB but I am having a lot of issues. My Setup: Raspberry PI 3B SATA to USB adapter with external power 500GB SATA SSD 5V 3A Power supply (up to 20V in ...
Andrea Zaffanella's user avatar
0 votes
1 answer
155 views

My RPi5 USB ports voltage drop significantly below 5V

I have a USB voltage/current monitoring dongle plugged into my RPi5 USB port. I am running a USB-PD supply. When I plug in a relatively new USB hard drive the USB port voltage drops into the 3V range ...
Joe Malek's user avatar
0 votes
0 answers
27 views

How do I boot only off a USB drive (with no SD card inserted)? [duplicate]

Do I need a MicroSD card for my Raspberry Pi 3 B, or can I simply use a USB flash drive (and no MicroSD card)?
Geremia's user avatar
  • 159
1 vote
2 answers
61 views

What is used to power the Raspberry Pi 4B?

Just got a Raspberry Pi 4B, 4 GB, (first time), and have been having fun trying to figure out what it takes for power. According to the extension kit I got, Raphael Ultimate Kit for Raspberry Pi, it ...
Blue Skin and Glowing Red Eyes's user avatar
0 votes
0 answers
60 views

Not able to boot from USB SSD / Booterrors /SSD unmounts after time

**Hi guys So long Story short: I have: Raspberry PI 4B 8 GB WD red SA500 2TB NAS 2.5" SSD Delock USB 3.0 to SATA adapter and a ICY BOX USB 3.2 gen 1 External powered USB hub (to prevent power ...
IRay's user avatar
  • 1
1 vote
1 answer
135 views

Toshiba USB HDD crashes RPi 5 when doing cp or mv ; Works fine on other machine

I have several disk drives plugged into a USB hub. They all work fine, except the Toshiba 1TB HDD drive, which did work OK with my RPi 4. I accidentally ran out of space on the drive and since then ...
Andrina W's user avatar
0 votes
0 answers
42 views

Using a RPi Zero W as a WiFi enabled USB stick

I have an older industrial instrument running Windows CE that I would like to access data from remotely over WiFi. The instrument saves data (10-20 kB for each test) to a USB stick, so leveraging ...
Stark's user avatar
  • 1
1 vote
1 answer
221 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
  • 111
0 votes
0 answers
74 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
93 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
19 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
174 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
21 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
205 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
3k 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
525 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
70 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
170 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
99 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
29 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
52 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
0 votes
1 answer
215 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
  • 109

1
2 3 4 5
36