Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Iriver H120: Volume knob on remote skipping directories
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: Iriver H120: Volume knob on remote skipping directories  (Read 7524 times)

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #15 on: November 12, 2006, 01:37:46 PM »
It's really only ROckbox that can be tweaked (well I know folks have done stuff like changing images in the original FW but this is a forum for rockbox)

If you can do the test I mentioned we'll see what values your remote is reporting - we might be able to say if it is HW and not fixable or if there is something that can be done.

To exit the test you need to stop button on the main unit.
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #16 on: November 12, 2006, 02:43:43 PM »
Here are the ranges of ADC values for each button on the remote as used by Rockbox:

Stop:        between 00 and 0c
voldown:   between 0c and 25
mode:       between 25 and 3f
volup:        between 3f and 5a
bitrate:      between 5a and 73
rec:           between  73 and 8c
source:      between 8c and a8
ff:              between a8 and c5
menu:        between c5 and df
rew:          between df and f5
no button: larger than f5

So as you can see, volup and bitrate are right next to each other so it is possible that the boundary between these two needs increasing a little bit as it seems some remotes are giving slightly higher readings when pressing the volup button.

I take it that this doesn't happen with voldown and source - is that correct? - as these are far apart and if it does then we have a far more complicated problem (probably hardware).

So if your unit has this behaviour, see if you can get a reading higher than 5a when repeatedly pressing the volup button on the remote and then post it here.

I don't know how these values were originally obtained, whether it was a datasheet or some amazing button value getting gadget... but if it was a datasheet it's possible there was a small typo on it and it should read 5b or something....
« Last Edit: November 12, 2006, 02:54:38 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline StigVig

  • Member
  • *
  • Posts: 6
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #17 on: November 12, 2006, 05:54:25 PM »
Ok, I've been looking at the I/O values and this is what I read:

for the vol-button I currently get a stable 4C for up, and 18 for down. Pressing it gives me 33.

However, these values do change over time (which I guess is related to the dir-skipping thing), but while testing it today, that is what I got. I will look at those values from time to time and see if they change
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #18 on: November 13, 2006, 04:43:18 AM »
Quote from: StigVig on November 12, 2006, 05:54:25 PM
Ok, I've been looking at the I/O values and this is what I read:

for the vol-button I currently get a stable 4C for up, and 18 for down. Pressing it gives me 33.
Do you get this problem with voldown too or is it exclusively volup?

Quote
However, these values do change over time (which I guess is related to the dir-skipping thing), but while testing it today, that is what I got. I will look at those values from time to time and see if they change
How do you know they change over time?
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #19 on: November 14, 2006, 04:12:46 AM »
The values you're reporting are exactly what I got on my H120 + Remote (though it is rarely used) - that makes the reason for you problem less obvious and less likely to be a quck and easy fix.

Like Mmmm I'd be very surprised if the values change over time (well presumably battery charge) - the reference voltage for the ADC and the resistor chain really should be from a regulated source in the machine design ... temperature should not make that much difference so we're left with a poor connection or a cable with varying resistance I think.
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #20 on: November 14, 2006, 09:36:09 AM »
My bitrate remote button gives 68
So just as an experiment here's an extreme version with the boundary between volup and bitrate at 67. It works fine on mine.
So to finally rule this out  Stigvig, could you test it and whether you still have the same problem when using volup, if so,  then I think we can safely(ish) say this isn't the problem.

Make sure you already have an up to date .rockbox folder and use the appropriate rockbox.iriver file  from below.. I don't know what type of IRiver you have so I've included an H1xx and a H3xx version.
(obviously make sure you remove the -Hxxx at the end of the filename)

EDIT: deleted old links
« Last Edit: December 15, 2006, 02:42:54 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline StigVig

  • Member
  • *
  • Posts: 6
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #21 on: November 14, 2006, 03:14:04 PM »
Hi there,

Ok I was perhaps jumping to hasty conclusions when I said that they change over time. What I meant was that I've seen other values for other buttons "flicker" between two or more values while pressing the button in question, so I supposed it was this behavior that was behind the dir skipping.

And yes, for the vol-button it's only while pressing volup.

I will install and test the new build (ps. the subject title might give a hint of my iriver version ;) but the builds might be useful for others :) )
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #22 on: November 14, 2006, 03:20:54 PM »
Quote from: StigVig on November 14, 2006, 03:14:04 PM
And yes, for the vol-button it's only while pressing volup.
Ok, good, that makes sense so far then.

Quote
I will install and test the new build (ps. the subject title might give a hint of my iriver version, but the builds might be useful for others )
:D ...oh yeah... I didn't notice that :D
If the new build works then we are going to have to embark on a long journey of gradually lowering the boundary until we find the cut off point... what fun...  ;)
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #23 on: November 15, 2006, 04:50:25 AM »
HA! - so this is how the established devs keep new-commers off the credits list ! ;-)

My bitrate also gives 68

You could of course use the binary-chop method to get to the best cut-off...
Assuming that this build is OK the next build should set the boundary to halfway between 0x67 and 0x5a, then iterate ...
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #24 on: November 15, 2006, 06:19:23 AM »
Quote from: Multiplex on November 15, 2006, 04:50:25 AM
HA! - so this is how the established devs keep new-commers off the credits list ! ;-)

My bitrate also gives 68

You could of course use the binary-chop method to get to the best cut-off...
Assuming that this build is OK the next build should set the boundary to halfway between 0x67 and 0x5a, then iterate ...
Indeed...
I'd be quite happy for you to do all the chopping if you like.. and I'm seriously considering your replaygain tag patch, so there may be some credit coming your way soon ! :)
« Last Edit: November 15, 2006, 06:26:38 AM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #25 on: November 17, 2006, 09:07:36 AM »
StigVig: Have you tried it yet? What's the verdict?
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline StigVig

  • Member
  • *
  • Posts: 6
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #26 on: November 18, 2006, 08:12:27 AM »
Sorry, I haven't been able to test it. There was a problem with the version I downloaded (somehow it ended up being only 500bytes ???). I will try it out immediately.


EDIT: it seems like the file has been deleted from the server. Is there another version I can try?
« Last Edit: November 18, 2006, 08:15:13 AM by StigVig »
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #27 on: November 18, 2006, 08:53:29 AM »
If Mmmm doesn't have it to hand, I'll to a modified build tomorrow - I'm being called for shopping duty ...
Doing build ...
« Last Edit: November 18, 2006, 11:28:34 AM by Multiplex »
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #28 on: November 18, 2006, 12:38:26 PM »
Hm, that was interesting, I got the 20061118 build to have a recent one and all the button stuff has moved ! - part of keymap.

Anyhow I have rockbox.iriver for an H120/H140 with the boundary between VolUp and Bitrate set to 0x67 but it is too big to post here - pmail me with an address and I'll e-mail it direct to you.

I suggest you get the 20061118 build onto your machine then replace the rockbox.iriver when I've sent it.
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Iriver H120: Volume knob on remote skipping directories
« Reply #29 on: November 20, 2006, 07:20:05 AM »
Sorry about that...the links should work now (I hope)... Unless you got multiplex's of course

Links deleted, ( sorry, I need the space :))
« Last Edit: December 15, 2006, 02:44:26 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

  • Print
Pages: 1 [2] 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Iriver H120: Volume knob on remote skipping directories
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.078 seconds with 14 queries.