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
1answer
256 views

g_mass_storage issues in 4.9 kernel

I previously had the Mass Storage gadget mainly working with the April version of Jessie (kernel 4.4.50+). Unfortunately it wasn't working on all systems so I thought it would be worth updating to see ...
5
votes
3answers
3k views

Raspberry 4 usbmount not working

As the title suggests, I am having issues on the new raspberry pi 4 with buster and USBMOUNT. Well, it's not working. At 3b+ there was a similar issue, you had to edit a file and change MountFlags ...
1
vote
1answer
59 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 (...
0
votes
1answer
282 views

Problems booting rpi 3 from USB disk drive

I recently purchased a Seagate 1 terabyte Passport disk drive to move up from SD cards. I copyed the Raspbian image to the drive using the SD card copier tool it came with. Then I set up USB boot mode ...
0
votes
0answers
249 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 ...
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 ...
2
votes
1answer
941 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 ...
0
votes
1answer
36 views

ssh via USB while wifi is enabled and working (Pi zero W)

Is it possible to connect to the "Pi zero W" via usb-network, while wifi connection is already set up and working? My observation: 1.) initial Pi Zero W setup. Pi is attached to the notebook (OS: ...
0
votes
2answers
604 views

Cannot connect to USB GSM Modem using Python

I am having trouble connecting to a 3G usb modem using python. when I try, in python interpreter: import serial ser = serial.Serial("/dev/ttyUSB1", timeout=2) I get: Traceback (most recent call ...
2
votes
1answer
121 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 ...
3
votes
3answers
4k views

USB Mass Storage Gadget - how to convincingly emulate a flash drive?

I've got a Pi Zero W that I'm using in OTG/gadget mode. I've activated dwc2 USB, partitioned and formatted the file that is to be used as filesystem and loaded g_mass_storage. It is working fine in ...
1
vote
0answers
30 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 ...
2
votes
0answers
100 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
1answer
3k views

Disable USB Port on Raspberry Pi 3

I recently bought a Raspberry Pi 3. But unfortunately the first one I got was damaged. We managed to get it going but one USB port was rendered useless. Now I want to know whether it would cut down ...
1
vote
0answers
71 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 ...
0
votes
0answers
45 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 ...
0
votes
1answer
699 views

Raspberry Pi Zero W - connect Micro USB to FTDI to arduino board

I'm using this FTDI on a Raspberry Pi 3 Model B to connect an arduino board via USB. can I do the same thing on a Raspberry Pi Zero W using this USB OTG Micro USB to Mini USB to connect the FTDI to ...
0
votes
1answer
57 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 ...
3
votes
3answers
76 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 ...
2
votes
1answer
444 views

Accidentally shorted C97 on the Raspberry Pi with a washer

I accidentally dropped a washer and unfortunately it landed on the C97 capacitor. I think that shorted the pi out. The ACT and PWR lights are now solid red and green, whereas it was blinking ...
1
vote
1answer
46 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
454 views

USB/Bridge using MAX3421

Please, could someone help me, I am trying to use the module (max3421-hcb) with the raspberry pi 3, but I really don't know how to load this module, with the parameters, like wich GPIO will act as INT ...
13
votes
4answers
10k views

Turning on and off a 3G (or any USB) port?

I have a project which will require using a Raspberry Pi in a low power environment, but it will also require a 3G connection. I have not done any tests, yet, but I am under the assumption (and ...
16
votes
6answers
11k views

Powered USB hub for Pi Zero

I am going to buy the Pi Zero (when they have more in stock...) and with only one USB port I need a USB hub to connect my keyboard, mouse, and WiFi dongle. I probably won't be connecting anything else ...
1
vote
1answer
1k views

Raspberry Pi Low Power Warning

RPi Model B+ Raspbian 7.11 Kernel 4.14.41-v7+ I've been getting low power errors during startup (lightning bolt), and continue to see them in my syslog. I have tried multiple different USB cables, ...
2
votes
1answer
87 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 ...
2
votes
1answer
538 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 ...
0
votes
1answer
600 views

Read barcode via USB scanner then send it to database

I need to read some barcodes from 10 different working stations, unfortunately I can't put a PC on every station because the space is really small. Given the little space I have I would like to use ...
0
votes
3answers
1k views

Connect Raspberry PI3 3G dongle and GPS via USB

I'm building a remote tracking device with a Raspberry PI3, using a Vodafone/Huawei 3g pendrive model k3765 and a GlobalSat G-STAR IV usb gps receiver. I'm unable to make them working properly right ...
0
votes
1answer
24 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 ...
0
votes
1answer
1k views

Error compiling and loading driver on the Raspberry Pi

I bought a temperature sensor with a usb adapter and needed to install a driver for it, but I could not compile the driver provided by the manufacturer. pi@raspberrypi:~/CH341SER_LINUX $ make make -...
3
votes
1answer
433 views

Connect Xbox One Controller to Raspberry Pi

I know this has been solved (generally) for RetroPie, but I'm hoping to have a generic solution I can use for other purposes--like controlling robotics. And RetroPie dominates the conversation. Is ...
1
vote
1answer
57 views

Serial comms to Arduino unexpcted behaviour

R Pi 3 B+, Arduino Mega 2650 I am trying to send motor control instructions via user input from the Pi to the Mega. Pi side code... import serial port = "/dev/ttyACM0" rate = 9600 s1 = serial....
0
votes
1answer
42 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
84 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 ...
1
vote
2answers
2k views

Bcm 43143 Hostapd Driver Problem

I am trying to establish an AP media server with Raspberry Pi 2 and was following the Adafruit guide: setting up a Raspberry Pi as a WiFi access-point. I have completed that but at the start step my ...
1
vote
1answer
611 views

Configure a device with spi ( Pi Zero )

I am looking for how I can configure a kernel devices ports, I have a MAX3421 usb host shield and I found and compiled the kernel driver for it ( http://lxr.free-electrons.com/source/drivers/usb/host/...
0
votes
0answers
113 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/...
0
votes
1answer
34 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 ...
1
vote
1answer
877 views

UDEV won't run any script, file or inline

I have a Raspberry Pi 3 model B. I installed Raspbian using NOOBS, and it worked great. I had a project that needed to execute certain actions when a USB device was connected. I learned about udev, ...
-2
votes
1answer
29 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
928 views

8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

Can connect to many routers with the usb wifi adapter but on some I get an error. When I do the wpa-suplicant manually with the -dd option I get [skip - no WPA/RSN proto match] for the AP I'm trying ...
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 ...
0
votes
1answer
2k views

Connecting Raspberry Pi Zero to Ubuntu computer through USB

I am to my wit's end. My problem is I cannot ssh into my Pi with my ubuntu laptop through its virtual USB ethernet interface it creates. I made the necessary modifications to the config.txt and ...
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 ...
0
votes
2answers
1k views

USB to USB file transfer using Raspberry Pi?

Is it possible at all? I want to make a device to explore the files inside USB flash drive and do some jobs (like copy them to another flash drive fast or renaming the files or folders) I googled a ...
0
votes
1answer
281 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 ...
11
votes
5answers
39k views

How do I reset a USB device using a script?

I have a USB GSM modem that does not alwasys work property (Huawei E367u-2) Sometimes it gets reset (USB device disconnect/reconnect in logs) and when it comes back up, it's has different ttyUSB ...
0
votes
0answers
21 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 ...
0
votes
1answer
642 views

auto-mount USBDrives (vfat) for users other than pi

When a USB drive (vfat) is connected, the system automatically mounts it on /media/pi/DriveName with permissions set for user pi. Thus each time I need to change something in the drive, I need sudo ...