Bug 386541

Summary: ThinkPad X61s: Brightness keys not working
Product: [openSUSE] openSUSE 11.0 Reporter: Christian Jäger <christian.jaeger>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P5 - None CC: ma, trenn
Version: Beta 2   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Xorg.0.log
/etc/X11/xorg.conf (sax-generated)

Description Christian Jäger 2008-05-05 00:54:59 UTC
As in openSUSE 10.3, the brightness keys in openSUSE 11.0 beta 2 don't work: the overlay with brightness-indicator changes, but actuall screen brightness does not.
Comment 1 Stefan Dirsch 2008-05-05 01:11:06 UTC
Please attach /etc/X11/xorg.conf and /var/log/Xorg.0.log.
Comment 2 Michael Adam 2008-05-06 08:52:05 UTC
Same problem here.
Not sure if it is a gnome or an X problem, though.

I am using gnome from factory repos with the x64_64 architecture on an x61s.

Problem description: 

The brightness keys (Fn+Home/End) do not work properly.
An OSD pops up but behaves strangely:
As the progress bar proceeds, the brightness of the display
stays the same, but once the max is reached, pressing Fn+Home
repeatedly starts an oscillating behaviour: The OSD bar jumps
between 50% and 100% and so does the brightness. Similar
phenomenon for Fn+End - bar oscillating between 0% and 50%.

The gnome brightness panel applet is working correctly though!

Previously, in 10.3, this oscillating behaviour did not happen.
But the bar ran from 0% to 100% twice - starting over at 0% once
100% was reached the first time. 

This seems to be related to the fact that the thinkpad acpi seems
to have 15 brightness steps instead of 7. (Previously, in 10.3,
the brightness applet only provided 7 steps, now this seems to have
been fixed: the brightness applet provides all 15 steps.)

nirvana:~ # cat /sys/class/backlight/acpi_video1/brightness
15
nirvana:~

here is something strange:

nirvana:~ # cat /proc/acpi/video/VID1/LCD0/brightness 
levels:  100 100 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 100
current: 100
nirvana:~ # 

the brightness apple walks all steps from 20 (0) to 100 (15).
the Fn-Keys oscillate between 20(0) and 55(7) at the low end
and between 55(0) and 100(15) at the high end. In the middle
they stick at 55(7).

Cheers - Michael
Comment 3 Michael Adam 2008-05-06 08:54:32 UTC
Created attachment 212566 [details]
Xorg.0.log

This is my Xort.0.log from GDM login
Comment 4 Michael Adam 2008-05-06 08:55:44 UTC
Created attachment 212568 [details]
/etc/X11/xorg.conf (sax-generated)

my xorg.conf
Comment 5 Stefan Dirsch 2008-05-06 08:58:18 UTC
I still don't know, if the original reporter is using the same graphics with his X61s.
Comment 6 Michael Adam 2008-05-06 09:24:42 UTC
Sure. That is why I did not tag the "provides the needed info".
My info might be useful anyways... :-)
Comment 7 Stefan Dirsch 2008-05-06 13:29:16 UTC
Thomas, could you help here? I'm rather clueless when it comes to ACPI.
Comment 8 Michael Adam 2008-05-06 13:36:28 UTC
There is a possibly related bug from 10.3: Bug #308264.
Comment 9 Thomas Renninger 2008-05-06 16:46:19 UTC
Backlight switching is currently a mess mainline, especially with Vista BIOS updates.
I am working on this currently.
Comment 10 Thomas Renninger 2008-05-06 16:48:14 UTC

*** This bug has been marked as a duplicate of bug 308264 ***