Rockbox

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bugs
  • Category Music playback
  • Assigned To No-one
  • Operating System Iriver H300 series
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by PoohBear - 2008-06-02
Last edited by nicolas_p - 2008-07-04

FS#9064 - iRiver H340 skips when battery low

- What behaviour you are seeing

Rockbox 17612-080523 on an iRiver H340 skips entire tracks, and also skips within tracks, when the battery level falls below 30%

- What behaviour you expected

No skipping.

- How to reproduce the bug

Allow the battery level to fall below 30% and start playing a directory of files. Some files will be skipped, some files will have parts skipped in the middle.

- The SVN revision you are using and if possible the particular SVN revision in which you think the bug was introduced.

17612-080523, no idea when the bug started.

If you need any further info on this bug, please ask and I’ll give more details. I have no other hardware to test whether this behaviour occurs on other Rockbox platforms.

When the battery level gets low an SYS_BATTERY_UPDATE gets sent, but its only effect is to speak the battery level.
Does the problem go away when you disable announce battery level?

Another possibility that was mentioned in a recent IRC discussion, is that a low battery level may cause errors reading from the hard disk, which may also cause songs to be skipped.

I'll turn off the announcement and see if there's any difference.

Regarding "a low battery level may cause errors reading from the hard disk, which may also cause songs to be skipped", how can I investigate this further to see whether this is the problem so I can help get a fix for it?

Here's the thread that mentions skipping in case of read errors:  FS#7879  It still pure speculation if it is related to the problem you are experiencing.

Where can I find the log file mentioned in that thread to see if I am getting the "File ended %ldB early" messages?

I'm keen to help investigate whether that speculated cause is indeed related to the problem I'm experiencing.

The battery level voicing indeed appears to be the problem.

Turning off the auto-voicing of battery level results in no skipping.

Can anyone have a look at the source code to investigate why the battery-level voicing can cause intermittent / random skipping? Hopefully this gives a good clue as to where to look in the source.

Let me know if there's anything else I can do to help get this resolved.

Antony, thanks for confirming. I personally have no experience with the voice code and don't know who does. You may have to ask on the #rockbox IRC channel.

nls commented on 2008-08-05 18:59

Antony, do you have a voice file present? Does the announcing of battery level work at all for you?
If you do could you try with a current one? There are pre-made voice files available from the website.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing