Bug 148291

Summary: Powersave doesn't set the display brightness with toshiba_acpi
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User 55iwwMllzz <forgotten_55iwwMllzz>
Component: OtherAssignee: Holger Macht <hmacht>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 55iwwMllzz 2006-02-05 17:37:29 UTC
I have a Toshiba laptop and I like to have the display brightness always set to the minimum. Here's what I have done:

1. Edited /etc/sysconfig/powersave/scheme_performance and /etc/sysconfig/powersave/scheme_powersave (these are the only two schemes I use) and set DISPLAY_BRIGHTNESS="min".
2. Ran SuSEconfig (don't know if this is strictly necessary with powersaved)

The result was that the display brightness was set to the maximum, instead of to the minimum:
# cat /proc/acpi/toshiba/lcd
brightness:              7
brightness_levels:       8

I also tried setting DISPLAY_BRIGHTNESS to a numerical value and it didn't work either... The brightness is always set to the maximum.
Comment 1 Danny Al-Gaaf 2006-02-05 18:59:09 UTC
@hmacht/seife: this is a issue for you
Comment 2 Holger Macht 2006-02-06 10:11:58 UTC
Maybe a stupid question, but does the powersave daemon adjust any display brightness at all?

Can you please try to adjust the brightness manually and tell us if this works.

From 'powersave -h':

 Brightness:
   -k, --set-brightness <x>               set current brightness level
   -K, --get-brightness                   get current brightness level
   -L, --get-brightness-levels            get number of brightness levels
Comment 3 Forgotten User 55iwwMllzz 2006-02-07 01:42:03 UTC
> Maybe a stupid question, but does the powersave daemon adjust any display
> brightness at all?

In previous versions, it did. And according to the comments in /etc/sysconfig/powersave/scheme_* it should work with «some vendor specific ACPI modules, such as ibm_acpi, asus_acpi, sony_acpi and toshiba_acpi.»

> Can you please try to adjust the brightness manually and tell us if this works.

Yes, it really works (I am using toshiba_acpi).

jfraga@linux:~> powersave -L
Available brightness levels: 8.
jfraga@linux:~> powersave -k 7
Brightness level set to 7.
jfraga@linux:~> powersave -k 0
Brightness level set to 0.
jfraga@linux:~> powersave -K
Current brightness level: 0.

But the DISPLAY_BRIGHTNESS variable is ignored.
Comment 4 Holger Macht 2006-02-07 08:50:30 UTC
I think kpowersave is running, right? If that's the case, you have to configure kpowersave to adjust the brightness via the daemon. This is a brand new feature. I hope there is a switch to disable brightness adjustments by kpowersave, Danny?
Comment 5 Forgotten User ZhJd0F0L3x 2006-02-07 12:17:41 UTC
I'll test this and then update the comments for the brightness variables like "these might get overridden by a brightness-aware powersave client like kpowersave" or something like that.
Comment 6 Forgotten User 55iwwMllzz 2006-02-08 12:23:13 UTC
> I think kpowersave is running, right? If that's the case, you have
> to configure kpowersave to adjust the brightness via the daemon

I didn't notice that new kpowersave feature. Great!
Comment 7 Holger Macht 2006-02-13 10:45:27 UTC
I think this is a WONTFIX then...