On Mon, 25 Jun 2007, Alfredo Matos wrote:
> [2.6.20]
> 
> Working, booted into single mode. Brightness changes but does not
> reflect on /proc/acpi/ibm/brighntess. Always shows level 7.
> 
> [2.6.22]
> 
> Working, same as above, but /proc/acpi/ibm/brightness always shows 0.

Both of you, please test the single-mode boot, ACPI video NOT loaded, like
this:

1. make sure just thinkpad-acpi/ibm-acpi is loaded, and that ACPI video is
NOT loaded.  When loading ibm-acpi/thinkpad-acpi, use the experimental=1
parameter (so that you get the ecdump facility).

Use the keys to increase and decrease brightness.  Look in the output of
/proc/acpi/ibm/ecdump to find out what EC register is changing.

Is it EC register 0x31?

> [  128.164000] BUG: at fs/proc/generic.c:732 remove_proc_entry()
> [  128.164000]  [<c01ad1a5>] remove_proc_entry+0x1a5/0x1b0
> [  128.164000]  [<f8b4109a>] acpi_video_bus_remove_fs+0x65/0x73 [video]
> [  128.164000]  [<f8b41469>] acpi_video_bus_remove+0x3a/0x55 [video]
> [  128.164000]  [<c0228ceb>] acpi_bus_unregister_driver+0x3b/0xa1
> [  128.164000]  [<f8b428d2>] acpi_video_exit+0xa/0x1a [video]
> [  128.164000]  [<c0145dca>] sys_delete_module+0x12a/0x190
> [  128.164000]  [<c02f07bf>] do_page_fault+0x33f/0x5f0
> [  128.164000]  [<c01031f0>] sysenter_past_esp+0x69/0xa9

Crap. Just move video.ko to video.ko-old or somesuch and reboot, so that you
really get rid of it.  That way, you can be really sure it didn't load, as
it is apparently buggy as all heck.

> [  123.712000] set_level status: 0
> [  123.880000] set_level status: 0
> [  124.060000] set_level status: 0
> [  125.216000] set_level status: 0
> [  125.464000] set_level status: 0
> [  125.612000] set_level status: 0
> 
> This is also present in the 2.6.20 output.

I do *not* recall ibm-acpi or thinkpad-acpi ever printing these.  Either it
is ACPI video, or you are using a modified version of
ibm-acpi/thinkpad-acpi.

-- 
  "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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to