2021-07-22, 02:19 AM
You can simply edit the file hat.conf to manually specify which hardware you have attached.
Without the eeprom it cannot automatically detect what type of display or if there is an arduino or not.
for example:
{"remote":false,"host":"localhost","actions":{"auto":["ir030C1000","ir030C1800","KEY_POWER","gpio17","rf68012F50","rf7E1C2950","rf7E0C2950"],"menu":["ir030D1000","ir030D1800","KEY_MUTE","gpio23","rf64012F50","rf7D1C2950","rf7D0C2950"],"port1":["ir03201800","ir03201000","KEY_UP","gpio27","rf62012F50","rf771C2950","rf770C2950"],"starboard1":["ir03211800","ir03211000","KEY_DOWN","gpio22","rf61012F50","rf7B1C2950","rf7B0C2950"],"select":["ir030B1000","ir030B1800","KEY_SELECT","gpio18","rf6F1C2950","rf6F0C2950"],"port10":["ir03111800","ir03111000","KEY_LEFT","gpio6","rf3F1C2950","rf3F0C2950"],"starboard10":["ir03101800","ir03101000","KEY_RIGHT","gpio5","rf5F1C2950","rf5F0C2950"],"tack":["gpio26","rf7F1C2910","rf7F0C2910"],"dodge_port":[],"dodge_starboard":[],"engage":[],"disengage":[],"1":[],"-1":[],"2":[],"-2":[],"10":[],"-10":[],"compassmode":[],"gpsmode":[],"windmode":[],"tackport":[],"tackstarboard":[],"5":[],"-5":[],"center":[],"none":[]},"pi.ir":false,"arduino.ir":true,"arduino.nmea.in":false,"arduino.nmea.out":false,"arduino.nmea.baud":"38400","lcd":{"contrast":60,"invert":false,"backlight":10,"flip":false,"language":"en","bigstep":10,"smallstep":1},"hat":{"mpu":{"driver":"mpu9255","port":"\/dev\/i2c-1"},"lcd":{"driver":"jlx12864","port":"\/dev\/spidev0.0"},"arduino":{"device":"\/dev\/spidev0.1","resetpin":16,"hardware":0.23},"lirc":"gpio4"}}
Without the eeprom it cannot automatically detect what type of display or if there is an arduino or not.
for example:
{"remote":false,"host":"localhost","actions":{"auto":["ir030C1000","ir030C1800","KEY_POWER","gpio17","rf68012F50","rf7E1C2950","rf7E0C2950"],"menu":["ir030D1000","ir030D1800","KEY_MUTE","gpio23","rf64012F50","rf7D1C2950","rf7D0C2950"],"port1":["ir03201800","ir03201000","KEY_UP","gpio27","rf62012F50","rf771C2950","rf770C2950"],"starboard1":["ir03211800","ir03211000","KEY_DOWN","gpio22","rf61012F50","rf7B1C2950","rf7B0C2950"],"select":["ir030B1000","ir030B1800","KEY_SELECT","gpio18","rf6F1C2950","rf6F0C2950"],"port10":["ir03111800","ir03111000","KEY_LEFT","gpio6","rf3F1C2950","rf3F0C2950"],"starboard10":["ir03101800","ir03101000","KEY_RIGHT","gpio5","rf5F1C2950","rf5F0C2950"],"tack":["gpio26","rf7F1C2910","rf7F0C2910"],"dodge_port":[],"dodge_starboard":[],"engage":[],"disengage":[],"1":[],"-1":[],"2":[],"-2":[],"10":[],"-10":[],"compassmode":[],"gpsmode":[],"windmode":[],"tackport":[],"tackstarboard":[],"5":[],"-5":[],"center":[],"none":[]},"pi.ir":false,"arduino.ir":true,"arduino.nmea.in":false,"arduino.nmea.out":false,"arduino.nmea.baud":"38400","lcd":{"contrast":60,"invert":false,"backlight":10,"flip":false,"language":"en","bigstep":10,"smallstep":1},"hat":{"mpu":{"driver":"mpu9255","port":"\/dev\/i2c-1"},"lcd":{"driver":"jlx12864","port":"\/dev\/spidev0.0"},"arduino":{"device":"\/dev\/spidev0.1","resetpin":16,"hardware":0.23},"lirc":"gpio4"}}