https://bugzilla.kernel.org/show_bug.cgi?id=35622


Aaron Lu <aaron...@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaron...@intel.com




--- Comment #42 from Aaron Lu <aaron...@intel.com>  2013-03-14 06:03:48 ---
(In reply to comment #40)
> I've examined acer-wmi.c and found out that patch is probably no longer 
> needed.
> I've tested two kernels: 3.5.4 and 3.6.0. In 3.5.4 with 
> 'acpi_backlight=vendor'
> everything works fine (keys/KDE controls). Without 'acpi_backlight' parameter
> message 'acer_wmi: Brightness must be controlled by generic video driver' is

Yes, the message means acpi video is in charge of backlight control, not
acer_wmi. And acpi video driver can't handle backlight for your system.

> printed and keys don't work. However, KDE backlight controls still work
> (/sys/class/backlight/intel_backlight is present).

Does /sys/class/backlight/acpi_video0 exist?

> In 3.6.0 keys don't work regardless of 'acpi_backlight' parameter (above 
> message is always printed).

I suppose there is a "Disabling ACPI video driver" message printed in v3.6? If
so, you can try the following patch to see if it works around your problem:

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index c9076bd..137bebc 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -2229,8 +2229,8 @@ static int __init acer_wmi_init(void)
         interface->capability &= ~ACER_CAP_BRIGHTNESS;
         pr_info("Brightness must be controlled by acpi video driver\n");
     } else {
-        pr_info("Disabling ACPI video driver\n");
-        acpi_video_unregister();
+//        pr_info("Disabling ACPI video driver\n");
+//        acpi_video_unregister();
     }

     if (wmi_has_guid(WMID_GUID3)) {

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to