From: Otto Solares <solca@guug.org>
To: James Simmons <jsimmons@infradead.org>
Cc: Linux Fbdev development list <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: help with consolupdate on modechange in driver
Date: Mon, 22 Sep 2003 16:46:25 -0600 [thread overview]
Message-ID: <20030922224625.GB22713@guug.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0309221945250.6431-100000@phoenix.infradead.org>
On Mon, Sep 22, 2003 at 07:50:50PM +0100, James Simmons wrote:
>
> > > I have just implemented modechange in my driver and while it
> > > works, the consol *still* thinks we working in the old mode.
> > >
> > > How do I inform the console layer that the driver (through fbset)
> > > have changed the actual mode on the screen?
> >
> > rivafb has this same problem.
>
> stty is the program you want to use to change the resolution on a tty. At
> present fbset is not functioning. Patches are in the works to restore
> this.
probably we would not need fbset anymore if drivers support sysfs
AND they export valid modes for the current card as the drivers know
far better that crappy /etc/fb.modes, any progress or this is not
the plan?
In other point, i am including fb.h from the latest development linux
kernel (2.6.0-test5-bk3) and is not suitable for use from userpace, here
is a tiny patch to fix it, but i am not sure if the struct fb_pixmap
is needed from userspace as i never have used it?
3a4,5
> #include <linux/tty.h>
> #include <linux/workqueue.h>
4a7
> #include <asm/io.h>
326,327d328
< #ifdef __KERNEL__
<
345a347
> #ifdef __KERNEL__
347,348d348
< #include <linux/tty.h>
< #include <linux/workqueue.h>
351d350
< #include <asm/io.h>
-solca
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
prev parent reply other threads:[~2003-09-22 22:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 10:35 help with consolupdate on modechange in driver Thomas S. Iversen
2003-09-22 18:16 ` Otto Solares
2003-09-22 18:50 ` James Simmons
2003-09-22 22:46 ` Otto Solares [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=20030922224625.GB22713@guug.org \
--to=solca@guug.org \
--cc=jsimmons@infradead.org \
--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).