From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francisco Jerez Subject: Re: Radeon 3650HD laptop LVDS lid open/closed detection problem Date: Mon, 21 Jun 2010 16:53:55 +0200 Message-ID: <87y6e8zbb0.fsf@riseup.net> References: <20100621123119.GJ17817@reaktio.net> <20100621125159.GE2350@barney.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1159576714==" Return-path: Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by gabe.freedesktop.org (Postfix) with ESMTP id C96419E7CA for ; Mon, 21 Jun 2010 07:51:04 -0700 (PDT) In-Reply-To: <20100621125159.GE2350@barney.localdomain> (Jerome Glisse's message of "Mon, 21 Jun 2010 14:51:59 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 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: Pasi =?utf-8?B?S8Okcmtrw6RpbmVu?= Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1159576714== Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jerome Glisse writes: > On Mon, Jun 21, 2010 at 03:31:19PM +0300, Pasi K=C3=A4rkk=C3=A4inen wrote: >> Hello, >>=20 >> After fixing the dvi/hdmi detection problem I now have another problem >> with the HP EliteBook 8530p, which has Radeon 3650HD adapter. >>=20 >> Here's a summary of the environment: >>=20 >> - 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. >>=20 >> Now, when I start the laptop, I can see the BIOS and grub on the externa= l 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. >>=20 >> And then it goes wrong. After I login to X, the external display only sh= ows the background >> picture.. it turns out the desktop stuff has been started to the interna= l LVDS display, >> which shouldn't be used at all since the laptop lid is closed!!=20 >>=20 >> When the laptop lid is closed, and external display is connected, I want= to use only the external display.. >>=20 >> Any ideas how to troubleshoot this one?=20 >>=20 >> -- Pasi >>=20 > > 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). > > 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. > In Nouveau we report connector_status_unknown for closed lids (On the kernel side unknown outputs are left disabled unless there's nothing else definitely connected: if lid detection doesn't work at all the system will still be usable). This would solve your problem if we made the X server set the first output known to be connected as RandR primary. In short, I see two different "bugs" here: * radeon reports connector_status_connected when the lid is closed. * the X server doesn't select a primary output among the definitely connected ones. > Cheers, > Jerome > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAkwffQQACgkQg5k4nX1Sv1s3gAD/a1JmWCETzeRMLoMxGYJn4w53 NY3pDfbVVtWybhWYaywA/1301sS6v6ArPW43FfgMXIXRNtyaFm1QsSsL2C150yRw =nc+s -----END PGP SIGNATURE----- --==-=-=-- --===============1159576714== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1159576714==--