Hi Everyone,
I am having an issue and I hope I can get some idea. First I am very new to this, as in All I know is that I was able to flash resin io and Screenly OSE to my raspberry pi 3 and I can connect to it.
I need to rotate the display 90 degrees and according to what I read I can do so be entering this in Balena cloud to manage it.
RESIN_HOST_CONFIG_display_rotate=1
When it pushes out to the raspberry pi from balena cloud, the setup file is altered and then it locks up. If I then reboot the networking does not work.
If I manually add it to the file via the SD card it gets erased as soon as the unit connects to Balena Cloud.
Any Idea how to fix this or suggestions are welcome.
I had problems with this couple of weeks ago and I’ve found that the variable RESIN_HOST_CONFIG_display_rotate does not work for me and that I have to use RESIN_HOST_CONFIG_lcd_rotate=2, which rotates display up side down. Can you try it with this variable?
You can set it in this way:
open your application
click on your device
click on DEVICE configuration on the left side
scroll down & click on the Add custom variable button
what do you mean with Nothing happens? Your device should reboot automatically when you change the variable. You do not need to reflash it (unless there’s something really wrong).
Just to confirm, it should reboot and have the display rotated, even if I’m using the Asus Tinker Board S with the DEV image, running in Local Mode, right?
@zrzka and @galvesribeiro unfortunately the RESIN_HOST_CONFIG_lcd_rotate setting is specific only to the raspberry pi family, since as far as I know the ASUS tinker board doesn’t have the same config.txt settings that the RPI boot loader uses, so screen rotation will need to be done some other way
Yeah, looking at the forums, the best is going by software rotation. Not much we can regarding the Tinker Board not using a similar functionality as config.txt on the Raspberry Pi. And Android is quite a different setup in many ways than regular Linux. Looking at the Tinker Board forums now, but haven’t seen much useful info otherwise. These are limitations of the hardware at hand.
Still we are checking whether the Tinker Board forums turn up any other ways of solving things.
The Fin is a Raspberry Pi Compute Module, so that supports all the config.txt functionality,
I’ve seen that forums post, just checking whether the Framebuffer Console would cover all the outputs as well (for graphics in general), as that kernel parameter might be easy to enable, and then can change the rotation at runtime. Will try to build a version of the OS with that enabled, and see whether it works.
It’s not kernel parameter, it’s a kernel configuration that needs to be enabled and the kernel compiled, and it’s not the standard setting in ASUS’s own setting. hence I mentioned that we’ll need to try a custom build, test out the working of that parameter, and possibly add it as a custom setting to our board support.
For Brazilian import, yeah, heard stories, unfortunately. I wonder if @ntzovanis or @asarto88 have some ideas about making it easier…
We are trying to fix up one more console related issue, and likely will be able to do some builds for you in a few days (maybe sooner rather than later).
Hey, I did some more tests while working on this, and actually it seems like a hunch I had was correct - this is just rotating the framebuffer console, not the whole framebuffer. If I display something on the framebuffer directly (eg. using fbi to show an image on /dev/fb0), that rotation doesn’t do anything, since it’s not the console anymore.
Thus while we are still preparing a newer release with this setting enabled (and hopefully some other console fixes), this is likely not what you should be using. The ideal way is still the software rotation, most likely… But will keep you posted about what we find.