I have just received my Quad SATA NAS kit and tried to set it up:
After burning raspbian-lite to a uSD card I updated, upgraded and did:
sudo rpi-upgrade
for good measure.
After reading some posts here: Quad SATA kit top hat install script missing I did:
sudo raspi-config
To enable I2C and SPI interfaces, then did:
sudo nano /etc/modules
to load kernel modules i2c-dev and i2c-bcm2708, after rebooting I checked that I could see i2c devices:
i2cdetect -y 1
Which outputs:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- 3c – -- –
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – 51 – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
Then I started following the instructions here: Dual_Quad_SATA_HAT Wiki and after the Software Support part and some errors related to permissions on pip and pip/cache directories I ran the command listed with -H flag:
curl -sL https://rock.sh/get-rockpi-sata | sudo -H -E bash -
Which ran with no issues, after a while, lights started to blink, the SATA HAT Top fan started to spin and lsblk
showed my 2 1TB drives … but no information on the OLED display or any change triggered by the push button…
systemctl status rockpi-sata.service
Outputs:
rockpi-sata.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor preset
Active: active (running) since Thu 2020-05-28 17:32:19 BST; 27min ago
Main PID: 1091 (python3)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/rockpi-sata.service
├─1091 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
└─1506 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
May 28 17:32:19 raspberrypi systemd[1]: Started Rockpi SATA Hat.
May 28 17:32:33 raspberrypi /main.py[1506]: The sensor will take effect after reboot.
I’d appreciate some help troubleshooting or fixing this issue, as far as I know there is some PWM action going on because SATA HAT Top fan speed has been changing from time to time, it’s just that tit would be nice to have information display on the OLED display…