Skip to main content

Questions tagged [usb]

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

505 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
415 views

Pi4J kills USB bus?

Hello fellow Pi enthusiasts :) I am currently attempting to control a standard 16x2 character LCD display from the PI's GPIO pins from Java. I downloaded Pi4J and wrote a small program to initialize ...
You'reAGitForNotUsingGit's user avatar
5 votes
0 answers
2k views

RPi-Zero, HID keyboard gadget for BIOS keyboard

After another user related question on this forum I try to get my USB HID Gadget Keyboard running in BIOS. My gadget is the RPi-Z using libcomposite on Raspbian Buster. When I plug my keyboard into ...
Ephemeral's user avatar
  • 2,157
4 votes
0 answers
350 views

I2s DAC audio out but USB audio in

I was wondering if anyone could help me. I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted ...
Richard Sayce's user avatar
4 votes
0 answers
818 views

RPI 3B and Tiny Thermal Printer - Unable to use python library

I'm having trouble hooking up my Raspberry Pi 3 Model B to my Adafruit Tiny Thermal Printer (nb: not the mini thermal printer - this is the one with a mini-USB port built in). I've got it connected ...
Tom Harris's user avatar
4 votes
0 answers
820 views

SD read only - how to make USB automount read write

I followed this tutorial to make the SD card of my pi read only. However when I plug in a USB drive stick, which is then auto mounted by the usbmount package as /media/usbX , the usb stick is also ...
Sebastian's user avatar
  • 191
4 votes
1 answer
5k views

Using Android phone as microphone for R PI B+

I'm planning to use Jasper for voice control on my Raspberry Pi B+. However, there are no microphone sockets and I do not have a USB mic. I would like to know if there is any way I could use my ...
adb16x's user avatar
  • 141
4 votes
1 answer
288 views

RaspberryPi A+ USB Data Lines shorted

This is kinda weird problem. I used Raspberry Pi A+ for my small projects. I did all the programming using a USB WiFi dongle via SSH. It all went happy and fine until one fine day the dongle stopped ...
Tejas Jadhav's user avatar
3 votes
0 answers
389 views

PI Zero W Mass storage device mode

I need some help regarding the mass storage mode with Raspberry PI Zero W. This is my first time configuring this mode and I've found a lot of guides about it that only explain how to use the PI as ...
EvilFury's user avatar
3 votes
0 answers
592 views

Device drivers only working on boot

I am trying to connect some peripheral devices (test equipment) to a Raspberry Pi 4B+ running Raspbian and I am running into issues with device drivers for serial (using a pl2303 driver) and usb ...
CharLee's user avatar
  • 31
3 votes
0 answers
91 views

USB via MAX3421

I am trying to get an additional USB port working by using the MAX3421 chip over SPI on a Raspberry Pi Zero W running raspbian. I have successfully installed the driver as a kernel module. The chip ...
metronom's user avatar
3 votes
0 answers
1k views

new raspbian image doesn't detect usb cdc device

I have a usb cdc device that works fine in raspbian stretch. But when I change the image to new raspbian buster, my usb device isn't recognized. lsusb doesn't list my device at all! I've enabled cdc-...
payman's user avatar
  • 167
3 votes
0 answers
1k views

uv4l usb camera stream not working

I am using a raspberry pi 3b+, trying to make the usb camera work with uv4l streaming. These are the packages I've installed: uv4l uv4l-raspicam uv4l-raspicam-extras uv4l-server uv4l-uvc uv4l-...
kdlsw's user avatar
  • 31
3 votes
0 answers
1k views

Setting up Pi Zero W Wi-Fi through USB SSH

I am having lots of problems connecting my raspberry pi zero to wifi. I have followed a number of tutorials. 1. What I have tried This was my wpa_supplicant.conf file ctrl_interface=DIR=/var/run/...
Tommy Lees's user avatar
3 votes
0 answers
2k views

Pi doesn't detect microphone but detects usb device

I had my Raspberry Pi configured to work with a USB microphone (C-Media microphone USB). I had made the following changes For /lib/modprobe.d/aliases I update the following lines options snd-usb-...
user2808264's user avatar
3 votes
0 answers
11k views

Raspberry Pi 3 doesn't detect USB touchscreen

I've been trying to get a touchscreen monitor to work with my Raspberry Pi 3. The monitor is 15", externally powered, and is to be connected via HDMI and USB for the touchscreen interface. The HDMI ...
1nsane's user avatar
  • 31
3 votes
0 answers
3k views

Arecord not working with USB Microphone anymore

Before I start, I'd like to tell you that I've used arecord in the past with the Raspberry Pi 2 using the same USB Microphone and it has worked just fine. For some reason, it doesn't seem to work ...
Zachary Vincze's user avatar
3 votes
0 answers
3k views

