From: Bill Marcum on
On 2008-04-11, Zhang Weiwu <zhangweiwu(a)realss.com> wrote:
>
>
> Dear all
>
> I got a notebook that run out of battery on the mother board. Which
> means, every time it reboots, or shut down and start again, the system
> time goes back about 100 years.
>
> I can workaround this issue by running ntp client upon booting, but this
> notebook I used to take it everywhere (I am a heavy traveler) and I
> cannot connect to Internet in many situations. Manually adjust clock
> every time is very troublesome too. The local repair center told me to
> fix this I need to pay the price close to a new notebook computer to get
> the motherboard replaced, because battery cannot be replaced separately.
>
What brand of notebook is it, so the rest of us can avoid purchasing one
like that? Or maybe the repair shop is wrong and you can replace the
battery.

> I think there probably exist some sort of external system clock device?
> That for example can be plugged in PCMCIA or USB slot, provide the
> kernel the right time when kernel boots? If there are such device then I
> can solve my problem. Otherwise I probably really need to spend a lot of
> $$$.
>
You could write scripts to save the time in a file at shutdown and
restore it at startup. It won't be the correct time, but at least the
time won't go backward.
From: dillinger on
Zhang Weiwu wrote:
> dillinger �:
>> Zhang Weiwu wrote:
>>> I think there probably exist some sort of external system clock device?
>> http://www.timetools.co.uk/atomic-clock/atomic-clock-sync.htm
>> http://www.atomic-clock.galleon.eu.com/atomic-clock/time/atomic-clock-sync.html
>>
>> Should work, or google some more on ntp sync device.
>>
>> Michel.
>
> Hi, Nice idea! Thanks! But I think we don't have these radio time signal
> services in China, and can I use that on the plane too? (I think not)

Then maybe you should look for a (bluetooth) gps device, or for a way to
connect to the internet, maybe through a mobile phone.
From: Zhang Weiwu on
Bill Marcum �:
> On 2008-04-11, Zhang Weiwu <zhangweiwu(a)realss.com> wrote:
>>
>> Dear all
>>
>> I got a notebook that run out of battery on the mother board. Which
>> means, every time it reboots, or shut down and start again, the system
>> time goes back about 100 years.
>>
>> I can workaround this issue by running ntp client upon booting, but this
>> notebook I used to take it everywhere (I am a heavy traveler) and I
>> cannot connect to Internet in many situations. Manually adjust clock
>> every time is very troublesome too. The local repair center told me to
>> fix this I need to pay the price close to a new notebook computer to get
>> the motherboard replaced, because battery cannot be replaced separately.
>>
> What brand of notebook is it, so the rest of us can avoid purchasing one
> like that? Or maybe the repair shop is wrong and you can replace the
> battery.

Apple iBook. I think it is designed in this way intentionally, to force
user to upgrade later.

>
>> I think there probably exist some sort of external system clock device?
>> That for example can be plugged in PCMCIA or USB slot, provide the
>> kernel the right time when kernel boots? If there are such device then I
>> can solve my problem. Otherwise I probably really need to spend a lot of
>> $$$.
>>
> You could write scripts to save the time in a file at shutdown and
> restore it at startup. It won't be the correct time, but at least the
> time won't go backward.

That's a very good solution. In fact, I managed to replaced motherboard
with another used motherboard at only a few $$$ by negotiated together
with a friend who knows a better repair shop.

Thanks for all the information and hints!
From: Wolfgang Draxinger on
Zhang Weiwu wrote:

>> What brand of notebook is it, so the rest of us can avoid
>> purchasing one
>> like that? Or maybe the repair shop is wrong and you can
>> replace the battery.
>
> Apple iBook. I think it is designed in this way intentionally,
> to force user to upgrade later.

You can _always_ replace the battery. Either it's in a socket, or
it's soldered in. If it's in a socket, just replace it, if it's
soldered, cut the pins of the old battery (don't desolder!,
those MBs are multilayer and this is probably a RoHS design with
lead free solder, both mixed are some hell of a solder job to
get right), and be sure to leave some millimetres, on which you
can solder some wire. Then connect the new battery to those
wires. Although space is sparse in notebooks, there should be
some corner, where you can comfortably place the new battery.
Fixate it there with some adhesive tape.

Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith(a)jabber.org, ICQ: 134682867

From: LEE Sau Dan on
>>>>> "Jack" == Jack Snodgrass <jacks_temp_id_bf2142(a)verizon.net> writes:

Jack> ... if you can't find a hardware approach... you could at
Jack> least setup a script that runs when you do a shutdown that
Jack> touches a file in something like /var/tmp/last_time

Doesn't the file /etc/mtab serve that purpose already?

Jack> and then have your startup scripts use that file to set the
Jack> date.


--
Lee Sau Dan §õ¦u´° ~{@nJX6X~}

E-mail: danlee(a)informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee