From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Radeon 3650HD laptop LVDS lid open/closed detection problem Date: Mon, 12 Jul 2010 14:53:01 +0300 Message-ID: <20100712115301.GP17817@reaktio.net> References: <20100621123119.GJ17817@reaktio.net> <20100621125159.GE2350@barney.localdomain> <87y6e8zbb0.fsf@riseup.net> 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 8189E9E7EB for ; Mon, 12 Jul 2010 04:53:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Alex Deucher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Mon, Jun 21, 2010 at 11:12:51AM -0400, Alex Deucher wrote: > On Mon, Jun 21, 2010 at 10:53 AM, Francisco Jerez = wrote: > > Jerome Glisse writes: > > > >> 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: > >>> > >>> =A0 =A0 =A0- laptop connected to a docking station. > >>> =A0 =A0 =A0- external display in use, connected with DVI to the dock. > >>> =A0 =A0 =A0- 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 exte= rnal DVI display. > >>> All fine so far. I select the Fedora 13 kernel, and Linux starts. I s= ee the Fedora > >>> graphical boot on the external DVI display, just like it should be. G= DM 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= shows the background > >>> picture.. it turns out the desktop stuff has been started to the inte= rnal 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 w= ant to use only the external display.. > >>> > >>> Any ideas how to troubleshoot this one? > = > Does it work ok if you boot up without the external display connected > and then connect and enable the secondary display after you've logged > in? > I just tried this. I boot up the laptop with lid open, so ONLY the internal LVDS is active = (DVI cable disconnected), and I get the GDM login prompt on the internal LV= DS. Then I plug in the external DVI display, and the external display gets automatically active when X starts. Gnome panel etc are on the interna= l LVDS, external DVI display only has the background image and nothing else. So that works as expected. No problems there. > I have a similar issue here; I think it's an issue with rhgb and > starting X. If I boot with an external display, the entire plymouth > load sequence works fine, but then when X starts the external display > goes blank and the internal display hangs on the plymouth screen. On > a related note, if I close the lid and turn off the LVDS output, gpm > never blanks the external monitor. I have to manually force dpms with > xset. > = The other patch (0001-drm-radeon-kms-fix-shared-ddc-handling.patch) applied = my system mostly works now, but here's a summary about the problem I still = have with the lid detection: - I boot up the laptop with lid closed (LVDS inactive) so there's only exte= rnal DVI display connected. Kernel boot messages show up on the external DVI dis= play, and GDM login prompt appears on the external DVI display. All fine so far. - The actual problem: when X starts gnome panel etc show up on the internal= LVDS display, which I can't see at all since the lid is closed! So those should = go to the external DVI display only.. LVDS should be disconnected or inactive or some= thing.. Any pointers appreciated where to look at in the source.. I can do some deb= ugging. -- Pasi