Bug 41146 - please switch virtual terminal to raw mode on every switch to the X server
Summary: please switch virtual terminal to raw mode on every switch to the X server
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 03:15 UTC by Michal Suchanek
Modified: 2016-11-28 04:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michal Suchanek 2011-09-23 03:15:24 UTC
When you press Alt+Printscreen+R terminal is switched to normal mode. Kernel now interprets key strokes and eg. Alt+<- switches to previous virtual terminal.

When you switch back to X the kernel still interprets keypresses.

It would be nice if X configured its terminal every time.
Comment 1 Jeremy Huddleston Sequoia 2011-10-08 23:54:31 UTC
I'm not sure I understand what you are reporting.  Can you please give specific 
steps to reproduce the issue you are facing, what you see when you follow those 
steps and what you would expect to see?
Comment 2 Michal Suchanek 2011-10-09 00:55:28 UTC
Is this not written in the first post?

On start X configures the VT to raw.

When in raw mode Linux ignores what the user types.

When you switch to normal mode using Alt+Printscreen+R Linux again interprets keys on the terminal and you can eg. switch to different VT using the keys mapped in Linux keymap for the purpose.

Switching back to X the terminal remains in normal mode and Linux still interprets what you type in X using its keymap.
Comment 3 Jeremy Huddleston Sequoia 2011-10-09 16:59:43 UTC
Ok, well this sounds Linux specific and not DDX/xorg ... over to Peter to 
untangle.  My guess is evdev, so starting there.
Comment 4 Peter Hutterer 2012-03-07 20:20:35 UTC
http://patchwork.freedesktop.org/patch/9411/
Comment 5 Michal Suchanek 2012-03-08 07:25:15 UTC
Tested-By: Michal Suchanek <hramrach@gmail.com>

Works as expected.

Before applying the patch it's possible to unraw the VT with sysrq and subsequently switch terminals with alt+left and alt+right.
With the patch the alt+left and alt+right keys are again available in the X server once you switch back to the X server.

Thanks
Comment 6 Peter Hutterer 2016-11-28 04:39:43 UTC
This is a mass change of bugs. Bugs assigned to me that haven't been updated in the last 3 years are closed as WONTFIX, because, well, let's at least be honest about it.

Please do not re-open unless you have a really good reason to do so (e.g. you're fixing it yourself). If it hasn't been fixed in the last 3 years, it probably won't be fixed anytime soon either. Sorry.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.