Just upgraded from Pi with CAN-hat to Cerbo. Lovely unit BTW.
A few tweaks in Pi for HDMI screen resolution etc required changes to config.txt but I cannot find it on Cerbo.
Many thanks.
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hi @SV-Gabrielle,
there is no such file for the Cerbo GX.
But you can try searching for it using the powerful 'find' command.
find / -name config.txt
Yes thank you, tried that before posting.
So where can I force a hdmi screen width/height?
My LCD screen is 1024x600 resultion. If reboot wth hdmi disconnected then connect hdmi, I get the correct resolution:-
root@einstein:~# fbset
mode "1024x600-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 1024 600 1024 1200 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
If however I reboot with hdmi connected, Cerbo sets resultion to 1024x768 so I lose bottom 20% of screen:-
root@einstein:~# fbset
mode "1024x768-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 1024 768 1024 1536 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Many thanks.
it would help a lot when you try to follow some community basics, for example don't write an answer to your own question (unless you answer your question of course).
Instead try using Reply or Comment to keep this in a structure that everyone can follow. And it makes it easier for those trying to help because they get notified of it.
I think the best place for fbset and parameters is /etc/rc.local
But this might not survive a firmware update. Therefor you need to trick it.
Here is how it's done: Hooks to install/run own code at boot
24 People are following this question.