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

CPU/显卡/打印机/USB设备等硬件问题
回复
angel725
帖子: 29
注册时间: 2006-12-15 18:55

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

#1

帖子 angel725 » 2023-06-11 22:45

我在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]
上次由 angel725 在 2023-06-11 22:51,总共编辑 2 次。
angel725
帖子: 29
注册时间: 2006-12-15 18:55

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

#2

帖子 angel725 » 2023-06-11 22:50

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
头像
astolia
论坛版主
帖子: 6454
注册时间: 2008-09-18 13:11

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

#3

帖子 astolia » 2023-06-14 10:29

这个是指内核命令行参数。在grub配置中添加。编辑/etc/default/grub,加到GRUB_CMDLINE_LINUX_DEFAULT或GRUB_CMDLINE_LINUX里面,保存后执行sudo update-grub,并重启
回复