The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2
votes
1answer
14 views

Can't connect to Pi Zero over USB

I followed the guides here and here, both times freshly flashing Raspbian Buster Lite to the SD and modifying the config files. I leave the Pi around 3 minutes to boot, with it connected to my PC's ...
0
votes
2answers
39 views

Automount USB Memory Stick in Buster (not Lite)

When I insert a USB memory stick a window opens, as expected, inviting me to "Open in File Manager". However, when I press OK, I get a message: The specified directory '/media/pi/E1D1-A752' is not ...
0
votes
0answers
19 views

How to connect raspberry pi with apm 2.8 via usb

I want to know if it is possible to have a raspberry pi control an Apm 2.8 flight controller via USB instead of telemetry ports?. Thanks.
1
vote
1answer
60 views

Need advice for connecting multiple arduinos to raspberry pi

I have a project in hand where I need to connect 5 arduinos as slaves to Raspberry Pi. Load Cells, Reed Switch, Solenoid lock will be connected to each of the arduino. The arduinos need to send the ...
0
votes
0answers
35 views

How to set the USB port name in raspberry pi 3?

I'm using 2 ports such as /dev/ttyUSB0 and /dev/ttyACM0, but when I remove one of this ports and put it again, the port's identification changes. How can I force a name to my fisical port in order to ...
0
votes
1answer
38 views

Pi 4 insert and remove usb

I have 2 questions - apologies if they are trivial. a) when I shutdown my pi4 the led goes out but comes back on soon after. Is this ok/ normal? b) I use the GUI and have had a USB stick corrupted. ...
0
votes
0answers
32 views

Phoniebox.de - No audio issues due to snd_usb_audio file missing

RPi Model 3 B+ Used this to install the stretch https://downloads.raspberrypi.org/raspbian/images/raspbian-2018-03-14/2018-03-13-raspbian-stretch.zip as recommended on here https://github.com/...
0
votes
0answers
23 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 ...
0
votes
0answers
15 views

Using RPi to provide powered networking to USB-connected devices?

It's possible to charge and provide wired networking to an iPhone via a special dongle. The USB ports on an RPi3 can deliver power to a USB-attached iPhone; is it possible to also provide network via ...
0
votes
1answer
48 views

Connect to Raspberry Pi using ssh through usb (ethernet)

I am using Ubuntu 16.04 and I have configured a proper static IP in /etc/network/interfaces auto lo iface lo inet loopback #set static ip auto usb0 iface usb0 inet static address 192.168.0.2 ...
-1
votes
2answers
61 views

How to auto-mount usb drive on raspberry pi? [duplicate]

I'm trying to mount my usb drive on my raspberry pi automatically, so that I don't have to redo it every time the device starts. I followed the instructions here: https://www.raspberrypi-spy.co.uk/...
1
vote
1answer
52 views

Gadgetfs - Filesystem not found

While trying the solutions suggested by a comment on my first question I tried to enable gadgetfs. I tried the following: sudo modprobe dwc2 sudo modprobe gadgetfs sudo mkdir /dev/gadget sudo mount -...
0
votes
0answers
22 views

USB-HID API on RPi Zero? Pro-Controller-Emulation on the RPi

So currently I wanted to connect the RPi to my Nintendo Switch to have it play a specific series of inputs. After some research I found out others have already achieved that, but on Teensy & co ...
1
vote
0answers
18 views

weird USB behaviour

I've attached a usb ESC/POS thermal printer to my pi, and installed this: https://github.com/klirichek/zj-58 as driver using its readme. I have a python script that access the USB device with pyUsb. ...
1
vote
0answers
61 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-...
2
votes
0answers
35 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
1answer
47 views

USB serial communication between Raspberry Pi 3 and Roboteq motor controller [on hold]

I am new to Raspberry Pi and it's communication. I need to make a project where I want to use a Raspberry pi 3 as a monitoring device for motors and battery system. The Raspberry pi itself ...
1
vote
1answer
19 views

aplay/arecord device order changes every reboot

I have a couple of different applications running that rely on knowing the audio or recording device at startup, but every time I restart my raspi, the order of the devices changes. Looking for a way ...
1
vote
1answer
87 views

Raspberry Pi 4 power / heat issues

