Thread (12 messages) 12 messages, 2 authors, 2005-11-28

Re: Detect switching to X?

From: Knut Petersen <hidden>
Date: 2005-11-28 22:17:30

I have this code since 2.6.12 and thereabouts.  Currently, I'm at
linux-2.6.15-rc2-mm1.

You might want to also check drivers/char/vt.c:do_blank_screen().
If going to KD_GRAPHICS mode, entering_gfx != 0.

Tony

 
Well, the code does work perfectly well. During the transition to 
KD_GRAPHICS
there is first a switch to the tty that is used by X, then the mode 
switch occures. But
I activated cyblafb for tty1 only, vesafb was in control of all other 
ttys. So the
restore_state of cyblafb never was called. Stupid mistake on my side ...

Please submit the patch.

cu,
 knut


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help