Hi all,
after fixing my resolution issues with a lot of help of kalkov (many thanks for that), I reached another rock (of three rocks - hm, two rocks and a stone) that has to move out of the way.
Due to the screen has the connectors on the upper left corner, I have to rotate the screen by 180 degrees to mount it in the screen housing that will be placed at the top of the cockpit in the car. The housing is not wide enough for the cabling. That means, that the display has to be rotated by 180 degrees, too.
Basically, I found to switches for the config.txt that can be used for rotation:
lcd_rotate=[0-3] 0,90,180,270
display_rotate=[0-3]
lcd_rotate should rotate the screen and the touchscreen (if in place - yes, it is).
display_rotate will only rotate the screen. The touchscreen stays in the former angle.
As I found out, the option "lcd_rotate" is not working for me at all. Neither the display, nor the touchscreen is rotating by any option. Only "display_rotate" works fine. The boot messages and the Android Desk are on 180 deg now. But, as expected unfortunately, the touchscreen is totally wrong now and is bottom up.
I found other topics, where some Android apps are adviced to change or rotate the screen. Yes, they are working, but the whole post and boot is bottom up then. Also the first seconds after Android desk appears are bottom up. In sum, the whole boot sequence don't look "right".
Is there an option to rotate the display and the touchscreen from beginning?
Did I do a mistake and the option "lcd_rotate" is working normally?
Many thanks and best regards,
Garfield73
PS:
some short words about the other two stones:
- GPS UBS dongle is not available so far, hope to fix that with UsbGps4Droid - will see.
Maybe my GPS dongle is too rare - Diymall Vk-172 vk 172 Gmouse. But has RasPi3 support, will be shown as /dev/ttyACM0 in Raspian.
- Found that very nice Cockpit app "RealDash" from Napko. Unfortunately, the app closes directly after start on RasPi3.
Going to contact the creator right after fixing the rotation and GPS topics
Further plans:
right after fixing these "stepstones", the next idea is a separate power supply with an own battery that keeps the RasPi online for some days before shut it down automatically. Only the screen will be powered from the ignition circuit.