Linux for IMX8 : switch to virtual console

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

Linux for IMX8 : switch to virtual console

Jump to solution
3,334 Views
tan-k
Contributor III

Hi,

I need to switch to virtual console.
I try, but have an issue. Cannot switch to virtual console sometimes.
Could you please tell me this solution?
About details, please refer below.

[Environment]
Evaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)
Linux for i.MX : Linux 5.4.70_2.3.0​ (Download "L5.4.70-2.3.0_images_MX8MMEVK.zip" and flash "imx-image-full-imx8mmevk.wic" to SD card.)

[Procedure]
1.Trun on the power to evaluation kit. Then boot from SD card.
  ->Wayland Weston desktop is shown on the screen.
2.Press "Ctrl + Alt + Fn1(or Fn2-Fn6)" key to switch to virtual console.
  ->Virtual console screen is shown for a second, then Wayland Weston desktop is shown.
    Move the mouse, but the pointer on the screen does not move.
3. Press "Ctrl + Alt + Fn7" key to return Wayland Weston desktop.
  ->Move the mouse, the pointer on the screen moves normally.
4.Click weston-terminal icon on toolbar and execute weston-terminal. Input some keys on terminal.
  Then press "Ctrl + Alt + Fn1(or Fn2-Fn6)" key to switch to virtual console.
  ->Can switch to virtual console normally.
5. Press "Ctrl + Alt + Fn7" key to return Wayland Weston desktop.
  ->Wayland Weston desktop is shown.
6.Press "Ctrl + Alt + Fn1(or Fn2-Fn6)" key to switch to virtual console again.
  ->Same result as procedure 2. Then input some keys.
7. Press "Ctrl + Alt + Fn7" key to return Wayland Weston desktop.
  ->Move the mouse, the pointer on the screen moves normally.
8.Click weston-terminal icon on toolbar and execute weston-terminal. Input some keys on terminal.
  Then press "Ctrl + Alt + Fn1(or Fn2-Fn6)" key to switch to virtual console.
  ->Can switch to virtual console normally.
    And keys which I input at procedure 6 are shown virtual console screen.

I think there is issue when switch the screen.
Switching control works normally because we can input key.
Any help would be appreciated.

Thank you.

Best regards,

1 Solution
3,105 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

The patch has been attached.

View solution in original post

0 Kudos
Reply
10 Replies
2,595 Views
josephzhou1
Contributor V

good

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 Kudos
Reply
2,610 Views
JoeChen
Contributor II

Hi,

 

We have met the similar problem, but our Linux kernel is 4.14.98; could you also provide a patch solution to us?

Thank you very much!

BR,

Joe Chen.

0 Kudos
Reply
3,106 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

The patch has been attached.

0 Kudos
Reply
3,087 Views
tan-k
Contributor III

Hi

This problem was solved after applied your patch.
Thanks to your support!

Best regards,

0 Kudos
Reply
3,308 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

I have confimed this issue.It seems weston bug.You can see the mouse can not move because the visual console is opened,but the weston don't show.I am trying to find out the problem.

 

BR

Zhiming

3,298 Views
tan-k
Contributor III

Hi

Thank you for your reply !
I look forward to additional information !

Best regards,

0 Kudos
Reply
3,234 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi tan-k

 

This bug is report to expert team and waiting for their reply.

 

BR

0 Kudos
Reply
3,217 Views
tan-k
Contributor III

Hi

Thank you for telling me current situation.
We hope expert team solve this bug.

Best regards,

0 Kudos
Reply
3,192 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

This bug has been posted to software team waiting to be fixed

 

BR

Zhiming

0 Kudos
Reply
3,185 Views
tan-k
Contributor III

Hi

Thank you!
We hope software team fix this bug quickly.

Best regards,

0 Kudos
Reply