linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Cc: Sven <luther@dpt-info.u-strasbg.fr>,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Re: board with broken vga ...
Date: Tue, 23 Jul 2002 16:35:01 +0200	[thread overview]
Message-ID: <20020723143501.GA5119@iliana> (raw)
In-Reply-To: <BA82E1E583C@vcnet.vc.cvut.cz>

On Mon, Jul 22, 2002 at 11:07:28PM +0200, Petr Vandrovec wrote:
> On 22 Jul 02 at 23:00, Sven wrote:
> 
> > > Just put it into vc_screenbuf after register_framebuffer() returns, and
> > > force redraw...
> > 
> > mmm, will try.
> > 
> > BTW, how can i force a redraw from pm3fb ?
> > 
> > > If you'll override save_screen, and you'll put set_origin() into visual_init,
> > 
> > NO, just tried, i got no more display, and the box hanged ...
> 
> Oops. fbcon_set_origin will call scrolldelta which ... So what about simple
> origin = screenbuf in visual_init ? It should have no side effects.

I gave it another try, checking some stuff as i went.

Latest state is :

I copy the console data by overriding the vgacon save_screen function.

i have tested that in vc_resize, the data is effectively where i want
it, but that the origin function is not poiting to it, so i initialized
ol with screenbuf and not origin.

The result is the same as when i tried to simply clear the space instead
of copying, which seems strange to me. Even filling them with a bogus
character doesn't seem to work.

Also, i manage to clear only the top of the screen, the bottom of it, in
a distance the size of the logo still contains the the garbage.

The bottom of the 80x25 region of the screen that is.

here are the dumps i made :

SVEN : pm3fb.common_init : l_fb_info->v_fb is c8830000.
SVEN : Saving the console data : ...done
FB@880 has : L 4c 07 00 00 00 00 00 00.
FB@880 has : 0007.
sven@880 has : 074c.
  * here is position 880 of the vga console data, the L that starts the
  * log.
SVEN : Am using my own function ...
SVEN : sven@880 has : Linux.
SVEN : c->vc_screenbuf is c11223c0.
SVEN : c->vc_screenbuf@880 has : Linux.
SVEN : c->vc_origin is c00bbd40.
  * vc_origin is pointing to some bogus place.
SVEN : c->vc_origin@880 has : À^KÄ^KÈ.
  * and holds bogus data.
SVEN : vc_resize [0] screenbuf is c11223c0.
SVEN : vc_resize [0] origin is c00bbe80.
  * in vc_resize they are the same.
SVEN : vc_resize [0] kmallocated a new screenbuf at c7e42000.
SVEN : vc_resize [0] : oll = 25, osr = 160.
SVEN : vc_resize [0] : ol = c11223c0, nl = c7e42000.
  * i use screenbuf instead of origin for the copy.
SVEN : vc_resize [0] : oss = 4000, ss = 7400.
SVEN : ol@880 has : Linux.
SVEN : ol@880 has : 074c.
SVEN : nl@880 has :      .
  * and verify that ol holds the console data (nl is empty still).
Console: switching to colour frame buffer device 100x37

I did not manage to do real tests after the copying was done though.
But, i see nothing on the screen.

Friendly,

Sven Luther


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2002-07-23 14:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-22 21:07 Re: board with broken vga Petr Vandrovec
2002-07-22 21:10 ` Sven
2002-07-23 14:35 ` Sven LUTHER [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-22 20:45 Petr Vandrovec
2002-07-22 21:00 ` Sven
2002-07-22 20:18 Petr Vandrovec
2002-07-22 20:40 ` Sven
2002-07-22 17:54 Petr Vandrovec
2002-07-22 19:58 ` Sven
2002-07-22 17:35 Petr Vandrovec
2002-07-22 17:46 ` Sven

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=20020723143501.GA5119@iliana \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=VANDROVE@vc.cvut.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).