Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 11:58:49 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Andrew Maltsev <am@amsoft.ru>
Cc:        mike@smith.net.au (Mike Smith), hosokawa@ntc.keio.ac.jp, yokota@zodiac.mech.utsunomiya-u.ac.jp, walter@fortean.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: APM power off (patch) 
Message-ID:  <199803101958.LAA19859@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 10 Mar 1998 18:11:34 %2B0300." <199803101511.SAA03142@amsoft.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > >> > May I bring your attention to the PAO package:
> > > >> > 	http://www.jp.FreeBSD.org/PAO/
> > > >> > which also implements power off via APM.
> > > >> 
> > > >> APM poweroff on ATX boards is different to APM poweroff on laptops.  
> > > >> FreeBSD has been able to use APM to shut laptops down for a long time 
> > > >> now, but it hasn't worked on ATX boards.
> > > 
> > > Hmm?  I read roughly the patch mentioned in the first mail of this
> > > thread, and I can't find any essential difference between it and
> > > -current, and I have heard and tested that PAO shutdown power-off code
> > > works under ATX machines.
> > 
> > Odd; I had expected that it *would*, but when I tried it on my brand 
> > new ASUS board it didn't, nor on the Tyan box next to me.
> 
> Have you APM enabled in BIOS?

Yes; as I said, suspending works.

> It works fine on my Intel AL440LX APM 1.2 compatible board. And I see no
> difference between laptops and ATX boards from APM point of view.

Ok.  Sounds like circumstantial problems.  I'll try again.

> ...btw I see no code in 2.2-stable branch to power down
> laptop. RB_POWEROFF is not analized anywhere in kernel.

No, it's only in -current.

> I do not pretend my patch to be hard done job or very urgent - it's very
> simple and obvious - but it adds functionality to 2.2 branch. And to me
> it's better than nothing. That's all.

It'd be better to merge the code from -current, just for consistency's 
sake.

-- 
\\  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-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803101958.LAA19859>