Firefly Open Source Community

Title: Screen Scale in RK3288 [Print This Page]

Author: jvasanthan    Time: 12/6/2016 17:44
Title: Screen Scale in RK3288
Hi,

I am using Android lollipop in firefly RK3288. We are connecting firefly to a HDMI touch screen.
Sometimes in few of our screen the visual goes out of screen and we use Settings->Display->Screenscale option to bring it to normal. The issue is after reboot the scale settings are getting reset.

How to make firefly to remember the screen scale settings.

Author: mo123    Time: 12/6/2016 23:11
You can build a kernel with a default screen scale that you need.
In SDK/kernel/drivers/video/rockchip/hdmi/rockchip-hdmi.h you can set the screen scale 99%, 95% etc. that fits your needs.
It should also be possible to change the screen scale in the build.prop file but maybe someone else knows how to do it.

Author: jvasanthan    Time: 12/13/2016 18:01
Hi,

The issue is we have different screen scale for different monitors, it is impossible to make a change in the kernel for each screen.FF already has a screen scale settings but the settings are not stored thats the problem.
Author: isle    Time: 12/14/2016 09:50
Hi javasanthan
  Yes,we designed the screen scale setting not stored.
  If you want to stored , just save the settings ,and then read the settings ,set it to work after the system is ready.
  that there is no much work to do .
Author: ron    Time: 12/26/2016 19:51
isle Posted at 12/14/2016 09:50
Hi javasanthan
  Yes,we designed the screen scale setting not stored.
  If you want to stored , ju ...

Hi Isle,

I had the same need to pre-set the screen scale and resolution.

Could you please elaborate a little bit details on how to "save the settings ,and then read the settings"? Is it done in App level or do I need to build it into the system.img?
Author: ron    Time: 12/26/2016 20:17
ron Posted at 12/26/2016 19:51
Hi Isle,

I had the same need to pre-set the screen scale and resolution.

I actually followed the instruction above to set the config in SDK/kernel/drivers/video/rockchip/hdmi/rk-hdmi.h to tune the default scale and hdmi_mode and re-build the kernel.img, system.img.  While it does nothing after I flashed the new image...
Author: hughsco171    Time: 1/10/2026 00:33
What a brilliant piece of writing, thank you for sharing it. Certification Manufacturing-Cloud-Professional sample questions questions shared for free. Best of luck in your exam preparations!
Author: markfor946    Time: 7 day before
This article is incredible, thank you for sharing it with us! Hope the AI-102 exam cram pdf exam goes smoothly ¨C wish me luck!
Author: nickhil757    Time: yesterday 23:17
Your article had such an impact on me, thank you for sharing it. I¡¯m sharing the 401 frenquent update questions that made my promotion and raise possible¡ªget them for free!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1