linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: John Zielinski <grim@undead.cc>
Cc: James Simmons <jsimmons@infradead.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Alex Stewart <alex@foogod.com>,
	Linux Frame Buffer Device Development
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] neofb patches
Date: Wed, 28 Apr 2004 09:50:50 +1000	[thread overview]
Message-ID: <1083109849.20091.1.camel@gaston> (raw)
In-Reply-To: <408EF0D9.6000403@undead.cc>


> That's another thing I'm adding to my kernel.  I didn't mention it as 
> I'm still trying to nail down a few details.  My current experiment is 
> that I've made device number 5,255 for now (later I'm either going to 
> make it 5,0 or just make fb0 point to it but that's one of the things 
> I'm debating) and call it just fb (for now).  Now when a user opens this 
> fb it will figure out what console they're on and refuse to run if it's 
> they're not on a physical console (unless fbcon is not compiled then it 
> will default to fb0 - these are the details I'm working on).

Hrm... I'm not fully confortable with this. I don't see why we need
anything different but what we had today.

> Now if the user really wants to start something from a serial console or 
> even a ssh session for that matter they can just use an explicit frame 
> buffer device like fb0, fb1, etc.  These would then be root only for 
> example.

Nah, software like X, MacOnLinux, etc... should open a VT and trigger a
console switch. Or at least switch to KD_GRAPHICS if they don't, but
then, having a user doing that to your console is only a matter of
setting the proper permissions. Again, I don't see what problem you
are trying to solve.

> An added bonus is that if you have multiple video cards or a dual head 
> configuration with each head on a different fbx device the 5,255 device 
> would figure out which console you are on when you start the program and 
> use the appropriate fb device.  Once the radeon dual head code gets 
> written I'll have to try to start X on fb0 (head 1) and leave the fbcon 
> running on fb1 (head two).
> 
> But this is just a fun little experiment on my part.  If I succeed I'll 
> let everyone know.
> 
> John
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE. 
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-04-27 23:56 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21  1:14 [PATCH] neofb patches Alex Stewart
2004-04-21 17:47 ` James Simmons
2004-04-21 19:10   ` Antonino A. Daplas
2004-04-22  8:09     ` Geert Uytterhoeven
2004-04-23 23:27       ` James Simmons
2004-04-23 16:53     ` Alex Stewart
2004-04-23 20:03       ` James Simmons
2004-04-23 18:35     ` James Simmons
2004-04-23 19:54       ` James Simmons
2004-04-22  3:18   ` Alex Stewart
2004-04-22 20:57     ` James Simmons
2004-04-23  4:03       ` Alex Stewart
2004-04-23  6:43         ` Alex Stewart
2004-04-23 23:00           ` James Simmons
2004-04-24  3:15             ` [Linux-fbdev-devel] " Randy.Dunlap
2004-04-24  7:08               ` Alex Stewart
2004-04-25  3:10                 ` [Linux-fbdev-devel] " James Simmons
2004-04-25  3:09               ` James Simmons
2004-04-24 17:29             ` Alex Stewart
2004-04-25  0:55               ` James Simmons
2004-04-26 18:12                 ` Alex Stewart
2004-04-27  0:11                   ` James Simmons
2004-04-27  1:15                     ` Alex Stewart
2004-04-27  8:49                       ` Geert Uytterhoeven
2004-04-27 10:12                         ` Benjamin Herrenschmidt
2004-04-27 20:25                           ` James Simmons
2004-04-27 22:48                             ` John Zielinski
2004-04-27 23:10                               ` Benjamin Herrenschmidt
2004-04-27 23:21                                 ` James Simmons
2004-04-27 23:25                                   ` Benjamin Herrenschmidt
2004-04-27 23:46                                   ` John Zielinski
2004-04-27 23:50                                     ` Benjamin Herrenschmidt [this message]
2004-04-28  0:38                                       ` John Zielinski
2004-04-28  0:41                                         ` Benjamin Herrenschmidt
2004-04-28  1:39                                           ` John Zielinski
2004-04-28  3:17                                             ` Alex Stewart
2004-04-28  3:18                                               ` Benjamin Herrenschmidt
2004-04-28 17:02                                                 ` James Simmons
2004-04-28  4:36                                               ` John Zielinski
2004-04-28  4:56                                                 ` Alex Stewart
2004-04-28  6:59                                                   ` John Zielinski
2004-04-28  8:26                                         ` Geert Uytterhoeven
2004-04-28 22:00                                           ` John Zielinski
2004-04-28  0:29                                     ` Otto Solares
2004-04-28  0:54                                       ` Antonino A. Daplas
2004-04-28  1:15                                         ` Otto Solares
2004-04-28  1:21                                       ` John Zielinski
2004-04-28 16:53                                         ` James Simmons
2004-04-28  0:23                                   ` Otto Solares
2004-04-28  0:20                                 ` Otto Solares
2004-04-28  0:36                                   ` Benjamin Herrenschmidt
2004-04-28  7:08                                     ` Otto Solares
2004-04-28  8:27                                       ` Geert Uytterhoeven
2004-04-28 10:16                                       ` Michel Dänzer
2004-04-28 16:37                                         ` Otto Solares
2004-04-28 16:50                                           ` James Simmons
2004-04-28 22:26                                           ` Michel Dänzer
2004-04-28 23:42                                             ` Benjamin Herrenschmidt
2004-04-28 23:59                                               ` James Simmons
2004-04-29  1:06                                               ` Otto Solares
2004-04-29  1:20                                                 ` Benjamin Herrenschmidt
2004-04-29 16:56                                                   ` James Simmons
2004-04-29 21:57                                                     ` Benjamin Herrenschmidt
2004-04-30 15:06                                                       ` Ville Syrjälä
2004-04-30 16:50                                                         ` James Simmons
2004-05-01  0:40                                                           ` Otto Solares
2004-05-06 19:28                                                             ` Mobility M1 refresh code problem 2.4.26? Richard Smith
2004-05-06 19:57                                                               ` Mikael Eriksson
2004-05-06 20:35                                                                 ` Richard Smith
2004-05-06 20:42                                                                   ` Geert Uytterhoeven
2004-05-06 21:12                                                                     ` Richard Smith
2004-05-07  7:57                                                                       ` Mikael Eriksson
2004-05-07 14:11                                                                         ` Richard Smith
2004-05-07 15:34                                                                           ` Mikael Eriksson
2004-05-07 19:42                                                                             ` Richard Smith
2004-05-07 23:11                                                                               ` Mikael Eriksson
2004-04-29  8:32                                               ` [PATCH] neofb patches Geert Uytterhoeven
2004-04-29  1:07                                             ` Otto Solares
2004-04-29  1:23                                               ` Benjamin Herrenschmidt
2004-04-29 13:01                                               ` Michel Dänzer
2004-04-29 17:52                                                 ` Otto Solares
2004-04-29 23:12                                                   ` Michel Dänzer
2004-04-30  1:18                                                     ` Otto Solares
2004-04-30  1:28                                                       ` Michel Dänzer
2004-04-30 21:26                                                         ` Otto Solares
2004-04-28 23:30                                           ` Benjamin Herrenschmidt
2004-04-28 17:39                                       ` James Simmons
2004-04-28 18:03                                         ` Geert Uytterhoeven
2004-04-28 22:46                                         ` John Zielinski
2004-04-27  8:56                   ` Geert Uytterhoeven
2004-04-23 16:07         ` 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=1083109849.20091.1.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=alex@foogod.com \
    --cc=geert@linux-m68k.org \
    --cc=grim@undead.cc \
    --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).