OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Bundabrg on June 30, 2006, 04:55:25 am
-
Ok, back to the same old problem I had last time I installed OZ. Every restart my Z resets its time to some abituary time (but not 1970, so its reading some stored time from somewhere)
I installed slutils, which normally fixed the problem, but under the new OZ (3.5.4) I get the following error if I set or read the so called 'hardware' clock: -
ioctl(MEMWRITELADDR): Inappropriate ioctl for device
I'm assuming the new kernel doesn't allow this anymore. How do I store the time, and how do I read it?
- Bundabrg
-
Answering myself. I see /etc/init.d/bootmish.sh sets the time from /etc/timestamp, and /etc/init.d/halt writes the time to /etc/timestamp. I'm guessing slutils was not portable/possible.
But under certain conditions (in fact all the time for me) it writes out the wrong date. Manually setting the date using the 'date' command, then running the scripts works fine. Setting the date via Opie DateTime doesn't. I'll investigate further to see if I've stuffed something up or its a bug.
- Bundabrg