Good Day
I need help to get the Quad SATA Raspberry Pi Hat to work. It’s not showing up at all on the I2C check.
WHAT HAVE I DONE:
-
Installed Debian OS Lite.
-
Updated all OS software.
sudo apt update
sudo apt upgrade -
Installed OpenMediaVault
wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash -
Followed the instructions on the RadXa website:
curl -sL https://rock.sh/get-rockpi-sata | sudo -E bash -JMICORN Controller incorrectly reporting serial numbers. “fix” this by adding a rule to /lib/udev/rules.d/60-persistent-storage.rules after the entry for “Fall back usb_id for USB devices”: # Fix Quad SATA HAT disk serial number KERNEL=="sd*", ATTRS{idVendor}=="1058", ATTRS{idProduct}=="0a10", SUBSYSTEMS=="usb", PROGRAM="/root/serial.sh %k", ENV{ID_SERIAL}="USB-%c", ENV{ID_SERIAL_SHORT}="%c" You will also need to create /root/serial.sh containing the following:
#!/bin/bash
/sbin/hdparm -I /dev/$1 | grep ‘Serial Number’ | awk ‘{print $3}’And you need to add execute permission to the file via the following: chmod +x /root/serial.sh Finally, install the hdparm. sudo apt-get install hdparm
-
Then followed the troubleshooting guidelines to install:
install i2c-tools and check below
sudo apt-get install i2c-tools
sudo i2cdetect -y 1
The result is that the HAT isn’t registered:
pi@PINAS2:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – --
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – 51 – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
Any suggestions how to fix this?