You are not logged in.

#1 2007-08-03 05:15:39

ziben
Member
Registered: 2007-08-03
Posts: 5

[Solved] Can't adjust my laptop's brightness?

There are some strange problems.
When I use kernel26 2.6.22-1,I can't adjust my laptop's brightness.But When I updated to 2.6.22-2,I find these works fine.
But When I updated to 2.6.22-3 and 2.6.22-4,these functions can't work again.
Why? Can somebody help me?I have tried all the method I find in wiki.
It seems to be that my laptop can't detect my (fn+brightnessdown/brightnessup).

I find the diff between the -2 and others is that:
Code:

acpi-asus-m6-battery-fix.patch

-2 has acpi-asus-m6-battery-fix.patch, others hasn't it.

I changed the -4 PKGBUILD and uncomment the line 39, add the md5sum, and uncomment the patch line, then I makepkg && pacman -U kernel26-.

After reboot, I can adjust the brightness with my button (FN+F5/F6),smile.

Last edited by ziben (2007-08-03 16:42:11)

Offline

#2 2007-08-03 07:16:43

Prew
Member
Registered: 2006-12-31
Posts: 14

Re: [Solved] Can't adjust my laptop's brightness?

I had same problem.
My solution:

modprobe video

Offline

#3 2007-08-03 11:17:04

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: [Solved] Can't adjust my laptop's brightness?

If this doesn't help... are you trying to adjust brightness using the buttons on the keyboard? Maybe there's just something mapped wrong then. You could try using a software solution to adjust brightness, like "powersaved" for example.


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#4 2007-08-03 13:28:21

ziben
Member
Registered: 2007-08-03
Posts: 5

Re: [Solved] Can't adjust my laptop's brightness?

modprobe video doesn't help.

When I use the 'showkeys -s', the 'FN + F5/F6' can't be detect.(this the buttons to adjust brightness on my keyboard)

But when I switch to use battery, the brightness is auto down.

Offline

#5 2007-08-03 13:46:50

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: [Solved] Can't adjust my laptop's brightness?

These 'Fn-Combinations' aren't detected correctly by showkey on my laptop, either. Fn is shown as keycode 143 but when pressing an F#-key while holding Fn it is not recognized. Furthermore, keystrokes should have no effect while showkey is active and I can still adjust brightness with showkey running!

If you don't insist on using the keys to adjust or need a quick workaround until the problem is really solved, concider using the powersave daemon (from the 'powersave' package). It provides a command line interface to adjust cpu speed (if you aren't using cpufreq, yet), brightness, and so on.

What manufacturer is your laptop from? Which model?


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#6 2007-08-03 14:06:51

ziben
Member
Registered: 2007-08-03
Posts: 5

Re: [Solved] Can't adjust my laptop's brightness?

My laptop is Compaq Presario V3169.

"Linux ziben-pc 2.6.22-ARCH #1 SMP PREEMPT Thu Aug 2 17:32:20 UTC 2007 x86_64 AMD Turion(tm) 64 AuthenticAMD GNU/Linux"

But when I use 2.6.22-2,there is no problem.

Offline

#7 2007-08-03 14:15:58

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: [Solved] Can't adjust my laptop's brightness?

ziben wrote:

My laptop is Compaq Presario V3169.

"Linux ziben-pc 2.6.22-ARCH #1 SMP PREEMPT Thu Aug 2 17:32:20 UTC 2007 x86_64 AMD Turion(tm) 64 AuthenticAMD GNU/Linux"

But when I use 2.6.22-2,there is no problem.

And with the latest -4 release you got the problem again? Maybe they added a patch in -2 that they dropped again afterwards. Although I haven't had similiar problems on my Thinkpad I'd say it's a kernal issue. If you don't desperately need the ability to adjust brightness by the use of the keys I'd wait and check if it works again in the next releases. Or, you try to find out what has changed from -1 to -2 and from -2 to -4.
Maybe you can then solve it by just manually patching your kernel.


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#8 2007-08-03 14:41:22

ziben
Member
Registered: 2007-08-03
Posts: 5

Re: [Solved] Can't adjust my laptop's brightness?

Yes,only the -2 release work.
I will try to find changes between the -1 and -2 and -4.
Thanks a lot!

Offline

#9 2007-08-03 14:47:02

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: [Solved] Can't adjust my laptop's brightness?

Keep me up-to-date, please. As I'm working on building an own kernel, I'm quite curious about all kernel issues at the moment, no matter if they might affect me or not.


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#10 2007-08-03 16:41:17

ziben
Member
Registered: 2007-08-03
Posts: 5

Re: [Solved] Can't adjust my laptop's brightness?

I find the diff between the -2 and others is that:

acpi-asus-m6-battery-fix.patch

-2 has acpi-asus-m6-battery-fix.patch, others hasn't it.

I changed the -4 PKGBUILD and uncomment the line 39, add the md5sum, and uncomment the patch line, then I makepkg && pacman -U kernel26-.

After reboot, I can adjust the brightness with my button (FN+F5/F6),:).

Offline

#11 2007-08-03 16:49:52

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: [Solved] Can't adjust my laptop's brightness?

So it really was a dropped patch... good job!

But who could asume that you need an asus battery fix for you compq display brightness wink


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#12 2007-08-03 21:33:53

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: [Solved] Can't adjust my laptop's brightness?

that's because asus hotkeys give acpi events, not usual keycode events. the patch probably adds a certain model support to the asus_acpi module, originally for a battery fix, but has the side effect of making the hotkeys working.
note that if you use gnome, you may now even be able to control the brightness with a gnome panel applet, and gnome-power-manager may do neat things for you too.
take a peek at /proc/acpi/asus/ contents with and without the patch.

Last edited by lloeki (2007-08-03 21:35:15)


To know recursion, you must first know recursion.

Offline

Board footer

Powered by FluxBB