Bug 11478 - Brightness function keys do not work when acpi is enabled on Gateway m-1624
Summary: Brightness function keys do not work when acpi is enabled on Gateway m-1624
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 05:49 UTC by Kojo Gambrah-Sampaney
Modified: 2008-10-16 17:09 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.24-19
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dmesg output (68.53 KB, application/octet-stream)
2008-09-03 02:44 UTC, Kojo Gambrah-Sampaney
Details
acpidump (157.23 KB, application/octet-stream)
2008-09-03 03:01 UTC, Kojo Gambrah-Sampaney
Details
output of 'ls /proc/acpi/ (134 bytes, application/octet-stream)
2008-09-18 05:08 UTC, Kojo Gambrah-Sampaney
Details

Description Kojo Gambrah-Sampaney 2008-09-02 05:49:09 UTC
Latest working kernel version:n/a
Earliest failing kernel version:2.6.24-16
Distribution:Ubuntu Hardy Heron 8.04.1
Hardware Environment:Gateway m-1624 

00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:02.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Graphics Port 0)
00:04.0 PCI bridge: ATI Technologies Inc Unknown device 7914
00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1)
00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]
01:05.2 Audio device: ATI Technologies Inc Radeon X1200 Series Audio Controller
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)

Software Environment:Gnome Desktop
Problem Description:
Brightness function keys work before Linux is loaded. For example, it works in GRUB

Steps to reproduce:
Comment 1 Kojo Gambrah-Sampaney 2008-09-02 05:54:57 UTC
Problem Description:
Brightness function keys work before Linux is loaded. For example, it works in
GRUB. 

However when I boot with the kernel option noacpi or acpi=ht, The function keys work perfectly. 
Comment 2 ykzhao 2008-09-02 18:04:02 UTC
Will you please attach the output of dmesg, acpidump?
Thanks.
Comment 3 Zhang Rui 2008-09-02 18:09:07 UTC
with ACPI enabled, with ACPI video driver loaded,
can you change the brightness via the sysfs backlight interface (/sys/class/backlight/acpi_video0/...) ?
can you change the brightness via the procfs I/F (/proc/acpi/video/xxx/yyy/brightness) ?
If yes, please kill acpid and run "cat /proc/acpi/event". what can you see when pressing the hotkey?
If no, please attach the acpidump output.
Comment 4 Kojo Gambrah-Sampaney 2008-09-03 02:44:40 UTC
Created attachment 17589 [details]
dmesg output
Comment 5 Kojo Gambrah-Sampaney 2008-09-03 03:00:36 UTC
I really don't know much about the operations you mention here. I however run 'cat /proc/acpi/event' and i had a 'no such file or directory found' error message. I however killed it using gnome-system-monitor but it the brightness function keys still do not work. I am attaching the acpidump.


