* [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w)
@ 2011-11-23 20:34 Artur Flinta
[not found] ` <CAGB3EUR750VpHdvrZ25mn9bcS-4ZT+BSJ_zD4-sRncyYNT=0Zg@mail.gmail.com>
0 siblings, 1 reply; 11+ messages in thread
From: Artur Flinta @ 2011-11-23 20:34 UTC (permalink / raw)
To: linux-acpi
Hi!
I have HP Elitebook 8560w with FirePro M5950, Fedora 16, kernel
3.1.1,xorg ati driver 6.14.3 and issues with screen backlight - can't
dimit.I can write to /sys/class/backlight/acpi_video0/brightness
valuesfrom 0 to 20 (as stated in max_brightness), but it have no
effect onthe screen, values in brightness as well as in
actual_brightnessreflects written number.Before system boot, I can
change brightness of the screen, and itpersist in operating system.
Value of the/sys/class/backlight/acpi_video0/brightness indicates
maximumbrightness (20) even if minimal was set before boot. Kernel
radeon driver maintainers said, that backlight is driven by APCI
drivers, so I'm here to ask for help :)
How can I help to debug this issue? I'm able to recompile kernel and
apply patches, as well as do some tests. Unfortunately I'm unable to
write or correct driver code.
RegardsArtur
--
Każdy problem ma swoje rozwiązanie, zatem
jeżeli nie ma rozwiązania to nie ma problemu.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <CAGB3EUR750VpHdvrZ25mn9bcS-4ZT+BSJ_zD4-sRncyYNT=0Zg@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAGB3EUR750VpHdvrZ25mn9bcS-4ZT+BSJ_zD4-sRncyYNT=0Zg@mail.gmail.com> @ 2011-12-09 14:54 ` joeyli [not found] ` <CAEPe-G+iooX_BOD=5m1nMgn+t63XGsLR+4JCfvHKOyTx98qydg@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2011-12-09 14:54 UTC (permalink / raw) To: aflinta; +Cc: linux-acpi, platform-driver-x86 Hi Artur, 於 五,2011-12-09 於 22:41 +0800,Li Joey 提到: > > > ---------- Forwarded message ---------- > From: Artur Flinta <aflinta@gmail.com> > Date: 2011/11/24 > Subject: [Bugreport] Screen backllight issues on FirePro M5950 (HP > EliteBook 8560w) > To: linux-acpi@vger.kernel.org > > > Hi! > I have HP Elitebook 8560w with FirePro M5950, Fedora 16, kernel > 3.1.1,xorg ati driver 6.14.3 and issues with screen backlight - can't > dimit.I can write to /sys/class/backlight/acpi_video0/brightness > valuesfrom 0 to 20 (as stated in max_brightness), but it have no > effect onthe screen, values in brightness as well as in > actual_brightnessreflects written number.Before system boot, I can > change brightness of the screen, and itpersist in operating system. > Value of the/sys/class/backlight/acpi_video0/brightness indicates > maximumbrightness (20) even if minimal was set before boot. Kernel > radeon driver maintainers said, that backlight is driven by APCI > drivers, so I'm here to ask for help :) > How can I help to debug this issue? I'm able to recompile kernel and > apply patches, as well as do some tests. Unfortunately I'm unable to > write or correct driver code. > RegardsArtur > -- > Każdy problem ma swoje rozwiązanie, zatem > jeżeli nie ma rozwiązania to nie ma problemu. > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" > in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > You can try to put kernel parameter: acpi_osi="!Windows 2009" to /boot/grub/menu.lst, then reboot look at maybe better. And, could you please kindly share DSDT and dmidecode to me? Plesae login by root then: % acpidump > acpidump.dat % dmidecode > dmidecode.log Thanks a lot! Joey Lee ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CAEPe-G+iooX_BOD=5m1nMgn+t63XGsLR+4JCfvHKOyTx98qydg@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAEPe-G+iooX_BOD=5m1nMgn+t63XGsLR+4JCfvHKOyTx98qydg@mail.gmail.com> @ 2011-12-21 4:55 ` joeyli 2011-12-21 9:42 ` Artur Flinta 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2011-12-21 4:55 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 於 六,2011-12-10 於 11:54 +0100,Artur Flinta 提到: > Hi Joey! > > On Fri, Dec 9, 2011 at 3:54 PM, joeyli <jlee@suse.com> wrote: > > > > You can try to put kernel parameter: > > > > acpi_osi="!Windows 2009" > > > > to /boot/grub/menu.lst, then reboot look at maybe better. > > No change for me :( > > > And, > > could you please kindly share DSDT and dmidecode to me? > > Plesae login by root then: > > % acpidump > acpidump.dat > > % dmidecode > dmidecode.log > > Sure, in attachment. > > Regards > Artur > > Just checked your DSDT, didn't see _BCM implementation on this machines, and also didn't see useful _Q event function. Could you please help to enable acpi debug log? acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF Please attached dmesg and messages log that cover system boot and pressed brightness key a couple of times. And, Please also monitor does there have any value of gpe was increased when you press brightness keys: watch -n 1 cat /sys/firmware/acpi/interrupts/gpe[012][0123456789ABCDEF] Please tell me which gpe's value increased if you found. Thanks a lot! Joey Lee ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) 2011-12-21 4:55 ` joeyli @ 2011-12-21 9:42 ` Artur Flinta 2012-01-20 3:35 ` joeyli 0 siblings, 1 reply; 11+ messages in thread From: Artur Flinta @ 2011-12-21 9:42 UTC (permalink / raw) To: joeyli; +Cc: linux-acpi, platform-driver-x86 [-- Attachment #1: Type: text/plain, Size: 886 bytes --] Hi Joey! On Wed, Dec 21, 2011 at 5:55 AM, joeyli <jlee@suse.com> wrote: > Could you please help to enable acpi debug log? > acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF > > Please attached dmesg and messages log that cover system boot and > pressed brightness key a couple of times. Added debug parameters, restarted, after GNOME loaded pressed dozen of times brightness shortcuts... logs in attachment. > And, > Please also monitor does there have any value of gpe was increased when > you press brightness keys: > > watch -n 1 cat /sys/firmware/acpi/interrupts/gpe[012][0123456789ABCDEF] > > Please tell me which gpe's value increased if you found. Unfortunately none of values have changed (almost all stated 0, one 504). Regards Artur -- Każdy problem ma swoje rozwiązanie, zatem jeżeli nie ma rozwiązania to nie ma problemu. [-- Attachment #2: dmesg.txt.gz --] [-- Type: application/x-gzip, Size: 22458 bytes --] [-- Attachment #3: messages.txt.gz --] [-- Type: application/x-gzip, Size: 19709 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) 2011-12-21 9:42 ` Artur Flinta @ 2012-01-20 3:35 ` joeyli [not found] ` <CAEPe-G+H6CDDzg9-fXZK4MJbKw_-MJFSMheCL9=yN4Gt=fmaTQ@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2012-01-20 3:35 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 Hi Artur, Sorry for I am late to reply you. 於 三,2011-12-21 於 10:42 +0100,Artur Flinta 提到: > Hi Joey! > > On Wed, Dec 21, 2011 at 5:55 AM, joeyli <jlee@suse.com> wrote: > > Could you please help to enable acpi debug log? > > acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF > > > > Please attached dmesg and messages log that cover system boot and > > pressed brightness key a couple of times. > > Added debug parameters, restarted, after GNOME loaded pressed dozen of > times brightness shortcuts... logs in attachment. > Looks like the acpi debug level not enough, please kindly change acpi debug parameter to: acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M And, please remember press brightness function key a couple of times before you dump the dmesg and messages log. > > And, > > Please also monitor does there have any value of gpe was increased when > > you press brightness keys: > > > > watch -n 1 cat /sys/firmware/acpi/interrupts/gpe[012][0123456789ABCDEF] > > > > Please tell me which gpe's value increased if you found. > > Unfortunately none of values have changed (almost all stated 0, one 504). > hmm..... that mean the brightness function key does not emit acpi/wmi event. Please help to check the raw scan code from the function key: + please add kernel parameter atkbd.softraw=0 to /boot/grub/menu.list + please switch to console 1, then run: showkey -s Press backlight function key and look at maybe have scan code capture by showkey. Thanks a lot! Joey lee ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CAEPe-G+H6CDDzg9-fXZK4MJbKw_-MJFSMheCL9=yN4Gt=fmaTQ@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAEPe-G+H6CDDzg9-fXZK4MJbKw_-MJFSMheCL9=yN4Gt=fmaTQ@mail.gmail.com> @ 2012-01-22 1:45 ` joeyli [not found] ` <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2012-01-22 1:45 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 於 五,2012-01-20 於 22:38 +0100,Artur Flinta 提到: > Hi Joey! > > On Fri, Jan 20, 2012 at 4:35 AM, joeyli <jlee@suse.com> wrote: > > Sorry for I am late to reply you. > > No problem :) > > > Looks like the acpi debug level not enough, please kindly change acpi > > debug parameter to: > > acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M > > > > And, please remember press brightness function key a couple of times > > before you dump the dmesg and messages log. > > Cause the brightness function key does not emit acpi/wmi event I'll > skip this step. > OK > > Please help to check the raw scan code from the function key: > > > > + please add kernel parameter atkbd.softraw=0 to /boot/grub/menu.list > > + please switch to console 1, then run: > > showkey -s > > > > Press backlight function key and look at maybe have scan code capture by showkey. > > Brightness increase: 0xe0 0x54 0xe0 0xd4 > Brightness decrease: 0xe0 0x4c 0xe0 0xcc > > Regards > Artur > #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 If it works, then we can add the above rules to udev keymaps. Thanks a lot! Joey Lee ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com> @ 2012-01-22 23:55 ` joeyli [not found] ` <CAEPe-G+jNsa5VScrk-Nii2e=0U5bVWtcCT5apOy0BAJrjKri4Q@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2012-01-22 23:55 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 於 日,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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CAEPe-G+jNsa5VScrk-Nii2e=0U5bVWtcCT5apOy0BAJrjKri4Q@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAEPe-G+jNsa5VScrk-Nii2e=0U5bVWtcCT5apOy0BAJrjKri4Q@mail.gmail.com> @ 2012-01-24 0:58 ` joeyli [not found] ` <CAEPe-GLe9d7V9YLq+gGpb8N+a-9ELzeuvLbr=gKFbWU4JJxV-Q@mail.gmail.com> 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2012-01-24 0:58 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 On Mon, 2012-01-23 at 15:45 +0100, Artur Flinta wrote: > Hi! > > On Mon, Jan 23, 2012 at 12:55 AM, joeyli <jlee@suse.com> wrote: > > 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 > > > > I did it and log is in attachment. > Thanks, but looks like your kernel didn't enable CONFIG_ACPI_DEBUG=y So, doesn't show up any acpi debug log in messages. > > And, > > Did you try the following kernel parameter? > > acpi_backlight=vendor > > Sure, but after applying it, backlight control keys doesn't work > anymore, there is also no any message in the log. > Does it work set backlight level by sysfs? echo 9 > /sys/class/backlight/acpi_video0/brightness > I've also checked command: watch -n 1 cat > /sys/firmware/acpi/interrupts/gpe[012][0123456789ABCDEF] > but nothing changed too. > > Regards > Artur I think don't neet test gpe anymore, because we already know function key emit scancode. Thanks a lot! Joey Lee ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <CAEPe-GLe9d7V9YLq+gGpb8N+a-9ELzeuvLbr=gKFbWU4JJxV-Q@mail.gmail.com>]
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) [not found] ` <CAEPe-GLe9d7V9YLq+gGpb8N+a-9ELzeuvLbr=gKFbWU4JJxV-Q@mail.gmail.com> @ 2012-01-25 1:52 ` joeyli 2012-01-26 6:43 ` Artur Flinta 0 siblings, 1 reply; 11+ messages in thread From: joeyli @ 2012-01-25 1:52 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 於 二,2012-01-24 於 16:25 +0100,Artur Flinta 提到: > Hi! > > > Thanks, but looks like your kernel didn't enable > > CONFIG_ACPI_DEBUG=y > > > > So, doesn't show up any acpi debug log in messages. > > Fixed, now using kernel-debug package ;) Quite huge in attachment. > I just found the _BCM in your SSDT3 table, I am tracing it: Method (_BCM, 1, Serialized) { Store (\_SB.BCM, Arg0) Local0 If (Local0) { Store (BRID, Local1) If (LEqual (SBRV (), 0x00)) { \_SB.SSMI (0xEA74, 0x04, Local1, 0x00, 0x00) } Signal (\_SB.BEVT) } } > > Does it work set backlight level by sysfs? > > echo 9 > /sys/class/backlight/acpi_video0/brightness > > if kernel is booted with acpi_backlight=vendor parameter, then there > are no entries in /sys/class/backlight directory. > OH! you are right, sorry I forgot it. Thanks a lot! Joey Lee -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) 2012-01-25 1:52 ` joeyli @ 2012-01-26 6:43 ` Artur Flinta 2012-01-26 16:40 ` joeyli 0 siblings, 1 reply; 11+ messages in thread From: Artur Flinta @ 2012-01-26 6:43 UTC (permalink / raw) To: joeyli; +Cc: linux-acpi, platform-driver-x86 Hi! > I just found the _BCM in your SSDT3 table, I am tracing it: How can I help now? Or I have to just wait for patch? ;) Regards Artur -- Każdy problem ma swoje rozwiązanie, zatem jeżeli nie ma rozwiązania to nie ma problemu. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) 2012-01-26 6:43 ` Artur Flinta @ 2012-01-26 16:40 ` joeyli 0 siblings, 0 replies; 11+ messages in thread From: joeyli @ 2012-01-26 16:40 UTC (permalink / raw) To: Artur Flinta; +Cc: linux-acpi, platform-driver-x86 於 四,2012-01-26 於 07:43 +0100,Artur Flinta 提到: > Hi! > > > I just found the _BCM in your SSDT3 table, I am tracing it: > > How can I help now? > Or I have to just wait for patch? ;) > > Regards > Artur > I hope so, will do my best! :-) Joey Lee -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-01-26 16:45 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23 20:34 [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) Artur Flinta
[not found] ` <CAGB3EUR750VpHdvrZ25mn9bcS-4ZT+BSJ_zD4-sRncyYNT=0Zg@mail.gmail.com>
2011-12-09 14:54 ` Fwd: " joeyli
[not found] ` <CAEPe-G+iooX_BOD=5m1nMgn+t63XGsLR+4JCfvHKOyTx98qydg@mail.gmail.com>
2011-12-21 4:55 ` joeyli
2011-12-21 9:42 ` Artur Flinta
2012-01-20 3:35 ` joeyli
[not found] ` <CAEPe-G+H6CDDzg9-fXZK4MJbKw_-MJFSMheCL9=yN4Gt=fmaTQ@mail.gmail.com>
2012-01-22 1:45 ` joeyli
[not found] ` <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com>
2012-01-22 23:55 ` joeyli
[not found] ` <CAEPe-G+jNsa5VScrk-Nii2e=0U5bVWtcCT5apOy0BAJrjKri4Q@mail.gmail.com>
2012-01-24 0:58 ` joeyli
[not found] ` <CAEPe-GLe9d7V9YLq+gGpb8N+a-9ELzeuvLbr=gKFbWU4JJxV-Q@mail.gmail.com>
2012-01-25 1:52 ` joeyli
2012-01-26 6:43 ` Artur Flinta
2012-01-26 16:40 ` joeyli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).