Ubuntu versions

Kristian Hermansen kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jun 20 07:34:14 EDT 2007


On 6/20/07, Scott Ehrlich <scott-3s7WtUTddSA at public.gmane.org> wrote:
> Has anyone tried a server version on a laptop?   As I think I'd mentioned
> before, I'm using may laptop at home as a server.   The only way I've been
> able to prevent the hard drive, and maybe the NIC, from powering down, is
> to establish a cron job every 12 hours - 1100 for an updatedb, and 2300
> for an ntp query.

You should be able to disable or uninstall the "laptop mode" functionality.

$ aptitude search laptop

You probably have laptop-detect, laptop-mode, and laptop-mode-utils
installed.  If laptop-detect has a return status of 0, it thinks you
have a laptop.

$ laptop-detect
$ echo $?

Next thing to do is disable it if you like.  See what's in the config
below and change to "no" if you want to disable the settings...

$ cat /etc/default/laptop-mode

There are more options, but let me know if non of these work for you...

> I wonder if the server-based 7.04 would view my laptop (Compaq Armada
> m700) differently and NOT spin down the drive and power off the nic?
> Or, even if it was a different laptop, having the same events occur?

Even if the above does not work, you can also change the scripts
manually in /etc/acpi/ such that your power management acts exactly as
you wish...
-- 
Kristian Hermansen

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list