• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Turning off computer from power button in FreeBSD.

Just wondering if  anyone can help.  I need to run a freebsd box that is headless, keyboardless, mouseless, & that I will have no network access to. What I want to do is allow someone to push the power button and the
machine will halt. I've been searching and can't
really find any real answers. I am assuming it has to do with apm or acpi but, I can't figure out exactly how to get them to work.
0
Stirch
Asked:
Stirch
1 Solution
 
NTIVERCommented:
Stirch,

On a freebsd system - wouldn't holding down the power button serve this purpose for you, instead of just pushing it once?

Regards,

Neil
0
 
StirchAuthor Commented:
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
 
StirchAuthor Commented:
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
StirchAuthor Commented:
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
 
ahoffmannCommented:
you need a board which supports apm, acpi, and a power supply which does support it too.
Then a apmd can manage yor request.
0
 
rrbfCommented:
definitely needs an extra hardware piece if you want
a clean shutdown. a halt signal may also be delivered from the serial port assuming you can configure the box before
leaving it alone. even from the parralel port, but it's getting
hairy. or have a quick script running in the background
monitoring some other io.

Or you may try remote serial like www.realweasel.com
they're a friendly business.
I still got a couple of their pci cards I'm not currently using.

Boris
0
 
StirchAuthor Commented:
Sorry for delay.

ahoffmann - I got some troubles with apm0 device, still can't make it function.

rrbf - I discuss such devices at my local BBS, and decide not to use them for some reasons.
0
 
ahoffmannCommented:
the apm0 device is completely useless if you board and/or BIOS does not work propper, please check this first.
0
 
jmcgOwnerCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: ahoffmann {http:#7025383}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now