From owner-freebsd-current Fri Jun 12 15:26:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00566 for freebsd-current-outgoing; Fri, 12 Jun 1998 15:26:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00532 for ; Fri, 12 Jun 1998 15:26:11 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id OAA00837; Fri, 12 Jun 1998 14:19:57 -0700 (PDT) Message-Id: <199806122119.OAA00837@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Donald Burr cc: Mike Smith , bjc23@hermes.cam.ac.uk, freebsd-current@FreeBSD.ORG, Frank Mayhar Subject: Re: Auto power-off? In-reply-to: Your message of "Fri, 12 Jun 1998 02:46:21 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Jun 1998 14:19:57 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > My secret spy satellite informs me that on 12-Jun-98, Mike Smith wrote: > >> My secret spy satellite informs me that on 12-Jun-98, Frank Mayhar > >> wrote: > >> >> # apmconf -e > >> >> # shutdown -h now > >> >> Depending on your APM implementation, the system may (should) shut > >> >> down. I use this with my laptop all the time. > >> > For the record, this does _not_ work with the Hitachi MX133T laptop. > >> > >> Also for the record, this does _not_ work with my Toshiba Satellite > >> 105CS. > > > > What APM version? > > Windows 95 (OSR2) calls it "APM 1.1". So does LInux (Slackware 3.4, > kernel 2.0.33). > > According to the apm driver in 2.2.6-STABLE (checked out & built circa > 980604), however: > > apm0 on isa > apm: found APM BIOS version 14.0 Yecch, that's Bad. Can you build a kernel with APM_DEBUG defined, and send the relevant output? I think we are not talking to the BIOS correctly there. > Since I'm interested in getting to the bottom of this, I would be willing > to try CURRENT on this machine if there are significant changes in APM > between RELENG22 and CURRENT. I recently committed some changes to use vm86 mode when initialising the APM connection - this *may* help. You will need to build a kernel with 'options "VM86"' in it as well as the APM device. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message