The part that eluded me from their original code was that some of the drivers were not compatible with Linux beyond the 5.1 or whatever they made it for. Connor helped me find a good patchset someone made for Raspberry Pi’s Linux kernel. I’m not finding the link right now.
I set it up. Then I had some challenges effectively moving the .dtbo files from the build directory to the right place.
Finally wrapped that up and it works.
I’ve done a number of iterations while travelling but haven’t managed to rotate the text mode display.
I also haven’t gotten the wifi working. If I don’t mount it in config.txt and run dtoverlay devterm-wifi it will tell me error -30 and that it failed to write /config which seems very odd.
I almost got USB connection working but the USB-C ports are weird on Pi-derived devices sometimes and this seems weird. I think I might get it if I find my OTG USB-A-to-A cable.
I tried rotating this sucker for my entire train ride up until the night train heading to Code BEAM.
Frank found the incantation in the last few hours if the conference (I think it took him several minutes and ChatGPT did not give the necessary answer).
Fixed rollerball. Was a weston.ini config that differed from the ReTerminal DM which I am hacking off of.
Was lovely to use until it … turned off. Speculating but I think the default overclock of the ReTerminal is no good on battery/no cooling. So removing that.
@ericr3r asked for the rotation of the text-mode display and I hadn’t even pushed the commit. So I did. Here it is:
The entire diff is this on the linux defconfig:
+ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
This allows fbcon to control the framebuffer orientation and all that. I didn’t have to change any rotation which I guess… great? Otherwise I could have put that in the cmdline.txt.
This leaves me wondering. Is there a way to inject some UI into Livebook in a graveful way. Would be cool to have battery status and connection indicator