Hi, I just received my Penta SATA Kit for my Rock Pi 4 and installed it.
I run my rock pi with Ubuntu Server 18.04 (downloaded from the wiki). I managed to make the screen working with the command curl -sL https://rock.sh/get-rockpi-penta | sudo -E bash - but it seems that I can’t change the configuration.
When I edit the file /etc/rockpi-penta.conf nothing change on the hardware. For example I changed the screen rotation and it didn’t changed on the screen.
I tried to restart multiple time the service (sudo systemctl restart rockpi-penta.service), restart the rock pi 4 and even updated it (sudo apt-get upgrade) but nothing change. Also, the button doesn’t work, when I press it nothing happens.
Can you help me ? I can give more informations about my hardware and software if needed.
Thanks
EDIT :
I managed to make it work by renaming /etc/rockpi-penta.conf into /etc/rockpi-sata.conf, as in /usr/bin/rockpi-penta/misc.py, the program is looking at a config file named rockpi-sata.conf
When I press it nothing happen, no message nor screen changes. Maybe I can look to a log file ?
Also, I can’t find the code wich handle the button press, maybe I can add a print out to understand the situation
Here is what I got in journalctl :
Jun 09 11:35:40 rockpi systemd[1]: Started Rockpi SATA Hat.
Jun 09 11:35:40 rockpi libmraa[1530]: libmraa version v2.1.0-1-geed896e initialised by user ‘root’ with EUID 0
Jun 09 11:35:40 rockpi libmraa[1530]: gpio: platform doesn’t support chardev, falling back to sysfs
Jun 09 11:35:40 rockpi libmraa[1530]: libmraa initialised for platform ‘ROCK Pi 4’ of type 20
Jun 09 11:35:40 rockpi libmraa[1530]: pwm_init: pwm0 already exported, continuing