Hot answers tagged

14 votes
Accepted

SATA 3 SSD too slow on raspberry pi 4, even with external power

Sometimes the actual official Raspberry Pi Foundation forum, among whose members are RPi Foundation staffers, is worth a visit. There is an issue affecting the Raspberry Pi 4 and certain USB devices. ...
Michael Harvey's user avatar
9 votes
Accepted

Issues installing RTL8812BU WIFI driver on Raspberry Pi 4 B

Finally I had a breakthrough! Instead of using modprobe and dkms, it was enough to follow these steps: sudo git clone https://github.com/EntropicEffect/rtl8822bu.git cd rtl8822bu sudo nano Makefile ...
Stefan R.'s user avatar
  • 171
6 votes
Accepted

Raspberry Pi 4 only boots from SSD over USB 2.0, but not over USB 3.0

After googling without any success for days, I found the solution right after posting the question. The details are posted here The gist: find out the PID/VID of your SATA adapter. lsusb && ...
stebu92's user avatar
  • 201
5 votes

Raspberry Pi USB 3 HAT or alternatives

No, there is not a HAT that supports USB 3.0, for a variety of reasons. The Broadcam SOC provided in the RPi only supports USB 2. The CPU itself isn't powerful enough to deal with USB 3. There is a ...
Jacobm001's user avatar
  • 11.9k
4 votes

USB 3.0 OTG on Raspberry Pi 4 (USB gadget)

No it cannot. No device can do OTG via Type-A sockets, they are host-only. For the sake of completeness, as @jdonald mentioned in a comment, RPi model A/A+ (the ones without the USB hub, just like ...
Dmitry Grigoryev's user avatar
4 votes

The Blue USB's are the 3.0's, am I right?

The answer was yes (as said in the comments). For completeness, the more or less standard colors are White: USB 1 Black: USB 2 Blue: USB 3 I understood, that the Pi sometimes used white adapters for ...
Ljm Dullaart's user avatar
  • 2,481
3 votes

raspberry pi 4 suddenly won't recognize nvme on USB3 port

I have had a very similar problem (I/O errors) with SATA USB adapters that were also manufactured by JMicron. It seems to be a known problem especially for SATA (see here) that some manufacturers are ...
Experts-say's user avatar
3 votes

SATA 3 SSD too slow on raspberry pi 4, even with external power

check out https://jamesachambers.com/new-raspberry-pi-4-bootloader-usb-network-boot-guide/ .. i had the same issues but after applying quirks. I copy pasted that part here below. Fix (some) USB ...
Marcel Hofstra's user avatar
3 votes

Hosting LAMP on SD-card in RPi now - would like to move whole database and website to External USB 3.0 SSD

I want more speed, I wanna be able to upload large files to my webpage quickly and I think USB 3.0 + External SSD with Exts4 on it will do the trick nicely. Mount your external drive to apache2 web ...
M. Rostami's user avatar
  • 4,293
3 votes
Accepted

USB3 drive and Pi Zero

The culprit turned out to be the mini OTG adapter: It is cute, but it doesn't work with the hard drive. Switching to a regular OTG cable made the drive appear. Following is a diff of the boot ...
m000's user avatar
  • 483
3 votes

What are the expected write speed for external storage connected to USB 3 (blue) on Raspberry Pi 4 B

I'm also using JMicron JMS567 SATA 6Gb/s in Bulk Only Transport protocol and I'm getting similar write speed: Write speed test: sync; dd if=/dev/zero of=./test.tmp bs=1M count=1024 > 1073741824 ...
Vasil Kalchev's user avatar
2 votes

Raspberry Pi USB 3 HAT or alternatives

The simple answer is NO :) Pi's SoC only has USB2.0, no PCI, GPIO can not do that also. You can use USB3.0 hub then connect to the USB2.0 port. But I dont think there are any huge improvements.
Huy.PhamNhu's user avatar
2 votes

Raspberry Pi USB 3 HAT or alternatives

Finally as of June 2019, the Raspberry Pi 4 Model B had been released: (source: raspberrypi.org) It comes with 2x USB 3.0, 2x USB 2.0, 2x 4K-Display support over Micro-HDMI, Gigabit Ethernet and up ...
Crsi's user avatar
  • 121
2 votes

Fast Copy from Raspi 3 to USB?

What's "slow"? A transfer from the SD card can't exceed the speed of the SD card reader, which with a decent card will be 15-20 MB/s and has an absolute theoretical maximum of 25 MB/s. At ~20 MB/s ...
goldilocks's user avatar
  • 58.7k
2 votes

raspberry pi 4 suddenly won't recognize nvme on USB3 port

