[PATCH] apm, 2.4.9

Thomas Krennwallner (krennwallner@aon.at)
Mon, 10 Sep 2001 21:23:04 +0200


--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

Just found out that either apm=on or apm=off supplied as bootparam
turns apm off. No bootparam enables apm.

So long
Thomas

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >
 /   \   Thomas Krennwallner <krennwallner at aon dot at>
(__\/_)_ Fingerprint: 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B

--9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="apm-bootparam-2.4.9.patch"

--- linux-2.4.9/arch/i386/kernel/apm.c Tue Aug 14 01:39:28 2001 +++ linux/arch/i386/kernel/apm.c Fri Sep 7 10:41:59 2001 @@ -1652,7 +1652,7 @@ if (realmode_power_off) apm_info.realmode_power_off = 1; /* User can override, but default is to trust DMI */ - if (apm_disabled != -1) + if (apm_disabled > 0) apm_info.disabled = 1; /*

--9amGYk9869ThD9tj-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/