Redroid does not support button drive,/dev/input/event2
Describe the bug Redroid does not support button drive,/dev/input/event2
make sure the required kernel modules present
grep binder /proc/filesystemsgrep ashmem /proc/misc
collect debug logs
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
Screenshots
Take a look at vendor/redroid/redroid.common.rc, those interfaces are removed on purpose. Someone run redroid on desktop environment (stream via scrcpy), and input events will be sent twice if not removed.
exec -- /bin/rm -rf /dev/input
# inputflinger require this dir
mkdir /dev/input
你看
vendor/redroid/redroid.common.rc,那些接口是故意去掉的。有人在桌面环境上运行redroid(通过流scrcpy),如果不删除输入事件将发送两次。exec -- /bin/rm -rf /dev/input # inputflinger require this dir mkdir /dev/input
So how can I have it? It's removing
You can adjust vendor/redroid/redroid.common.rc to get host input devices mounted.
And https://github.com/remote-android/platform_system_core/blob/redroid-11.0.0/rootdir/ueventd.rc#L12
Take a look at
vendor/redroid/redroid.common.rc, those interfaces are removed on purpose. Someone run redroid on desktop environment (stream viascrcpy), and input events will be sent twice if not removed.exec -- /bin/rm -rf /dev/input # inputflinger require this dir mkdir /dev/input
这个调查过是为什么吗,我想修改scrcpy源码 适配