Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
display brightness issues on asus A6Rp laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
romee
n00b
n00b


Joined: 03 Feb 2004
Posts: 43

PostPosted: Thu Sep 20, 2007 5:19 pm    Post subject: display brightness issues on asus A6Rp laptop Reply with quote

hi,

I have an Asus A6Rp laptop since january. I've had Gentoo linux installed on it and had not any problems, with gentoo and vanilla kernels from 2.6.17 to 2.6.22.
Last month it began to freeze, so I've sent it to Asus. When I got it back, the report said that motherboard has been changed. Original OS was still there, so I booted into it - everything was normal, except when I decreased the display brightness (with Fn+F5 keys), I was unable to increase it (Fn+F6). I have anyway planned to install clean system after repair, so I have installed it and i ran into same problem. Have tried old kernel (2.6.22-r4) and versions linux-2.6.22, linux-2.6.22-gentoo-r5 (this version even with genkernel configuration) and linux-2.6.23-rc6. I would think that it is a HW problem, but during booting and GRUB prompt, brightness controls work fine! I have also tried gentoo 2007.0 live CD (2.6.19-gentoo-r5) - didn't work and 2006.1 live CD (2.6.17-gentoo-r7) - only this worked.
I have tried both OSS ATI driver and ati-drivers package and both older asus_acpi and asus-laptop modules. When decreasing brightness, acpid logs unknown hotkey and kernel logs debug message:
Code:

set_level status: 0

, but when increasing brightness, nothing happens (this message appears only in function acpi_video_device_lcd_set_level() in drivers/acpi/video.c).

I don't remember my previous lspci output, my current is:
Code:

00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80)
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
02:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
02:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)
02:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)


My actual kernel config is here.

actually loaded modules:
Code:

Module                  Size  Used by
asus_laptop            15224  0
lcd                     3716  0
display                 3872  0
radeonfb              104640  0
fb_ddc                  2176  1 radeonfb
sd_mod                 20112  0
sr_mod                 12452  0
sg                     20760  0
lp                      8388  0
radeon                121248  0
drm                    69012  1 radeon
firmware_class          7168  0
usbhid                 24320  0
hid                    25088  1 usbhid
i2c_algo_bit            5636  1 radeonfb
sdhci                  16012  0
mmc_core               25876  1 sdhci
yenta_socket           22284  0
rsrc_nonstatic          8832  1 yenta_socket
pcmcia_core            31632  2 yenta_socket,rsrc_nonstatic
8139too                20096  0
mii                     4608  1 8139too
video                  17040  0
output                  2944  1 video
parport_pc             21412  1
parport                20032  2 lp,parport_pc
led_class               3460  1 asus_laptop
ohci_hcd               19460  0
i2c_piix4               7308  0
ati_agp                 6796  0
agpgart                25776  2 drm,ati_agp
evdev                   7808  0
ehci_hcd               28172  0
usbcore               112276  4 usbhid,ohci_hcd,ehci_hcd
psmouse                34320  0


I have STFG with no success. Any idea anybody?
Back to top
View user's profile Send private message
romee
n00b
n00b


Joined: 03 Feb 2004
Posts: 43

PostPosted: Mon Sep 24, 2007 1:43 pm    Post subject: Reply with quote

I have installed 2.6.16-gentoo-r13 kernel and brightness keys are working fine. Then I tried disabling ACPI completely in 2.6.22 vanilla kernel and it was working! I still need ACPI though - so I've enabled ACPI. Without ACPI_VIDEO the brightness keys don't work at all, with that option enabled only decreasing works. I don't understand it.
Back to top
View user's profile Send private message
romee
n00b
n00b


Joined: 03 Feb 2004
Posts: 43

PostPosted: Tue Sep 25, 2007 7:31 am    Post subject: Reply with quote

so far, it looks like this:

Code:

kernel              CONFIG_ACPI CONFIG_ACPI_VIDEO decrease increase
2.6.16-gentoo-r13        y               y           ok       ok
2.6.17-gentoo-r7         y               y           ok       ok
2.6.19-gentoo-r5         y               y           ok        x
2.6.22-gentoo-r5         y               y           ok        x
2.6.22                   n               n           ok       ok
2.6.22                   y               n            x        x
2.6.22                   y               y           ok        x
2.6.23-rc6               y               y           ok        x


If only I could find the correct source file in kernel, which handles this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum