Re: Shutdown And User Intervention

2004-10-14 Thread Subhro
On Wed, 13 Oct 2004 21:39:25 -0700 (PDT), Rishi Chopra
[EMAIL PROTECTED] wrote:

 Thanks to Mick, Andreas, Geert and Dee for their
 suggestions.
 
 I tried adding the suggested line (I'm running 5.2.1)
 but the response is:
 
 config: Error: device acpica is unknown
 config: 1  errors
 
 Do I need to be running a special kernel to enable
 acpica?  Is there any other way to enable ACPI?  Will
 I have to start a daemon after compiling the kernel to
 enable ACPI?

There are two ways to do it. One of them is to add the line device
acpi to the kernel config and recompile the kernel. The second option
is to load acpi as a module.
kldload acpi.ko

Alternatively you can put acpi_enable=YES in /boot/loader.conf to
automate the process. And there is no daemon like apmd for acpi. It is
a KLM.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-14 Thread Geert Hendrickx
On Thu, Oct 14, 2004 at 12:47:59PM +0530, Subhro wrote:
 On Wed, 13 Oct 2004 21:39:25 -0700 (PDT), Rishi Chopra
 [EMAIL PROTECTED] wrote:
 
  Thanks to Mick, Andreas, Geert and Dee for their
  suggestions.
  
  I tried adding the suggested line (I'm running 5.2.1)
  but the response is:
  
  config: Error: device acpica is unknown
  config: 1  errors
  
  Do I need to be running a special kernel to enable
  acpica?  Is there any other way to enable ACPI?  Will
  I have to start a daemon after compiling the kernel to
  enable ACPI?
 
 There are two ways to do it. One of them is to add the line device
 acpi to the kernel config and recompile the kernel. The second option
 is to load acpi as a module.
 kldload acpi.ko
 
 Alternatively you can put acpi_enable=YES in /boot/loader.conf to
 automate the process. And there is no daemon like apmd for acpi. It is
 a KLM.
 
 Regards
 S.


Ok, so apparantly this is a difference between 4.x and 5.x.  In 4.x,
there is no LKM for this, and the line to add is indeed device acpica.  

Sorry from a 4.x-junkie ;-)  

GH

-- 
:wq
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shutdown And User Intervention

2004-10-13 Thread Rishi Chopra
Is there a way to issue a shutdown command that
doesn't require me to press a key to reboot?

Currently when I enter the command 'shutdown -p' the
system shuts down gracefully but I have to press a key
to reboot the system.

Ultimately I'd like to be able to power-off the system
gracefully without requiring the user (me) to press a
key  afterwards.

=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shutdown And User Intervention

2004-10-13 Thread Robert Huff

Rishi Chopra writes:

  Is there a way to issue a shutdown command that
  doesn't require me to press a key to reboot?
  
  Currently when I enter the command 'shutdown -p' the
  system shuts down gracefully but I have to press a key
  to reboot the system.

shutdown -r works for mw.


Robert Huff


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FW: Shutdown And User Intervention

2004-10-13 Thread Walker, Michael
Subject: Shutdown And User Intervention

 Is there a way to issue a shutdown command that
 doesn't require me to press a key to reboot?
snip

shutdown -p NOW does it for me, I guess it all depends on your
motherboard/BIOS power settings.

Mick Walker


**
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-13 Thread Andreas Davour
On Wed, 13 Oct 2004, Rishi Chopra wrote:
Is there a way to issue a shutdown command that
doesn't require me to press a key to reboot?
Currently when I enter the command 'shutdown -p' the
system shuts down gracefully but I have to press a key
to reboot the system.
Ultimately I'd like to be able to power-off the system
gracefully without requiring the user (me) to press a
key  afterwards.
Check if you have the acpi kernel module loaded. Without it, the 
shutdown -p can't shutoff the computer without human intervention. At 
least in no way I know.

/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-13 Thread Geert Hendrickx
On Wed, Oct 13, 2004 at 07:50:08AM -0700, Rishi Chopra wrote:
 Is there a way to issue a shutdown command that
 doesn't require me to press a key to reboot?
 
 Currently when I enter the command 'shutdown -p' the
 system shuts down gracefully but I have to press a key
 to reboot the system.
 
 Ultimately I'd like to be able to power-off the system
 gracefully without requiring the user (me) to press a
 key  afterwards.

Add the following to your kernel configuration file, build and install a
new kernel and try shutdown -p again: 

device  acpica

It's not in de GENERIC kernel because 1) this feature is still
experimental (however it seems to work fine), and 2) many users never
shutdown -p their FreeBSD machines anyway. :-)  

GH

-- 
:wq
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]