From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: acpi_bus_register_driver() returns -ENODEV after resume Date: Tue, 2 Sep 2003 00:26:19 +0200 Sender: swsusp-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030901222619.GC27945@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Content-Disposition: inline Errors-To: swsusp-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi, I've received some feedback about problems loading the asus_acpi driver back after swsusp resume. I managed to hit that problem on a 2.4.21 + 20030619 ACPI + swsusp1.1-rc2. I don't know yet if it is present in more recent versions, since this behaviour is not common (at least on my machine). Usually, the module can be loaded and unloaded without problems. Anyway, judging on my quick glance at the code, it would seem that something disables acpi (i.e. sets acpi_disabled to a non-zero value) somewhere during the suspend / resume cycle, which in turn causes acpi_bus_register_driver to return -ENODEV. Is my reasoning correct, or am I missing some codepath? If not, it would signify a bug in ACPI / swsusp interaction. I'll try yet to hit this on a recent kernel. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf