在 CM3 上使用 Raspberry Pi Display 和 Android Things [英] Using Raspberry Pi Display on CM3 with Android Things

查看:74
本文介绍了在 CM3 上使用 Raspberry Pi Display 和 Android Things的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Android Things 作为操作系统在 Raspberry Pi 3 上开发应用程序.我开始使用带有官方触摸屏的普通 Raspberry Pi 3.一切正常,所以我在带有 rpi 计算模块 3 lite (CM3L) 的开发板上尝试了相同的设置.不幸的是,显示器没有打开.

I'm developing an app on Raspberry Pi 3 using Android Things as OS. I started using the normal Raspberry Pi 3 with the official touch screen. Everything worked fine, so I tried the same setup on the development board with the rpi compute module 3 lite (CM3L). Unfortunately the display doesn't turn on.

经过一番研究,我发现了这个:https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-display.md

After some research I found this: https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-display.md

似乎我必须在操作系统上调整 SDA 和 SLC 的选项以及更改设备树.但是当我使用 Android Things 作为操作系统时,我不知道这是否可能.有没有办法将 adb cli 用于这样的配置?

Seems like I have to adjust the options for SDA and SLC on the OS as well as changing the device tree. But as I am using Android Things as OS, I don't know if this is even possible. Is there a way to use the adb cli for configs like this?

推荐答案

CM3/CM3L 不在 Android Things 支持的硬件平台中,所以似乎不可能在操作系统级别正确配置官方 Raspberry DSI 触摸屏.但是,如果 Android Things 真的可以在 CM3 上运行,您可以使用非 DSI 接口的显示器,例如像 this 带有 用户空间驱动程序,用于像 那个.

CM3/CM3L is not in Android Things Supported Hardware Platforms, so seems it's impossible to configure official Raspberry DSI touch screen properly on OS level. But, if Android Things really works on CM3, you can use display with non DSI interface, e.g., HDMI like this with User Space Driver for touch like that.

这篇关于在 CM3 上使用 Raspberry Pi Display 和 Android Things的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