You are not logged in.
Pages: 1
Hi, I'm trying to wake up the Matebook from suspend with the Power Button which is currently not working (have to use the keyboard).
There is no event when pressing the button that can be seen via "xev", "acpi_listen" or "journalctl -f". These commands work for other buttons/events but no output for the power button.
Also tried pressing the button longer but after 20 or 30 seconds the Matebook then just power down.
I also tried evtest:
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: AT Raw Set 2 keyboard
/dev/input/event1: Chicony Huawei Folio keyboard
/dev/input/event2: Chicony Huawei Folio keyboard Touchpad
/dev/input/event3: Chicony Huawei Folio keyboard
/dev/input/event4: Lid Switch
/dev/input/event5: Sleep Button
/dev/input/event6: Power Button
/dev/input/event7: Power Button
/dev/input/event8: Intel HID events
/dev/input/event9: Intel Virtual Button driver
/dev/input/event10: PC Speaker
/dev/input/event11: Video Bus
/dev/input/event12: HDA Intel PCH Mic
/dev/input/event13: HDA Intel PCH Front Headphone
/dev/input/event14: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event15: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event16: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event17: Wacom HID 4834 Pen
/dev/input/event18: Wacom HID 4834 Finger
There are two events for the power button (6+7) and also an event for the intel virtual button driver, but when testing these events there is again no output.
For "dmesg | grep ACPI" the relevant output is:
[ 13.372881] ACPI: Lid Switch [LID0]
[ 13.372983] ACPI: Sleep Button [SLPB]
[ 13.373233] ACPI: Power Button [PWRB]
[ 13.373288] ACPI: Power Button [PWRF]
The Button is also not in /proc/acpi/wakeup
Device S-state Status Sysfs node
PEG0 S4 *disabled
PEGP S4 *disabled
PEG1 S4 *disabled
PEGP S4 *disabled
PEG2 S4 *disabled
PEGP S4 *disabled
RP09 S4 *disabled
PXSX S4 *disabled
RP10 S4 *disabled
PXSX S4 *disabled
RP11 S4 *disabled
PXSX S4 *disabled
RP12 S4 *disabled
PXSX S4 *disabled
RP13 S4 *disabled
PXSX S4 *disabled
RP01 S4 *disabled
PXSX S4 *disabled
RP02 S4 *disabled
PXSX S4 *disabled
RP03 S4 *disabled pci:0000:00:1c.0
PXSX S4 *enabled pci:0000:01:00.0
RP04 S4 *disabled
PXSX S4 *disabled
RP05 S4 *disabled
PXSX S4 *disabled
RP06 S4 *disabled
PXSX S4 *disabled
RP07 S4 *disabled
PXSX S4 *disabled
RP08 S4 *disabled
PXSX S4 *disabled
RP17 S4 *disabled
PXSX S4 *disabled
RP18 S4 *disabled
PXSX S4 *disabled
RP19 S4 *disabled
PXSX S4 *disabled
RP20 S4 *disabled
PXSX S4 *disabled
RP14 S4 *disabled
PXSX S4 *disabled
RP15 S4 *disabled
PXSX S4 *disabled
RP16 S4 *disabled
PXSX S4 *disabled
GLAN S4 *disabled
XHC S4 *enabled pci:0000:00:14.0
XDCI S4 *disabled
HDAS S4 *disabled pci:0000:00:1f.3
I tried many combinations of values for kernel parameters "acpi_osi" and "acpi_os_name" without success so far.
Also i extracted the DSDT and decompiled it:
https://filebin.ca/3KxiSlfnjswW/DSDT_with_error.dsl
Trying to solve the errors recompiling it leads me to this DSDT (but I'm not experienced with it, at least it compiles now without error)
https://filebin.ca/3Kxscp97f2dG/DSDT_fixed.dsl
But using the new DSDT makes no difference. What I noticed there is no mention of PWRB or PWRF in the DSDT.
I just get no event from the button.
My question now is, what more can I do to investigate the issue and solve it?
Offline
Hi, I'm also trying to get the power button to work on my Matebook, with the exact same outputs as you. I'm afraid I don't (yet) have a solution, but would like to investigate this further. Does the video, volume buttons and fingerprint scanner work on yours?
I've also looked at DSDT (briefly) with no luck, but I think it rather the kernel is where we should look. The Surface Pro had a similar issue, and then a few lines in `/drivers/hid/hid-core.c` seemed to do the trick:
https://aur.archlinux.org/cgit/aur.git/ … s-surface4
If someone could point me in the right direction of how to find *which* lines should be added, I think we might be able to get the buttons working. Possibly even the webcam!
Relevant links:
https://aur.archlinux.org/packages/linux-lts-surface4/
https://github.com/matthewwardrop/linux-surfacepro3
https://www.reddit.com/r/SurfaceLinux/c … ro_34book/
Offline
I have the same issues with Matebook. Power button/Volume buttons/Fingerprint(no hope) is not working. Lid is working (It is need to create lid acpi event).
I think something with intel virtual button driver, but I can't find any helpful info. Some time ago after many pressed button, I received an unknown event from it in dmesg, but I can't reproduce it now.
Last edited by Sotneo (2017-06-09 17:29:04)
Offline
The power button has worked after upgrade to linux kernal 4.13 for Matebook E.
But how to make the backlight Fn button(Fn+F1/F2) work? It is always reduce the backlight after Fn pressed.
Offline
Stumbled across this github repo of some patches for the acpi tables for the matebook, one of them is for the hardware buttons, I attempted using it and was able to recompile DSTS without error and load the patched version but I still have no luck with the buttons.
This might point someone in the right direction or work for you.
I'll keep playing around with it and update if I make any progress.
Offline
Pages: 1