Questions tagged [usb]

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

The Universal Serial Bus (USB) is an industry standard developed in the mid-1990s that defines the cables, connectors and communications protocols used in a bus for connection, communication and power supply between computers and electronic devices.

The Rasperry Pi uses USB 2.0, hi-speed, full-speed and low-speed. It can interoperate with SuperSpeed USB 3.0, but will only reach hi-speed with such devices (in USB 2.0 compatibility mode).

For questions concerning power output, see first:

1755 questions
17
votes
1 answer

Raspberry Pi reboots on plugging in a USB device

My Raspberry Pi Reboots on plugging in some USB devices. I do not think it is a power supply problem - I am using a 5v 30A power supply (ATX SMPS) and I have see it occur across two OS releases - (debian & Raspbian). The devices I have used are…
Lord Loh.
  • 657
  • 11
  • 26
7
votes
1 answer

Boot from USB without use of SD card at all?

I have a raspberry pi whose SD card slot is broken so I cannot change the boot options at all like YouTube tutorials say, is there a way to boot my device from a USB without the use of an SD card? Thanks
Jonathan
  • 95
  • 1
  • 6
7
votes
4 answers

Get the /dev/tty??? for Raspberry Pi

I'm connecting a USB-to-RS-485 adapter to my Raspberry Pi. How do I know which /dev/ttyXXX it corresponds to? I'm using Raspberry Pi model B+ Update with goldilock's answer:
user1872384
  • 185
  • 1
  • 1
  • 6
7
votes
1 answer

From python, can I interact with any HID device?

Can I interact with essentially any HID device from a Pi? (displays, controllers, etc) ? If so, is there a python example out there that shows reading from hid?
6
votes
1 answer

RPi to emulate a USB mass storage device?

I know this topic has been discussed quite a few times, but I never seen a complete solution. So, again... Is there any way to make an RPi emulate a USB mass storage device? Please do not waste your discussion yelling, for example, that RPi lacks a…
user347841
  • 81
  • 1
  • 3
6
votes
5 answers

Wake up Windows PC via USB event from a Raspberry Pi

Is it possible to wake up a Windows PC from standby/hibernate via a USB event originating from a Raspberry Pi? When my Windows PC is in standby and I move my mouse then the PC wakes up. This is exactly what I want to do with an application running…
seveves
  • 161
  • 1
  • 5
5
votes
1 answer

Hot plugging a USB to serial cable to get a login prompt

Using 2020-12-02-raspios-buster-armhf-lite I have attached a USB to serial cable and enabled logins with sudo systemctl enable serial-getty@ttyUSB0.service sudo systemctl start serial-getty@ttyUSB0.service This works fine. I can attach the serial…
Greg B
  • 51
  • 1
4
votes
1 answer

Slow Hard Drive Speed

I have a B+ with a 1TB external self powered USB drive attached. My root is on the hard drive. Used this tutorial to create the drive. https://learn.adafruit.com/external-drive-as-raspberry-pi-root/overview Have tried this with drive directly…
carltonb
  • 41
  • 1
  • 2
4
votes
2 answers

Raspberry Pi as sync device for automobile-based USB storage

I'm trying to figure out a way to be able to use the Raspberry Pi to act as a syncing device between my home network and my car. I'm imagining it would work something like this: Car Receiver that has USB ports and mp3 support, probably the Pioneer…
3
votes
1 answer

Controlling an old APC UPS with a Raspberry Pi 3B using a USB 2.0 to RS232 Male DB9 Serial Cable

Is there a way of Controlling an old APC UPS with a Raspberry Pi 3B using a USB 2.0 to RS232 Male DB9 Serial Cable? There seems to be two apps that would be needed. One for the cable conversion from DB9 to USB and one for the actual control of the…
Glenn Smith
  • 31
  • 1
  • 2
3
votes
1 answer

USB camera recording using avconf

I need some help in recording videos with USB webcams in raspberry pi 2. I am currently using this code to start recording videos: avconv -f video4linux2 -r 10 -s 1280x768 -i /dev/video0 -y new1.avi But I don't no, how to stop it automatically…
Assazzin
  • 193
  • 3
  • 9
3
votes
2 answers

Record GPS tracks and convert to KML

I've connected a USB GPS device and am able to write them to a file using gpspipe. There are limitations though: does not record in KML existing tools for conversion to KML don't seem to interpret timestamps How can I record GPS data to KML…
pufferfish
  • 352
  • 2
  • 9
3
votes
4 answers

How to force rescan of USB serial devices?

I have an arduino board (nano) connected to my Raspberry Pi via the USB port. If I boot the Raspbery Pi first then plugin my arduino it works fine , the arduino is recognised as "FTDI Serial" and assigned to /dev/ttyUSB0. However if the power goes…
rw950431
  • 41
  • 1
  • 1
  • 3
3
votes
1 answer

Can the micro USB port be used for data?

To my current knowledge the micro USB port on the raspberry pi is used solely for power supply. But is is possible to also use this port for data? Is there a way to activate this function?
Coyote
  • 462
  • 1
  • 4
  • 14
3
votes
1 answer

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!
JSA83
  • 31
  • 2
1
2 3 4 5 6