• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Remote
  • Assigned To
  • Operating System iAudio X5
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by MikeS - 2007-03-14
Last edited by MarcinBukat - 2011-06-05

FS#6815 - iAudio X5 Remote Ticking Reduction - need testing and help

Find the option under General Settings|Display|Remote LCD Settings|Reduce Ticking

On my player this basically eliminates all remote ticking when the CPU is running at 124MHz. My player is practically silent at 45MHz but some players tick as badly at 45MHz as at 124MHz. I cannot test to find a good strategy/setting for the lower CPU frequency though I suspect a similar one should work for that.

Experiments show the sequence used in the patch to be the most effective of all tried with the lowest loss of framerate. The technique used for iRiver kills the framerate too much and isn't as good for the x5. It seems keeping the clock pulses as even as possible is one key as well as flipping clock and data at the same time. It behaves almost as though there are filters on the line specifically for emi reduction. :-\\

I will need feedback as to the effectiveness of this in general (and at high CPU speed) and hopefully I'll get some help sorting it out for the lower CPU speed.

Closed by  MarcinBukat
2011-06-05 11:39
Reason for closing:  Out of Date
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

Outdated long ago.

I cannot apply this patch, because have no compiler etc…

there are still clicks…

bundy commented on 2007-03-21 12:15

I confirm. Clicks are still present (also at 124 MHz).

MikeS commented on 2007-03-21 13:30

You made sure to set the boost up manually in the Debug Menu to rule out anything at 45MHz? If so, some players have a serious problem that would require slowing the lcd alot whereas mine only requires a modest slowdown. This could be adjustable so you can set it just until the clicks are gone.

MikeS commented on 2007-03-21 13:35

I will experiment with other variations and post them as well. Hopefully this can be solved quickly with some help.

Actually there are no clicks, Mike, last time I forgot to turn the option on.
Please ingrate it into the main build, could you?

I will listen more carefully, but… ;)

MikeS commented on 2007-03-24 17:42

Ok, that's what I want to hear (or is that _not_ hear :). It needs a bit of tweaking before that and at least this should cure the majority of people's devices I think. There is only one I know of that had a clicky remote at 45MHz and I'll keep on the lookout to refine this. Adding it to the main build shouldn't be too long then. I've just got a small amount of something else to finish and I'll start running this thread again.

You mean that different devices are different? How can that be?

That time I had problems with hearing, so I'm not sure now about clicks… =|

MikeS commented on 2007-03-24 19:27

Yes, there's variation in devices due to grounding issues and that's why it's an option. For example take my H120; my remote never clicks so why should I have the framerate penalty? Others have a serious problem with it on iRivers. I have never tested the penalty on iRivers but since this works for you it seems the x5 can have a rather modest one. Allow some experimentation time and it should be good to go soon.

bundy commented on 2007-03-26 14:31

I tested with/without tick reduction on 45MHz and on 124MHz (manually boosted) - I hear ticks. Could it possibly be also headphones dependent? On some with big impedance (32 Ohm) I hear no ticks, but on earbuds (stock and some other ~16 Ohm) I hear them.
[Btw. I've had a nice issue on remote screen right now - the screen flipped and some lines on bottom were as some noise(?) as in TV with no signal ;) - I suspect this patch as I have only 2 - the second one is battery_estimation.patch from maxwen0. ]

MikeS commented on 2007-03-26 18:27

I suppose the changed impedance could affect it, sure. I'll try some other phones. As far as LCD corruption, shouldn't be from speed issues cause it's slower…perhaps timing. Perhaps the chip select stuff. :

May be you could also think about applying this patch to M2 target later. Thanks!

Couldn't you merge this patch to the main builds?

Theese special builds are very buggy.

MikeS commented on 2007-04-09 19:32

Ticking reduction for iAudios would likely be included in any other port if those working on it want it added.

This will get in SVN. I haven't had much time and I was working on improving mpegplayer which also diverted me a bit from low latency audio work…which it might help with anyway. Doing some work on something else and stepping away for a bit leads me to more ideas about what to do about something. There's almost never an exception and I don't know why my so-called brain works that way.

Also I found this bug:

sometimes the remote shows "a wave" and then the screen becomes garbled:
1) Horizontal 1/3 of screen is visible, the rest of space is blank
2) The screen is inverted horizontal AND vertical - like mirrored (I see twice-mirrored letters)

Waiting for the merge to main build, thank you.

MikeS commented on 2007-04-22 17:41

This bug comes without using the patch? If it only comes with the patch, that's a bit of a concern for adding it to SVN.

I've never seen this bug in the main build. And with this build (yours one) it happens for sure, but you just need to wait. And, I forgot, this can be solved by plugging the remote out-and-in-again. Then the screen is OK for 20-30-50-100 mins again.

The build pointed by Pascal Briehl (ColdSphinX) in the beginning is very buggy (cannot even play files without remote) and I don't use it.

And the border between twice-inverted letters and the blank space is filled with digital garbage.

May be I can take a picture of it, if you would need.

Evgeniy (tralivali) can you explain the bugs on my build? 3 weeks ago I bricked my remote plug in the case and had to solder the headphone-out :(
But with my current build everything works fine for me.

Pascal, it hangs constantly. No matter you use remote or not. I. e. the build is very unstable, though interesting.

bundy commented on 2007-04-25 06:27

Recently my audio connector on the remote somehow disconnected from the remote board so I had to open it to repair it (it was(?) still under warranty ;) ).
I took a photo - what surprised me was the version of the board (M3). I searched on the web, and it seems like it is the same for all(?) COWON products. But I keep asking myself: What if it DOES matter?

MikeS commented on 2007-04-25 21:46

For M3/M5/X5 and perhaps others it's all the same remote. The noise varies unit to unit though I'm not specifically aware of any controlled tests with Cowon where someone uses the same player with different remotes and different players with the same remote. Not different models, just different individual players and remotes. I assume this checking has been done with iRiver as certain facts are known there about the grounding being an issue.

Hello again, Michael. Couldn't you see for a sporadic remote turn-off? The need to re-plugin the remote appears too often… Thank you very much.

MikeS commented on 2007-05-11 08:20

I'm really at a loss for what to do about that. I'm not really sure why it should do it but it could be the chip select line having a problem. Overspeeding it shouldn't since it doesn't. :

But did you catch this behavior yourself?

MikeS commented on 2007-05-11 17:10

Only when overdriving the remote display IC to a few frames higher than SVN code outputs but I knew that should cause problems. Other than that, no and probably because my main remote usage is for development and not listening. Is an unpatched build still OK?

More of that. It seems for today, Pascal's build is OK. Soooo……

May be you'll try to apply a patch to a contemporary source?

MikeS commented on 2007-05-24 02:03

I did some checks and 32-Ohm produces the worst ticking without reduction and the least with reduction. 16 Ohm, less than 32 Ohm without reduction but ticks regardless so I'm guess more extreme slowdown would be needed for that. I hate to slow the display too much and I'll find what just takes care of 16 Ohm.

I'll add a new patch that will apply to current SVN and a build with it shortly.

32-Ohm headphones? So clicks still will be? =(

With Pascal's build the remote turns off very rarely, but mostly when you press a key, the key "pause".

MikeS commented on 2007-05-24 13:24

It means 32-Ohm heahphones + reduction = the least clicks of any
32-Ohm headphones - reduction = the most clicks of any
16+reduction approx. = 16-reduction

So the elimination isn't absolute now?
Eh… =(

MikeS commented on 2007-05-25 09:20

It's the same patch with new SVN…that's all.

Is there any build with it?

I had to remove this patch, because since this morning it's out of sync and I don't know asm well enough to sync it myself.
So can anyone sync it?

Rost commented on 2007-12-08 17:54

Pascal, I'm not having any trouble at all compiling. I guess some of your other patches messes it up.


Having a bit of a issue when applying this patch to tag "19570" that should be release 3.1 , i think :)
output as follows :-
patching file firmware/export/config-iaudiox5.h
Hunk #1 succeeded at 71 with fuzz 2 (offset 18 lines).
patching file firmware/target/coldfire/iaudio/lcd-remote-iaudio.c
Hunk #1 FAILED at 58.
Hunk #2 FAILED at 318.
Hunk #3 FAILED at 372.
Hunk #4 succeeded at 157 (offset -230 lines).
Hunk #5 succeeded at 326 with fuzz 1 (offset -209 lines).
Hunk #6 FAILED at 341.
Hunk #7 succeeded at 356 (offset -229 lines).
4 out of 7 hunks FAILED – saving rejects to file firmware/target/coldfire/iaudio/lcd-remote-iaudio.c.rej
patching file firmware/target/coldfire/iaudio/lcd-remote-target.h
Hunk #1 succeeded at 28 (offset -1 lines).

I am going to have a look and see if i can understand why its doing this. Not done anything like this so I may not be able to fix this.


This occurs on my Cowon iAudio M3 too. May need special attention. As the remote is the only screen available.


Available keyboard shortcuts


Task Details

Task Editing