From: Antonino Daplas <adaplas@pol.net>
To: Tobias Rittweiler <inkognito.anonym@uni.de>
Cc: James Simmons <jsimmons@infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux console project <linuxconsole-dev@lists.sourceforge.net>
Subject: Re: [STATUS] fbdev api.
Date: 07 Dec 2002 04:55:34 +0500 [thread overview]
Message-ID: <1039218931.989.24.camel@localhost.localdomain> (raw)
In-Reply-To: <6723376646.20021206204207@uni.de>
On Sat, 2002-12-07 at 00:42, Tobias Rittweiler wrote:
> Hello James,
>
> Monday, December 2, 2002, 10:07:33 PM, you wrote:
>
> JS> Hi!
>
> JS> I have a new patch avaiable. It is against 2.5.50. The patch is at
> JS> http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
>
> Besides the hunks posted recently, I encountered three problems/bugs:
>
> a) Although your patch fixes the FB oddness for me, it makes booting
> without using framebuffer fail, IOW the kernel hangs:
>
> Video mode to be used for restore is f00
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
>
Do you have framebuffer console enabled but with no framebuffer device
enabled at boot time? This will always fail with James' current patch.
The diff I submitted in one of my replies in this thread (fbcon.diff)
might fix that (not sure).
> b) After returning from blanking mode (via APM) to normal mode, no
> character is drawn. Let's assume I'm using VIM when that happens:
> After putting any character to return from blank mode, the screen stays
> blanked apart from the cursor that _is_ shown. Now I'm able to move
> the cursor, and when the cursor encounters a character, this char
> is drawn (and keeps drawn). Though when I press Ctrl-L or when I go one line
> above to the current top-line (i.e. by forcing a redrawn), the
> whole screen is drawn properly.
>
Can you try this?
diff -Naur linux-2.5.50-js/drivers/video/console/fbcon.c linux/drivers/video/console/fbcon.c
--- linux-2.5.50-js/drivers/video/console/fbcon.c 2002-12-06 23:33:56.000000000 +0000
+++ linux/drivers/video/console/fbcon.c 2002-12-06 23:33:18.000000000 +0000
@@ -1986,6 +1986,8 @@
vc->vc_cols);
vc->vc_video_erase_char = oldc;
}
+ else
+ update_screen(vc->vc_num);
return 0;
} else {
/* Tell console.c that it has to restore the screen itself */
> c) instruction: | produces:
> ======================|==================
> 1. typing abc def | $ abc def
> | ^ (<- cursor)
> 2. going three chars | $ abc def
> ro the left | ^
> 3. pressing backspace | $ abcddef
> | ^
> 4. pressing enter | -bash: abcdef: command not found
> |
I get this also. Seems to occur only with colored terms. When I do
set TERM=vt100
the problem disappears, so I thought this was an isolated case with my
setup :-). Similar glitches happen also in emacs with syntax
highlighting turned on.
Tony
next prev parent reply other threads:[~2002-12-06 20:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 19:42 [STATUS] fbdev api Tobias Rittweiler
2002-12-06 23:55 ` Antonino Daplas [this message]
2002-12-06 22:59 ` Re[2]: " Tobias Rittweiler
2002-12-06 23:51 ` James Simmons
2002-12-07 10:22 ` Antonino Daplas
2002-12-07 10:15 ` Re[4]: " Tobias Rittweiler
2002-12-07 19:05 ` Re[2]: " James Simmons
2002-12-07 21:43 ` Antonino Daplas
2002-12-07 0:49 ` James Simmons
-- strict thread matches above, loose matches on Subject: below --
2002-12-02 21:07 James Simmons
2002-12-02 21:57 ` Tobias Rittweiler
2002-12-02 22:18 ` James Simmons
2002-12-03 12:23 ` Antonino Daplas
2002-12-03 22:18 ` James Simmons
2002-12-04 3:32 ` Antonino Daplas
2002-12-04 23:00 ` James Simmons
2002-12-06 19:50 ` Christoph Hellwig
2002-12-06 21:21 ` James Simmons
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=1039218931.989.24.camel@localhost.localdomain \
--to=adaplas@pol.net \
--cc=inkognito.anonym@uni.de \
--cc=jsimmons@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxconsole-dev@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