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
67
votes
2answers
100k views

How much power can be provided through USB?

I know that my USB powered Hard Drive doesn't work, but what is the minimum power requirement that the Raspberry Pi can fulfil for devices that connect via USB?
55
votes
5answers
89k views

Using the Raspberry Pi as a router?

Has anyone used their Raspberry Pi as a routing device? Mainly I want to use it to monitor my network, and it would be great if it had an input and output for Ethernet, but it doesn't, so I am ...
52
votes
10answers
44k views

How can the Raspberry Pi emulate a USB storage device?

USB storage devices, such as USB sticks and harddrives, are common to attach external storage to any kind of computer. How can the Raspberry Pi emulate an USB storage? The easiest application was to ...
49
votes
10answers
37k views

Can I use Raspberry Pi as a USB peripheral device?

Raspberry Pi has a Micro USB port for power supply. My question is if this port is only for power purposes or can it be used for data as well? I would like to be able to attach my Raspberry Pi as a ...
46
votes
6answers
20k views

Boot from USB hard disk?

Is there a way to boot from an external hard drive connected to the device through the USB port (as opposed to booting from the SD card)?
41
votes
2answers
138k views

Is setting `max_usb_current=1` to give more power to USB devices a bad idea?

I've been searching around for more information on the /boot/config.txt configuration directive max_usb_current, trying to find out exactly what happens when that is set to 1, but it's hard to find ...
38
votes
4answers
70k views

SSH to RPi without a network connection?

Is it possible to SSH in to an RPi without a network connection? I could imagine that you could do it using a LAN cable from the computer to the RPi or maybe using a USB cable. I do actually have ...
35
votes
3answers
13k views

Disable LAN9512

The LAN9512 is the hardware device which controls Ethernet and USB ports. This chip consumes almost 200mA, and it will be very useful to disable it to save energy when I don't need USB or Ethernet. ...
34
votes
2answers
108k views

USB card as my default Audio Device

I purchased a small USB sound card. My Pi recognizes the device: $ lsusb Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller If I run alsamixer and set the audio to USB ...
34
votes
2answers
6k views

Building Wireless Drivers for Edimax Wireless USB: EW-7811UN

I've been trying on and off for days to build the module for my USB wireless device. It is an Edimax EW-7811UN I've found several resources on building modules for Debian, but none for Arch. ...
30
votes
8answers
11k views

USB Cables… Why are some of them bad for Raspberry Pi?

Yesterday I bought another Raspberry Pi, and installed Rasplex on it. While using Rasplex, I got this colored square on the top-right corner, indicating that the power supplied to my Raspberry Pi is ...
30
votes
2answers
42k views

How to program a USB device with Debian/Python

The Pi is being promoted as an educational device primarily for Python. Inline with this, there have already been some great examples online of people accessing the GPIO from Python. However, most ...
28
votes
2answers
4k views

Can I use a USB webcam?

Is it possible to use a standard USB webcam with the RPi, or is there a specific peripheral that should be used? I would like to use RPi's to stream images from webcams to the net.
27
votes
1answer
9k views

Does the Pi 4 resolve the Ethernet+USB bottleneck issue of past versions?

The Pi 3 (and previous models) had an issue of bottlenecked bandwidth when using Ethernet and USB simultaneously. Is this resolved in the Pi 4?
25
votes
1answer
38k views

Possible to connect SATA device to the SD slot?

I have been searching around for a cable which could be used to connect a normal hard-drive (SATA) to the SD slot, and therefore get a lot more storage without having to go via the (comparatively slow)...
24
votes
5answers
15k views

Power RPi from same Powered USB hub as its Peripherals?

I am putting together all the bits I need to start playing with my Pi, and one question I have is how to power it using the least cables as possible. Given that I have ordered a small mains powered ...
23
votes
2answers
20k views

Why doesn't my external hard drive appear in /dev?

I want to mount my external HDD, but my Raspberry Pi can't recognize anything. I loaded usb-storage with modprobe, but if I insert the HDD into the USB port, nothing changes. I can't see any changes ...
21
votes
8answers
59k views

Set up a Raspberry Pi Zero W without monitor or ethernet module

I bought the new Raspberry Pi W but I don't have right now an mini-HDMI adaptor (to connect it to a monitor) neither an Ethernet module to connect by SSH. Can I connect somehow by SSH through USB? ...
21
votes
6answers
52k views

Can the Raspberry Pi power this 2.5" drive without a USB hub?

I want to use my Raspberry Pi model B as a NAS, but I'd like to avoid using a USB hub. I have a 2.5" Western Digital 1 TB USB hard disk drive (this one), and a 2 A power supply for the Raspberry ...
21
votes
2answers
1k views

Should all 'Linux-compatible' USB bluetooth/Wi-Fi devices work?

I have mini-WiFi and mini-bluetooth dongles patiently awaiting the arrival of a Raspberry Pi. These are listed as Linux-compatible devices. Are there any concerns with the hardware of the Raspberry ...
20
votes
3answers
26k views

Automount various USB stick file systems on Jessie Lite

I want to be able to automount USB sticks fat32 and ntfs formatted on the fly, like hot-plugging without rebooting the my Raspberry Pi 2. I have ntfs-3g installed on jessie-lite. Putting the UUID in ...
20
votes
3answers
4k views

Can the Pi Zero act as an USB peripheral device?

Can the currently announced new member of the Pi family - the Pi Zero - act as an USB peripheral device? Obviously the schematics are not yet available and the blog entry linked above does not go too ...
19
votes
2answers
45k views

What kernel parameters are available for fixing USB problems

There's a lot of problems with USB stack on Rapsberry Pi and developers are working hard to fix as many of them as possible. They introduce some kernel modules options (like dwc_otg.fiq_fix_enable) ...
18
votes
1answer
38k views

How can I use an external USB sound-card and set it as default?

I've got an external USB sound-card from C-Media running on my RPi3. I can play some recordings using aplay/arecord by specifying the card index and ALSA plugin. However, many other sound files does ...
17
votes
4answers
28k views

Unable to grab image from usb Webcam

I would like to take snapshots from an USB webcam attached to my Raspberry Pi: First, I checked the device: pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ...
16
votes
8answers
44k views

Can I power Raspberry Pi using the mini USB to USB cable connected to a computer?

My question is quite simple. I'm asking if I can use the power cable you get along with it as a USB power supply. Instead of plugging it to a power socket, can I use the USB to connect directly to my ...
16
votes
6answers
12k 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 ...
16
votes
1answer
7k views

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 - (...
16
votes
2answers
37k views

What's the difference between UUID and PARTUUID?

I've followed the procedure in the raspberry pi forums to make my Raspberry Pi 3 use an USB key instead of the SD card as root filesystem in the hope to make it more robust to power loss. The process ...
16
votes
2answers
8k views

Pi as a USB client

I am looking for a way to have the Pi act as a USB client and masquerade as a flash drive. I have seen lots of suggestions, however most of them are old (1+ years) by now and vague/incomplete - I ...
16
votes
2answers
16k views

Can I make a full USB keyboard with Makey Makey + Raspberry Pi

I recently bought the Makey Makey (based on Arduino Leonardo / ATMega32u4), hoping to construct a full USB steampunk-style keyboard from some metal parts. Before it arrived I re-read the details and ...
16
votes
5answers
48k views

Multiple Display Screens

I want to build a mini multimedia system based on the raspberry pi B+, which has 2 display screens: The main screen (like a 42" LED TV), which plays the main video in Full HD. HDMI RCA/AV/Composite ...
15
votes
2answers
11k views

Gigabit USB ethernet running at 100mb/s

I bought a small gigabit ethernet USB adapter, which works fine OOTB in a Raspberry Pi 3, but only at 100mbits/s. How can I make it run at full speed? ethtool: # ethtool eth1 Settings for eth1: ...
15
votes
4answers
5k views

Is using a USB sound card still better than the onboard jack?

Back in the day of the Raspberry Pi 1 B+, if you didn't want to route audio through the HDMI cable it was a good idea to use a USB sound card, because audio out of the headphone jack tended to get a ...
15
votes
4answers
49k views

Live audio stream using FFMPEG

I try to stream live audio using ffmpeg and external USB microphone. I followed this nearly tutorial I had to adapt some steps but finally, I achieved to receive the stream my laptop using this ...
15
votes
8answers
53k views

Connect a GPU into Raspberry pi

I want to connect a GPU GT640 to a Raspberry pi model B. I know there is not a direct connection and the tranfer data are very differents but. Is there any chance to connect this devices in order to ...
14
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 ...
14
votes
2answers
15k views

Is there a 802.11ac dongle with drivers ready for the raspberry pi?

I understand the USB2 bus will limit the speed gain from the 802.11ac network interface. I still would rather buy a 802.11ac usb dongle as its primary use will not be with the raspberry pi. Is there ...
14
votes
1answer
2k views

Powered USB hub powering the Pi through USB sockets (not microusb)

I bought a powered USB hub from Maplin, just something cheap, but the guy assured me that it would work fine. Anyway, plugging it into the raspberry pi (with the microusb power lead out of the rPi) ...
13
votes
2answers
47k views

How to start Motion in daemon mode on RPi running Raspbian Jessie

I have recently get to set up motion with my RPi but I have a problem which is simple one one hand, but, on the other, can’t find any step-by-step instructions to remedy it. Although I have ...
13
votes
2answers
13k views

Can you transfer data through the microUSB?

The Raspberry Pi A & B are powered through the microUSB port. If the Raspberry Pi is plugged into a computer instead of a power transformer, could you send data through that connection? I know ...
13
votes
3answers
11k views

HDD without external power is working. Is this dangerous?

I have connected a 2,5" HDD to my Raspberry Pi directly and it works. The only one question I have - Can my HDD/RPi be damaged? (When I use the HDD without powered usb hub - Are there any risks?)
13
votes
1answer
29k views

How to eject USB device on Raspberry Pi (not just unmount)

Is there a way to actually send an eject to a USB device in Raspbian? As in: sudo udisks --eject /dev/sda In other Debian systems, this works fine. But on the Pi there seems to be complications. ...
13
votes
4answers
63k views

How can I connect to a USB serial device?

I have a device with a USB serial port cable that I'd like to connect to my Raspberry Pi. The chipset for this USB to serial cable it the PL-2303 from Prolific Technology, Inc. How can I read data ...
13
votes
1answer
1k views

Alternative to polyfuse mod

I have one usb device that will not work because of the limited usb current. I don't want to add a powered usb hub (saving cost and space) and I don't want to solder on my pi (polyfuse mode). Can I ...
12
votes
4answers
18k views

Why do the USB ports and Ethernet port share the same controller?

It is my understanding that the USB ports on the Pi share the same controller as the Ethernet port. This means if one was to use the Pi as a NAS, data transfer over the network would be restricted, ...
12
votes
2answers
11k views

Is there a way to automatically activate a script when a USB device connects?

I have a USB device (POV camera) that collects a lot of data a fills up its storage regularly. The goal is to write a script that: Listens for the device to connect via USB Mounts it as a storage ...
12
votes
6answers
66k views

Installed pyusb, still: 'ImportError: no module named core'

On my Raspberry Pi I installed libusb and pyusb via sudo apt-get install libusb-dev python-usb. But running some Python code (pyrow, to read data from a rowing machine) gives me this error at import ...
12
votes
2answers
6k views

Why are there delays and input issues when using my wireless keyboard?

I booted up my Raspberry Pi for the first time and I plugged in my USB dongle for my wireless keyboard and mouse. It booted up fine but when I type keys either don't appear on the screen or they ...
12
votes
2answers
38k views

What to know about powered USB hub?

I'm a bit lost in electricity stuff, but I want an USB hub to power supply my Raspberry Pi and my hard drive. I know that there are lists of USB hubs for Raspberry Pi that works perfectly, but I want ...

1
2 3 4 5
29