Re: thinkpad_acpi: brightness: will use unverified default: brightness_mode=3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 May 2010, Mark Peter Wege wrote:
> 2010-05-13 15:29:41	caprica	kernel	[   13.362662] thinkpad_acpi: 
> ThinkPad BIOS 1WET90WW (2.10 ), EC 1VHT28WW-1.04
> 2010-05-13 15:29:41	caprica	kernel	[   13.362664] thinkpad_acpi: IBM 
> ThinkPad R50e, model 1834J8G
> [...]
> 2010-05-13 15:29:41	caprica	kernel	[   13.376976] thinkpad_acpi: 
> brightness: will use unverified default: brightness_mode=3

> I just wanted to give you the feedback that it does not work well on my 
> thinkpad. It is to dark, like it would ok when running on battery. I have to 
> correct it on every boot manually.

Hmm, ok.  We will have to do two simple tests.

There are two possibilities:

1) it is better to use the UCMS method (brightness_mode=2)

and

2) the default (brightness_mode=3) works, but userspace is doing something
nasty.

> Can you give me advice how to change it permanently? Please consider that I am 
> not subscribed to this list and add me to the CC if you answer to the list.

Heh, if anything, you might actually have to ask me to *stop* CC'ing you.
The netiquete on all Linux kernel work is to always CC everyone ;-)

Please do two tests and send me the results.  To do these tests, all you
have to do is to pass some parameters to the thinkpad-acpi module, and send
me *all* kernel log lines that start with "thinkpad_acpi".

Test 1:
Enable the debug mode, reboot, change the brightness level (using the
keys) to the one you want, reboot again.

How to enable debug mode: give thinkpad-acpi the "debug=0xffff"
parameter.  To do that:

a) if it is a module: edit any files with "options thinkpad-acpi" or
"options thinkpad_acpi" under /etc/modprobe.d/  and add the debug=0xffff
parameter to the option line.

If there are no files like that, you can create one:

echo 'options thinkpad_acpi debug=0xffff' > /etc/modprobe.d/thinkpad-acpi

b) if it is compiled in your kernel, you will have to tell grub/lilo
to add this to the kernel command line:  thinkpad_acpi.debug=0xffff


Test 2:
Same as test 1, but we will use "UCMS mode".

Do the same as in test 1, but you will have to give two parameters to
thinkpad-acpi: the debug=0xffff parameter, and also the
brightness_mode=2 parameter.


If we find out that brightness_mode=2 works well for you, all you have
to do is to keep that parameter, and remove the debug=0xffff parameter.

Should that happen, I will add an entry to the driver to change the
default in future versions.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------

_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux