Template: USB 3.2 Gen1 HUB Gigabit ETH HAT Guide
From Waveshare Wiki
Revision as of 09:55, 13 August 2021 by Waveshare-eng11 (talk | contribs)
Expected Result
Take Raspberry Pi 4B as an example
- Insert the module to 40PIN GPIO of Raspberry Pi 4B. Connect the USB interface of USB HUB to Raspberry Pu by the USB 3.0 Adapter.
- Connect 5V power supply to the POWER ONLY port.
- Connect USB devices to USB ports *USB1~UBS4), the corresponding LED will turn on for indicating.
Working with Raspberry Pi
1. Hardware preparation
- Raspberry Pi 4B x1
- USB 3.2 Gen1 HUB Gigabit ETH HAT x1
- USB 3.0 Adapter x1 (You also use USB3,0 cable)
- USB 3.0 SSD x1
2.Configure Rasberry Pi
- Enter the root directory of Pi
cd ../..
- Enter the directory of USB3.0 SSD
cd media/pi/xxx (xxx is the name of the disk)
- Free memory
sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
- Copy 2G data to the SSD disk.
dd if=/dev/zero of=./test_write count=2000 bs=1024k
- Copy 2G data to the Raspberry Pi
dd if=./test_write of=/dev/null count=2000 bs=1024k
3.Working with Ubuntu (Raspberry Pi)
- Search disk in menu->Enter->Open the disk
- Choose the correct disk and click the Benchmark Partition option in the Menu
- Click Start Benchmark,Check Perform write-benchmark. and keep other default settings.
- Input the user password and authorize.
- Test
Working in Windows PC
1.Connect the USB port ot USB3.0 of PC, and you can copy file to SSD
- Copy file to the PC
- Copy file to the portable SSD