public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: bperkins-ooduxAEi7gVg9hUCZPvPmw@public.gmane.org
To: Michael Wahlbrink <linux.wali-Mmb7MZpHnFY@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: IBM Thinkpad R32 and ACPI
Date: Sat, 12 Apr 2003 14:12:06 -0400	[thread overview]
Message-ID: <200304121812.h3CIC6g18608@throb.netspace.org> (raw)
In-Reply-To: Your message of "Sat, 12 Apr 2003 17:33:57 +0200." <20030412173357.1e4ea127.linux.wali-Mmb7MZpHnFY@public.gmane.org>

This problem is supposed to be fixed in the next release(see the archives).

The problem was solved for me (on my R32) by going to 
drivers/acpi/events/evxfregn.c
and removing one of the 

acpi_ut_remove_reference (handler_obj);

lines (there are two). 
This might also help other Thinkpad users who have similar problems.


Let me know how it goes.  Sleep functionality seems pretty broken at
the moment.

 Here's a patch, if you prefer.

diff -u -r1.1.1.1 evxfregn.c
--- linux-2.5.66/drivers/acpi/events/evxfregn.c	2 Apr 2003 03:34:04 -0000	1.1.1.1
+++ linux-2.5.66/drivers/acpi/events/evxfregn.c	9 Apr 2003 16:18:25 -0000
@@ -391,7 +391,7 @@
 			/*
 			 * Now we can delete the handler object
 			 */
-			acpi_ut_remove_reference (handler_obj);
+
 			acpi_ut_remove_reference (handler_obj);
 
 			goto unlock_and_exit;




--
Brian Perkins                                bperkins-ooduxAEi7gVg9hUCZPvPmw@public.gmane.org


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

  parent reply	other threads:[~2003-04-12 18:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-12 15:33 IBM Thinkpad R32 and ACPI Michael Wahlbrink
     [not found] ` <20030412173357.1e4ea127.linux.wali-Mmb7MZpHnFY@public.gmane.org>
2003-04-12 18:12   ` bperkins-ooduxAEi7gVg9hUCZPvPmw [this message]
     [not found]     ` <200304121812.h3CIC6g18608-7GtV0IYKK74tA4QZiFxQkx2eb7JE58TQ@public.gmane.org>
2003-04-13  4:31       ` Lu Tong
2003-04-15  9:05       ` Michael Wahlbrink
     [not found]         ` <200304151747.h3FHlUK07346@throb.netspace.org>
     [not found]           ` <200304151747.h3FHlUK07346-7GtV0IYKK74tA4QZiFxQkx2eb7JE58TQ@public.gmane.org>
2003-04-16 10:58             ` Michael Wahlbrink

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=200304121812.h3CIC6g18608@throb.netspace.org \
    --to=bperkins-ooduxaei7gvg9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=linux.wali-Mmb7MZpHnFY@public.gmane.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