[H-GEN] help! problem with real time clock
Russell Stuart
russell-humbug at stuart.id.au
Tue Dec 6 03:37:03 EST 2016
On Tue, 2016-12-06 at 07:55 +0000, Clinton Roy wrote:
> Another possibility, if the hardware or kernel driver is somewhat
> flakey, and if the kernel driver is compiled as a module, you can try
> reinserting it?
Now I think about it were are talking about an rtc here. One of the
things that may well make an rtc return an EIO is it has no idea of the
time because it hasn't been initialised. If it does that and it isn't
getting any power at all when the device is off (bad battery?) then you
would get the EIO after a cold boot. hwclock would then initialise
with the time, and then on a warm boot it would work.
If you rmmod'ed it and modprobed it after the kernel had initialised it
on a cold boot, it would work of course - and give back the erroneous
time the kernel has just programmed into it.
More information about the General
mailing list