iAudiophile.net Forums


Go Back   iAudiophile.net Forums > Flash-Memory Players > Cowon D2/D2+ > D2 Rockbox

Notices

Post New Thread  Reply
 
Thread Tools Display Modes
Old 05-31-2009, 00:34   #1
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Thumb Up Tactile Buttons in Hold Mode: Custom Patches

These may be helpful to some people, to me this functionality is essential to using my D2 in my pocket.

Rockbox is regularly updated/modified on SVN, every time a change is made it is called a new "revision". The revision at which the patch was last updated and built is displayed as part of the filename, eg. "FS10698.25000.zip" was built from revision 25000 of Rockbox.

If you desire a feature/update in a more recent revision of Rockbox than the one the patch was last updated to, please either;
a) be patient and wait for the author to update it,
b) learn to compile rockbox yourself and get the freedom of doing whatever you like, or
c) nag me to update it, by emailing me

Please take the time to post here if you use these - especially if you have any questions or encounter problems.

Have fun!
-Andrew

PATCHES, INFO AND COMPILED ZIPS HERE:
http://d2.andrewbeveridge.co.uk/?a=patches

__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline


Last edited by andrewthecoder; 11-07-2013 at 07:42.. Reason: updated system to host all @d2.andrewbeveridge.co.uk
andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote

Advertisement [Remove Advertisement]

Old 05-31-2009, 03:36   #2
Fullmoon
Junior Member
 
Fullmoon's Avatar
 
Join Date: Jul 2008
Location: Moscow
Posts: 26
Default

Nice. Would like to see source for this. IIRC there was a patch like this on rockbox.org, but I had some troubles using it.
Fullmoon is offline View Fullmoon's Photo Album   Reply With Quote
Old 05-31-2009, 18:04   #3
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

Sure, would you like an SVN diff for each of the Configs, or shall i just explain what I changed?
Huh, never saw that. Didn't even know there were any patches for the D2 on flyspray =O
I'll have a look at it and compare code.
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Old 05-31-2009, 20:32   #4
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

Fullmoon, I've updated my first post. Hopefully that is preferable. =)
(If you would like assistance with development, please feel free to ask)

I found the aforementioned patch; http://www.rockbox.org/tracker/task/9875
The initial code by 3amsleep is not ideal, as it is not localized to the WPS screen context, so pressing the hold/minus button would send a touchscreen-midleft signal no matter what screen you are on.

Rob's patch is very similar to mine, method-wise. (quite uncanny actually)
However, it is limited to only skip back and skip forward - clearly I have given many more options. Also, not sure why he changed the value of BUTTON_MAIN from 0x3FFF to 0xFFFF...
/me makes mental note to catch him on IRC some time.

Not sure what "troubles" you had, but remember that was created from revision 20011 back in February.
Chances are some of the affected files have changed too much for patch to cope with since then.
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Thanks from:
Old 06-01-2009, 08:09   #5
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

Hi,

Thanks a lot for those build. Very useful
Could you make another one like this:
pressing MINUS decreases volume by one,
pressing PLUS increases volume by one,
pressing MENU switches between Play and Pause,
holding MINUS skips back a track,
holding PLUS skips forward a track.
and maybe holding Menu would do stop. Can be useful if you want to be sure your player will shutdown after a few minutes(not sure about this one, would have to try it a bit)

I dont use the scan forward and would like to be able to do everything else.

Thanks
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-01-2009, 09:07   #6
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

carmenm: First post updated. Please test.
As far as I know the idle countdown timer kicks in when playback is paused *or* stopped, but I made hold/menu stop anyway since I didn't want to waste a button ;-)
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Old 06-02-2009, 08:41   #7
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

Works perfectly, thanks a lot, will make my days a lot easier!
You were right about *or* so the stop isnt really necessary
Would it be possible to have something like next dir? Because as we cant write on disk we cant have complex playlists with multiples dir in it. So could be useful.
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-02-2009, 09:24   #8
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

Sure thing.
Updated.
=)
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Old 06-02-2009, 11:03   #9
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

