Input issue for imx8 virtualization

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Input issue for imx8 virtualization

跳至解决方案
2,155 次查看
zfreeman2321
Contributor I

hi, 

I have running Linux & Android guest OSes on IMX8qm board as <i.MX Virtualization User's Guide> desc.

But there is no input w/ usb mouse or keyboard plug-in the usb slot.

How to fix it?

Thank you.

0 项奖励
1 解答
1,972 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

I could not make Xen work on 4.14.98 but I have it running on 5.4.70 and the USB mouse and keyboard are working properly, even when plugged at runtime.
I have used default Xen configuration for Linux DomU /etc/xen/domu-imx8qm-mek.cfg.
So migrating to 5.4.70 should fix the issue.

Regards

在原帖中查看解决方案

0 项奖励
13 回复数
2,150 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello zfreeman2321,

Android and Linux is booting ok in the virtualization? The usage of external mouse trough USB should be in kernel configuration, or check if the mouse is present in /dev/usbX.

 

Regards

 

0 项奖励
2,081 次查看
zfreeman2321
Contributor I

Hi,

There is no device in /dev like /dev/usbX...

0 项奖励
2,142 次查看
zfreeman2321
Contributor I
  • yes, Android and Linux is booting ok.
  • And how to config for usb mouse in kernel?
0 项奖励
2,137 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

Before booting or running the image check the USB it is available with:

Bitbake -c menuconfig linux-imx

 

Regards

0 项奖励
2,124 次查看
zfreeman2321
Contributor I

hi,

There are sth wrong when I execute the cmd,

zfreeman2321_0-1636597856132.png

 

0 项奖励
2,119 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

You are playing a kernel version that is not supported anymore, please upgrade to new kernel 5.10.52 BSP.

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Regards

 

0 项奖励
2,105 次查看
zfreeman2321
Contributor I

hi, 

Also I found that the 'imx-xen' project has not supported L5.10 kernel yet?

So, I think it could not be used in the virtualization build. Right?

0 项奖励
2,107 次查看
zfreeman2321
Contributor I

hi,

if upgrade to L5.10.52, must the Android version be 11?

0 项奖励
1,973 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

I could not make Xen work on 4.14.98 but I have it running on 5.4.70 and the USB mouse and keyboard are working properly, even when plugged at runtime.
I have used default Xen configuration for Linux DomU /etc/xen/domu-imx8qm-mek.cfg.
So migrating to 5.4.70 should fix the issue.

Regards

0 项奖励
2,101 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

That is correct!

0 项奖励
2,064 次查看
zfreeman2321
Contributor I

"Android and Linux is booting ok in the virtualization? The usage of external mouse trough USB should be in kernel configuration, or check if the mouse is present in /dev/usbX."

 

In response,  I checked that there is no device in /dev like /dev/usbX..

0 项奖励
2,051 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

What OS version are you using?
What hypervisor?

The "i.MX Virtualization User's Guide" seems to be a quite old document, please check instead "Chapter 12 Virtualization" in i.MX_Linux_Users_Guide. For Xen hypervisor there is an example of DomU configuration that contains USB configs.

 

Regards

0 项奖励
2,036 次查看
zfreeman2321
Contributor I

hi, 

I used L4.14.98 , android P and xen hypervisor as "i.MX Virtualization User's Guide" desc.

And using the default configs in source code tree 

0 项奖励