I recently bought a Pi 4 to replace an older Pi 3, but I am experiencing a couple of issues which could make it nearly useless. I am using a Pandora Box 5 as a game controller. It's a game console ...
0
votes
0answers
24 views

Node-red on Pi: Unable to send/receive to Arduino Leonardo via USB serial

I'm connecting a Arduino Leonardo to Pi4 (P3b+ has the same issue). I wish to send and receive data from it in node-red (using serial nodes from the standard palette). I can see that Arduino is ...
0
votes
0answers
30 views

USB Power Draw Plug In Order

I'm having some issues running a USB webcam and a USB speaker at the same time. If I plug in my webcam second, both devices work perfectly fine. If I simply boot with both plugged in, the speaker ...
1
vote
0answers
18 views

Does the raspberry pi with android support usb devices?

I have a proprietary USB-C device (A Philips transducer) which I need to get real time data from to my pc for real time analysis. Only problem is that the device is only supported by an android app (...
0
votes
1answer
135 views

USB problem on raspberry pi 4 won't boot

I have a strange problem with a pi 4. I have my Raspberry pi 4 powered by an external alimentation 5V 2Amps, there is 2 usb device connected to (an Arduino Mega and the touch usb for the display) and ...
1
vote
0answers
40 views

Raspberry Pi Compute Module 3+ yocto usb ethernet found but not working

I've created my own very basic console distro with yocto and uploaded it to a compute module 3+. Everything works so far, but I am unable to access internet via the connected AXIS AX88179 Gigabit ...
0
votes
1answer
25 views

Rpiboot - Failed to claim interface

I'm using usbboot/rpiboot with Raspberry Pi 0. Usually when I try to discover device the device is found without a problem and the booting process succeeds, recently I upgraded the firmware (bootcode....
2
votes
1answer
51 views

How do I setup DHCP on a 2nd port?

My Main Question How do I configure my RPi so that I can share its internet connection with an IoT device plugged in via ethernet cable in addition to sharing its internet connection via its wifi-...
1
vote
1answer
72 views

Can a Raspberry Pi 4 be used as USB gadget but draw power from elsewhere?

Assuming that the Raspberry Pi 4 is attached as a slave to emulate different devices/gadgets using the USB OTG functionality available on the USB-C port: Is it possible to power the Raspberry from ...
1
vote
1answer
64 views

Wiring GPIO pins to press hardware button on USB MOUSE

i have soldered out buttons and replaced them with wired in USB mouse. Mouse itself is connected to device. Is it possible to wire those cables to GPIO in Raspberry PI model 2. And control clicks via ...
3
votes
1answer
214 views

USB 3.0 OTG on Raspberry Pi 4 (USB gadget)

Raspberry Pi 4 can do USB OTG via the USB-C connector (according to this answer) - but only at USB 2.0 speeds since the USB-C connector only connects to USB 2.0 lanes. My question is - can Pi 4 also ...
2
votes
2answers
19 views

When plugging in USB stick “Disk Full” error box pops up?

I have a program that records telemetry data every 15 minutes or so into a binary file. If there is no USB stick in any of the USB port, it will save these telemetry data files in the SD Memory card. ...
0
votes
0answers
32 views

Logitech F310 hot plug working on Pi 3 B+ but not on Pi Zero W

I wrote software in C for my work that reads Logitech F310 controller input and controls our vehicle accordingly. I wanted my software to be fault-tolerant, so I added code that checks the presence of ...
2
votes
2answers
86 views

SD Card vs USB Stick

Recently I've had two SD Cards failing on me in a very short period. One of them was acceptable, as it ran 24/7 for almost 4 years, but the other one only worked for one week. Both failed so bad that ...
2
votes
1answer
36 views

Using a PI zero as a USB stick & customize(spoof) the PID & VID & s/n

Is it possible to use a Pi zero as a USB stick while spoofing a VID & PID & sn through a service or a custom driver? Thanks!
0
votes
0answers
22 views

How to change COM port setting on Raspberry Pi using Ubuntu Mate

I would like to ask how to change USB port and COM port setting on Raspberry Pi 3 B+ using ubuntu Mate 18.04? I want to connect my sensor to the raspberry pi, and need the com port number. Any ideas ...
0
votes
0answers
39 views

Linux host can't connect to Raspberry Pi Zero serial gadget console

I followed this guide and enabled a serial console over USB. I can connect and log in from Windows but my Ubuntu laptop can't access the serial console. The Raspberry shows up ad a tty device in /dev/...
1
vote
2answers
42 views

USB ports on USB hat not recognised

I have a setup that uses 4 USB cameras, a USB cell modem and a USB weather station. I deal with this by adding a powered USB hub. I just bought a Waveshare USB hat which looked like a tidier solution. ...
1
vote
1answer
39 views

Will this work out (usb hub + rpi zero w + Zishan Z1 DSD)?

Well, I want to connect Rpi zero W and Zishan Z1/2 DSD in one case, but with both devices working in one port connected to PC. (with working usb device in Rpi if in "portable" mode or in both ...
0
votes
1answer
70 views

Bad serial connection on USB OTG Serial on pi Zero

I am running Ubuntu 18.04 with Jakeday's surface linux kernel on a Surface Book 2. I had a serial connection working yesterday. I had this problem on another pi zero. I researched the "failed to set ...
1
vote
1answer
19 views

USB drive not mounting in CLI mode

I've been trying to get my USB drive to mount without having to launch into the GUI. I'm using a raspberry pi 3b+ with raspian OS. My current fstab entry for the usb drive is UUID=845-CG11 /media/...
1
vote
1answer
43 views

Can't return any values from ttyUSB0

I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever. Here is a simple ...
1
vote
0answers
29 views

shell script does not invoke define variable in autostart script

I try to use the raspberry pi for power point presentation. I want to run this as auto ( I mean once the raspberry pi started or rebooted the power point presentation should run). Basically it works ...
0
votes
0answers
23 views

Pi0W Crash on VNC Forwarding but not through SSH Tunnel

Short version: Pi Crashes when forwarding vnc port, but not when ssh tunneling the port. Full version: I've an old snowleopard OSX machine which has a defective keyboard and wifi, but I wanted to use ...
1
vote
0answers
27 views

Keyboard only working properly, if plugged in AFTER bootup?

If i plug my little keypad into my raspberry pi model 3+ and turn it on, it will boot and for a few seconds and a couple of key strokes it works... And then stops. It still shows in LSUSB but won't ...
0
votes
0answers
42 views

My Raspberry Pi crashed after pulling out USB drive from it

My Raspberry Pi's OS is Raspbian Stretch Lite. My Raspberry Pi crashed after pulling out USB drive from it. I'm not able to access it via SSH. I have connected the SD card of my Raspberry Pi to my ...
2
votes
2answers
71 views

Is it possible to boot from both USB and SD-card

After following official USB boot instruction I was able to write program_usb_boot_mode=1 to OTP and boot from USB. But it looks like am not able to boot from SD-card anymore. Are these options ...
0
votes
0answers
29 views

Arduino Mega to Raspberry pi 3 Uart communication stops after a short while

I have been trying to setup a data stream from Arduino to rpi using an USB to Uart converter. I am using 4 startbytes and then reading all 36 bytes of data at once. Baudrate, parity and stopbits are ...
0
votes
1answer
83 views

usbmount runs correcty but mount does not show up

I have installed usbmount on Pi 3 "Raspbian GNU/Linux Debian 10 (buster)". After rebooting or pugging in a USB hard-drive, I see this in /var/log/syslog: Jul 25 15:44:03 gbox usbmount[538]: loaded ...
0
votes
0answers
44 views

reading EMG on Rpi3 using Teensy 3.2 on usb serial

We are using MyoWare EMG sensor and reading the RAW EMG pin as well as filtered SIG pin on the board. What it basically does is sends an analog value as a fraction of the input Voltage, which in this ...
1
vote
2answers
50 views

How to clone a ssd which I am using to boot

I have an SSD that is connected via USB to SATA cable to the Pi. I have a lot of files and settings saved on this SSD, I wanted to make a backup of this on another SSD, such that if something happens ...
1
vote
2answers
94 views

Resizing partition on an external disk renders it unusable as a root partition?

I'm attempting to configure my raspberry pi 4 to boot from an external disk, and it works pretty well! I've configured it to boot from the partition ID I get from sudo blkid corresponding to my boot ...