[WIP] Add Jupiter SDR specific scripts
There are 2 new files for Jupiter:
fan-control.service and fan-control (sh script)
I have added them in /jupiter_scripts and will be moved on desired paths on 'make install'.
We need to add a condition here to enable & start the fan-control service only when there is detected "Jupiter SDR" host.
This information can be get from "/sys/firmware/devicetree/base/model". It would be great to add this condition directly in fan-control.service, but if it's not possible, maybe have a wrapper script that will first check the 'model', and ony if it is "Jupiter SDR" to start & enable this service.
The second big change here is on fix_x11.sh:
- extended condition to cover Jupiter case
- delete file created by enable_dummy_display, if exists
- fix DP audio sampling rate (to get rid of dmesg errors)
Probably will need to split the fix for audio driver in a separate script - X11 being related only to video. But we still can have a wrapper over both - fix_x11.sh and fix_audio.sh.
It would be great to run this script on start up, or to have a service, that runs fix_x11.sh and fix_audio.sh automatically is case the platform is a zynq_mp one.
Just change the name of the new service (jupiter.service), since it's not specific only to Jupiter, but also to zcu102 and adrv9009-zu11g. Due to the same reason, maybe it's better to move it one level up, not in 'jupiter_script' folder
Maybe a name like 'display_port_fixes.service'
v2:
- changed service name to fix-display-port.service
- moved service from the jupiter folder