linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Brightness on HP EliteBook 8460p
@ 2011-07-15 12:15 Pali Rohár
       [not found] ` <CAGB3EUSiZ+DqTwVQ4CMhT=LNAAWhj-VriiArmoibm0t+x5jLXw@mail.gmail.com>
  0 siblings, 1 reply; 27+ messages in thread
From: Pali Rohár @ 2011-07-15 12:15 UTC (permalink / raw)
  To: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

Hello,

on my HP EliteBook 8460p is not possible to set display brightness when ACPI 
is enabled in kernel. Entries in sysfs is properly created without errors. But 
when I try write any value to /sys/class/backlight/acpi_video0/brightness 
nothing happened (and no error is in dmesg). When I press Fn key for chaining 
display brightness kernel send correct key event (tested with xev) but nothing 
happened too.

When I disabled ACPI (acpi=off in kernel command line) all Fn keys are broken 
and not working (no events in xev). But brightness keys working (I think on HW 
level, because xev does not see it) - increase and decrease display 
brightness.

So what can I do with my notebook? I think that there is error/bug in BIOS or 
ACPI because with disabled ACPI brightness working. But with disabled ACPI is 
notebook unuseable (no battery info, no Fn keys, no WIFI rfkill, ...). Can 
somebody help me with this problem?

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Fwd: Brightness on HP EliteBook 8460p
@ 2012-02-05  1:43 Joey Lee
  0 siblings, 0 replies; 27+ messages in thread
From: Joey Lee @ 2012-02-05  1:43 UTC (permalink / raw)
  To: pali.rohar; +Cc: linux-acpi, dri-devel, platform-driver-x86


[-- Attachment #1.1: Type: text/plain, Size: 7068 bytes --]

Add Cc. to dri mail

Hi Pali, 

於 五,2012-02-03 於 16:24 +0100,Pali Rohár 提到:
> On Friday 20 January 2012 17:55:57 Pali Rohár wrote:
> > On Friday 20 January 2012 11:28:59 joeyli wrote:
> > > 於 五,2012-01-20 於 11:12 +0800,joeyli 提到:
> > > 
> > > > Hi Pali,
> > > > 
> > > > Sorry for I am late reply you.
> > > > 
> > > > 於 二,2012-01-17 於 19:10 +0100,Pali Rohár 提到:
> > > > 
> > > > > On Wednesday 21 December 2011 12:45:07 Pali Rohár wrote:
> > > > > > Hello,
> > > > > > 
> > > > > > I tried to boot with all 3 strings in acpi_os_name, but nothing was
> > > > > > changed. I'm attaching dmesg outputs, one from BIOS mode, one from
> > > > > > UEFI mode. Both are with "Microsoft Windows NT".
> > > > > 
> > > > > Did you looked at my logs?
> > > > 
> > > > I checked your dmesg log, found the acpi_os_name kernel parameter is :
> > > > 
> > > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.2.0-4-generic
> > > > root=UUID=4ec6272a-8551-40f3-a1b1-3e10984f3e69 ro pcie_aspm=force
> > > > acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF "acpi_os_name=Microsoft
> > > > Windows NT" splash vt.handoff=7
> > > > 
> > > > We still need by-pass the os name check in DSDT when test function key,
> > > > 
> > > > please help to feed:
> > > > 	acpi_os_name="Windows 2009"
> > > > 
> > > > And,
> > > > 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
> > > > 
> > > > summary:
> > > > 	acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M
> > > > 	acpi_os_name="Windows 2009"
> > > 
> > > Forgot remind,
> > > please remember press brightness function key a couple of times before
> > > you dump the dmesg and messages log.
> > > 
> > > 
> > > Thanks a lot!
> > > Joey Lee
> > 
> > Hello,
> > 
> > there was no acpi log, so I recompiled ubuntu kernel with
> > CONFIG_ACPI_DEBUG=y and CONFIG_ACPI_DEBUG_FUNC_TRACE. Then I started kernel
> > with your params.
> > 
> > Now I'm attaching very long debug output. I belive it will be now usefull.
> > 
> > Pressing brightness keys did not show anything in log.
> > 
> > After writing 0 to /sys/class/backlight/acpi_video0/brightness in log
> > appear: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B
> > ...
> > 
> > And after writing 10:
> > [   99.865208] [ACPI Debug]  Integer 0x0000000000000048
> > [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques:
> > Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device
> > Specific**) [   99.865350]    video-1474 [4294967289] video_bus_notify     
> > : Unsupported event [0xd0]
> 
> Do you need more logs? Or is this enought?
> 

Yes, as you point out, this is a doubt for video bus received 0xD0 event
but nobody take care it.

Traced dsdt of EliteBook 8460p from you, the _BCM like this:

    Method (_BCM, 1, Serialized)                /* ATI _BCM, per log, run this _BCM */
    {  
        Store (\_SB.BCM (Arg0), Local0)         /* set next level, normally return 0x1 if XP sp2 or later */
        If (Local0)                             /* if XP sp2 or later */
        {  
            Store (BRID, Local1)
            If (LEqual (SBRV (), 0x00))         /* normally SBRV return 1, will not emit SMI */
            {  
                \_SB.SSMI (0xEA74, 0x04, Local1, 0x00, 0x00)
            }

            Signal (\_SB.BEVT)          /* emit BEVT event, HKFR (HotkeyFunctionResponse) waiting it, but why? */
        }
    }

_BCM call SBRV to setup brightness value to variable ABRI:

Method (SBRV, 0, Serialized)            /* call by ATI _BCM */
{  
    Store (\_SB.SBRC (), ABRI)          /* SBRC() return the brightness value, why store to ABRI? only used in PEGP.DGFX.AFN2 */
    Or (PSBR, 0x80, PSBR)
    Notify (^, 0xD0)                    /* notify method's parent: PEGP.DGFX by 0xD0 */
    Return (0x01)                       /* normally return 1 */
}The PEGP.DGFX acpi device was binding to acpi/video driver, the above
ASL code emit a 0xD0 bus event to video.c but cann't process it. Even we
add a new bus event in video.c and generate a acpi event, there still
need another acpi driver should take care it.

I thought this acpi event might need take care by radeon drm, but I am
not good for radeon, need more help.

Per your acpi debug log, the brightness value was changed normally when
you access _BCM:

83133 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674669] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)		# start test _BCM manually
83134 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674736] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
83135 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674748] exregion-0199 [02] ex_system_memory_space: System-Memory (width 8      ) R/W 1 Address=00000000BF7ACE1C
...
83179 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B	# brightness value is 11
83180 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675090]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching No      tify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
83181 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675099]    video-1474 [4294967288] video_bus_notify      : Unsupported event [0xd0]
...
83197 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863593] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)
83198 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863817] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
83243 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865208] [ACPI Debug]  Integer 0x0000000000000048	# brightness value is 72 
83244 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
83245 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865350]    video-1474 [4294967289] video_bus_notify      : Unsupported event [0xd0]

The brightness values are 11(0x0B) and 72(0x48), that means the BCM
method return a good value and set to ABRI, ABRI waiting the guy who
take the 0xD0 event to read then change brightness.

Another doubt is the latest statement in _BCM, it emit a BEVT event:

Signal (\_SB.BEVT)

Only HKFR(HotkeyFunctionResponse) method is waiting this event, it
should related to how the HP implement brightness function key on
Windows through wmi.

Of course this issue really close related to video driver, even more,
we might need to know hp wmi for how to implement on Windows.

Unfortunately, sorry for I don't have any solution to you, now, I will
continue to trace and find any support from other experts.


Thanks a lot!
Joey Lee





[-- Attachment #1.2: Type: text/html, Size: 8029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Fwd: Brightness on HP EliteBook 8460p
@ 2012-02-05  3:19 Joey Lee
  2012-03-20 22:03 ` Pali Rohár
       [not found] ` <1539163.XtGOYjTjgt@pali>
  0 siblings, 2 replies; 27+ messages in thread
From: Joey Lee @ 2012-02-05  3:19 UTC (permalink / raw)
  To: pali.rohar; +Cc: dri-devel, linux-acpi, platform-driver-x86

Add Cc. to dri mail

Hi Pali, 

於 五,2012-02-03 於 16:24 +0100,Pali Rohár 提到:
> On Friday 20 January 2012 17:55:57 Pali Rohár wrote:
> > On Friday 20 January 2012 11:28:59 joeyli wrote:
> > > 於 五,2012-01-20 於 11:12 +0800,joeyli 提到:
> > > 
> > > > Hi Pali,
> > > > 
> > > > Sorry for I am late reply you.
> > > > 
> > > > 於 二,2012-01-17 於 19:10 +0100,Pali Rohár 提到:
> > > > 
> > > > > On Wednesday 21 December 2011 12:45:07 Pali Rohár wrote:
> > > > > > Hello,
> > > > > > 
> > > > > > I tried to boot with all 3 strings in acpi_os_name, but nothing was
> > > > > > changed. I'm attaching dmesg outputs, one from BIOS mode, one from
> > > > > > UEFI mode. Both are with "Microsoft Windows NT".
> > > > > 
> > > > > Did you looked at my logs?
> > > > 
> > > > I checked your dmesg log, found the acpi_os_name kernel parameter is :
> > > > 
> > > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.2.0-4-generic
> > > > root=UUID=4ec6272a-8551-40f3-a1b1-3e10984f3e69 ro pcie_aspm=force
> > > > acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF "acpi_os_name=Microsoft
> > > > Windows NT" splash vt.handoff=7
> > > > 
> > > > We still need by-pass the os name check in DSDT when test function key,
> > > > 
> > > > please help to feed:
> > > > 	acpi_os_name="Windows 2009"
> > > > 
> > > > And,
> > > > 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
> > > > 
> > > > summary:
> > > > 	acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M
> > > > 	acpi_os_name="Windows 2009"
> > > 
> > > Forgot remind,
> > > please remember press brightness function key a couple of times before
> > > you dump the dmesg and messages log.
> > > 
> > > 
> > > Thanks a lot!
> > > Joey Lee
> > 
> > Hello,
> > 
> > there was no acpi log, so I recompiled ubuntu kernel with
> > CONFIG_ACPI_DEBUG=y and CONFIG_ACPI_DEBUG_FUNC_TRACE. Then I started kernel
> > with your params.
> > 
> > Now I'm attaching very long debug output. I belive it will be now usefull.
> > 
> > Pressing brightness keys did not show anything in log.
> > 
> > After writing 0 to /sys/class/backlight/acpi_video0/brightness in log
> > appear: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B
> > ...
> > 
> > And after writing 10:
> > [   99.865208] [ACPI Debug]  Integer 0x0000000000000048
> > [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques:
> > Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device
> > Specific**) [   99.865350]    video-1474 [4294967289] video_bus_notify     
> > : Unsupported event [0xd0]
> 
> Do you need more logs? Or is this enought?
> 

Yes, as you point out, this is a doubt for video bus received 0xD0 event
but nobody take care it.

Traced dsdt of EliteBook 8460p from you, the _BCM like this:

    Method (_BCM, 1, Serialized)                /* ATI _BCM, per log, run this _BCM */
    {  
        Store (\_SB.BCM (Arg0), Local0)         /* set next level, normally return 0x1 if XP sp2 or later */
        If (Local0)                             /* if XP sp2 or later */
        {  
            Store (BRID, Local1)
            If (LEqual (SBRV (), 0x00))         /* normally SBRV return 1, will not emit SMI */
            {  
                \_SB.SSMI (0xEA74, 0x04, Local1, 0x00, 0x00)
            }

            Signal (\_SB.BEVT)          /* emit BEVT event, HKFR (HotkeyFunctionResponse) waiting it, but why? */
        }
    }

_BCM call SBRV to setup brightness value to variable ABRI:

Method (SBRV, 0, Serialized)            /* call by ATI _BCM */
{  
    Store (\_SB.SBRC (), ABRI)          /* SBRC() return the brightness value, why store to ABRI? only used in PEGP.DGFX.AFN2 */
    Or (PSBR, 0x80, PSBR)
    Notify (^, 0xD0)                    /* notify method's parent: PEGP.DGFX by 0xD0 */
    Return (0x01)                       /* normally return 1 */
}The PEGP.DGFX acpi device was binding to acpi/video driver, the above
ASL code emit a 0xD0 bus event to video.c but cann't process it. Even we
add a new bus event in video.c and generate a acpi event, there still
need another acpi driver should take care it.

I thought this acpi event might need take care by radeon drm, but I am
not good for radeon, need more help.

Per your acpi debug log, the brightness value was changed normally when
you access _BCM:

83133 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674669] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)		# start test _BCM manually
83134 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674736] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
83135 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674748] exregion-0199 [02] ex_system_memory_space: System-Memory (width 8      ) R/W 1 Address=00000000BF7ACE1C
...
83179 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B	# brightness value is 11
83180 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675090]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching No      tify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
83181 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675099]    video-1474 [4294967288] video_bus_notify      : Unsupported event [0xd0]
...
83197 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863593] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)
83198 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863817] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
83243 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865208] [ACPI Debug]  Integer 0x0000000000000048	# brightness value is 72 
83244 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
83245 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865350]    video-1474 [4294967289] video_bus_notify      : Unsupported event [0xd0]

The brightness values are 11(0x0B) and 72(0x48), that means the BCM
method return a good value and set to ABRI, ABRI waiting the guy who
take the 0xD0 event to read then change brightness.

Another doubt is the latest statement in _BCM, it emit a BEVT event:

Signal (\_SB.BEVT)

Only HKFR(HotkeyFunctionResponse) method is waiting this event, it
should related to how the HP implement brightness function key on
Windows through wmi.

Of course this issue really close related to video driver, even more,
we might need to know hp wmi for how to implement on Windows.

Unfortunately, sorry for I don't have any solution to you, now, I will
continue to trace and find any support from other experts.


Thanks a lot!
Joey Lee

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Fwd: Brightness on HP EliteBook 8460p
@ 2012-02-05 13:51 Joey Lee
  2012-02-05 17:49 ` Artur Flinta
  0 siblings, 1 reply; 27+ messages in thread
