drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list
PATCH 1/1 drm/i915: Add Sony VGN-BZ12VN to ACPI LID quirk list
Hi there,
I'm referring to my Bugreport 15473.
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. Sorry for the double post. Its the first time I hand in a patch.
So here it comes:
The Sony Vaio VGN-BZ12VN laptop always reports the LID status as closed, therefore add it into the acpi lid quirk list.
http://bugzilla.kernel.org/show_bug.cgi?id=15473
thanks, hub
--
diff -up linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c.orig linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c ---
linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c.orig 2010-03-07
23:24:59.760927249 +0100 +++linux-2.6.33/drivers/gpu/drm/i915/intel_lvds.c 2010-03-18
21:18:57.345633051 +0100 @@ -610,6 +610,13 @@ static void intel_lvds_mode_set(struct d /* 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_PRODUCT_NAME, "VGN-BZ12VN"),
+ },
+ },
+ {
.ident = "Compaq nx9020",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
Quoted 11 lines · Hubert Hesse
Hi there,
I'm referring to my Bugreport 15473.
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/statealways 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. Sorry for the double post. Its the first time I hand in a patch.
In place of more quirk patches, I've pushed the patch removing the use of ACPI LID status for LVDS detection.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel