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
18 views

USB and ETH drop

I have a Raspberry Pi 4 running the latest buster. Had an event where the USB & ETH (no wifi on this one) dropped at the same time. No idea why. Of course, since I don't have to automount enabled,...
1
vote
0answers
31 views

Is it possible to log in Raspberry Pi 4B using USB cable?

The idea comes from this website 4 ways to connect RPi4 to the Internet. The author said that it is possible to SSH into RPi4 using that method. But my PC only provides 5V 500mA current through USB ...
1
vote
1answer
86 views
+100

USB WiFi dongle ad-hoc criteria

I'm trying to setup an ad-hoc network (intranet-only, no internet) of RPi4s (Buster 2019-09-26) using dongles with detachable antennas. I can successfully setup ad-hoc modes on the internal WiFi (...
2
votes
0answers
103 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 ...
0
votes
0answers
50 views

The USB ports do not work anymore on my RPI4

Since yesterday, the USB ports of my RPI4 do not work. When I plug a usb device like a hard drive or a usb stick, I don't see any message about it in the logs and no new device in /dev. When I type ...
1
vote
0answers
77 views

Raspberry Pi Zero as boot keyboard USB gadget (libcomposite and macOS boot)

Since I have exactly the same issue and no solution so far, please allow me to repost the question by Charlotte J at superuser again on this board: I am trying to turn Raspberry Pi Zero W as a "boot ...
2
votes
1answer
140 views

Change Raspberry Pi Zero USB Gadget name from Linux File-Stor Gadget

My goal is to convincingly emulate a well known brand of USB Flash Disk, using Raspberry Pi Zero (with or without Wifi). For the sake of this example, I want to emulate a 4GB Sandisk Cruzer Edge, but ...
0
votes
1answer
63 views

GPS (USB) with NTP has a consistantly large offset and high jitter from public NTP sources

I have a Raspberry Pi Model B Rev 2 (BCM2835 rev 000e). Connected to it is a USB G-Mouse GPS receiver - which is really just a u-blox 7 GPS receiver. I've had it running for about 15 hours now and it ...
2
votes
1answer
95 views

Share USB tethered phone to Raspberry Pi 4 LAN port

I want to share my phone data by connecting to my pi4 running buster. I wish the data to pass through the ethernet which has a router connected to it. The router has both wireless and wired ...
3
votes
3answers
77 views

Delete and modify not supported smb external drive (exfat)

I run SAMBA 4.9.5 on my raspberry pi 4 and share a folder on my external hard drive(exfat as fs). It worked all fine until I want to remotely delete or modify files on it. I cannot delete or modify ...
1
vote
1answer
47 views

Control Power via USB

Like in similar questions, I have my Pi on my TV and it currently draws power from the TVs USB. Fingers crossed, it currently works, but surely the Pi should have a better supply. Now, the good ...
0
votes
1answer
25 views

how to Mount and Unmount SD card( Specific partition in SD Card)?

I created a partition under my sd card. All main partition is shown here. Now " C44D-6FA2 " use for USB OTG Flash Drive. Now whenever I add any file in this USB flash drive, it is not showing under ...
1
vote
1answer
58 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 ...
1
vote
0answers
89 views

Control Pi Zero using Ethernet over USB using Raspberry Pi (3 or 4)

I have been working on a project that uses Pi Zeros as remote cameras. Recently, I have an application that requires them to be hardwired, so I have been experimenting with the Ethernet over USB ...
0
votes
1answer
35 views

Accessing files on a apache server from USB via PHP

I am trying to create a system where USB on raspberry pi will be auto mounted and the files can be accessed via an apache server running over local hotspot from the same Raspberry Pi through a script ...
0
votes
0answers
22 views

Emulating NTFS USB drive using Zero W

I'd like to hook up my Zero W to my TV's USB jack. The idea would be to transfer photos/videos from my laptop to my Pi via SSH, and they would appear on my TV. There is an article that explains the ...
1
vote
1answer
44 views

How to turn off USB chip permanently?

I am seeking ways to reduce power consumption on my raspberry pi 3B+. I've read that one of the most efficient ways is to turn off the USB chip. This link shows how to do so via the toggle commands. ...
0
votes
1answer
24 views

Make K5150 to work on raspbian buster

Trying to connect to internet through K5150 usb modem on raspbian buster(last build from raspberry, September). On windows it is connecting when it is plugged in. Here is trying to connect but not ...
1
vote
1answer
23 views

How to load pictures from a USB drive into a localhost html page

So I'm trying to setup a display using this shifting tiles animation. I'm not putting it on a website, it's just going to be used on the local raspberry pi to display on a TV (http://localhost/) so I'...
0
votes
0answers
22 views

Stuttering audio with PyAudio on raspberry pi zero

I'm writing some code that plays audio on a Raspberry Pi Zero while a button is pressed. When I test the code on my laptop, using mock pins to simulate button presses, the code below runs fine with no ...
2
votes
1answer
57 views

USB devices (Including Internal NIC) got disconnected without a reason

I am using raspberry pi 1 B+ model with two USB devices (wifi dongle/Ethernet ) along with builtin NIC. all the USB devices including builtin NIC getting disconnected from time to time kernel ...
2
votes
1answer
36 views

Raspberry Pi Compute WiFi module via USB

I am designing a board around the RBp Compute and would like to add WiFi connectivity to this device. However, I do plan on using USB 2.0 for its datarate (e.g. to send and receive images), so the ...
1
vote
1answer
38 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
24 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
77 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
56 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
41 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
85 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
1answer
30 views

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

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
28 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
42 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
13 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
29 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
53 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
2answers
41 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 ...
1
vote
2answers
75 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
31 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
1k 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
78 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
36 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
68 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
60 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
41 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
39 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
306 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
58 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
83 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
71 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 ...