From: Joey Lee @ 2012-02-05 13:51 UTC (permalink / raw)
  To: aflinta; +Cc: pali.rohar, dri-devel, linux-acpi, platform-driver-x86

Hi Artur, 

於 六,2012-02-04 於 20:19 -0700,Joey Lee 提到:
> Add Cc. to dri mail
> 
> Hi Pali, 
> 
> 於 五,2012-02-03 於 16:24 +0100,Pali Rohár 提到:
> > On Friday 20 January 2012 17:55:57 Pali Rohár wrote:
> > > On Friday 20 January 2012 11:28:59 joeyli wrote:
> > > > 於 五,2012-01-20 於 11:12 +0800,joeyli 提到:
> > > > 
> > > > > Hi Pali,
> > > > > 
> > > > > Sorry for I am late reply you.
> > > > > 
> > > > > 於 二,2012-01-17 於 19:10 +0100,Pali Rohár 提到:
> > > > > 
> > > > > > On Wednesday 21 December 2011 12:45:07 Pali Rohár wrote:
> > > > > > > Hello,
> > > > > > > 
> > > > > > > I tried to boot with all 3 strings in acpi_os_name, but nothing was
> > > > > > > changed. I'm attaching dmesg outputs, one from BIOS mode, one from
> > > > > > > UEFI mode. Both are with "Microsoft Windows NT".
> > > > > > 
> > > > > > Did you looked at my logs?
> > > > > 
> > > > > I checked your dmesg log, found the acpi_os_name kernel parameter is :
> > > > > 
> > > > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.2.0-4-generic
> > > > > root=UUID=4ec6272a-8551-40f3-a1b1-3e10984f3e69 ro pcie_aspm=force
> > > > > acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF "acpi_os_name=Microsoft
> > > > > Windows NT" splash vt.handoff=7
> > > > > 
> > > > > We still need by-pass the os name check in DSDT when test function key,
> > > > > 
> > > > > please help to feed:
> > > > > 	acpi_os_name="Windows 2009"
> > > > > 
> > > > > And,
> > > > > 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
> > > > > 
> > > > > summary:
> > > > > 	acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M
> > > > > 	acpi_os_name="Windows 2009"
> > > > 
> > > > Forgot remind,
> > > > please remember press brightness function key a couple of times before
> > > > you dump the dmesg and messages log.
> > > > 
> > > > 
> > > > Thanks a lot!
> > > > Joey Lee
> > > 
> > > Hello,
> > > 
> > > there was no acpi log, so I recompiled ubuntu kernel with
> > > CONFIG_ACPI_DEBUG=y and CONFIG_ACPI_DEBUG_FUNC_TRACE. Then I started kernel
> > > with your params.
> > > 
> > > Now I'm attaching very long debug output. I belive it will be now usefull.
> > > 
> > > Pressing brightness keys did not show anything in log.
> > > 
> > > After writing 0 to /sys/class/backlight/acpi_video0/brightness in log
> > > appear: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B
> > > ...
> > > 
> > > And after writing 10:
> > > [   99.865208] [ACPI Debug]  Integer 0x0000000000000048
> > > [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques:
> > > Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device
> > > Specific**) [   99.865350]    video-1474 [4294967289] video_bus_notify     
> > > : Unsupported event [0xd0]
> > 
> > Do you need more logs? Or is this enought?
> > 
> 
> Yes, as you point out, this is a doubt for video bus received 0xD0 event
> but nobody take care it.
> 
> Traced dsdt of EliteBook 8460p from you, the _BCM like this:
> 
>     Method (_BCM, 1, Serialized)                /* ATI _BCM, per log, run this _BCM */
>     {  
>         Store (\_SB.BCM (Arg0), Local0)         /* set next level, normally return 0x1 if XP sp2 or later */
>         If (Local0)                             /* if XP sp2 or later */
>         {  
>             Store (BRID, Local1)
>             If (LEqual (SBRV (), 0x00))         /* normally SBRV return 1, will not emit SMI */
>             {  
>                 \_SB.SSMI (0xEA74, 0x04, Local1, 0x00, 0x00)
>             }
> 
>             Signal (\_SB.BEVT)          /* emit BEVT event, HKFR (HotkeyFunctionResponse) waiting it, but why? */
>         }
>     }
> 
> _BCM call SBRV to setup brightness value to variable ABRI:
> 
> Method (SBRV, 0, Serialized)            /* call by ATI _BCM */
> {  
>     Store (\_SB.SBRC (), ABRI)          /* SBRC() return the brightness value, why store to ABRI? only used in PEGP.DGFX.AFN2 */
>     Or (PSBR, 0x80, PSBR)
>     Notify (^, 0xD0)                    /* notify method's parent: PEGP.DGFX by 0xD0 */
>     Return (0x01)                       /* normally return 1 */
> }The PEGP.DGFX acpi device was binding to acpi/video driver, the above
> ASL code emit a 0xD0 bus event to video.c but cann't process it. Even we
> add a new bus event in video.c and generate a acpi event, there still
> need another acpi driver should take care it.
> 
> I thought this acpi event might need take care by radeon drm, but I am
> not good for radeon, need more help.
> 
> Per your acpi debug log, the brightness value was changed normally when
> you access _BCM:
> 
> 83133 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674669] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)		# start test _BCM manually
> 83134 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674736] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
> 83135 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.674748] exregion-0199 [02] ex_system_memory_space: System-Memory (width 8      ) R/W 1 Address=00000000BF7ACE1C
> ...
> 83179 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675070] [ACPI Debug]  Integer 0x000000000000000B	# brightness value is 11
> 83180 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675090]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching No      tify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
> 83181 Jan 20 17:17:51 Pali-EliteBook kernel: [   57.675099]    video-1474 [4294967288] video_bus_notify      : Unsupported event [0xd0]
> ...
> 83197 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863593] ACPI: Execute Method [\_SB_.PCI0.PEGP.DGFX.LCD_._BCM] (Node ffff8      801362472a8)
> 83198 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.863817] exregion-0199 [01] ex_system_memory_space: System-Memory (width 8      ) R/W 0 Address=00000000BF7ACE1C
> 83243 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865208] [ACPI Debug]  Integer 0x0000000000000048	# brightness value is 72 
> 83244 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865295]   evmisc-0120 [4294967289] ev_queue_notify_reques: Dispatching Notify on [DGFX] Node ffff880136246c80 Value 0xD0 (**Device Specific**)
> 83245 Jan 20 17:18:33 Pali-EliteBook kernel: [   99.865350]    video-1474 [4294967289] video_bus_notify      : Unsupported event [0xd0]
> 
> The brightness values are 11(0x0B) and 72(0x48), that means the BCM
> method return a good value and set to ABRI, ABRI waiting the guy who
> take the 0xD0 event to read then change brightness.
> 
> Another doubt is the latest statement in _BCM, it emit a BEVT event:
> 
> Signal (\_SB.BEVT)
> 
> Only HKFR(HotkeyFunctionResponse) method is waiting this event, it
> should related to how the HP implement brightness function key on
> Windows through wmi.
> 
> Of course this issue really close related to video driver, even more,
> we might need to know hp wmi for how to implement on Windows.
> 
> Unfortunately, sorry for I don't have any solution to you, now, I will
> continue to trace and find any support from other experts.
> 
> 
> Thanks a lot!
> Joey Lee

