From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Zielinski Subject: Re: [PATCH] neofb patches Date: Tue, 27 Apr 2004 19:46:33 -0400 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <408EF0D9.6000403@undead.cc> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIcHh-00055u-3I for linux-fbdev-devel@lists.sourceforge.net; Tue, 27 Apr 2004 16:46:41 -0700 Received: from ghoul.undead.cc ([216.126.84.18] helo=mail.undead.cc) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BIcHg-0004Re-Qq for linux-fbdev-devel@lists.sourceforge.net; Tue, 27 Apr 2004 16:46:40 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: James Simmons Cc: Benjamin Herrenschmidt , Geert Uytterhoeven , Alex Stewart , Linux Frame Buffer Device Development James Simmons wrote: >Say two people are logged in. One on a serial console and another on the >framebuffer console. The person starts X fbdev from the serial console. >Ooops the fbcon user lost his console. > > 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). 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. 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