A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [usb]

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

363 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
531 views

USB OTG on Compute Module 3

Has anyone ever tried configuring the USB of the Compute Module 3 as USB OTG? In the default kernel (Raspbian Stretch - Kernel7), support for usb otg appears to be disabled. Has anyone managed to ...
5
votes
2answers
342 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 ...
4
votes
0answers
283 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 ...
4
votes
1answer
237 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 ...
3
votes
0answers
197 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-...
3
votes
0answers
148 views

Read/Write LAN9512 EEPROM

We are building a device around the Compute Module 3 and since it needs internet access we decided to go with the LAN9512 that was also used in the Raspberry Pi earlier. The LAN9512 requires an ...
3
votes
0answers
732 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/...
3
votes
1answer
297 views

No USB with upstream kernel

I have built a kernel for Raspberry Pi 2 using the latest upstream kernel (version 4.15-rc5): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ I configured it with ...
3
votes
0answers
877 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-...
3
votes
0answers
569 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 ...
3
votes
0answers
2k 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 ...
3
votes
2answers
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 ...
3
votes
0answers
2k 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 ...
3
votes
0answers
601 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 ...
3
votes
1answer
4k views

Buffer I/O error on dev sda1 - not a hardware problem

In the last month or so, one of my external hard drives has stopped working properly with my Raspberry Pi. It works for a while, then it stops working randomly. I ran 'ls' on the drive's folder and it ...
3
votes
0answers
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, ...
3
votes
0answers
620 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 = ...
3
votes
1answer
384 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 ...
3
votes
1answer
4k 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 ...
2
votes
0answers
102 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 ...
2
votes
0answers
77 views

Persistently increase usbfs_memory_mb on RPI4 running Ubuntu 19

I am working with a 4gb RaspberryPI4 and it's running a USB3 Flir Blackfly. Out of the box, the setting of usbcore.usbfs_memory_mb @ 16 isn't enough to get a stream from the camera. Increasing the ...
2
votes
0answers
24 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 ...
2
votes
0answers
46 views

Some USB3 pendrives are fast in Windows, and slowest on the RPi

I own several (cheap, but original) 32GB Kingston USB3 Datatraveler pendrives, and I tested all of them as USB root devices (either with or without USB boot, some of them work everywhere, others boot ...
2
votes
0answers
35 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?
2
votes
0answers
78 views

Trouble connecting USB devices with Raspberry Pi Compute Module on custom PCB

I am working with a team designing a PCB that works with the Raspberry Pi Compute Module 3 card. We are having a bit of trouble with the USB ports. The schematic of the USB portion is somewhat similar ...
2
votes
1answer
946 views

Trying to get SSH over USB to work (Raspberry pi Zero W)

I'm trying to connect to my Raspberry Pi Zero W using SSH over USB. I've seen other people do it, and I have tried multiple different tutorials over the last few days, but none of them worked. I've ...
2
votes
1answer
355 views

Can't connect to Raspberry Pi Zero W over USB SSH

I'm trying to login to my Raspberry Pi Zero W via SSH over USB, as in this article https://desertbot.io/blog/ssh-into-pi-zero-over-usb and this one https://www.thepolyglotdeveloper.com/20 ... cable-...
2
votes
0answers
291 views

How to record usb audio and monitor at the same time

I have a usb audio device plugged into my Raspberry Pi 3 with Raspbian Stretch. Recording to an mp3 with sox works fine with this line: AUDIODEV=dsnooped rec -c 1 -q /media/usbstick/recording/...
2
votes
0answers
294 views

Has anyone gotten an android phone to reliably USB tether to raspberry pi?

All, There are a lot of threads on using a old android phone to USB tether to a raspberry pi for internet access. I am trying to tether a RPi to an android phone to allow passing of MQTT messages to ...
2
votes
0answers
46 views

Failure to download file with sftp

I Raspberry Pi 2 as a Torrent Box. I recently attach to it an external usb HDD formatted in NTFS. I can download successfully any file in the hardisk but when I try to connect to my Raspberry with ...
2
votes
1answer
539 views

USB audio from Pygame

I am running Raspbian Stretch. I've connected a USB sound device and selected it through the graphic interface. This sends the sound out fine from youtube in Chrome but is silent with a Python ...
2
votes
0answers
5k 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 ...
2
votes
0answers
607 views

How to get the network / usb interfaces in qemu

I am trying to run Jessy minimal in Qemu 2.9.0 This is the command qemu-system-arm -M raspi2 -kernel rasp-boot/kernel7.img \ -sd 2017-07-05-raspbian-jessie-lite.img \ -append "rw earlyprintk loglevel=...
2
votes
1answer
191 views

Epson PictureMate 100 not printing on Raspberry Pi 3

I am attempting to get an Epson PictureMate 100 working with a Raspberry Pi 3 running Raspian (Jessie). According to Open Printing the PictureMate should work perfectly with Gutenprint 5.2.7. I chose ...
2
votes
0answers
81 views

pi zero W as remote ethernet jack / internet access for satellite TV receiver

I've got a pi Zero W that I'd like to use to support a wireless network for my satellite TV tuner. The tuner has an ethernet jack, but running cable to it is problematic... I've got a ...
2
votes
0answers
2k views

Is it possible to install Windows IoT to a USB drive and use this to boot?

I can't find anything online about installing Windows IoT to an USB drive. My Raspberry Pi 3's microSD slot is occupied, and the official guide says I need to use a microSD card in order to flash it ...
2
votes
3answers
7k views

No audio output via USB sound card

I bought an external USB sound card for my Raspberry Pi because the sound quality of the built-in 3.5mm audio jack is not that good and I experienced a lot of noise. The retailer of the sound card is ...
2
votes
0answers
671 views

RPi Zero as a USB sniffer: how is it practically possible?

It is known, that USB technology provides data dissemination over all downstream USB ports connected to some USB host. Thus every perepheral device connected to USB port (enabled by host) could ...
2
votes
1answer
3k views

Huawei E3531 and Raspberry Pi 2

I want to connect a Pi 2 to the web using a 3G Dongle (Huawei e3531). But for some reason I can't get it to work. It is a freshly installed Jessie with update & upgrade done. Modeswitch was ...
2
votes
0answers
186 views

I'm seeking a fancy slideshow feature

For our small non-profit canine training club I'm seeking a nice slideshow feature for a raspberry pi (v.3). My plan is to create a USB-flash drive (stick) with the slideshow content. And if a USB-...
2
votes
0answers
1k views

Can't echo to /dev/ttyUSB0

I have an arduino connected to /dev/ttyUSB0. I try to send '1' to it using echo 1 > /dev/ttyUSB0 but nothing seems to happen. However, if I do this beforehand: tail -f /dev/ttyUSB0 & and try ...
2
votes
0answers
5k views

Raspberry Pi 3 USB Microphone Issues

I have a Raspbery pi 3 and trying to use a usb microphone (C-Media microphone USB) but having no success. The "/etc/modprobe.d/alsa-base.conf" is not found on my Raspberry pi, does this mean that it ...
2
votes
0answers
4k views

Raspberry/Linux doesn't recognize USB device

I'm using Raspberry Pi model B+ V1.2 to which I want to connect TP-LINK TL-WN823N Wireless N USB Adapter. I have connected device and this is what happened: pi@raspberrypi:~ $ lsusb -t /: Bus 01....
2
votes
0answers
211 views

Raspberry Pi, SSH, USB MOUNTS, and LINKS

Status Quo : On my WIN7 laptop, I have created a managed drive path from a USB stick (512MB, white Elago) that mounts to an empty NFS directory, say, C:\USB-KEY. In that path (could) exist a file, ...
2
votes
0answers
363 views

USB devices gets new ttyU* while still attached raspberry pi 2

Conditions: I use RP2 for data collection purposes and i am testing its limits. I use it next to diesel engine and its alternator.(I know pi is not for industrial use and this is a prototype.) There ...
2
votes
0answers
99 views

sakis3g on raspberry pi2 not accepting any other interface other than ttyUSB0 or ttyUSB1.. how to make connection on other ttyUSB*

i am newbie to linux and raspberry pi. On my raspberry pi 2 , i use sakis3g to make the connection successful,it works fine when it is connected to ttyUSB1 or ttyUSB0 but wen i reboot the system with ...
2
votes
0answers
119 views

Slow TCP throughput with zd1211rw USB WiFi

I'm doing some throughput testing between an RPi "rpi-src" on WiFi and a wired ethernet PC "dest" attached to the WiFi AP. "dest" listens on a TCP port with nc (netcat), streams received data through ...
2
votes
1answer
2k views

How to connect multiple Pi Zero ethernet gadgets to a Pi 2?

I followed this guide to turn my Raspberry Pi Zeroes into ethernet gadgets and I did not change anything in the /etc/network/interfaces or /etc/dhcpcd.conf files. All of the SD cards were fresh ...
2
votes
0answers
398 views

802.11ac and 802.11n at 5GHz on Raspberry Pi with Windows IoT

Is it possible on a Raspberry Pi 2 (or 3) with Windows 10 IoT Core to have Wi-Fi 802.11ac and 802.11n at 5GHz? I know the list of compatible hardware: Hardware Compatibility List - WiFi Dongles ...
2
votes
0answers
1k views

Does RPi 3 have the same bandwidth for ethernet and USB?

It seems that's the case for the last Pi. But does the new one also have this limitation? Not duplicate, but reffered question:    USB bandwidth for the RPi model B+   &...