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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Do the iRiver H300 JOYSTICK LCD remotes work w Rockbox on an H1xx?
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: Do the iRiver H300 JOYSTICK LCD remotes work w Rockbox on an H1xx?  (Read 17796 times)

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #30 on: August 03, 2006, 11:16:36 AM »
Would there be a way to make this an option in the menu?

General Settings-->System-->Remote Type
  • LCD (Default)
  • Blind
  • Joystick

I'm not sure the 'blind' option is necessary. If the non-LCD remote is a subset of the LCD remote then I'd assume there would be no change programmatically. (Maybe I'm wrong)

Question:
Could this be implemented and committed then I could start bugging other people about fixing their plugins to check remote type and remap buttons accordingly, or better yet I would  attempt it myself as long as someone was willing to check my work. (I still suck at programming)
Correct?

 ;D
Logged
Currently: iRiver H132-RTC-CFMod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #31 on: August 03, 2006, 11:27:01 AM »
The preferred system is to have the remote type detected automatically.
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #32 on: August 03, 2006, 12:20:11 PM »
OK. That is (of course) better.
As it stands now an H120 Rockbox build is not H300-Joystick-Remote "aware". How can we make it so that it is?
Would this be a CVS commitable patch since the remotes are autodetected?
I consider this core functionality, but maybe others don't.
Logged
Currently: iRiver H132-RTC-CFMod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #33 on: August 03, 2006, 01:02:59 PM »
The remote doesn't work at all, or just doesn't have proper buttons yet? The word aware is very vague.
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #34 on: August 03, 2006, 02:23:23 PM »
Hang on hang on....what's going on? Why would you want to manually select which remote you are using?

Doesn't my patch do the job??
I am aware that it breaks the simulator but that is easy to fix. You also wont be able to switch off the remote LCD which is also easy to fix. The plugins should work with this patch (the keys if not the screen) but only on the H300 remotes so that is a bit of a bonus!
EDIT: actually some plugins may not work...it depends on how they check the buttons, if they use button_get() they wont work and will all need to be slightly changed to remote_key_remap(button_get()).

I haven't committed it because I am waiting for the new button code to get committed first (as adding this now would just complicate things for the people working on the button code) and then ill look at it again and commit something.

Or have I just totally misunderstood everything you've said? ;)
« Last Edit: August 03, 2006, 02:30:10 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #35 on: August 03, 2006, 05:48:15 PM »
I might be a little over excited about my new remote.  :P
I had completely forgotten that the underlying button code was being re-written.
Sorry.   :'(

OK,
DLed CVS, applied REP patch, applied 300rem patch, compiled. Breaks the sim (of course) but seems to build fine normal. Will recording a show tonight (if I can get in with my iriver) and report back.
« Last Edit: August 03, 2006, 08:07:56 PM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #36 on: August 07, 2006, 05:03:15 AM »
I've fixed the sim building and the LCD off button...press -10 to switch off the LCD.

Davide, If you could tell me exactly which plugins don't work with the H300 buttons, (not the LCD, just the buttons, the LCD is a whole new kettle of piranhas :D) I can get them working too.

I should be getting my new remote soon (can't wait) so I thought I may as well get this patch going properly (and the button code revision seems to be taking longer than I thought  ::))


[attachment deleted by admin, too old]
« Last Edit: August 07, 2006, 05:06:47 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: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #37 on: August 07, 2006, 11:13:31 AM »
Oops...now thats not going to compile is it?  ::)

Here's a better one!

[attachment deleted by admin, too old]
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #38 on: August 07, 2006, 11:13:27 PM »
Fresh CVS DL, your patch and during MAKE SIM got this:

Code: [Select]
LD rockboxui.exe
/home/Administrator/build/sim/apps/recorder/recording.o: In function `recording_
screen':
/home/Administrator/build/apps/recorder/recording.c:501: undefined reference to
`_remote_type'
collect2: ld returned 1 exit status
make[1]: *** [/home/Administrator/build/sim/rockboxui.exe] Error 1
make: *** [all] Error 2

I was using the SDL (default) option. I don't know if this means anything.
Also I'm using CYGWIN on WinXPSP2.
Maybe your source is old? I dunno.
« Last Edit: August 07, 2006, 11:19:12 PM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #39 on: August 08, 2006, 03:20:28 PM »
Quote from: Davide-NYC on August 07, 2006, 11:13:27 PM
Fresh CVS DL, your patch and during MAKE SIM got this:

Code: [Select]
LD rockboxui.exe
/home/Administrator/build/sim/apps/recorder/recording.o: In function `recording_
screen':
/home/Administrator/build/apps/recorder/recording.c:501: undefined reference to
`_remote_type'
collect2: ld returned 1 exit status
make[1]: *** [/home/Administrator/build/sim/rockboxui.exe] Error 1
make: *** [all] Error 2

I was using the SDL (default) option. I don't know if this means anything.
Also I'm using CYGWIN on WinXPSP2.
Maybe your source is old? I dunno.
Hmm weird...does it work with a normal build? have you got the REP installed too? because I dont think that builds for sim!
If you only have this patch installed, try deleting everything in your sim folder and then trying again. If it still doesn't work you'll have to wait till i'm back home in a week or so until I can fix it.

I'm using a build with it at the moment (I got my new remote just in time to go on holiday with it) so it should work in a normal build.
« Last Edit: August 08, 2006, 03:31:17 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Do the iRiver JOYSTICK LCD remotes work with Rockbox on an iHP-140?
« Reply #40 on: August 08, 2006, 03:27:53 PM »
I use a fresh CVS DL with only the remote patch.
It does work with a NORMAL build. I was just reporting the broken SIM build.

When I do patch testing I do one patch at a time so that I can see what causes what problem.
So I actually do three (now two since disktidy has been commited!) separate builds.
If all single patch builds work then I go ahead and try another patch on top.

I also generally attempt a SIM build before a NORMAL build. So that would be six compiles (now reduced to four) before I even start combining patches.

I wish I was a better programmer, I'd set up a batch process and walk away.
As it is now I just multi-task as best I can.

Let me know if you need me to test something specific.

IN CASE ANYONE IS LOOKING FOR ONE OF THESE REMOTES:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=180015706977
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270016077241
« Last Edit: August 08, 2006, 08:57:43 PM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

  • Print
Pages: 1 2 [3]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Do the iRiver H300 JOYSTICK LCD remotes work w Rockbox on an H1xx?
 

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

Page created in 0.076 seconds with 14 queries.