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
| | |-+  3.0 release: remote support for h1xx
« previous next »
  • Print
Pages: 1 [2] 3 4

Author Topic: 3.0 release: remote support for h1xx  (Read 20385 times)

Offline TiMiD

  • Developer
  • Member
  • *
  • Posts: 168
Re: 3.0 release: remote support for h1xx
« Reply #15 on: July 01, 2006, 02:01:47 PM »
For the virtual keyboard, I think a complete rewrite would be the best option, using same code for both screens of course with the list of letters scrolling when the screen is too small.

As for the missing screens, it's very simple to guess where some work is needed ; doing a "grep -r lcd_ *|grep -v plugin" gives the list of the applications still using the old display functions

There are also some displays done in the firmware part of the code (for example rolo).
In that case I think the better way would be to rewrite the application to split it into a kernel code part and user space code part since anyway kernel code doesn't have to interract directly with the user, this is a conception error.
Logged
Un programme C, c'est comme un ciel d'été : c'est plein d'étoiles !

Offline Hansmaulwurf

  • Member
  • *
  • Posts: 45
Re: 3.0 release: remote support for h1xx
« Reply #16 on: July 02, 2006, 09:29:04 AM »
"2 Jul 12:28   Kevin   added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation"


I cant exit the id3 info screen with remote Buttons. I can scroll the list, and shut down the Player with remote-buttons, but cant exit the screen.

Using CVS build 2006-07-02 12:28:46 with H120 Player and remote.
Logged

Offline TiMiD

  • Developer
  • Member
  • *
  • Posts: 168
Re: 3.0 release: remote support for h1xx
« Reply #17 on: July 02, 2006, 11:41:54 AM »
Ooops I forgot remote buttons :)
Logged
Un programme C, c'est comme un ciel d'été : c'est plein d'étoiles !

Offline PPP

  • Member
  • *
  • Posts: 2
Re: 3.0 release: remote support for h1xx
« Reply #18 on: July 03, 2006, 05:21:02 AM »
I don't know, if it would be a new feature and if it's possible, but it would be great to have an own font for the remote.
i use the player primarly in my car, and the small fonts for the WPS are too small. If i change the font to a big one,
the standard WPS looks broken.
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: 3.0 release: remote support for h1xx
« Reply #19 on: July 03, 2006, 08:30:26 AM »
Woo hoo...remote support for virtual keyboard done!!! ::)

PHEW!!! That was a challenge! :D

http://www.rockbox.org/tracker/task/5628

The only thing missing is page flip while in morse mode but that isn't that important I don't think.....or maybe it is.....Anyway, I need a breather before I think about that...

So that should complete remote support for V3.0 I think.... :)  8)
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline TiMiD

  • Developer
  • Member
  • *
  • Posts: 168
Re: 3.0 release: remote support for h1xx
« Reply #20 on: July 03, 2006, 09:40:13 AM »
I looked at your patch and I don't think it's the way to go
first it adds code a lot of complexity and reduces lisibility a lot (there are more clever ways to implement the remote support for a module (in my opinion) than to "just" wrap drawing related instructions with a FOR_NB_SCREENS, even if this would of course requires to change the code structure a lot more)
also I don't like the fact to have the 2 keyboards desynchronized, I mean differents layouts for each screen

PS : Don't take this personnaly, but I really think it's important for this project to have a readable and reusable code over all.
Logged
Un programme C, c'est comme un ciel d'été : c'est plein d'étoiles !

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: 3.0 release: remote support for h1xx
« Reply #21 on: July 03, 2006, 11:08:43 AM »
Quote from: TiMiD on July 03, 2006, 09:40:13 AM
also I don't like the fact to have the 2 keyboards desynchronized, I mean differents layouts for each screen
But surley if the screens are the same then we are loosing the advantage of having a large main display. The way I have done it the main screen and the remote behave as if they are different players -but giving the same output  (the small remote screen being dealt with just as any other small screened unit).

Or maybe you mean the fact that each screen doesn't necessarily have the same letter highlighted? The select button on the unit/remote only 'looks' at the screen the button is on, so there would be no confusion whichever screen you were using....only if you were looking at one screen and using the buttons on the other! :D

Quote
PS : Don't take this personnaly, but I really think it's important for this project to have a readable and reusable code over all.
Don't worry I'm not offended.... I did my best but I don't think I would be able to totally re-write the code from scratch so I won't be trying! :)
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Dwyloc

  • Member
  • *
  • Posts: 117
Re: 3.0 release: remote support for h1xx
« Reply #22 on: July 03, 2006, 07:47:34 PM »
Quote from: Mmmm on July 03, 2006, 08:30:26 AM
So that should complete remote support for V3.0 I think.... :)  8)

