Input issue for imx8 virtualization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Input issue for imx8 virtualization

ソリューションへジャンプ
2,294件の閲覧回数
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 解決策
2,111件の閲覧回数
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,289件の閲覧回数
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,220件の閲覧回数
zfreeman2321
Contributor I

Hi,

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

0 件の賞賛
2,281件の閲覧回数
zfreeman2321
Contributor I
  • yes, Android and Linux is booting ok.
  • And how to config for usb mouse in kernel?
0 件の賞賛
2,276件の閲覧回数
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,263件の閲覧回数
zfreeman2321
Contributor I

hi,

There are sth wrong when I execute the cmd,

zfreeman2321_0-1636597856132.png

 

0 件の賞賛
2,258件の閲覧回数
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,244件の閲覧回数
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,246件の閲覧回数
zfreeman2321
Contributor I

hi,

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

0 件の賞賛
2,112件の閲覧回数
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,240件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

That is correct!

0 件の賞賛
2,203件の閲覧回数
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,190件の閲覧回数
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,175件の閲覧回数
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 件の賞賛