Linux for IMX8 : switch to virtual console

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

Linux for IMX8 : switch to virtual console

跳至解决方案
2,810 次查看
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 解答
2,581 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

The patch has been attached.

在原帖中查看解决方案

0 项奖励
回复
10 回复数
2,071 次查看
josephzhou1
Contributor V

good

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 项奖励
回复
2,086 次查看
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 项奖励
回复
2,582 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

The patch has been attached.

0 项奖励
回复
2,563 次查看
tan-k
Contributor III

Hi

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

Best regards,

0 项奖励
回复
2,784 次查看
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

2,774 次查看
tan-k
Contributor III

Hi

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

Best regards,

0 项奖励
回复
2,710 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi tan-k

 

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

 

BR

0 项奖励
回复
2,693 次查看
tan-k
Contributor III

Hi

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

Best regards,

0 项奖励
回复
2,668 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

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

 

BR

Zhiming

0 项奖励
回复
2,661 次查看
tan-k
Contributor III

Hi

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

Best regards,

0 项奖励
回复