From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: Sane behavior of fbset Date: Wed, 23 Jun 2004 10:55:50 -0500 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1088006149.1832.145.camel@gaston> References: <200406180945.12444.adaplas@hotpop.com> <200406190240.26228.adaplas@hotpop.com> <20040619031650.GC14319@havoc.gtf.org> <200406191413.28339.adaplas@hotpop.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdAFC-0004aJ-K3 for linux-fbdev-devel@lists.sourceforge.net; Wed, 23 Jun 2004 09:05:02 -0700 Received: from gate.crashing.org ([63.228.1.57]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BdAFC-0002EW-68 for linux-fbdev-devel@lists.sourceforge.net; Wed, 23 Jun 2004 09:05:02 -0700 In-Reply-To: <200406191413.28339.adaplas@hotpop.com> 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" To: adaplas@pol.net Cc: David Eger , James Simmons , Linux Fbdev development list > The flow of fbset is upstream: fbset->fbdev->fbcon->vc (2.4 code) > The flow of stty is downstream: stty->vc->fbcon->fbdev (2.6 code) > > I don't know how radeonfb does it though. I still think (didn't I repeat it often enough) that the whole idea of stty "inventing" modes based on console size is broken. We simply can't rely on good enough monitor detection & mode list building to be able to pick proper modes. Not only our code is far from ready for that, but it will also call all sort of problems to users (remember you monitors that need different subtle geometry settings for each different mode you use ?) It may have looked like a nice idea, but I think it's just wrong. fbset sends an ioctl straight to the fbdev, and doesn't update fbcon at the moment. The callback mecanism I added for power management should allow to restore 2.4 functionality there, but this has not been implemented yet afaik. Ben. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com