Man you are fast! THANKS
i am using the simulator to build my own config.cfg. Do you know how use the d2 simulator? i mean how to move in rockbox.

Last edited by carmenm; 06-02-2009 at 11:20..
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-02-2009, 11:28   #10
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

I know everything

Sure, click the virtual buttons on the screen (like you do on the actual D2)
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Old 06-02-2009, 11:56   #11
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

ok i feel dumb
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-03-2009, 04:01   #12
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

Ok so i have been playing with it and i like it a lot!
Yet there is one thing bugging me. WIth you new build i had to deactivate the first key enable balcklight, because i dont like to have to press pause twice to actually pause ....
But this implies another problem.
When you unlock your d2 the backlight doesnt goes back on, and if you press a key then it will act as a key...
I see multiple solutions:
-we could turn the backlight on when unlocking(could there already be an option for that that i missed ???). At least that s what my ipod did.
-We could have an option for first key enable backlight only when hold is off
-There also the option of disabling the quick "hold to shutdown" press which pauses the musik. I think 3 sec shutdown your D2, may be 1s should pause and a really quick should just turn the backlight on.

What do you think?
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-03-2009, 12:03   #13
andrewthecoder
Lazy Programmer
 
andrewthecoder's Avatar
 
Join Date: Oct 2008
Location: Sunny Scotland =)
Posts: 489
Send a message via ICQ to andrewthecoder Send a message via AIM to andrewthecoder Send a message via MSN to andrewthecoder Send a message via Yahoo to andrewthecoder Send a message via Skype™ to andrewthecoder
Default

At first I thought I would simply add an inactive action code to the keymap for the power switch, so a short "pull" of the power switch would switch the backlight on.
That way, if you were in hold with the backlight off and wanted to press something on the screen, you would slide the switch out of hold mode then all the way to the power position briefly, to unlock and turn the backlight on in one motion.

That would probably have been sufficient, but I wasn't happy with that.
I wanted the Cowon functionality - a short pull of the power switch toggles the backlight no matter what you are doing.
So I spent a bit of time figuring out how to add that functionality.
The D2 power switch normally acts as a "Cancel" or "Back" button in Rockbox, but as far as I can see isn't actually necessary for navigation as long as you are willing to use the touch screen (despite it's "dodgy"ness).
So, Config 5 now has the Cowon functionality.
Test it and see if you like, or would prefer something else =)
__________________
Audio;
16GB Cowon D2 DAB

(Firmware: D2+ 1.13 + Rockbox + Full InvisibleShield - totally worth the money.

+++ Rockbox Install Guide +++

Video;
32GB Cowon O2
+ Noreve Premium Leather Case

An awesome player is nothing without awesome
headphones;
I use Sennheiser CX400-II noise-isolating IEMs, so I can get lost in the music without deafening myself, even on noisy buses.
For social use, I pocket my
X-Mini II portable speaker.

Bragging? Never

Dentist Dunfermline

andrewthecoder is offline View andrewthecoder's Photo Album   Reply With Quote
Old 06-03-2009, 12:54   #14
carmenm
Member
 
Join Date: Jan 2009
Posts: 60
Default

Very nice idea.
It doesnt work though in file view.
Oh one big bug. It doesnt work well with first key pressed off. When the backlight is off it turn the backlight on then off right away.
Works correcty though to turn the backlight off.

Still i love the idea!
carmenm is offline View carmenm's Photo Album   Reply With Quote
Old 06-09-2009, 09:06   #15
towatai
Junior Member
 
Join Date: Jan 2008
Location: Bremen - BECKs Beer City
Posts: 8
Send a message via ICQ to towatai Send a message via MSN to towatai
Default

hi andrew, i need a config 5 that jumps to the main menu when sliding the powerswitch like the version you build for me 2 or 3 weeks ago

greetz from good old germany!
towatai is offline View towatai's Photo Album   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:06.



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.


Copyright © 2006-2014 CrowdGather |  About iAudiophile |  Advertisers | Investors | Legal | Contact