android-things - Android Things : Set screen resolution

标签 android-things

我在Raspberry Pi上安装了一个小屏幕,并根据屏幕的documentation:

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.



但是我无法在Android Things驱动器上执行此操作,因为磁盘镜像无法读取

最佳答案

找到原始答案HERE,我的救主给了他答案HERE

创建安装位置:
mkdir ~/mnt/sd
挂载SD卡:
sudo mount -t msdos /dev/disk2s1 ~/mnt/sd
在我的情况下,请对config.txt进行更改:

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

卸载:
sudo umount ~/mnt/sd/

关于android-things - Android Things : Set screen resolution,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41534530/

相关文章:

java - Android Things - 如何在命令 mLedGpio.setValue(true) 后保持 LED 不间断地开启

android - 如何更新 Android Things-Apps?

android-things - 如何在 Android Things OS 中重置默认应用程序?

android - 适用于 Raspberry Pi 3 的 Android Things 上的 UART 外设

adb - 通过以太网线将 AndroidThings 连接到 adb

raspberry-pi3 - Android Things 麦克风支持

android - 在 Android Things 上扫描 Wifi 网络返回空列表

android-things - 启用Raspberry Pi的内部上拉电阻?

android - 如何在 Android Things 上添加 Google map 库?

android - 如何在树莓派 3 上停止 Android Things 应用程序并开始另一个 Activity