Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
not able to get rid of 'sleep mode'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Sun Jun 22, 2008 8:10 pm    Post subject: not able to get rid of 'sleep mode' Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sun Jun 22, 2008 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Jun 25, 2008 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Jun 26, 2008 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum