From: Erik Mouw <J.A.K.Mouw@ITS.TUDelft.NL>
To: chris@boojiboy.eorbit.net
Cc: linux-kernel@vger.kernel.org, bmacy@macykids.net
Subject: Re: 2.4.9-ac9 APM w/Compaq 16xx laptop...
Date: Thu, 13 Sep 2001 09:17:48 +0200 [thread overview]
Message-ID: <20010913091748.A21626@arthur.ubicom.tudelft.nl> (raw)
In-Reply-To: <20010913011606.H20118@arthur.ubicom.tudelft.nl> <200109130124.SAA22845@boojiboy.eorbit.net>
In-Reply-To: <200109130124.SAA22845@boojiboy.eorbit.net>; from chris@boojiboy.eorbit.net on Wed, Sep 12, 2001 at 06:24:18PM -0700
On Wed, Sep 12, 2001 at 06:24:18PM -0700, chris@boojiboy.eorbit.net wrote:
> > > When my bios is set ACPI=NO, and APM is compiled in:
> > > A 'shutdown -r' hangs after the "Restarting System" message.
> > > Depressing the power switch cause a power off.
> >
> > Try "Use real mode APM BIOS call to power off".
>
> With 2.4.9-ac9 'shutdown -r' does not work. The
> halt '-h' flag does work. '-r' hangs at "Restarting System."
OK, so at least the system switches off.
> I set my machine bios to acpi=no, and also acpi=yes the same
> hang occurred both times.
>
> Here is the APM config:
>
> CONFIG_PM=y
> # CONFIG_ACPI is not set
> CONFIG_APM=y
> # CONFIG_APM_IGNORE_USER_SUSPEND is not set
> # CONFIG_APM_DO_ENABLE is not set
> # CONFIG_APM_CPU_IDLE is not set
^^^^^^^^^^^^^^^^^^^
Any reason why this is not enabled? There's no much use for APM without
it.
> # CONFIG_APM_DISPLAY_BLANK is not set
> # CONFIG_APM_RTC_IS_GMT is not set
> # CONFIG_APM_ALLOW_INTS is not set
> CONFIG_APM_REAL_MODE_POWER_OFF=y
>
>
> Here is the pertinent dmesg stuff:
>
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
> BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000ecc00 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
> BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
> No local APIC present or hardware disabled
> Kernel command line: auto BOOT_IMAGE=linux ro root=302
> Initializing RT netlink socket
> Compaq 12XL125 machine detected. Enabling interrupts during APM calls.
Hmm, that's a clue, it's not a 12XL125. Could you try this patch to see
if it works?
--- arch/i386/kernel/dmi_scan.c.orig Thu Sep 13 08:59:19 2001
+++ arch/i386/kernel/dmi_scan.c Thu Sep 13 09:14:02 2001
@@ -17,8 +17,8 @@
u16 handle;
};
-#define dmi_printk(x)
-//#define dmi_printk(x) printk x
+//#define dmi_printk(x)
+#define dmi_printk(x) printk x
static char * __init dmi_string(struct dmi_header *dm, u8 s)
{
@@ -437,12 +437,14 @@
MATCH(DMI_PRODUCT_NAME, "Inspiron 4000"),
NO_MATCH, NO_MATCH
} },
+#if 0
{ set_apm_ints, "Compaq 12XL125", { /* Allow interrupts during suspend on Compaq Laptops*/
MATCH(DMI_SYS_VENDOR, "Compaq"),
MATCH(DMI_PRODUCT_NAME, "Compaq PC"),
MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
MATCH(DMI_BIOS_VERSION,"4.06")
} },
+#endif
{ set_apm_ints, "ASUSTeK", { /* Allow interrupts during APM or the clock goes slow */
MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
MATCH(DMI_PRODUCT_NAME, "L8400K series Notebook PC"),
Could you also tell what the kernel thinks about your laptop? It should
print things like "BIOS Vendor: Phoenix Technologies LTD".
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
next prev parent reply other threads:[~2001-09-13 7:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-12 23:43 chris
2001-09-12 23:16 ` Erik Mouw
2001-09-13 1:24 ` chris
2001-09-13 1:35 ` chris
2001-09-13 7:17 ` Erik Mouw [this message]
2001-09-13 19:55 ` chris
2001-09-13 20:18 ` Erik Mouw
2001-09-13 13:52 ` Ryan Butler
2001-09-13 15:54 ` Juri Haberland
2001-09-13 21:40 chris
2001-09-17 20:04 chris
2001-09-17 21:23 ` Alan Cox
2001-09-17 22:27 ` Erik Mouw
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=20010913091748.A21626@arthur.ubicom.tudelft.nl \
--to=j.a.k.mouw@its.tudelft.nl \
--cc=bmacy@macykids.net \
--cc=chris@boojiboy.eorbit.net \
--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®