mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Yu, Luming" <luming.yu@intel.com>
To: "Gerhard Schrenk" <deb.gschrenk@gmx.de>,
	"Brown, Len" <len.brown@intel.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: EC interrupt mode by default breaks power button and lid button
Date: Mon, 6 Feb 2006 15:37:47 +0800	[thread overview]
Message-ID: <3ACA40606221794F80A5670F0AF15F84041AC24F@pdsmsx403> (raw)

Please don't revert that patch, and test kernel parameter ec_intr=0
Also, please send me acpidump output.

I'm wondering how ec interrupt mode breaks power & lid button.

Thanks
Luming 

>-----Original Message-----
>From: Gerhard Schrenk [mailto:deb.gschrenk@gmx.de] 
>Sent: 2006年2月6日 2:04
>To: Brown, Len
>Cc: Yu, Luming; linux-kernel@vger.kernel.org
>Subject: EC interrupt mode by default breaks power button and 
>lid button
>
>Hi,
>
>the following commit breaks power button and lid button on my centrino
>notebook (MSI S260; branded as Medion SIM S2100).
>
>|gps@medusa:~/scratch/kernel-tree$ git bisect good
>|53f11d4ff8797bcceaf014e62bd39f16ce84baec is first bad commit
>|diff-tree 53f11d4ff8797bcceaf014e62bd39f16ce84baec (from 
>02b28a33aae93a3b53068e0858d62f8bcaef60a3)
>|Author: Len Brown <len.brown@intel.com>
>|Date:   Mon Dec 5 16:46:36 2005 -0500
>|
>|    [ACPI] Enable Embedded Controller (EC) interrupt mode by default
>|    
>|    "ec_intr=0" reverts to polling
>|    "ec_burst=" no longer exists.
>|    
>|    Signed-off-by: Len Brown <len.brown@intel.com>
>|    Acked-by: Luming Yu <luming.yu@intel.com>
>|
>|:040000 040000 9eec66712c68ebe372b2fb2c8d78bdc99df942ab 
>e7e62cd09983730aee468edd4ba1cce50786b7e5 M      Documentation
>|:040000 040000 6e7db46918f6124f64a11f6757560078a8a27519 
>aa8abb1023024902300cb2e7a5bf74acd8c579e8 M      drivers
>
>With
>
>  git revert 53f11d4ff8797bcceaf014e62bd39f16ce84baec
>
>on top of linus' tree I have no problems with power/lid buttons and my
>acpid configuration.
>
>Suspend to disk/mem (at least for some seconds/minutes thereafter) with
>an unpatched kernel from linus' tree is another possibility to bring
>power/lid events back to life.
>
>On my debian (etch) system I have following acpid(?) 1.0.4-3 
>configuration:
>
>|gps@medusa$ cat /etc/acpi/events/my_lid
>|event=button[ /]lid
>|action=/etc/acpi/actions/my_lid.sh %e
>
>|gps@medusa:~$ cat /etc/acpi/actions/my_lid.sh 
>|#!/bin/sh
>|# lid button pressed/released event handler
>|
>|# echo "lid-event" | wall
>|echo platform > /sys/power/disk
>|echo disk > /sys/power/state
>
>|gps@medusa:~$ cat /etc/acpi/events/powerbtn 
>|event=button[ /]power
>|action=/etc/acpi/actions/my_powerbtn.sh
>
>|gps@medusa:~$ cat /etc/acpi/actions/my_powerbtn.sh 
>|#!/bin/sh
>|# suspend to disk (hybernation) when the power button has 
>been pressed 
>|# echo "power-button-event" | wall
>|echo mem > /sys/power/state
>
>-- Gerhard
>

             reply	other threads:[~2006-02-06  7:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06  7:37 Yu, Luming [this message]
2006-02-06  7:37 ` Jiri Slaby
2006-02-06 13:34 ` Gerhard Schrenk
  -- strict thread matches above, loose matches on Subject: below --
2006-02-09  1:29 Yu, Luming
2006-02-10  5:14 ` Gerhard Schrenk
2006-02-07  6:52 Yu, Luming
2006-02-07 14:08 ` Gerhard Schrenk
2006-02-05 18:04 Gerhard Schrenk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ACA40606221794F80A5670F0AF15F84041AC24F@pdsmsx403 \
    --to=luming.yu@intel.com \
    --cc=deb.gschrenk@gmx.de \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®