[Bug 215835] EC: No SCIs detectable from brightness hotkeys (ideapad 5 15ITL05)

2022-06-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215835

Zhang Rui (rui.zh...@intel.com) changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
 CC||rui.zh...@intel.com

--- Comment #4 from Zhang Rui (rui.zh...@intel.com) ---
can you get a SCI (ACPI interrupt) when pressing the hotkey?
if yes, can you get an EC GPE when pressing the hotkey?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 215835] EC: No SCIs detectable from brightness hotkeys (ideapad 5 15ITL05)

2022-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215835

--- Comment #3 from Johannes P (johannes.pens...@gmail.com) ---
When pressing the brightness keys in Windows, the value read out from the B9
register does not change. To me, it looks like the EC tries to control the
backlight itself, and there must be some way to enable "ACPI mode" for it to
generate ACPI events instead.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 215835] EC: No SCIs detectable from brightness hotkeys (ideapad 5 15ITL05)

2022-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215835

--- Comment #2 from Johannes P (johannes.pens...@gmail.com) ---
Calling the brightness EC query method directly through the kernel ACPI
debugger does not result in a change in value for the aforementioned register
at B9. It appears to be dependent on a key press. 
Maybe it's also worth mentioning that when calling _Q11/_Q12, my trace wasn't
able to pick up anything from GFX0.DD1F.

- debug \_SB.PC00.LPCB.EC0._Q12
Evaluating \_SB.PC00.LPCB.EC0._Q12
AML Opcode: 0070 Store


% 
ArgObj:  0dee6495   Name P80B RegionField
52e7b4ee
ArgObj:  8674c39aInteger 0012
ResultObj: 8674c39aInteger 0012

AML Opcode: 0086 Notify


% 
ArgObj:  73452c4bInteger 0086
ArgObj:  f420e657   Name DD1F Device
AML Opcode: 0086 Notify


% 
ArgObj:  73452c4bInteger 0080
ArgObj:  72854c9d   Name VPC0 Device
Evaluation of \_SB.PC00.LPCB.EC0._Q12 returned object 1a14f500,
external buffer length 18
 [Integer] = 0012




[ 1731.602892]   extrace-0138 ex_trace_point: Method Begin
[0xbd1e9420:\_SB.PC00.LPCB.EC0.VPC0.VPCW] execution.
[ 1731.604041]   extrace-0138 ex_trace_point: Method End
[0xbd1e9420:\_SB.PC00.LPCB.EC0.VPC0.VPCW] execution.
[ 1731.604067]   extrace-0138 ex_trace_point: Method Begin
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.604890]   extrace-0138 ex_trace_point: Method End
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.604917]   extrace-0138 ex_trace_point: Method Begin
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.605023]   extrace-0138 ex_trace_point: Method End
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.605037]   extrace-0138 ex_trace_point: Method Begin
[0xbd1e9420:\_SB.PC00.LPCB.EC0.VPC0.VPCW] execution.
[ 1731.605752]   extrace-0138 ex_trace_point: Method End
[0xbd1e9420:\_SB.PC00.LPCB.EC0.VPC0.VPCW] execution.
[ 1731.605766]   extrace-0138 ex_trace_point: Method Begin
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.606439]   extrace-0138 ex_trace_point: Method End
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.606464]   extrace-0138 ex_trace_point: Method Begin
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.
[ 1731.606555]   extrace-0138 ex_trace_point: Method End
[0x0372cbfe:\_SB.PC00.LPCB.EC0.VPC0.VPCR] execution.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 215835] EC: No SCIs detectable from brightness hotkeys (ideapad 5 15ITL05)

2022-04-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215835

--- Comment #1 from Johannes P (johannes.pens...@gmail.com) ---
# ./ec -r -s 1
 00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  0E  0F
00:  00  01  00  00  00  00  00  00  00  00  00  00  00  00  29  00 
10:  00  00  80  00  01  00  65  04  00  01  9a  20  00  02  00  00 
20:  02  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
30:  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
40:  00  00  00  00  00  00  00  00  00  00  00  00  8d  52  00  00 
50:  00  00  00  31  00  00  2d  00  00  00  00  00  00  00  00  00 
60:  00  80  02  03  02  00  00  00  00  00  00  00  00  00  00  00 
70:  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
80:  00  00  00  00  08  00  00  00  80  00  96  00  20  01  00  4c 
90:  47  43  00  32  30  31  39  00  4c  31  39  4c  34  50  46  31 
A0:  00  01  00  80  00  00  c0  00  00  00  00  00  00  15  00  00 
B0:  2d  2e  00  29  00  23  00  29  02  0d  04  00  00  00  11  00 
C0:  30  02  99  1b  33  05  36  43  10  3b  58  1b  9b  1b  64  00 
D0:  c0  02  e2  02  00  00  00  23  31  0c  0b  00  00  00  00  00 
E0:  00  00  00  00  00  00  00  00  00  00  00  00  13  00  43  00 
F0:  01  00  00  00  90  51  80  43  00  00  00  00  00  00  00  00 

 00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  0E  0F
00:  00  01  00  00  00  00  00  00  00  00  00  00  00  00  29  00 
10:  00  00  80  00  01  00  65  04  00  01  9a  20  00  02  00  00 
20:  02  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
30:  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
40:  00  00  00  00  00  00  00  00  00  00  00  00  8d  52  00  00 
50:  00  00  00  31  00  00  2d  00  00  00  00  00  00  00  00  00 
60:  00  80  02  03  02  00  00  00  00  00  00  00  00  00  00  00 
70:  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
80:  00  00  00  00  08  00  00  00  80  00  96  00  20  01  00  4c 
90:  47  43  00  32  30  31  39  00  4c  31  39  4c  34  50  46  31 
A0:  00  01  00  80  00  00  c0  00  00  00  00  00  00  15  00  00 
B0:  2d *2f  00  29  00  23  00  29  02 *0e  04  00  00  00  11  00 
C0:  30  02  99  1b  33  05  36  43  10  3b  58  1b  9b  1b  64  00 
D0: *be  02  e2  02  00  00  00  23  31  0c  0b  00  00  00  00  00 
E0:  00  00  00  00  00  00  00  00  00  00  00  00  13  00  43  00 
F0:  01  00  00  00  90  51  80  43  00  00  00  00  00  00  00  00 

With the kernel EC debug tool, it is possible to detect a register change at B9
when pressing the brightness keys. This value is increased/decreased by
pressing the appropriate key, in a range from 0x00 to 0x0F.

If I understand the ACPI specification correctly, the EC is supposed to send
out an interrupt in order for the OS to query the EC and pick up the brightness
event. However, after checking each ACPI debug layer individually at max
verbosity, there seems to be no output whatsoever generated by a key press.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 215835] EC: No SCIs detectable from brightness hotkeys (ideapad 5 15ITL05)

2022-04-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215835

Johannes P (johannes.pens...@gmail.com) changed:

   What|Removed |Added

Summary|Linux does not pick up EC   |EC: No SCIs detectable from
   |queries from brightness |brightness hotkeys (ideapad
   |hotkeys (ideapad 5 15ITL05) |5 15ITL05)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla