mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: "Antonio Mignolli" <antoniomignolli@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: lid switch hangs notebook
Date: Mon, 4 Jun 2007 09:42:07 -0600	[thread overview]
Message-ID: <200706040942.07661.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <a790ea7a0706040357g799e8756ue758e95d5b460307@mail.gmail.com>

On Monday 04 June 2007 04:57:21 am Antonio Mignolli wrote:
> The problem reported below has not been solved,
> I tried with the last stable kernel 2.6.21.3.
> 
> But it seems not to be an ACPI issue,
> I removed ACPI support from the kernel,
> and still have the problem.
> What else could be?

The lid switch event is probably reported via ACPI.  But the
fact that you see your "LID switch" message from /etc/acpi/acpi_handler.sh
means the switch event is getting through.

What else does the acpi_handler.sh script do?  Can you add more
log messages in it and any related scripts?

If all else fails, you could try git-bisect to isolate a changeset
that broke it.  That's tedious but usually effective.

Bjorn

> On 4/13/07, Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
> > On Thursday 15 March 2007 13:06, Andrew Morton wrote:
> > > > On Mon, 12 Mar 2007 15:53:18 +0100 "Antonio Mignolli" <antoniomignolli@gmail.com> wrote:
> > > > Hi,
> > > > I'm running a slackware 10.2 on a HP/Compaq nx5000.
> > > >
> > > > With kernels <= 2.6.17.3 I didn't have problems.
> > > > Starting from 2.6.19 if I close the notebook's video,
> > > > or if I press the lid switch,
> > > > after a couple of time, or after a few seconds, the o.s. hangs
> > > > completely. The only thing to do is a brute power off
> > > > by pressing for 5 seconds the power button
> > > > (If I press for few it should do a clean shutdown -h).
> > > > I've tried 2.6.19, 2.6.19.1, 2.6.19.2, 2.6.20, 2.6.20.1, 2.6.20.2,
> > > > and all of them seem to give problems.
> > > >
> > > > I don't have KERNEL_DEBUG set, so I haven't any debug informations,
> > > > I will be happy to activate it and provide more info if someone suggests
> > > > me which debug parameters I should set.
> > > > There's nothing in /var/log/messages and /var/log/syslog,
> > > > except for the message "LID switch" added by me
> > > > with a logger command in /etc/acpi/acpi_handler.sh.
> > > > I've put it after noticing the problem, in order to be sure the event was
> > > > detected, and it was.
> > >
> > > I guess this is an ACPI think, although not necessarily.
> > >
> > > Len & co: do you think we should ask Antonio to raise a report
> > > against ACPI at bugzilla.kernel.org?
> >
> > I don't see a response to this on the linux-acpi list.  Did the
> > problem get resolved?
> >
> 



  reply	other threads:[~2007-06-04 15:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 14:53 Antonio Mignolli
     [not found] ` <20070315110606.741c2dc4.akpm@linux-foundation.org>
     [not found]   ` <200704131553.54787.bjorn.helgaas@hp.com>
2007-06-04 10:57     ` Antonio Mignolli
2007-06-04 15:42       ` Bjorn Helgaas [this message]
2007-06-04 18:57       ` Andreas Mohr
2007-06-04 20:26         ` Antonio Mignolli
2007-06-04 20:31           ` Andreas Mohr
2007-06-07 10:42       ` Pavel Machek
     [not found]         ` <a790ea7a0706070536v60be358cn277b4be4ca9deb1f@mail.gmail.com>
2007-06-07 13:10           ` Fwd: " Antonio Mignolli

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=200706040942.07661.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=antoniomignolli@gmail.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®