Currently i am playing with an QT5 application compiled for balena (rpi3) and running in an balena application container (mounted /dev/fb0, capa: SYS_RAWIO) that shall output on the framebuffer device /dev/fb0. I am trying this approach to avoid using a X server.
What is working right now within the container:
Starting my application like this and it occurs on the screen.
/usr/local/bin/app -platform linuxfb:fb=/dev/fb0
Howewrver i am confronted with some obstacles here:
- Any redraw on the framebuffer that comes from balena overwrites my screen
- I have no control over the program. If i run the application on my dev host, i get a mouse and keyboard input.
So my questions are:
- How do i prevent balena from outputting anything to /dev/fb0
- How do i get the mouse and keyboard working?