Android Things: Set screen resolution

余生颓废 提交于 2019-11-30 14:23:25

问题


I have a small screen attached to my Raspberry Pi and according to the documentation for the screen:

Write the image to a TF card and append the following lines to the config.txt file which is located in the root of your TF card:

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

You must make sure that there are no spaces on either side of the equal sign.

But I can't do this on the Android Things drive, as the disk image is not readable


回答1:


The original answer was found HERE, and my saviour gave his answer HERE

Create a mounting position:

mkdir ~/mnt/sd

Mount the sd card:

sudo mount -t msdos /dev/disk2s1 ~/mnt/sd

Make changes to the config.txt, in my case:

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

To unmount:

sudo umount ~/mnt/sd/


来源:https://stackoverflow.com/questions/41534530/android-things-set-screen-resolution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!