http://bugzilla.kernel.org/show_bug.cgi?id=14997
--- Comment #14 from Jesse Barnes <jbar...@virtuousgeek.org> 2010-02-12 17:57:23 --- Right, that makes sense, thanks Takashi. What *should* happen is that at close time, we just send an event to userspace which may choose to reconfigure your outputs. But if your ACPI lid status is wrong (i.e. acpi_lid_open returns true when your lid is closed) then we'd reset the mode at close time as well, turning off LVDS. Then at open time we'd reset and keep the lost the LVDS output, but again userspace could choose to reconfigure (but if your LID is lying it'll see "disconnected"). Assuming that's what's going on here, in the intel_lid_notify() function we need to add the DMI check: diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds index 75a9772..d03f6d4 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -708,7 +712,7 @@ static int intel_lid_notify(struct notifier_block *nb, unsig */ if (connector) connector->status = connector->funcs->detect(connector); - if (!acpi_lid_open()) { + if (dmi_check_system(bad_lid_status) || !acpi_lid_open()) { dev_priv->modeset_on_lid = 1; return NOTIFY_OK; } then make sure these machines are added to the DMI list. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla