https://bugzilla.kernel.org/show_bug.cgi?id=84651

--- Comment #12 from Ethan Schoonover <[email protected]> ---
(In reply to Peter Amidon from comment #10)
> I've been working on a Surface Pro 3 with the type cover, and I've run
> across this bug.

Peter, thanks for replying on this. I was really running out of ideas on how to
proceed.

> Firstly, I can confirm that the LID0 button exposed in
> /proc/acpi/button/lid/LID0 is actually a lid-close sensor for the type
> cover.  I believe that the behavior documented in bug#79381 is still the
> case in the Surface Pro 3 hardware.

Does the system resume on lid open using acpi or systemd? Also, I thought it
might be a hall effect sensor and looked into triggering it magnetically but
had no luck and could find no good data on this via teardowns, etc. Any
insight? I'd use that in a pinch if I can get it working.

> I also enabled ACPI debug and looked at the ACPI events listed when I pushed
> the power button.  It looks like Microsoft is using a non-standard interface
> to deal with all of the hardware buttons on the Surface Pro 3, so the button
> is not detected.  I've attached a patch that seems to make the button be
> detected as a power button; when the button is pressed, the system seems to
> suspend.  However, the system doesn't seem to resume when the button is
> pressed again; I'm not sure why yet, but I'll continue looking into it.

Outstanding! This is great news.

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

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to