Pi 2, keyboard/mouse not recognized through USB hub

I am trying to get the keyboard and mouse control from a Startech crash cart adapter working smoothly on a Pi 2. The adapter has an internal USB hub (Alcor, 058F:6254) and behind that a virtual ...
Jason C's user avatar
  • 238
3 votes
0 answers
859 views

Persistent names for usb-serial devices

I am making a weather monitoring system to use Raspberry Pi 2. In weather eye, there are two sensors and two USB to serial ports. I want persistent names for USB-serial devices. I imitated this link,...
손형곤's user avatar
3 votes
0 answers
1k views

fsck crashes when booting from USB

I have set up my Raspberry Pi 2 Model B to boot from a USB flash drive like in this article. Basically, I have burned the Raspbian image to a USB drive, then copied the boot partition to my SD card, ...
Maarten's user avatar
  • 131
3 votes
0 answers
719 views

Running two cameras at the same time (Pi Camera & USB camera)

I would like for my project to have one camera (PiCamera) Streaming video. And another USB Camera (PS3 Camera) taking pictures when I execute this function: def grabPicture(self): grab_cam = ...
Bobys's user avatar
  • 133
3 votes
1 answer
468 views

Webcam works for a couple of hours, then Pi refuses to detect it

I am currently playing around with a Trust WB-1400T webcam. While this is "unsupported", I got it to work with motion. After a couple of hours of playing, I noticed that motion failed to connect to ...
user28665's user avatar
3 votes
2 answers
1k views

Raspberry Pi Zero and USB camera Issue

I have a video streaming application which works well on the Raspberry Pi 2. I am trying to switch out the Pi 2 and move everything to a Pi Zero. When I connect the USB camera to the Pi Zero ...
user5030931's user avatar
2 votes
0 answers
42 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
2 votes
0 answers
650 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
2 votes
1 answer
723 views

Raspberry Pi Pico - USB host with USB hub has anyone got it to work

Has anybody got a USB hub working with the Raspberry Pi Pico. I've got a person project that i want to use a mouse and a keyboard but when i add a hub it all falls apart. So I wen't and tried the ...
used_up_user's user avatar
2 votes
0 answers
462 views

USB-to-ETH not working on Bullseye

Recently updated my Raspberry Pi 3 Model B Rev 1.2 from stretch to bullseye, and found lots have changed for example "Predictable Network Interface" which I was able to disable by adding '...
sbmathema's user avatar
2 votes
0 answers
578 views

Is it possible to boot Raspberry Pi 4 model B from USB without touching SD cards at all? [Broken SD card slot]

My SD card slot broke off (as in only pins are left and I would have to hold down an SD card for it to boot). 1 I've written Raspberry Pi OS to a USB drive, I was told the Raspberry Pi 4 B could boot ...
mavdotjs's user avatar
2 votes
0 answers
127 views

USB ports no longer carry data

A lightning bolt took out a number of devices in my home and my raspberry pi 4b 8gb seems to have been affected. All 4 USB ports still provide power to peripherals but there seems to be no data ...
Michael Murphy's user avatar
2 votes
3 answers
2k views

Raspbery Pi 3B+ - My USB ports don't work, but ethernet does

This is a pretty short question. My ethernet port works, but none of the usb ports seem to do anything when I plug anything in them. This is the case with a fresh raspi os image. How can I debug this?
S. ten Brinke's user avatar
2 votes
1 answer
442 views

SSH over USB stops working after Pi reboot

I followed the guide to enable SSH over USB: https://artivis.github.io/post/2020/pi-zero/ On Host Computer: Ubuntu 20.04.3 LTS, fresh install Ubuntu host has the USB Ethernet connection IPv4 set to &...
Aleksandr Levchuk's user avatar
2 votes
0 answers
340 views

High-speed USB Audio Streaming

I am using a Raspberry Pi 3B+ as the USB host for an embedded device that I have configured to appear as a USB Audio 2.0 compliant microphone. I am currently using PyAudio for opening and recording ...
Ali Rahman's user avatar
2 votes
2 answers
3k 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 ...
Thomas S's user avatar
2 votes
0 answers
374 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 ...
phil123456's user avatar
2 votes
0 answers
2k views

ZFS and USB boot on Pi4b 8Gb

I'm trying to make myself a NAS appliance with a Pi4b 8Gb. I would like to use ZFS for my storage but I'm having some trouble with installing it on pi OS. I'm trying to use USB boot (No SD) so I can ...
Richard J. Acton's user avatar
2 votes
0 answers
291 views

Mount SMB Share as File

I am trying to use g_mass_storage to present files from a network as usb with my raspberry pi zero w. Sadly, g_mass_storage takes a file for the file parameter. I also tried creating a file with dd ...
Shadow's user avatar
  • 21
2 votes
0 answers
326 views

Raspberry Pi Zero OTG g_mass_storage plug / unplug events

I have a RaspberryPi Zero connected to my PS4 and want to use it like a smart Network USB stick. The ultimate goal of my project is, that I want to automatically send data to a specific host in my ...
2manyvcos's user avatar
2 votes
0 answers
221 views

Trying to create low-latency audio stream with USB input to ethernet output

I'm trying to route audio coming from a tv to my Sonos speaker using a USB audio capture card (tv aux to Raspberry Pi USB input). I'm planning on using the ethernet port on the Raspi to output the ...
Sean Dever's user avatar
2 votes
0 answers
55 views

Error opening InputStream USB Microphone and Raspberry PI3B+

I am trying to use a USB microphone with python sound device and raspberry pi3B+. When I execute the script in the console typing $ python3 sound.py it runs and records all ok. But when I try to ...
Fabiana's user avatar
  • 21
2 votes
0 answers
224 views

User does not have permissions to directory

My raspberry 3 is running amule using amule user, but I cant set the directories I want for incomings and temp files in a pendrive. Each time it goes back to the default directories. I did sudo chmod ...
John Lapoya's user avatar
2 votes
1 answer
3k views

Serial communication over USB port of Pi Zero

I want to send/receive data between PC and Pi-Zero over USB port near PWR port. I followed the instructions here https://www.tal.org/tutorials/raspberry-pi-zero-usb-serial-console But I don't enable ...
eminakgn's user avatar
2 votes
1 answer
4k views

Identify which microphone is on which audio card using arecord

I'm using a Raspberry PI and on it I plugged two same USB microphones. I would like to be able to identify which USB microphone is on which audio card when I list devices with arecord: arecord --list-...
Dyde's user avatar
  • 21
2 votes
0 answers
44 views

Permanent Arduino usb address on RPi!

So my project is using to Arduinos slaves to RPI that is master. They communicate through USB. Each time I remove one of the Arduinos I need to modify the .Py script to add the new USB alocated. Is ...
Andy Andy's user avatar
  • 131
2 votes
0 answers
261 views

Webcam FPS Very Low

I just plugged in a Microsoft Lifecam Studio webcam into my Raspberry Pi 4 Model B. I used gucview to test it out along with Google Hangouts for video conferencing (in Chromium) but the FPS was ...
Ryan's user avatar
  • 121
2 votes
0 answers
1k views

Unable to access laptop's internet on Pi Zero over Usb

I've been going over so many web pages trying out numerous things for the past 6 hours to just get internet on my rpi to no avail hence I have come here to hopefully find a solution. Below are the ...
roaibrain's user avatar
  • 121
2 votes
0 answers
67 views

Stream USB mic input to 3.5mm audio jack output

I am trying to stream a USB mic input to the raspberry pi's built in 3.5mm audio jack output. I am not sure how to do this. I essentially want to use the Pi as a DAC. How could I do this?
Zane's user avatar
  • 21
2 votes
1 answer
2k views

Raspberry Pi 3 + USB data modem as a Wi-Fi Router

I have a USB data modem (Huawei E3131) and a RaspberryPi 3B+. I would like to use the Pi as a Wi-Fi hotspot. Pi connects to the internet via USB data modem and creates hotpsot for other devices. So, I'...
leller's user avatar
  • 139
2 votes
0 answers
3k views

Raspberry pi 3 a+ stretch and huawei e3372h-153 port forwarding

At the moment I was able to get internet on my raspberry pi 3a+ with Huawei e3372h-153, a 4G LTE USB-dongle. When I enter address http://192.168.8.1 it gives me a config web page of a dongle. I ...
ekavet's user avatar
  • 33
2 votes
0 answers
1k views

Relay Bluetooth keyboard out as a USB keyboard

I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't ...
oyassin's user avatar
  • 21
2 votes
1 answer
287 views

Trouble with using RPi Zero W as USB keyboard

I'm using a RPi Zero W for this exercise. I downloaded 2018-11-13-raspbian-stretch-full.zip and installed it onto a 32G microSD card: sudo dd bs=4M if=2018-11-13-raspbian-stretch-full.img of=/dev/...
jski's user avatar
  • 141
2 votes
0 answers
149 views

Is perfectly uninterrupted alsa sound over USB possible?

I am playing a sine wave from a Rpi3 via pure userspace ALSA to the hw device of a USB sound card (using the official PCM example, no sound servers installed). But the wave never stays perfect, after ...
Jakub Fojtik's user avatar

1
2 3 4 5
11