After traced the acpidump of HP EliteBook 8560w from you, 
I added Cc. to you on this mailing loop because your HP EliteBook 8560w
has the same situation with HP EliteBook 8460p.

Pali Rohár reported the same brightness control issue on 8460p.

The only difference between 8560w with 8460p is HP's ODM put _BCM and
SBRV in SSDT3 table on 8560w.

Please kindly read the above my description. Sorry for I don't have any
solution, now.


Thanks a lot!
Joey Lee

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2012-08-01  7:38 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 12:15 Brightness on HP EliteBook 8460p Pali Rohár
     [not found] ` <CAGB3EUSiZ+DqTwVQ4CMhT=LNAAWhj-VriiArmoibm0t+x5jLXw@mail.gmail.com>
2011-12-09 14:49   ` Fwd: " joeyli
     [not found]     ` <3404497.1txogKB5v8@pali-elitebook>
2011-12-18 10:59       ` Pali Rohár
2011-12-18 15:47         ` joeyli
2011-12-20  8:13           ` joeyli
2011-12-20 13:20             ` Pali Rohár
2011-12-21  2:16               ` joeyli
2011-12-21  4:05                 ` joeyli
     [not found]                   ` <9136713.SR1vWBOW6T@pali-elitebook>
2012-01-17 18:10                     ` Pali Rohár
2012-01-20  3:12                       ` joeyli
2012-01-20  3:28                         ` joeyli
     [not found]                           ` <2085914.rvJjIXUC3h@pali>
2012-02-03 15:24                             ` Pali Rohár
  -- strict thread matches above, loose matches on Subject: below --
2012-02-05  1:43 Joey Lee
2012-02-05  3:19 Joey Lee
2012-03-20 22:03 ` Pali Rohár
2012-03-21  4:16   ` joeyli
2012-07-28 14:47     ` Pali Rohár
2012-07-30  8:17       ` Artur Flinta
2012-07-30  9:28         ` joeyli
2012-07-31 10:29       ` Luca Tettamanti
     [not found] ` <1539163.XtGOYjTjgt@pali>
     [not found]   ` <CAKPcRGp+1DBjP7ZTnVUphtY2acdU64gGBi9VO5WG7+83revV9g@mail.gmail.com>
     [not found]     ` <3502295.b9B3oqyYO6@pali>
2012-07-31 15:49       ` Luca Tettamanti
2012-07-31 15:56         ` Alex Deucher
2012-07-31 16:03         ` Pali Rohár
2012-07-31 16:17           ` Alex Deucher
2012-08-01  7:38             ` Pali Rohár
2012-02-05 13:51 Joey Lee
2012-02-05 17:49 ` Artur Flinta

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).