- Status Closed
- Percent Complete
- Task Type Bugs
- Category Operating System/Drivers
- Assigned To No-one
- Operating System Iriver H300 series
- Severity Medium
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#4806 - wrong filedate when writing
After connecting my iRiver H340 to my computer I noticed,
that all files (e.g. configuration) written by rockbox
have create/modified timestamps far in the future.
The day and month seems to be correct, but the year is not.
My date and time is correctly set and it also write the
correct date inside e.g. a configuration file at the first
line.
The years of the files are all 29 years in future
(e.g. for a file written today at 2006/03/09 it writes
down 2035/03/09)
Really strange
Closed by mmohr
2006-03-09 11:23
Reason for closing: Invalid
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2006-03-09 11:23
Reason for closing: Invalid
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Not rockbox\' fault - bug exists in
original h300 firmware
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
This is because of a bug in the iriver original firmware RTC driver. It uses the Year field in the wrong way, and it resets the RTC when it thinks it is invalid. Each time you start the iriver firmware, even just to charge it, the year will be set like this.
You're right - it seems my year was really wrong :(
(I thought I checked it before posting, but I must be wrong)
BTW, I did not boot the original firmware for eons, so I don't know how this happened???
I'll close the task - although it would be nice if rockbox
would automatically correct such wrong years…