Android 事情:设置屏幕分辨率
Android Things: Set screen resolution
我有一个小屏幕连接到我的 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 驱动器上执行此操作,因为磁盘映像不可读
原来的答案找到了, and my saviour gave his answer
创建安装位置:
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/
我有一个小屏幕连接到我的 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 驱动器上执行此操作,因为磁盘映像不可读
原来的答案找到了
创建安装位置:
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/