(In reply to comment #3)
> with ACPI enabled, with ACPI video driver loaded,
> can you change the brightness via the sysfs backlight interface
> (/sys/class/backlight/acpi_video0/...) ?
> can you change the brightness via the procfs I/F
> (/proc/acpi/video/xxx/yyy/brightness) ?
> If yes, please kill acpid and run "cat /proc/acpi/event". what can you see
> when
> pressing the hotkey?
> If no, please attach the acpidump output.
> 
Comment 6 Kojo Gambrah-Sampaney 2008-09-03 03:01:19 UTC
Created attachment 17590 [details]
acpidump
Comment 7 Zhang Rui 2008-09-03 20:33:26 UTC
please check the kernel config file and make sure

(In reply to comment #5)
> I really don't know much about the operations you mention here. I however run
> 'cat /proc/acpi/event' and i had a 'no such file or directory found' error
> message.
Please attach the kernel config file here.
Please make sure CONFIG_ACPI_PROC_EVENT is set in your kernel config.

> I however killed it using gnome-system-monitor but it the brightness
> function keys still do not work. I am attaching the acpidump.
> 
> 
> (In reply to comment #3)
> > with ACPI enabled, with ACPI video driver loaded,
> > can you change the brightness via the sysfs backlight interface
> > (/sys/class/backlight/acpi_video0/...) ?
please run the following commands:
echo 0 > /sys/class/backlight/acpi_video0/brightness;
echo 7 > /sys/class/backlight/acpi_video0/brightness;
is the brightness acutally changed?
Comment 8 Kojo Gambrah-Sampaney 2008-09-05 09:44:13 UTC
I'm still trying to find the kernel config but it seems i have to download the sources first.

(In reply to comment #7)
> please check the kernel config file and make sure
> 
> (In reply to comment #5)
> > I really don't know much about the operations you mention here. I however
> run
> > 'cat /proc/acpi/event' and i had a 'no such file or directory found' error
> > message.
> Please attach the kernel config file here.
> Please make sure CONFIG_ACPI_PROC_EVENT is set in your kernel config.
> 
> > I however killed it using gnome-system-monitor but it the brightness
> > function keys still do not work. I am attaching the acpidump.
> > 
> > 
> > (In reply to comment #3)
> > > with ACPI enabled, with ACPI video driver loaded,
> > > can you change the brightness via the sysfs backlight interface
> > > (/sys/class/backlight/acpi_video0/...) ?
> please run the following commands:
> echo 0 > /sys/class/backlight/acpi_video0/brightness;
> echo 7 > /sys/class/backlight/acpi_video0/brightness;
> is the brightness acutally changed?

running the commands still returned a file not found error.
Comment 9 Zhang Rui 2008-09-07 20:03:23 UTC
(In reply to comment #8)
> I'm still trying to find the kernel config but it seems i have to download
> the
> sources first.
> 
> (In reply to comment #7)
> > please check the kernel config file and make sure
> > 
> > (In reply to comment #5)
> > > I really don't know much about the operations you mention here. I however
> run
> > > 'cat /proc/acpi/event' and i had a 'no such file or directory found'
> error
> > > message.
> > Please attach the kernel config file here.
> > Please make sure CONFIG_ACPI_PROC_EVENT is set in your kernel config.
> > 
> > > I however killed it using gnome-system-monitor but it the brightness
> > > function keys still do not work. I am attaching the acpidump.
> > > 
> > > 
> > > (In reply to comment #3)
> > > > with ACPI enabled, with ACPI video driver loaded,
> > > > can you change the brightness via the sysfs backlight interface
> > > > (/sys/class/backlight/acpi_video0/...) ?
> > please run the following commands:
> > echo 0 > /sys/class/backlight/acpi_video0/brightness;
> > echo 7 > /sys/class/backlight/acpi_video0/brightness;
> > is the brightness acutally changed?
> 
> running the commands still returned a file not found error.
> 
Please make sure the CONFIG_ACPI_VIDEO is m/y, please make sure the acpi video driver is loaded if it's not compiled in.
will you please attach the kernel config file here?
Comment 10 Kojo Gambrah-Sampaney 2008-09-12 02:30:37 UTC
i am having trouble finding the kernel configuration even after installing the kernel sources.
Comment 11 Zhang Rui 2008-09-15 19:57:12 UTC
well. please attach the result of "ls /sys/class/backlight" and "ls /proc/acpi/".
Comment 12 Kojo Gambrah-Sampaney 2008-09-18 05:08:34 UTC
Created attachment 17857 [details]
output of 'ls /proc/acpi/
Comment 13 Kojo Gambrah-Sampaney 2008-09-18 05:09:56 UTC
(In reply to comment #11)
> well. please attach the result of "ls /sys/class/backlight" and "ls
> /proc/acpi/".
> 

output of 'ls /sys/class/backlight' is empty
Comment 14 Zhang Rui 2008-09-18 19:22:57 UTC
Hmm, _BQC method is missed in this BIOS.

could you please try any later kernel release please, say 2.6.26?
you should see something under /sys/class/backlight/ then.
please verify if this I/F can actually change the backlight.
Comment 15 Kojo Gambrah-Sampaney 2008-09-21 04:59:14 UTC
I am running 2.6.27-3 and I am able to adjust the backlight. 

'/sys/class/backlight/' shows 'acpi_video0'
Comment 16 Zhang Rui 2008-09-21 19:27:11 UTC
hah, seems that problem is fixed in the latest kernel.
Close this bug.

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