分页: 1 / 1

请问怎么在内核文件里添加 psi=1

发表于 : 2023-06-11 22:45
angel725
我在ubuntu里安装waydroid。
但是启动时出现了错误:
[code]
[22:23:33] Failed to get service waydroidplatform, trying again...
[22:23:34] Failed to get service waydroidplatform, trying again...
[22:23:35] Failed to get service waydroidplatform, trying again...
[22:23:36] Failed to get service waydroidplatform, trying again...
[22:23:37] Failed to get service waydroidplatform, trying again...
[22:23:38] Failed to get service waydroidplatform, trying again...
[22:23:39] Failed to get service waydroidplatform, trying again...
[22:23:40] Failed to get service waydroidplatform, trying again...
[22:23:41] Failed to get service waydroidplatform, trying again...
[22:23:42] Failed to get service waydroidplatform, trying again...
[22:23:43] Failed to get service waydroidplatform, trying again...
[/code]
网上找了半天,github上有一个帖子写:
[quote]
/etc/gbinder.d/anbox.conf


[Protocol]
/dev/anbox-binder = aidl2
/dev/anbox-vndbinder = aidl2
/dev/anbox-hwbinder = hidl

[ServiceManager]
/dev/anbox-binder = aidl2
/dev/anbox-vndbinder = aidl2
/dev/anbox-hwbinder = hidl

then try to remove the waydroid-sensors package , on the kernel the psi must be enabled, you must add to grub psi=1[/quote]

但是我不知道在哪里添这句psi=1.
按他给的目录,我的系统里没有这个文件。

谢谢



[code]system:ubuntu 22.04.2 lts
[/code]

Re: 请问怎么在内核文件里添加 psi=1

发表于 : 2023-06-11 22:50
angel725
system:ubuntu 22.04.2 lts
uname -a显示: Linux orangepi5plus 5.10.110-rockchip-rk3588 #1.0.6 SMP Thu Jun 1 11:43:16 CST 2023 aarch64 aarch64 aarch64 GNU/Linux

Re: 请问怎么在内核文件里添加 psi=1

发表于 : 2023-06-14 10:29
astolia
这个是指内核命令行参数。在grub配置中添加。编辑/etc/default/grub,加到GRUB_CMDLINE_LINUX_DEFAULT或GRUB_CMDLINE_LINUX里面,保存后执行sudo update-grub,并重启