Questions tagged [usb]
Questions relating to the Raspberry Pi USB ports and specific Raspberry Pi USB devices and device interaction.
1,734 questions
0 votes
0 answers
19 views
Why do my ports fail over time on the Raspberry Pi?
I am having issues with serial connections on my Raspberry Pi 5b. This is set up to periodically send requests to various serial USB devices controlled by PIC24's that are attached to it. This works ...
0 votes
0 answers
29 views
How to prevent Raspi OS from assigning a different device file name to the same USB serial device?
I've got a Raspi 3B with a Buster-based Raspi OS with a USB serial device (GNS Trafficbox FM9). It always used to get the device file name ttyUSB0 assigned, but after not having been used for some ...
0 votes
1 answer
46 views
How can I reimage Raspbian on my SD card with only a USB?
I currently have a Raspberry Pi 4 with nothing except Raspbian Buster installed. I'd like to reimage my SD card to update it to the latest version of Raspbian, but I have no other devices capable of ...
0 votes
0 answers
41 views
Rpi CM5 usb2 stops working after a while
I am using a Raspberry Pi CM5 module on my custom PCB. The USB2 pins are routed as a differential pair, impedance-matched to 90 Ω, and length-matched with ~1 mm mismatch. The interface is operating in ...
0 votes
0 answers
45 views
USB 4G Dongle disconnect with code
Using the command lsusb i am getting the following output: pi@raspberrypi:~ $ lsusb Bus 001 Device 005: ID 19d2:1405 ZTE WCDMA Technologies MSM ZTE Mobile Broadband Bus 001 Device 002: ID 1a40:0101 ...
0 votes
0 answers
95 views
Identify USB host plugged into Pico
I have a Pico attached to a USB hub switcher. This means depending on its state the Pico is connected to either a Windows desktop, or a Macbook. I want to display this on the screen I've attached to ...
2 votes
0 answers
89 views
Unable to log a mouse's scroll wheel
I am building an application on raspberry pi pico. A USB mouse is connected to the pico, and then the pico is connected to the PC. The pico logs the mouse's button presses and mouse's movements and ...
0 votes
1 answer
103 views
Kernel Panic when using USB device for OS
I am trying to run Raspberry Pi OS bookworm on my Raspberry Pi 4 B 8GB from a Kingston DataTraveler Exodia 128GB (DTX/128GB) and it was working perfectly till I tried to use apt-get full-upgrade which ...
3 votes
2 answers
188 views
Adding USB drive to fstab does not mount on boot, but mounts as expected from shell
I want a USB drive to always mount when booting. I am able to mount a USB drive inserted into a Pi4 using this command: sudo mount /dev/sda1 /mnt/usb -o uid=pi,gid=pi sudo blkid gives this: pi@pi:/mnt/...
0 votes
1 answer
289 views
Is it possible to make a raspberry pi be recognized as a monitor by the computer, and receive its video output?
Context I would like to build a e-paper computer screen. The problem is that E-paper displays have a very different driving method from usual displays, as they usually have low refresh rate (something ...
0 votes
0 answers
85 views
Unable to build a project that uses pio_USB for pico
I am trying to build this project: https://github.com/sekigon-gonnoc/Pico-PIO-USB Unfortunately, I am not able to build it. I am on Ubuntu 20 and I have the pico sdk downloaded. After the cmake ...
0 votes
0 answers
57 views
Automated Installation of Custom OS on RPI5 with M.2 SSD from USB Drive
I’m working on a hobby project involving the Raspberry Pi 5 with an M.2 SSD HAT and a 256GB SSD. I’ve already created a base image of my custom OS with all the necessary software pre-installed. I want ...
-1 votes
2 answers
105 views
Burning a large program with a library in pico
I have uploaded small programs to the pico, where you Hold the BOOTSEL button when you insert he pico the PC, then upload either the CIRCUITPYTHON or MICROPYTHON u2f file. Then you start Thonny and ...
0 votes
2 answers
415 views
Why is this so hard!!!! Get a Raspberry Pi 5 To Send Keystrokes to a PC with Python using Blutooth
I have a project that I am close to ditching because I am frankly stuck, and frustrated as hell. The project is to connect a touch screen to the Raspberry Pi5, and have it send keystrokes to a ...
1 vote
0 answers
53 views
RPI 4 B gpio not working when usb printer is plugged in
I have an RPI 4 model B below is my code import RPi.GPIO as GPIO import time # GPIO pin connected to the COIN pin of the coin selector COIN_PIN = 24 # Setup GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(...