Bug 1093947 - Backlight tweak for Acer Aspire 5736Z [NEEDINFO]
Summary: Backlight tweak for Acer Aspire 5736Z
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-03 18:55 UTC by David Anderson
Modified: 2014-12-10 15:01 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-10 15:01:18 UTC
Type: Bug
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)
Dmesg output (63.64 KB, text/x-log)
2014-05-03 18:55 UTC, David Anderson
no flags Details

Description David Anderson 2014-05-03 18:55:27 UTC
Created attachment 892176 [details]
Dmesg output

This post on the Planet...

http://hansdegoede.livejournal.com/13889.html

... requests us to file bugs if we know how to fix laptops with backlight problems.

30 months ago, I filed this bug, which got no response:
https://bugzilla.redhat.com/show_bug.cgi?id=767487

Today I updated to Fedora 20, and the same issue and almost the same fix apply. (And FWIW the same issue exists, and the same fix works when trying to boot a GParted or Fedora 18 Live CD).

As mentioned in that bug, this is the magic I've added to my grub command line (nothing needed removing, unlike in the Fedora 16 report):

acpi_osi="Linux" acpi_backlight=vendor

It's also still the case that the screen starts blank, but using the brightness controls on the keyboard (Fn-left arrow or Fn-right arrow) brings it to life. (Without the above additions to the grub command line, they do nothing - the screen is blank at all times).

As requested in that blog post, dmesg.log is attached. Here is dmi.log:

/sys/class/dmi/id/bios_date:09/23/2010
/sys/class/dmi/id/bios_vendor:Acer
/sys/class/dmi/id/bios_version:V1.04
/sys/class/dmi/id/board_asset_tag:Base Board Asset Tag
/sys/class/dmi/id/board_name:JE51_MV
/sys/class/dmi/id/board_vendor:Acer
/sys/class/dmi/id/board_version:V1.04
/sys/class/dmi/id/chassis_asset_tag:        
/sys/class/dmi/id/chassis_type:10
/sys/class/dmi/id/chassis_vendor:Acer
/sys/class/dmi/id/chassis_version:V1.04
/sys/class/dmi/id/product_name:Aspire 5736Z
/sys/class/dmi/id/product_version:V1.04
/sys/class/dmi/id/sys_vendor:Acer

Comment 1 Justin M. Forbes 2014-05-21 19:39:40 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.14.4-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 2 Justin M. Forbes 2014-06-23 14:49:35 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.

Comment 3 David Anderson 2014-06-23 14:51:44 UTC
The problem still exists, as it has done since December 2011 (https://bugzilla.redhat.com/show_bug.cgi?id=767487).

Comment 4 David Anderson 2014-06-24 12:59:14 UTC
As requested in https://hansdegoede.livejournal.com/13889.html, here is the output of ls /sys/class/backlight (only from when it is working - I can't see the screen when not working):

$ ls -l /sys/class/backlight
total 0
lrwxrwxrwx. 1 root root 0 Jun 24 07:59 acer-wmi -> ../../devices/platform/acer-wmi/backlight/acer-wmi
lrwxrwxrwx. 1 root root 0 Jun 24 12:36 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight

Comment 5 Hans de Goede 2014-06-24 13:36:51 UTC
Hi David,

Thanks for the bug report. Can you please try booting with just acpi_backlight=vendor, so without acpi_osi="Linux" and see if things still work then? It is always best to avoid messing with acpi_osi.

Regards,

Hans

Comment 6 David Anderson 2014-06-24 13:44:11 UTC
Hi Hans,

I've tried that - it is insufficient.

David

Comment 7 Hans de Goede 2014-06-24 14:03:09 UTC
(In reply to David Anderson from comment #6)
> I've tried that - it is insufficient.

Thanks for the quick response.

If I understand things correctly there are 2 distinct problems:

1) No matter what you do the laptop comes up with a black screen (backlight is turned off), correct ?

2) You need the acpi_osi="Linux" acpi_backlight=vendor  kernel commandline options to allow you to control the backlight, so that at-least you can turn it on, correct ?


While booted with the 2 kernel cmdline options in place, can you please do:

cd /sys/class/backlight/acer-wmi
cat max_brightness

And let me know the output of the cat command ?


There has been a regression in the kernel causing a problem similar to 1) on the Dell Latitude d630 recently which has the same chipset as your laptop. I know you've been having this issue for quite a long time, but the regression was caused by some major backlight changes for intel machines. So perhaps we'll get lucky and the fix for it also fixes problem 1). Can you please do a "yum upate kernel*" this should give you kernel 3.14.8-200.fc20, note 3.14.7-200.fc20 or anything newer is fine.

Can you then please try booting without any kernel commandline options at all and see what happens ?


One other thing I would like to know is if the intel_backlight interface works, an you do (as root:)

cd /sys/class/backlight/intel_backlight
cat max_brightness

And then:

echo ### > brightness

Where ### is half of max_brightness, and then again with the full max_brightness, and see if you can control the backlight properly that way?


One last question, if necessary can you setup ssh so that you can ssh into the machine when the screen is black, or plug in an external monitor to help debug things somewhat more?

Comment 8 Hans de Goede 2014-06-24 14:10:40 UTC
One last request, can you try booting with the following on the kernel cmdline:

acpi_backlight=vendor modprobe.blacklist=acer-wmi

After this you should only have intel_backlight in /sys/class/backlight , and maybe it will fix the initial black backlight issue.

Comment 9 Hans de Goede 2014-06-24 17:02:36 UTC
While riding my bike I had another idea. Instead of doing a yum update to get a newer 3.14, can you download the kernel for your arch (i686 or x86_64) here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7066918

And then install it with "sudo rpm -ivh kernel...rpm".

And boot into it with only acpi_backlight=vendor on the kernel commandline ? This build contains a fix which I hope will fix you needing acpi_osi to get the backlight hotkeys to work.

Thanks,

Hans

Comment 10 David Anderson 2014-06-25 11:06:29 UTC
Thanks very much!

I am on 3.14.8-200.fc20.x86_64, and something has definitely changed - when I work off battery and then add AC, the screen goes to maximum brightness. Until this kernel, for the last 3 years it used to do the opposite: go to zero brightness. There were other indications that the brightness was reversed somewhere - on battery, instead of blanking the screen used to go to maximum brightness when idle. So I assumed that got fixed too.

Anyway - I'll get the rest of the data when I've got a spare moment this week hopefully. Manically busy right now!

Comment 11 David Anderson 2014-07-17 08:48:45 UTC
Hi,

I can confirm that this now boots normally without either kernel command line option or other manual options being needed, since 3.14.8. lsmod shows that the acer_wmi is being loaded.

Thank you!

David

Comment 12 Justin M. Forbes 2014-11-13 16:01:51 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.17.2-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 21, and are still experiencing this issue, please change the version to Fedora 21.

If you experience different issues, please open a new bug report for those.

Comment 13 Justin M. Forbes 2014-12-10 15:01:18 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in over 3 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


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