Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 08:38
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
[SOLVED] pupeee in eee701 1.0: suspend and resume issues
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
bwh1969

Joined: 25 Oct 2010
Posts: 132
Location: Allentown, PA

PostPosted: Sat 11 Dec 2010, 19:36    Post subject:  [SOLVED] pupeee in eee701 1.0: suspend and resume issues  

I have an EEE 701 with an "unusual issue" in the sense that I flashed the bios so that the FSB runs @100% it runs the full 900MHz (not the 70% creating the 630MHz as it did from the factory).

The issue is that if I select fsb clocking, and suspend the computer on battery, then decide to plug it in then wake it, the computer locks up with the telltale sign of the garbled display. i think it is jumping the FSB clock from the pre suspend state of 70 to 100;

I had seen this with other distros when I tried to use an eee.ko kernel module and didn't change the FSB clock in 5 MHz increments.

I have been trying to remember to change the setting in eee-control back to "disable" under CPU. I like it on when on battery because it seems to really make the battery last.

Is there a script I can modify such that on suspend, I can have it jack the FSB back up to 100? I assume I need this "opposite" thing to happen because my BIOS is set at 100 MHz now.

ADDITIONALLY
I see there is a "FSB Mode: 0x200" in the CPU tab also and I have no idea what this means. I tried google'ing this to see what this is and what modifications do to it.

Last edited by bwh1969 on Mon 10 Jan 2011, 20:03; edited 1 time in total
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 11 Dec 2010, 22:16    Post subject:  

The script is /etc/acpi/sleep.sh.

The line "echo 1 > /sys/devices/platform/eeepc/cpufv" is supposed to put it into the default state before suspending. You might need "echo 0 > /sys/devices/platform/eeepc/cpufv" instead.
Back to top
View user's profile Send private message Visit poster's website 
bwh1969

Joined: 25 Oct 2010
Posts: 132
Location: Allentown, PA

PostPosted: Sun 12 Dec 2010, 11:31    Post subject: didn't work but this did  

It still froze, but you still helped by pointing out the correct file.

I commented out :

#acpitool -a |grep on-line
#if [[ $? == 0 ]] ; then
# /etc/acpi/performance.sh
#else
# /etc/acpi/powersave.sh
# fi

It then just leaves the FSB setting alone before suspending?

I am unfamiliar with what PupEEE uses to change the bus speed so perhaps there is a better workaround BUT this works for me. The only small thing is that if I wake it with the adapter in, it does not put it up to performance but I can do that manually: better than a freeze up, that is for sure.
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Mon 13 Dec 2010, 02:14    Post subject:  

Anything after "acpitool -s" happens after it resumes from suspend.

You may just need a longer delay before switching power modes after resuming.
Back to top
View user's profile Send private message Visit poster's website 
bwh1969

Joined: 25 Oct 2010
Posts: 132
Location: Allentown, PA

PostPosted: Mon 13 Dec 2010, 08:59    Post subject:  

Where would you suggest I insert "sleep X" to add the delay?
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Mon 13 Dec 2010, 15:32    Post subject:  

Right after "acpitool -s".

It seems best to switch powermodes when the cpu is as idle as possible.
Back to top
View user's profile Send private message Visit poster's website 
bwh1969

Joined: 25 Oct 2010
Posts: 132
Location: Allentown, PA

PostPosted: Mon 10 Jan 2011, 20:03    Post subject: this worked  

adding sleep time fixed it.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0479s ][ Queries: 11 (0.0038s) ][ GZIP on ]