When you have problems with devices using UAS driver, the first thing you should try is to disable UAS.
Dmitry Grigoryev's user avatar
2 votes

Issues installing RTL8812BU WIFI driver on Raspberry Pi 4 B

sudo apt-get install dkms git clone https://github.com/cilynx/rtl88x2bu.git cd rtl88x2bu VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${...
Morosan Valentin's user avatar
2 votes
Accepted

Hosting LAMP on SD-card in RPi now - would like to move whole database and website to External USB 3.0 SSD

I found an answer to my own question - it's even official documentation. Right here is a guide of moving all data from SD-card to USB-device and then boot the boot files from SD bot all other files ...
IT Blacksmith's user avatar
2 votes

USB camera not identified

According to the log, the camera connects to the bus and then immediately disconnects. I'd say a power issue is most likely. Disconnect all USB devices and plug just the webcam, see if it stays ...
Dmitry Grigoryev's user avatar
2 votes
Accepted

Raspberry Pi4 USB3 / SSD going to sleep

Posting an answer here to my own question. I ended up changing the NVME enclosure to be IcyBox enclosure (USB Type-C Enclosure for M.2 NVMe SSD, IB-1816M-C31) as that uses a different chipset (not ...
gibbotronic's user avatar
1 vote
Accepted

Sub-optimal Samba speeds (for external NTFS HDD)

OMG, seems like I've solved it! Now both Samba read/write are at ~70MB/s. To improve writing: add big_writes option to your /etc/fstab mounting NTFS HDD. Note that this option is deprecated since 2016 ...
FlasH from Ru's user avatar
1 vote

What's your experience in improving memory management (Swap on NVMe/SSD, zram, zswap)?

Never had the need to increase swap yet but have some experience with ssd's. If you install raspbian on the ssd, then your commands in the post should be ok to increase swap. Just be aware that NVME's ...
Radik's user avatar
  • 21
1 vote
Accepted

No devices listed in OMV: RPi3+RPiOS+USB-3 SSD

I got a clue to the right solution from @Andyroo's comments to the question. Andyroo suggested that I read the OMV docs and edit fstab. Unfortunately, that didn't work because my drive was being ...
Software Engineer's user avatar
1 vote
Accepted

Raspberry Pi loses connection when external drive is plugged in

The cause of problem as solved by @Reishin and @goldilocks was that the Pi didn't have enough power for itself and the drive. The solution to the problem is to connect the Pi to its own adapter. It ...
hrdwdmrbl's user avatar
  • 121
1 vote

PI4 - no boot from usb3 samsung t5

I solved (worked around) this problem by attaching the Samsung T5 drive to one of the USB2 ports. I'm assuming this is a kernel problem and will try the faster USB3 port again on later updates.
xastor's user avatar
  • 111
1 vote

External drive /dev/sdX label changes

Two USB-powered HDDs connected directly to the Pi 4 are ought to be underpowered, you can only get 1.2A from USB, which is 600 mA per HDDs. Most of external HDDs I've seen require 800-1000 mA to work ...
Dmitry Grigoryev's user avatar
1 vote

raspberry pi 4 with usb 3 adapter to sata harddrive write slower than usual

Check if you have UAS errors (e.g. sudo dmegs | grep uas): some USB3 storage devices perform better if you disable UAS and use them as good old mass storage. To do so, edit /boot/cmdline.txt and add ...
Dmitry Grigoryev's user avatar
1 vote
Accepted

Will SD-card in an RPi 4 always be faster than USB 3.0 writing/reading to an installed web-server?

USB flash drives can reach up 33MBytes/s, but there seem to be some limitations in the NAND itself so it will come down to the type of stick you get. However, the sd-card bus speed can reach up to ...
M. Rostami's user avatar
  • 4,293
1 vote

Will SD-card in an RPi 4 always be faster than USB 3.0 writing/reading to an installed web-server?

The SDCard interface is extremely slow compared to a USB 2.0 hard disk on my RPI3Bs. So a USB 3.0 SSD on a RPi4B is going to be even faster (USB 3.0 is faster, SSD is faster).
Dougie's user avatar
  • 5,271
1 vote

Performance of OS install on SD vs USB 3

The fastest SD card, equipped with the UHS-II interface, offers a reading speed of 312 MB/s, less than half the USB 3.0 standard (640 MB/s). After, the reading speed may vary from one key to another.....
koalatree's user avatar
1 vote

Raspberry pi and rs232

There should not be a problem connecting multiple USB serial dongles to the Raspberry Pi (you will need a hub if you need more dongles than the Pi has USB sockets). As an aside, note that the Pi has ...
joan's user avatar
  • 70.9k

Only top scored, non community-wiki answers of a minimum length are eligible