Thanks for putting the required effort into remote support, as someone how uses the remote a lot it is very frustrating when I have to use the main unit to load bookmarks when I am out and about so I am really looking forward to your remote bookmark support patch being committed.

I am also very happy to see your other remote patches being added as each one that is committed reduces the chance of me and other users getting stuck in an unsupported screen when we are using our remotes and also makes Rockbox look even more professional to other potential users.
Logged

Offline TiMiD

  • Developer
  • Member
  • *
  • Posts: 168
Re: 3.0 release: remote support for h1xx
« Reply #23 on: July 03, 2006, 10:25:44 PM »
For the virtual keyboard, I think it would be nice to have a scrolling keymap, to display large alphabets on smalls screens (I'm thinking about japanese kanas on the remote for example)

Also about your patch, it can be commited, as it would be good for the users anyway.

If I find some willpower I will try to rewrite this part from scratch (it was the solution I choosed for some other gui component) but somehow I feel boring when coding ...

So let's see what will happen :)
Logged
Un programme C, c'est comme un ciel d'été : c'est plein d'étoiles !

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: 3.0 release: remote support for h1xx
« Reply #24 on: July 04, 2006, 04:25:58 AM »
Quote from: Dwyloc on July 03, 2006, 07:47:34 PM
Thanks for putting the required effort into remote support, as someone how uses the remote a lot it is very frustrating when I have to use the main unit to load bookmarks when I am out and about so I am really looking forward to your remote bookmark support patch being committed.

I am also very happy to see your other remote patches being added as each one that is committed reduces the chance of me and other users getting stuck in an unsupported screen when we are using our remotes and also makes Rockbox look even more professional to other potential users.

Glad this is going to make things easier for you Dwyloc, and glad you like the patches, Cheers! :)

Quote from: TiMiD on July 03, 2006, 10:25:44 PM
For the virtual keyboard, I think it would be nice to have a scrolling keymap, to display large alphabets on smalls screens (I'm thinking about japanese kanas on the remote for example)
If you press the mode button on the remote (and on the main screen if the character set is large) it will flip screens! So if you were to load japanese Kanas it should work already!

Quote
Also about your patch, it can be commited, as it would be good for the users anyway.

Good stuff!

Quote
If I find some willpower I will try to rewrite this part from scratch (it was the solution I choosed for some other gui component) but somehow I feel boring when coding ...

So let's see what will happen :)

I know what you mean...It's hard to get started, but once you start it's hard to stop and once you stop (and it works), it feels oh so good! :D
« Last Edit: July 04, 2006, 06:10:12 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: 3.0 release: remote support for h1xx
« Reply #25 on: July 04, 2006, 06:49:24 AM »
Hmmm I've been compiling with the virtual keyboard for all targets just to test if everything is ok...Found a few bodge ups and fixed them but for the Archos FM Recorder (3) and  the Archos Recorder V2 (4) I get the following compiling error:

Code: [Select]
LD rombox.elf
/home/Martin/crscomp-sh1/bin/../lib/gcc-lib/sh-elf/3.3.6/../../../../sh-elf/bin/ld: region FLASH is full (/home/Martin/build/rockbox/compiled/apps/rombox.elf section .rodata)
collect2: ld returned 1 exit status
make[1]: *** [/home/Martin/build/rockbox/compiled/apps/rombox.elf] Error 1
make: *** [all] Error 2

At a guess I'd say it looks like the code is just too much for their tiny flash memories! How on earth are you supposed to get around this? Does anybody know?
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 3.0 release: remote support for h1xx
« Reply #26 on: July 04, 2006, 07:28:21 AM »
didn't know they had remotes... ?

amiconn will be pleased to see you're filling the flash, good for you he doesn't read the forums much :p

I'd say, try to optimize the code a bit?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: 3.0 release: remote support for h1xx
« Reply #27 on: July 04, 2006, 08:49:28 AM »
How much does your code increase the size by, that it pushes rombox over?
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: 3.0 release: remote support for h1xx
« Reply #28 on: July 04, 2006, 09:27:42 AM »
Ta for the suggestions...Amiconn came up with the answer: I was using an old cross compiler which churns out elephant binaries!  :-[ Shame on me! :D

So it was a false alarm, the patch is fine...hoorah! \0/
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline fizze

  • Member
  • *
  • Posts: 200
Re: 3.0 release: remote support for h1xx
« Reply #29 on: July 05, 2006, 04:34:49 AM »
well I use a H300, but the H100 LCD remote. its working like a charm, with paulheu's experimental build and some patches, albeit.
I donno how many of those patches made it into CVS recently.
Logged

  • Print
Pages: 1 [2] 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  3.0 release: remote support for h1xx
 

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

Page created in 0.222 seconds with 23 queries.