From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Radeon 3650HD laptop LVDS lid open/closed detection problem Date: Mon, 21 Jun 2010 21:05:13 +0300 Message-ID: <20100621180513.GM17817@reaktio.net> References: <20100621123119.GJ17817@reaktio.net> <20100621125159.GE2350@barney.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from ydin.reaktio.net (reaktio.net [194.89.68.22]) by gabe.freedesktop.org (Postfix) with ESMTP id BAB7A9E815 for ; Mon, 21 Jun 2010 11:05:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20100621125159.GE2350@barney.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Mon, Jun 21, 2010 at 02:51:59PM +0200, Jerome Glisse wrote: > On Mon, Jun 21, 2010 at 03:31:19PM +0300, Pasi K=E4rkk=E4inen wrote: > > Hello, > > = > > After fixing the dvi/hdmi detection problem I now have another problem > > with the HP EliteBook 8530p, which has Radeon 3650HD adapter. > > = > > Here's a summary of the environment: > > = > > - laptop connected to a docking station. > > - external display in use, connected with DVI to the dock. > > - laptop lid closed, so internal LVDS display is not used. > > = > > Now, when I start the laptop, I can see the BIOS and grub on the extern= al DVI display. > > All fine so far. I select the Fedora 13 kernel, and Linux starts. I see= the Fedora > > graphical boot on the external DVI display, just like it should be. GDM= login prompt > > appears on the external DVI display, still everything fine. > > = > > And then it goes wrong. After I login to X, the external display only s= hows the background > > picture.. it turns out the desktop stuff has been started to the intern= al LVDS display, > > which shouldn't be used at all since the laptop lid is closed!! = > > = > > When the laptop lid is closed, and external display is connected, I wan= t to use only the external display.. > > = > > Any ideas how to troubleshoot this one? = > > = > > -- Pasi > > = > = > It's better to open bug when you face issue rather than mail, as it's > harder to track information in mail thread than in a bug. Your issue > is not easily fixed because there is many laptop with broken acpi which > report wrong lid status (some of them always report lid closed what ever > is the lid status, other always report lid open, ... i am not expert on > how broken this is but from what i have been told i should rather consider > drinking than trying to look into it and then go to the drinking step). > = Hey, I'm from Finland, so drinking and debugging is not a problem ;) > Bottom line is that lid detection is unreliable thus so far we ignore > it silently. I think the plan is to monitor lid status change and if > we detect change from either open to close or close to open then we > can start assuming that acpi lid status is reliable and act accordingly. > = I hate to play the "windows card" but the lid detection seems to work in wi= ndows.. = so there's a way to make it work :) -- Pasi