All of lore.kernel.org
 help / color / mirror / Atom feed
From: Knut Petersen <Knut_Petersen@t-online.de>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Detect switching to X?
Date: Mon, 28 Nov 2005 23:17:41 +0100	[thread overview]
Message-ID: <438B8205.7070604@t-online.de> (raw)
In-Reply-To: <438B24B8.80306@gmail.com>


>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

      reply	other threads:[~2005-11-28 22:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27  6:12 Detect switching to X? Knut Petersen
2005-11-27 22:38 ` Antonino A. Daplas
2005-11-28  5:54   ` Knut Petersen
2005-11-28  7:31     ` Antonino A. Daplas
2005-11-28  8:12       ` Knut Petersen
2005-11-28  8:27         ` Antonino A. Daplas
2005-11-28  8:50         ` Antonino A. Daplas
2005-11-28 13:46           ` Knut Petersen
2005-11-28 14:25             ` Antonino A. Daplas
2005-11-28 15:12               ` Knut Petersen
2005-11-28 15:39                 ` Antonino A. Daplas
2005-11-28 22:17                   ` Knut Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438B8205.7070604@t-online.de \
    --to=knut_petersen@t-online.de \
    --cc=adaplas@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.