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

Can Raspberry Pi Zero ‘W’ route wlan0 traffic to usb0?

I’m trying to turn a Pi-Zero W into a USB WiFi dongle but have not found any instructions or much about the possibility. What I have tried hasn’t worked. Now I wonder if it is even possible to route ...
1
vote
1answer
18 views

How to send keyboard strokes from a rpi trough rx/tx to a windows pc (preferably with python)

I want to play around with an rpi to send keystrokes or keycombinations from my rpi to a windows pc. I dont want to configure anything on the windows pc in order to achieve it. So far all the ...
1
vote
1answer
29 views

Receiving login shell data via serial port

I'm writing code to send data to and from a raspberry pi (pi zero running raspbian lite) via serial port, using 1 python script on either side. I've set everything up so that I can use port='/dev/...
3
votes
2answers
42 views

How an I improve sshd latency over WiFi?

I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network. What I'm seeing is that the character latency is very high, seriously impacting my developer ...
1
vote
0answers
33 views

Using USB-C on Pi 4 while powering the Pi via GPIO header pins?

I have an Pi 4 that I have setup as a router. I am using USB-C in Ethernet gadget mode to connect to my computer. I want to be able to disconnect and reconnect the Pi from my computer without it ...
2
votes
0answers
27 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 ...
0
votes
1answer
17 views

USB or Pendrive are not detected in Raspberry pi 3B+ for data transfer

I want to copy a file raspberry pi 3B+ to my Desktop machine. I had plugged the USB pen-drive in raspberry pi 3B+. But pen-drive is not recognized. Did I missed anything as in case of pi? Thanks in ...
0
votes
1answer
27 views

Detect what exact phone was connected to rpi

I'm trying to develop small app detecting when/which phone was connected / disconnected to rpi and than base on that take some actions it should work with both android and apple phones I know how to ...
0
votes
1answer
33 views

USB mount : space issue

I added a 256 GB USB stick , mounted in : /mnt/mydisk I setup all my docker to have they files stored in the USB stick: e.g: docker create --name=transmission \ -v /mnt/mydisk/Download/Deluge/...
0
votes
0answers
10 views

Mini usb 2.0 microphone not detected

I googled but didnt find an answer. I bought usb microphone like this: https://www.ebay.com/itm/USB-2-0-Mini-Mikrofon-Stecker-f-r-Windows-PC-Mac-Linux-Raspberry-Pi-Mikrophon/112352215940?pageci=...
0
votes
1answer
28 views

Directly accessing a drive used as a NAS drive by a raspberry

I successfully tried to add a NAS to my local network. I did this using a RaspberryPi 3, samba and a USB stick formatted in NTFS. My RPI use ntfs-3g driver for accessing the drive. My problem is that ...
0
votes
0answers
34 views

Auto detect for USB Device not working (Garmin Watch)

I would like my Raspberry Pi 3 to auto detect my Garmin watch USB device when connected it via USB to it. So I could copy the .fit files from the devices for subsequent processing. Currently I cannot ...
3
votes
1answer
30 views

2 4g usb dongles connected to RPI to router

So i live in an area that doesn't have fiber but has decent 4G/LTE connection. The problem is we have one service with unlimited data between 11pm and 6pm the following day and another service thats ...
0
votes
2answers
51 views

Permission denied (publickey)

I changed the private key on my computer using ssh-keygen (I know... Why would anyone do this? A: I have no idea what I'm doing :#) and now every time I try to ssh into one of my raspberry pi's it ...
1
vote
1answer
30 views

Is there a way to have USB data transferred from Pi to HAT?

I'm designing a Raspberry Pi HAT that requires USB for debugging. The 40-pin GPIO connector that connects the Pi to the HAT doesn't seem to have any USB designated pins. I would like to use the USB ...
0
votes
0answers
32 views

USB powered sump pump

I have a USB powered sump pump plugged into my raspberry pi 4. Is there a way to program the turn off and on by including it in my program?
2
votes
2answers
251 views

Raspberry Pi4 Error while using 2 USB cameras, VIDIOC_QBUF: Invalid argument

I'm using Python OpenCV to read from 2 USB webcams on a Raspberry Pi4. If I'm using either of the camera individually they work fine. As soon as I initialize both cameras in the script as following: ...
0
votes
1answer
42 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-...
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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
45 views

Solder USB wifi right on to raspberry pi zero

I am trying to solder a wifi adapter right on to my raspberry pi zero so it takes up less space. I've followed this video and some other diagrams on how to wire usb devices right on to the pi zero. ...
1
vote
3answers
56 views

Can I mount an USB stick (ext4) and create a backup of the Pi using the dd command?

I want to use the following command: sudo dd if=/dev/mmcblk0 of=/mnt/myBackup.img bs=1M What if the USB drive was formatted to vfat?
1
vote
0answers
29 views

Internet tethering - USB to ethernet - Connection on router / not on raspberry

so I have a USB LTE dongle connected to my raspberry and want to share that connection to my router via ethernet. I know it would be way easier to just plug-in the dongle into the USB port of the ...
4
votes
1answer
30 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 ...
2
votes
2answers
108 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
41 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.
2
votes
1answer
79 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 ...
1
vote
0answers
48 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 ...
1
vote
1answer
64 views

Pi 4 how to 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
46 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/...
1
vote
0answers
45 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
66 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
109 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
77 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
34 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
23 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
124 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
41 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
52 views

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

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
24 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
152 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
33 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
33 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
26 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 (...
1
vote
1answer
288 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 2 A, there are two USB devices connected (an Arduino Mega and the touch USB for the display) and ...
1
vote
0answers
59 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
48 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
81 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
137 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 ...