Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



於 日,2012-01-22 於 14:17 +0100,Artur Flinta 提到:
> Hi Joey!
> 
> > #define KEY_BRIGHTNESSDOWN      224
> > #define KEY_BRIGHTNESSUP        225
> >
> > Suggest you can try to run the following command before run X-windows:
> >
> > setkeycodes e054 224
> > setkeycodes e04c 225
> 
> I've run above commands (setkeycodes), and started X-window, then
> pressed several times brightness keys... and noticed something like
> this in dmesg:
> 
> [107404.053624] pkexec[11999]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 5]
> [107405.449578] pkexec[12003]: pam_systemd(polkit-1:session): Failed
> to create session: Invalid argument
> [107405.450971] pkexec[12003]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 6]
> [107405.923167] pkexec[12011]: pam_systemd(polkit-1:session): Failed
> to create session: Invalid argument
> [107405.924625] pkexec[12011]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 4]
> [107406.197956] pkexec[12019]: pam_unix(polkit-1:session): session
> opened for user root by (uid=1000)
> [107406.199010] pkexec[12019]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 2]
> 
> But brightness haven't changed. I think that this is quite similar to
> my first tries to directly write brightness value to

Yes, you are right. At least we fix the hotkey event problem.

> /sys/class/backlight/acpi_video0/brightness (as described in my first
> post) - but without any success.
> 

Yes! we still need fix the problem with backlight control. Please kindly
give me the result after add the following debug parameter:
	acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M

And, 
Did you try the following kernel parameter?
	acpi_backlight=vendor

Please try it!
There has a write brightness command 0x06 in WHCM method, WHCM call by
WMAA.
I think might need implement 0x06 command support in hp-wmi.c,
currently, I didn't see it.

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux