Re: how to make power off button work like halt -p
??? wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. You may need to enable something in your BIOS along the lines of press the power button for 4 seconds in order to power off. From the software perspective, I think you also need the acpibtn(4) device. (check your dmesg for that)
Re: how to make power off button work like halt -p
??? wrote: do you mean that i should compile the acpictn device to the kernel.default 5.2 kernel have acpi device, but without acpibtn. If your dmesg doesn't show a acpibtn device, apart from checking hardware setup (e.g. BIOS settings), I'm out of ideas. -- Original --From: Remcore...@d-compu.dyndns.org;Date: Fri, Nov 23, 2012 04:00 AMTo: ç¼éècob...@qq.com; miscmisc@openbsd.org; Subject: Re: how to make power off button work like halt -p ??? wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. You may need to enable something in your BIOS along the lines of press the power button for 4 seconds in order to power off. From the software perspective, I think you also need the acpibtn(4) device. (check your dmesg for that)
how to make power off button work like halt -p
i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command.
Re: how to make power off button work like halt -p
On Thursday 22 November 2012 16:13:26 眼镜蛇 wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. Have you tried it? Just a short press on the button?
Re: how to make power off button work like halt -p
You could try uncommenting one of these in /etc/sysctl.conf #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work #machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt Also, check your BIOS settings. On OnThu, Nov 22, 2012 at 11:13:26PM +0800, ?? wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command.
回复: how to make power off button work like halt -p
À´ÐÅÊÕµ½£¬Ð»Ð»£¡ -- ÔʼÓʼþ -- ·¢¼þÈË:Renzo Fabriekrfabr...@nerdshack.com; ·¢ËÍʱ¼ä:2012Äê11ÔÂ23ÈÕ(ÐÇÆÚÎå) Á賿1:09 ÊÕ¼þÈË:miscmisc@openbsd.org; Ö÷Ìâ:Re: how to make power off button work like halt -p On Thursday 22 November 2012 16:13:26 ÑÛ¾µÉß wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. Have you tried it? Just a short press on the button?
回复: how to make power off button work like halt -p
æ¥ä¿¡æ¶å°ï¼è°¢è°¢ï¼ -- åå§é®ä»¶ -- å件人:rfabriekrfabr...@nerdshack.com; åéæ¶é´:2012å¹´11æ23æ¥(ææäº) åæ¨1:09 æ¶ä»¶äºº:miscmisc@openbsd.org; 主é¢:Re: how to make power off button work like halt -p On Thursday 22 November 2012 16:13:26 ç¼éè wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. Have you tried it? Just a short press on the button?
Re: how to make power off button work like halt -p
do you mean that i should compile the acpictn device to the kernel.default 5.2 kernel have acpi device, but without acpibtn. -- Original --From: Remcore...@d-compu.dyndns.org;Date: Fri, Nov 23, 2012 04:00 AMTo: ç¼éècob...@qq.com; miscmisc@openbsd.org; Subject: Re: how to make power off button work like halt -p ??? wrote: i need to install openbsd on a blind computer(without monitor).so i need to press power off button to shutdown the computer.i know that use ssh is a right way. but press power off is more effective way. in the version 5.2, i just press power off, and the computer shutdown directly without clean the file system. i think this would do harm to the database server. i want to know how to make power off button work link halt -p command. You may need to enable something in your BIOS along the lines of press the power button for 4 seconds in order to power off. From the software perspective, I think you also need the acpibtn(4) device. (check your dmesg for that)