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,939 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,756 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,934 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,865 Views
zfreeman2321
Contributor I

Hi,

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

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

hi,

There are sth wrong when I execute the cmd,

zfreeman2321_0-1636597856132.png

 

0 Kudos
Reply
2,903 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,889 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,891 Views
zfreeman2321
Contributor I

hi,

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

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

That is correct!

0 Kudos
Reply
2,848 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,835 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,820 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