Bug 15473 - Sony VGN-BZ12VN: KMS not working as lid is always reported as closed
Summary: Sony VGN-BZ12VN: KMS not working as lid is always reported as closed
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri-intel@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 22:33 UTC by Hubert Hesse
Modified: 2010-07-23 19:33 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.33-git13
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmidecode output (8.41 KB, application/octet-stream)
2010-03-07 22:33 UTC, Hubert Hesse
Details

Description Hubert Hesse 2010-03-07 22:33:48 UTC
Created attachment 25398 [details]
dmidecode output

Hi there,
I wanted to use KMS with the latest kernel on my Sony VGN-BZ12VN. Similiar to Bug 14649 and 14554 `cat /proc/acpi/button/lid/LID0/state` always reports "state: closed" to me. 
A blank screen is the result for me, when booting with KMS enabled.

I figured out to add my Laptop to the ACPI LID quirk list.

Heres the diff:
--- /home/hub/intel_lvds.c	2010-03-07 23:24:59.760927249 +0100
+++ linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c	2010-03-07 20:52:48.015307446 +0100
@@ -610,6 +610,13 @@
 /* Some lid devices report incorrect lid status, assume they're connected */
 static const struct dmi_system_id bad_lid_status[] = {
 	{
+		.ident = "Sony VGN-BZ12VN",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+			DMI_MATCH(DMI_BOARD_NAME, "VAIO"),
+		},
+	},
+	{
 		.ident = "Compaq nx9020",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),

That works for me. But maybe the identifier is a little bit too generic. I attached my dmidecode output.

Thanks,
hub
Comment 1 Andrew Morton 2010-03-18 19:05:06 UTC
Please don't send patches via bugzilla - it mucks with our patch management and review processes.

Please send this patch via email as per Documentation/SubmittingPatches.  Suitable recipients may be found via scripts/get_maintainer.pl.  Please also cc myself on the email.

Thanks.
Comment 2 Jesse Barnes 2010-07-23 19:33:03 UTC
We ignore lid status, fixed now.

Note You need to log in before you can comment on or make changes to this bug.