Android Things: display not working

I used to use mine RaspberryPi

with Waveshare LCD and was installed Raspbian

so there were no display issues, but now I have an Android Things

SDK so how can I get the display to work with it? Since Waveshare provided different OS image Raspbian

, how do I get its Android Things

OS driver ?

I followed this and this for a raspberry-pi setup.

+2


source to share


2 answers


At the moment, the Android Things

image does not come with a default setting to display in a config.txt

file, which is at the root of your SD card (see download section). The configuration must be added manually. Find the correct display configuration in the supplied documentation or manufacturer's website.

For example, in my case, for the Waveshare 5inch 800x480 HDMI LCD (B)

following lines should be added to config.txt

:



max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0

      

In fact, the parameters max_usb_current

, hdmi_group

and hdmi_mode

with the values ​​above should work for a wide range of displays from different manufacturers. The screen resolution hdmi_cvt

will change.

+3


source


Latest versions of Android OS automatically detect any kind of display and change the settings for it.

So, first I will recommend you check if your raspberry pi will boot from your SD card or not. bcc latest ie 5.0 and 5.1 does not work with raspberry pi appropriately (personal experience).



So, check first that your crimson pi is giving you ACT light and not just a steady red light.

+1


source







All Articles