Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Dell Inspiron 1100 laptop and I run FC2 on
it.
The suspend-to-ram feature never used to work and i
was told (on Dell forums) this is due to some problem
with the BIOS on this particular machine.
However when I recently updated the kernel on this
machine (using yum) to 2.6.10-1.9_FC2 suddenly (to my
delight) the suspend-to-ram feature has started
working. What I mean by that is, when I close the lid,
X shuts down, the network shutsdown and the machine
enters a power-save mode and when I open the lid,
everything is restored back to the state it was. The
only problem is, when everything is restored back, I
find that the clock has been messed up and it now
shows a time which is couple of hours _ahead_ of what
it should be. I don't understand why this happens.
When ever this happens, I restart ntpd and that sets
the time back to the correct time.
My question is this: is there a way to prevent this
from happening. Even if I cannot prevent this from
happening, is there a way I can have the machine
automatically restart ntpd when its restoring the
network and other settings when its waking up.
I don't even know what script the suspend-to-ram
functions runs when the machine wakes up.
"The only problem is, when everything is restored back, I
find that the clock has been messed up and it now
shows a time which is couple of hours _ahead_ of what
it should be. "
By any chance is the time being reset to Greenwich time?
I've been havinng the same problem with my IBM thinkpad R40. My clock is set ahead - the longer I have the lid shut the greater the discrepancy. Is this an apm issue by any chance? Did any of you guys figure it out? I have a script that I run as a cron job to fix the time, but it only runs every hour. I could just manually run it when waking the laptop up, but it would also be nice to fix the problem.
Originally posted by geomatt Is this an apm issue by any chance?
-geomatt
My laptop uses acpi. So, no, its not an APM issue.
I still have that problem. I can't figure out which script is controlling this sleep/wake-up behaviour.
Once we have that, we can always add lines in that script making it copy the hardware time onto system time.
I can't figure out which script is controlling this sleep/wake-up behaviour.
Did you have a look in /var/log/acipd? That should tell you what is happening in response to what acpi events. I've just switched to acpi and used that info to actually get it to work on my machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.