2006-11-24 03:21:53

by Thomas Tuttle

[permalink] [raw]
Subject: [PATCH] Fixed acpi_video_get_next_level.

I just upgraded the BIOS on my Dell Inspiron e1405 to the latest version
(A05), and the LCD brightness hotkeys stopped working. It turns out
that the Dell ACPI code was actually sending video notify events to the
kernel, but that the function acpi_video_get_next_level, which was
supposed to choose the new video level, contained simply the phrase "Fix
me" and "return level_current;".

So I did.

Here's a patch that implements acpi_video_get_next_level properly, as
far as I know. I tried it on this laptop and it works. It's against
the current linus/linux-2.6.git tree.

I'm a relatively new kernel hacker, so a few gentle whacks with a
clue-by-four are probably necessary, and appreciated.

Signed-off-by: Thomas Tuttle <[email protected]>

Thanks, and hope this helps.


Attachments:
(No filename) (785.00 B)
acpi_video_get_next_level-fix.patch (2.05 kB)
Download all attachments