You are not logged in.

#1 2011-07-20 19:40:57

3Dman
Member
Registered: 2011-06-14
Posts: 13

[Solved] HP Pavilion g6-1155ee backlight stuck on max

Hey,
I've HP Pavilion g6-1155ee. I did install Archlinux on it and all works good, the problem with backlight (brightness) is stuck at max, I can't lower it using the keyboard shortcut nor gnome-control-center...

I also get these errors when using the buttons:

Jul 20 22:36:56 localhost logger: ACPI group/action undefined: video / DD02
Jul 20 22:36:56 localhost kernel: [  917.387733] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
Jul 20 22:36:56 localhost kernel: [  917.387743] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
Jul 20 22:37:00 localhost kernel: [  921.454307] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
Jul 20 22:37:00 localhost kernel: [  921.454310] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.

Changing it using xbacklight doesn't give any result.

Intel Core i5 - 4GB RAM - Intel HD 3000 - Gnome 3

Any help will be appreciated smile
Bye.

EDIT: Fixed by using a patched kernel (linux-kamal) available on AUR: http://aur.archlinux.org/packages.php?ID=47458

Last edited by 3Dman (2011-07-28 09:44:21)

Offline

#2 2011-07-20 20:30:52

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

You can use "setpci" and sometimes ACPI to change your backlight values: https://wiki.archlinux.org/index.php/Backlight
As to those errors that is because those keys have scancodes but they have not been yet mapped to a keycode. See here how to do it: https://wiki.archlinux.org/index.php/Ex … board_Keys and here: https://wiki.archlinux.org/index.php/Ma … o_keycodes


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2011-07-20 21:56:24

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

Thanks for the reply lagagnon,
I found out that the brightnessup and brightnessdown keys have the same scancode 0xAB, is that normal?

Last edited by 3Dman (2011-07-20 22:34:51)

Offline

#4 2011-07-21 17:24:46

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

Also, setpci command fails to change my brightness, so it's complicated problem with changing brightness from the system and using keys.
I'd like to know what could causes such problem ACPI or the kernel or BIOS, so I could file an upstream bug. Maybe because the the graphics is new?
Any help would be awesome smile
Thanks.

Last edited by 3Dman (2011-07-21 17:26:16)

Offline

#5 2011-07-23 16:00:19

AnnS
Member
From: Venezuela
Registered: 2011-06-27
Posts: 48

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

Hi! Well, this is more like a workaround, but it was enough for me. Have you tried setting the brightness in dconf-editor -> org -> power-manager -> brightness-ac?
As this:

tOWxpcA

But my Fn keys do work, it's just that after every boot, the brightness was at max again. I hope it works for you.


Acer Aspire 7741G-6426 | Intel Core i5-480M 2.66GHz | 8GB RAM DDR3 1333MHz | 640GB HDD 5400RPM | AMD Radeon 6550M 1GB DDR3 |

Lenovo 3000 C200 | Intel Core 2 Duo T5500 1.66GHz | 2GB RAM DDR2 667MHz | 250GB HDD 5400RPM | Intel GMA 950 |

Offline

#6 2011-07-24 02:53:38

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

AnnS wrote:

Hi! Well, this is more like a workaround, but it was enough for me. Have you tried setting the brightness in dconf-editor -> org -> power-manager -> brightness-ac?
As this:

http://ompldr.org/tOWxpcA

But my Fn keys do work, it's just that after every boot, the brightness was at max again. I hope it works for you.

It doesn't work, I'm getting desperate with this problem...

Offline

#7 2011-07-26 15:05:53

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

You didn't mention whether you had tried the boot parameters:

acpi_osi=Linux acpi_backlight=vendor

It seems that brightness control is not properly available under linux for some Intel mobile processors (I have just had this on an i3).
On this i3 the boot parameters at least enabled adjustment via the function keys (though at every restart and after every blanking it's back at full brightness).

Offline

#8 2011-07-26 19:45:34

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

gradgrind wrote:

You didn't mention whether you had tried the boot parameters:

acpi_osi=Linux acpi_backlight=vendor

It seems that brightness control is not properly available under linux for some Intel mobile processors (I have just had this on an i3).
On this i3 the boot parameters at least enabled adjustment via the function keys (though at every restart and after every blanking it's back at full brightness).

I tried every combination of those when using acpi_backlight=vendor it doesn't detect brightness devices, acpi_osi=Linux doesn't do anything,
So you think it's a problem with graphics drivers, should I report a bug there?

Offline

#9 2011-07-27 10:22:09

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

It would be nice to know where the problem actually lies. Is it the graphics driver, or is it the kernel? On this i3 laptop the value in /proc/acpi/video/.../brightness does follow the actual brightness (when changed via the function keys), and writing to it works too (in that the new value can be read back), but this doesn't change the actual brightness. According to some post somewhere these chips seem to be lacking the register addressed by 'setpci -s 00:02.0 F4.B=xx'.

It must nevertheless be possible to somehow set the brightness programmatically, as the function keys manage it and windows manages it, it just seems not to have arrived in linux yet, though.

Offline

#10 2011-07-27 11:39:41

BHoward
Member
Registered: 2010-10-07
Posts: 11

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

I had this same problem with my i3 laptop. I fixed it by using this kernel http://aur.archlinux.org/packages.php?ID=47458

Offline

#11 2011-07-28 09:01:42

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

BHoward wrote:

I had this same problem with my i3 laptop. I fixed it by using this kernel http://aur.archlinux.org/packages.php?ID=47458

Thanks for the recommendation, compiling it now...
Wish me luck wink

Offline

#12 2011-07-28 09:42:43

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

It's fixed, finally smile
Thanks all.

Offline

#13 2011-08-19 00:06:25

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

Great news!
The patches are officially upstream and it should arrive with Linux 3.1
http://git.kernel.org/?p=linux/kernel/g … 36de3361d9

Offline

#14 2011-11-02 00:18:02

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

I'm having the same problem! I'm trying this kernel right now! Let see if it works!

Weel the package in fact does not exist anymore!

(https://aur.archlinux.org/packages.php?ID=47458)

Last edited by manouchk (2011-11-02 00:20:49)

Offline

#15 2011-11-02 07:55:19

3Dman
Member
Registered: 2011-06-14
Posts: 13

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

manouchk wrote:

I'm having the same problem! I'm trying this kernel right now! Let see if it works!

Weel the package in fact does not exist anymore!

(https://aur.archlinux.org/packages.php?ID=47458)

Just wait for Linux kernel 3.1, it's in testing right now and It has this problem fixed.

Offline

#16 2011-11-02 13:04:27

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

OK, I will switch back to kernel 3.1 but I finally found kernel-kamal with yaourt. The package is now

http://aur.archlinux.org/packages.php?ID=51329

The only problem I had is that compiling it from yaourt needed more than 1 giga of tmp memory so that I had to modify /tmp size in /etc/fstab to 2 giga, adding options size=2G:

more /etc/fstab
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid,size=2G	0	0

Offline

#17 2011-11-04 15:42:21

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

Re: [Solved] HP Pavilion g6-1155ee backlight stuck on max

the guy that maintains kamal kernel has a repo, for those that don't want to wait for the compiler

Offline

Board footer

Powered by FluxBB