All of lore.kernel.org
 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 10:41:04 +1000	[thread overview]
Message-ID: <1083112862.20474.14.camel@gaston> (raw)
In-Reply-To: <408EFD18.7070702@undead.cc>


> For example lets say I have odd numbered consoles mapped on my AGP 
> Radeon card and even numbered consoles mapped to my PCI Riva card.  I 
> switch to console 1 and fire up a fb dvd player app.  It opens /dev/fb 
> (29,255) and switches to KD_GRAPHICS.   LOTR starts playing on my big 
> 21" monitor hooked up to the Radeon.  As a user I didn't have to know 
> that /dev/fb0 was really my 21" monitor and didn't have to give any 
> command line switches to do this.  The cursor was blinking on my 21" and 
> all I had to do is type dvdplay and away I went.  I would also be 
> prevented from switching to odd numbered consoles now.

Why ? Your player doesn't support proper console switching ?

> No problem.  ALT-F2 and now my 19" monitor has a blinking cursor.  I 
> type in picview and again the jpeg viewing program opens /dev/fb and 
> switches to KD_GRAPHICS and now I'm looking a vacation photos on my old 
> riva card.  Again, I didn't have to know that /dev/fb1 is my 19" monitor 
> and no command line arguments.  The app fires up on the monitor that had 
> the focus (forground console doesn't sound right on multi monitor setups 
> IMHO).
> 
> Now I can only switch between console 1 and 2.  Consoles 3 and up can't 
> be switched to as both fb devices are in use.
> 
> BTW, this is just an example.  I don't know if a fb dvd player is out 
> there but I do belive there's a picture viewing fb app.

You don't need a /dev/fb for that do you ? You need to map the current
vt to it's fb via the existing fbdev ioctls, isn't that possible ? (just
asking , I've never actually done that).

> Normally yes.  But let's say a switch was added to X or X's fb driver to 
> tell it to not open a new VT and just start on the current console.  If 
> I fire it up on console 1 X starts on my 21" monitor but if I start it 
> on console 2 it fires up on my 19" monitor.  The other monitor would 
> still have a console.
> 
> This was just a fun thought to see if it would actually work.  But the 
> dvd/picture example above is very practical.

Yup, but I don't think we need to change much of the actual code to
acheive this result. We still have the KD_GRAPHICS/KD_TEXT thing for
arbitrating who owns the accel engine and it would just work.

Ben.




-------------------------------------------------------
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-28  0:47 UTC|newest]

Thread overview: 97+ 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-23 23:00             ` [Linux-fbdev-devel] " James Simmons
2004-04-24  3:15             ` Randy.Dunlap
2004-04-24  7:08               ` Alex Stewart
2004-04-24  7:08                 ` [Linux-fbdev-devel] " Alex Stewart
2004-04-25  3:10                 ` James Simmons
2004-04-25  3:10                   ` James Simmons
2004-04-25  3:09               ` James Simmons
2004-04-25  3:09                 ` James Simmons
2004-04-24 17:29             ` Alex Stewart
2004-04-24 17:29               ` [Linux-fbdev-devel] " Alex Stewart
2004-04-25  0:55               ` James Simmons
2004-04-25  0:55                 ` [Linux-fbdev-devel] " 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
2004-04-28  0:38                                       ` John Zielinski
2004-04-28  0:41                                         ` Benjamin Herrenschmidt [this message]
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=1083112862.20474.14.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 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.