Skip to contentSkip to conversation

swsusp needs clock corrected | 8193too needs reload

DISCUSSION Robert 4 participants 6 messages Sep 16, 2002 – Sep 18, 2002 5 messages not in the archive ACPI

lore
Share & tools
lore

Robert

author
#0 lore raw

Hi

For my Tablet PC ACPI is very good working now .n The Transmeta 600Mhz sits on a ALi chipset with a Phoenix Bios

AC and battery are displayed.
processor can be influenced and throttle
i also get the temperature .
and with the swsusp i also can fully use S4 without any BIG problem

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

the secound thing is that i need to rmmod my 8139too Realtek eth0 chip and reinsert it by hand . although i get the correct messages at resume : " setting up half dupley 10/100 ...."

Anybody has a hint ...?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · Robert

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

Run hwclock --hctosys after resume (and preferable hwclock --systohc before)

Quoted 3 lines

the secound thing is that i need to rmmod my 8139too Realtek eth0 chip and reinsert it by hand . although i get the correct messages at resume : " setting up half dupley 10/100 ...."

I only used to to ifconfig eth0 down and up - this also renewed my DHCP address - very fine :-)

Markus

Signature · 12 lines
__________________    /"\
Markus Gaugusch       \ /    ASCII Ribbon Campaign
[email protected]     X     Against HTML Mail
                      / \




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.44.0209161123420.12600-100000-sxQ525G0OhRQK2oVCIMtW7NldLUNz+W/@public.gmane.org

#4 lore raw

Hi!

Quoted 5 lines
Quoted 3 lines

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

Run hwclock --hctosys after resume (and preferable hwclock --systohc before)

Actually this should be fixed in kernel (as we already do for apm). Patches welcome.
Pavel

Signature · 10 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 10 lines · Pavel Machek [[email protected]] wrote:

Hi!

Quoted 5 lines
Quoted 3 lines

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

Run hwclock --hctosys after resume (and preferable hwclock --systohc before)

Actually this should be fixed in kernel (as we already do for apm). Patches welcome.

And I think that a similar clock fix is required for speedstep changes.

Faye`

Signature · 13 lines
Faye Pearson,
Software Development Manager,
ClaraNET Ltd.       Tel 020 7903 3000

untold wealth, n.:
	What you left out on April 15th.


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Ahoj!

Quoted 10 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

Run hwclock --hctosys after resume (and preferable hwclock --systohc before)

Actually this should be fixed in kernel (as we already do for apm). Patches welcome.

And I think that a similar clock fix is required for speedstep changes.

No, that is completely orthogonal issue.

Signature · 9 lines
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 32 lines · [email protected] schrieb:
Quoted 5 lines · Robert

Hi

For my Tablet PC ACPI is very good working now .n The Transmeta 600Mhz sits on a ALi chipset with a Phoenix Bios

Quoted 10 lines

AC and battery are displayed.
processor can be influenced and throttle
i also get the temperature .
and with the swsusp i also can fully use S4 without any BIG problem

Only 2 things are not fully working with swsusp
after i resume from S4 , my clock is still at the time when it was suspended.

You should use something like:

hwclock --systohc
echo -n "1 0 0" > /proc/sys/kernel/swsusp
sleep 5 # time to sleep
hwclock --hctosys

Quoted 4 lines

the secound thing is that i need to rmmod my 8139too Realtek eth0 chip and reinsert it by hand . although i get the correct messages at resume : " setting up half dupley 10/100 ...."

Quoted 9 lines
Quoted 3 lines

Anybody has a hint ...?

Now I haven't my swsusp script at hand. I'll send it as soon as I come back home. The concept is to rmmod modules or stop services before susp. and insmod restart they after wakeup.

may you can sent me this script .. since i dont manage it to do !!?!?!

Quoted 6 lines

--
Regards, Marco Gigante

Signature · 23 lines
_____________________________________
*Robert Wörle
Linux | Embedded Device*
*
Symplon AG*

*...touch the internet*

phone: +49 89 552 999 35
fax: +49 89 552 999 10
email: [email protected] <mailto:[email protected]>
web: www.symplon.com <http://www.symplon.com/>

_____________________________________




-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab