Bug 15609 (mikewatt) - ACPI brightness bug no FN F7 F8 brightness control and start up with a dim brightness.
Summary: ACPI brightness bug no FN F7 F8 brightness control and start up with a dim br...
Status: CLOSED INSUFFICIENT_DATA
Alias: mikewatt
Product: ACPI
Classification: Unclassified
Component: Power-Video (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Zhang Rui
URL:
Keywords:
: hollifly (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-22 14:48 UTC by 00oo00
Modified: 2011-01-21 07:46 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.31.20
Subsystem:
Regression: No
Bisected commit-id:


Attachments
output of "grep . /sys/firmware/acpi/interrupts/*" (663 bytes, application/x-gzip)
2010-03-26 08:00 UTC, 00oo00
Details
commond line and event_log (482 bytes, application/x-gzip)
2010-03-27 09:08 UTC, 00oo00
Details
event logs While pressing Fn+F7 and FN+F8 (696 bytes, text/plain)
2011-01-21 07:46 UTC, 00oo00
Details

Description 00oo00 2010-03-22 14:48:36 UTC
I have problem using linux OS to adjust my video brightness using the FN+F7 and FN+F8 and every time start up it automatically set the LCD to the lowest level. I can change the brightness with echo. And here is my cat info from the terminal.

laptop:~# cat '/proc/acpi/video/GFX0/DD03/brightness' 
levels:  13 25 38 50 63 75 88 100
current: 50

I tried with this unoffical fix but not working any more.
http://ubuntuforums.org/showthread.php?t=881241

I wish next kernel can add my laptop brightness fix. Thank you for ur time.
If u need more detail pls let me know.
Comment 1 00oo00 2010-03-22 14:49:42 UTC
BY THE WAY I`M USING GL960+ICH8 BASED LAPTOP.
Comment 2 ykzhao 2010-03-23 05:19:32 UTC
From the description it seems that the brightness can be adjusted by using the /sys/class/backlight/acpi_video*/brightness

Will you please do the following test?
    1. kill the process using /proc/acpi/event (use the command of "lsof /proc/acpi/event" to get the process id)
    2. cat /proc/acpi/event >event_log
    3. press "Fn + F7"/"Fn + F8" several times and then press "CTRL + C"

After the test, please attach the file of event_log.

thanks.
Comment 3 Zhang Rui 2010-03-23 07:46:05 UTC
please attach the acpidump output.
and attach the output of "grep . /sys/firmware/acpi/interrupts/*", both before and after pressing the Fn + F7/F8 hotkeys.
Comment 4 Zhang Rui 2010-03-26 02:23:16 UTC
*** Bug 15627 has been marked as a duplicate of this bug. ***
Comment 5 00oo00 2010-03-26 08:00:33 UTC
Created attachment 25721 [details]
output of "grep . /sys/firmware/acpi/interrupts/*"

@Zhang Rui
Here is the info u ask for. Please check into it.
Comment 6 00oo00 2010-03-26 08:05:21 UTC
(In reply to comment #4)
> *** Bug 15627 has been marked as a duplicate of this bug. ***

I have attached the grep output u asked for.
Comment 7 00oo00 2010-03-26 08:08:31 UTC
(In reply to comment #2)
> From the description it seems that the brightness can be adjusted by using
> the
> /sys/class/backlight/acpi_video*/brightness
> 
> Will you please do the following test?
>     1. kill the process using /proc/acpi/event (use the command of "lsof
> /proc/acpi/event" to get the process id)
>     2. cat /proc/acpi/event >event_log
>     3. press "Fn + F7"/"Fn + F8" several times and then press "CTRL + C"
> 
> After the test, please attach the file of event_log.
> 
> thanks.
@ykzhao
Thanks for the fast reply. But I still cannot cat the event log file.
It returns resource busy. How to kill the process?
Comment 8 00oo00 2010-03-26 08:15:02 UTC
I got this info back when I run the lsof command.
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
acpid   4957 root    3r   REG    0,3        0 4026531938 /proc/acpi/event
Comment 9 00oo00 2010-03-26 08:29:13 UTC
I ran that command again the id changed and occurred a warning.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/austin/.gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
acpid   5417 root    3r   REG    0,3        0 4026531938 /proc/acpi/event
Comment 10 00oo00 2010-03-27 09:05:37 UTC
(In reply to comment #2)
> From the description it seems that the brightness can be adjusted by using
> the
> /sys/class/backlight/acpi_video*/brightness
> 
> Will you please do the following test?
>     1. kill the process using /proc/acpi/event (use the command of "lsof
> /proc/acpi/event" to get the process id)
>     2. cat /proc/acpi/event >event_log
>     3. press "Fn + F7"/"Fn + F8" several times and then press "CTRL + C"
> 
> After the test, please attach the file of event_log.
> 
> thanks.

I did it again and added some command to run the cat event log file but I found it`s empty.
Attached the attachments. (command line and event_log)
Comment 11 00oo00 2010-03-27 09:08:25 UTC
Created attachment 25726 [details]
commond line and event_log

commond line and event_log
Comment 12 Zhang Rui 2010-03-29 07:27:40 UTC
just run "cat /proc/acpi/event" and then press the hotkey, there should be something pop up at this time.
Comment 13 00oo00 2010-03-29 13:58:12 UTC
(In reply to comment #12)
> just run "cat /proc/acpi/event" and then press the hotkey, there should be
> something pop up at this time.

Nothing pops up. And this is what returns when hit that command.

cat: /proc/acpi/event: Device or resource busy
Seems a bug out there.
Comment 14 Zhang Rui 2010-05-11 07:05:11 UTC
please run lsof /proc/acpi/event and kill all the processes that polling this file, and then do the test in comment #12.
Comment 15 Zhang Rui 2010-05-19 06:42:31 UTC
ping...
Comment 16 Zhang Rui 2010-06-09 06:30:58 UTC
bug closed as there is no response from the bug reporter.
Comment 17 00oo00 2011-01-21 07:42:55 UTC
(In reply to comment #16)
> bug closed as there is no response from the bug reporter.

Here is what I got when cating the event log while presing Fn+F7 and Fn+F8.
video DD03 00000086 00000000
video DD03 00000087 00000000
video DD03 00000086 00000000
video DD03 00000086 00000000
video DD03 00000087 00000000
video DD03 00000087 00000000
Comment 18 00oo00 2011-01-21 07:46:57 UTC
Created attachment 44582 [details]
event logs While pressing Fn+F7 and FN+F8

cat /proc/acpi/event results While pressing Fn+F7 and FN+F8.

Note You need to log in before you can comment on or make changes to this bug.