Input issue for imx8 virtualization

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Input issue for imx8 virtualization

Jump to solution
2,402 Views
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 Kudos
Reply
1 Solution
2,219 Views
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

View solution in original post

0 Kudos
Reply
13 Replies
2,397 Views
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 Kudos
Reply
2,328 Views
zfreeman2321
Contributor I

Hi,

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

0 Kudos
Reply
2,389 Views
zfreeman2321
Contributor I
  • yes, Android and Linux is booting ok.
  • And how to config for usb mouse in kernel?
0 Kudos
Reply
2,384 Views
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 Kudos
Reply
2,371 Views
zfreeman2321
Contributor I

hi,

There are sth wrong when I execute the cmd,

zfreeman2321_0-1636597856132.png

 

0 Kudos
Reply
2,366 Views
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 Kudos
Reply
2,352 Views
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 Kudos
Reply
2,354 Views
zfreeman2321
Contributor I

hi,

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

0 Kudos
Reply
2,220 Views
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 Kudos
Reply
2,348 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

That is correct!

0 Kudos
Reply
2,311 Views
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 Kudos
Reply
2,298 Views
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 Kudos
Reply
2,283 Views
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 Kudos
Reply