View previous topic :: View next topic |
Author |
Message |
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Sun Jun 22, 2008 8:10 pm Post subject: not able to get rid of 'sleep mode' |
|
|
so my computer (no laptop) goes into sleep mode after something like 15minutes and i have absolutely _no_ idea where that is being set. i especially don't like it when there is a rather large emerge going on and i leave during that ... and find that it went into sleep mode a few minutes after i left.
according to the gentoo help regarding power saving it might be in /etc/conf/hdparm, but that one seems to be clear for me Code: |
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"
# or you can set options for all PATA drives
pata_all_args="-d1"
# or you can set options for all SATA drives
sata_all_args=""
# or, you can set hdparm options for all drives
all_args=""
|
other then that ... no idea. could be in the kernel, but that one also seems to be fine. no sleep mode or so given
Code: | #
# Power management options
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND_UP_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_HIBERNATION_UP_POSSIBLE=y
# CONFIG_HIBERNATION is not set
# CONFIG_ACPI is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set |
does someone know where that 15min sleep mode is defined and how i can change it?
with best regards,
qubax |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Sun Jun 22, 2008 9:04 pm Post subject: |
|
|
Have you checked your bios? (It's more a shot into the dark, that a real trail...)
Check you powermanagement tools - kpowersave or kcontrol in kde. they have an option, to put the computer to sleep...
cheers
V. |
|
Back to top |
|
|
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Wed Jun 25, 2008 9:53 pm Post subject: |
|
|
any suggestions if i don't use/have installed kde/gnome?
some programs that are standard (included in the system packages) and do that sort of thing? |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Jun 26, 2008 8:15 am Post subject: |
|
|
hmm,
check your sys-power apps. they are normally responsible foe powermanagement, and sleep.
Code: | qlist -I sys-power/ | should give you a nice list of installed packages.
I sort of missed it in the first place... Why are you using apm? I don't know apm that well, but if the computer is fairly recent - a few years old - it should support acpi. and acpi is generally preferred over apm.
cheers
V. |
|
Back to top |
|
|
|