Rockbox

Tasklist

FS#9064 - iRiver H340 skips when battery low

Attached to Project: Rockbox
Opened by Antony Stone (PoohBear) - Monday, 02 June 2008, 10:45 GMT
Last edited by Nicolas Pennequin (nicolas_p) - Friday, 04 July 2008, 14:14 GMT
Task Type Bugs
Category Music playback
Status Unconfirmed
Assigned To No-one
Operating System Iriver H300 series
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

- 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.

This task depends upon

Comment by Bertrik Sikken (bertrik) - Wednesday, 11 June 2008, 19:00 GMT
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.
Comment by Antony Stone (PoohBear) - Wednesday, 11 June 2008, 19:14 GMT
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?
Comment by Bertrik Sikken (bertrik) - Wednesday, 11 June 2008, 19:59 GMT
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.
Comment by Antony Stone (PoohBear) - Wednesday, 11 June 2008, 21:04 GMT
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.
Comment by Antony Stone (PoohBear) - Sunday, 15 June 2008, 16:39 GMT
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.
Comment by Bertrik Sikken (bertrik) - Saturday, 21 June 2008, 21:54 GMT
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.
Comment by Nils Wallménius (nls) - Tuesday, 05 August 2008, 18:59 GMT
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...