Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: parametrics on January 14, 2019, 04:37:08 PM

Title: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 14, 2019, 04:37:08 PM
Hi,

The Rockbox Cowon d2 simulator shows 10 "filters":  high shelf, low shelf and 8 peak filters.
The parametric equalizer fine tuning works great. On my Cowon d2/d2+  there are only 5 filters to adjust...
Is this due to the rockbox version i'm using or is 5 the max on Cowon d2?

Info on how to get a few more would be great.

Thanks
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Milardo on January 14, 2019, 05:12:28 PM
Hi,

The Rockbox Cowon d2 simulator shows 10 "filters":  high shelf, low shelf and 8 peak filters.
The parametric equalizer fine tuning works great. On my Cowon d2/d2+  there are only 5 filters to adjust...
Is this due to the rockbox version i'm using or is 5 the max on Cowon d2?

Info on how to get a few more would be great.

Thanks

I don't have a cowon d2 myself just the agptek rocker and sony nwz e353. Both have the 10 band equalizer. I am using the latest dev builds for those. What build are you using, you might be able to get the 10 band equalizer if you get the latest dev build. If that doesn't work, it probably has to be added or enabled to the source code.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 14, 2019, 05:37:13 PM
thanks

Yep that what my idea as well...... but ill wait a little till someone confirms or tells its not possiible....if it takes to long ill try
bye...
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: saratoga on January 14, 2019, 06:08:22 PM
You're running a very old version of rockbox.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 14, 2019, 07:09:28 PM
Ah!

The Cowon starts Rockbox by default.... Should i first upgrade the cowon orriginal firmware and after that the matching Rockbox version? ...(.im on 2.59 cowon and Rockbox...firmware)

Wats the essential part? for getting more "filters" the (.rockbox) folder extraxted on sd card or the part installed on the player? or both!

Sorry its been so long ago since i did this..





Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Milardo on January 14, 2019, 07:29:29 PM
Ah!

The Cowon starts Rockbox by default.... Should i first upgrade the cowon orriginal firmware and after that the matching Rockbox version? ...(.im on 2.59 cowon and Rockbox...firmware)

Wats the essential part? for getting more "filters" the (.rockbox) folder extraxted on sd card or the part installed on the player? or both!

Sorry its been so long ago since i did this..







I looked up your mp3 player and I think you are on the latest firmware 2.59 for cowon D2. Not sure though. As for rockbox firmware, i believe that is what will determine getting the extra filters and other stuff. I recommend copying the .rockbox folder that is in your cowon D2 in case you want to revert back to it (that is how it works right?) and copy the latest dev rockbox build (.rockbox folder) to your sd card and see what happens.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 14, 2019, 07:42:04 PM
did it ...the latest dev build...only (.rockbox) folder needed.

Only the layout is messed up a bit... far to large bars..so txt is far apart..have not fixed that yet.

But it looks prommising
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 14, 2019, 08:14:39 PM
layout figured out and good looking like it was before.....

but when playing FLAC file i get *PANIC* dc_writeback_callback () - Could not write sector 1 (error -1)
pc : 20060b34  sp : 200b8778
bt end                                              thats keeps repeating with every retry... also when trying to scan..

look into it tomorow....
i got everything backed up so no problem
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Milardo on January 14, 2019, 09:00:32 PM
Did you get the 10 band equalizer from updating to latest rockbox build?
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 08:11:15 AM
Yes Milardo,
i used rockbox utility 1.4
Not selected Bootloader and game files
"in the field Rockbox version to install" it sais: Development Version (Revision c70e40f)

If i can find a better (older) version without the Panic error i will just manualy extract the .rockbox folder onto the sd card
Thats the same thing....if you dont install bootloader along with it
Have to read about the Panic error and find better version.
BTW I've tried all this on a d2+   version 2.13 ( yes i got more Cowons)
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 08:17:15 AM
milardo,
forgot to mention...when u start Rockbox utility, u have to select "show disabled targets" otherwise Cowon d2 is not in the list
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Bilgus on January 15, 2019, 08:53:11 AM
I'd rather try and fix the panic is it just a particular FLAC file that causes the panic or any FLAC file?
If the former have you tried leaving the file on the drive and copying the same file again to see if it
still fails to rule out a bad sector in your drive?

Also the problem is most likely there in the old version there just wasn't a panic placed to catch it then.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 09:08:03 AM
panic on every file  and panic now shortly after booting. cant do nothing
FLAC files all the SAME and perfectly working on older versions of RB (90GB worth of it)

As soon i copy my older rockbox version from 2012 back again, everything works fine
also tried rockbox-cowond2-20181225 same panic

Its got to be the RB version for sure... read about panic issue. But dont know which relative "old" version with 10 band EQ without panic is out there.

just now been trying to replace some files (copy/paste) from old RB to new RB folder and see what it does....trial and error...lets see  if you can point me to a place where to get more RB versions, that would be nice
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 09:11:55 AM
..and yes panic on every good sd-card i throw at it.....
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 09:16:11 AM
"Also the problem is most likely there in the old version there just wasn't a panic placed to catch it then."  mmm interesting.. is that panic function  located in a specific file? i might alter or delete it
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Bilgus on January 15, 2019, 09:23:41 AM
https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/fat.c#L367

Edit:
So looking through the source for error -1 I don't see it returned in the sd write function
https://github.com/Rockbox/rockbox/blob/master/firmware/target/arm/tcc780x/sd-tcc780x.c#L503

I only see it in the NAND function which AFAICT is not used on the D2 you run everything from the sd card

Going back looking for the error I find it here:
https://github.com/Rockbox/rockbox/blob/d64ff86fb6be22875cfae054f8a878dbd8b1472b/firmware/storage.c#L417

What this implies is that the function storage_write_sectors() is not working properly
if you are editing and re compliling yourself try rewriting the storage_write_sectors functions like so..
Code: [Select]
int storage_write_sectors(IF_MD(int drive,) unsigned long start, int count,
                          const void* buf)
{
#ifdef CONFIG_STORAGE_MULTI
    int driver=(storage_drivers[drive] & DRIVER_MASK)>>DRIVER_OFFSET;
    int ldrive=(storage_drivers[drive] & DRIVE_MASK)>>DRIVE_OFFSET;

    return sd_write_sectors(IF_MD(ldrive,)start,count,buf);

    //return -1;
#else /* CONFIG_STORAGE_MULTI */
    return STORAGE_FUNCTION(write_sectors)(IF_MD(drive,)start,count,buf);
#endif /* CONFIG_STORAGE_MULTI */
}
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 09:54:06 AM
http://forums.rockbox.org/index.php?topic=10164.945
theres info on the the "panic." Its from 2015  is it solved yet????

I tried the 2018 and 2019 RBversion ( the one thatsextracted on SD) on my cowon d2+ with version 2.13

been playing for years with 2012 RB version 2.13 with 128GB all FLAC. No problem, just a very occasianal screen freese once in a week.Quick restart and all ok again. Thats no issue.

Should i try and install 3.13 first? i am very curious why there is so very little info on the problem. When was the 10 band EQ first introduced? would like to try early version.lets say 2013,2014 Can anyone link me to such a version

Cheers


Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Bilgus on January 15, 2019, 10:00:47 AM
see above.. I'm pretty sure its an issue of CONFIG_STORAGE_MULTI being defined for the D2
but it isn't actually implemented completely
I can look into it later on in the meantime if the above works for you let me know
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 10:01:15 AM
sorry Bilgus, just now see your reply (was on page two) i look into it   never done recompiling!!
i would not know where to start!!  How much work would it be for someone used to this stuff

"What this implies is that the function storage_write_sectors() is not working properly
if you are editing and re compliling yourself try rewriting the storage_write_sectors functions like so.."
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: Bilgus on January 15, 2019, 10:08:25 AM
I can compile you some test builds this week.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 10:37:00 AM
wow Bilgus, that would be really great! i make furniture and never done coding.

Im a trial and error guy when it come to find out this stuff.But this is not my peace of cake indeed. I can handle rewriting a few lines with the help of examples i ques
But i'd need quidance every step of the way. Dont even know a compiler program. If it was a case of opening the "right" file with the right program, and altering some lines with example, i could do it maybe. I'd say dont re-invent the wheel if there are people who do a much better and quicker job.

I think you  are probably right about the NAND. It was the first time when i EVER saw "NAND" stated above my folders on the d2+" running v2.13
just now checked and my other cowon d2  V2.59  (running stable for years to) shows <microSD1> above the folders

Youur help is much appreciated!  im looking forward to your builds! thanks a lot!
If you can point me to a compiler program that would be nice. Just out of curiossity.Im from Holland BTW so my english might look a bit srewed up :-[
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 12:42:32 PM
Hi Bilgus,

"I can look into it later on in the meantime if the above works for you let me know"

i was under the assumption there was a new v3.13 orriginal Cowon firmware for the d2+....Looked for it but cant find it.
So i will stay with v2.13 D+  and 2.59 D2.  2.59 is also the latest fimware for D2


So recompiling like you suggested is the way to go.
wish you good luck compiling,  thanks again.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: cereal_killer on January 15, 2019, 03:32:58 PM
i was under the assumption there was a new v3.13 original Cowon firmware for the d2+....Looked for it but cant find it.
So i will stay with v2.13 D+  and 2.59 D2.  2.59 is also the latest firmware for D2


3.14 is the latest original firmware for the D2+: http://download.cowon.com/data/C08/D2+/D2N_P_3.14.zip

As a side note: There never was an official Rockbox release for the D2/D2+ (like 3.13 or 3.14) and some people confuse the Cowon Firmware versions with Rockbox versions (at least I did  ;D )

If you can point me to a compiler program that would be nice. Just out of curiosity.Im from Holland BTW so my english might look a bit srewed up :-[

There is a great guide on the wiki: https://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
If you work through, you are able to apply changes to the source code and compile your own build.

There is also a thread about this topic (panics, disabling internal storage) here: http://forums.rockbox.org/index.php/topic,51522.0.html
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 04:29:20 PM
Thxxx cereal_killer,

thats usefull info too. although i am a bit to old staring compiling myself ill surely take a look! just downloaded the 3.14
weird i did not find it myself...ended up on a jet audio page...

Also like to mention i just found this before i read ur post:
http://forums.rockbox.org/index.php/topic,51522.msg238092.html#msg238092
Here is a "working" build for the Cowon D2/D2+ (Version: e2271edM-170831). The panics after starting playback are gone, but saving bookmarks results in panic (no proper read-only support).

"installed unpacked" Cowon D2/D2+ (Version: e2271edM-170831 and no panics so far, AND! what is was about in the first place.... a 10 band parametric eq. Gonna PM Bilgus that recompiling can wait for now  Thanks
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: cereal_killer on January 15, 2019, 04:48:45 PM
Thxxx cereal_killer,

thats usefull info too. although i am a bit to old staring compiling myself ill surely take a look! just downloaded the 3.14
weird i did not find it myself...ended up on a jet audio page...

Also like to mention i just found this before i read ur post:
http://forums.rockbox.org/index.php/topic,51522.msg238092.html#msg238092
Here is a "working" build for the Cowon D2/D2+ (Version: e2271edM-170831). The panics after starting playback are gone, but saving bookmarks results in panic (no proper read-only support).

"installed unpacked" Cowon D2/D2+ (Version: e2271edM-170831 and no panics so far, AND! what is was about in the first place.... a 10 band parametric eq. Gonna PM Bilgus that recompiling can wait for now  Thanks

Learning to compile with this guide is actually easy, fun and gives you a lot of opportunities. Maybe if you find some time you should try it.

What you found is the thread I mentioned.  ;) I compiled the build some time ago. The "M" at the end of the version number before the timestamp indicates a manually compiled build. Great that it works for you, but I can't say if the fixes Bilgus mentioned above are included. Hopefully we have a proper fix for the problems on the D2 soon.
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: parametrics on January 15, 2019, 05:17:39 PM
Ha thanks  ;) though i doubt a lot of people are this working on the d2. Most people moved on....The D2 will stay in my repertoir im sure. Can navigate easy with my right thumb..and battery life is great! sound is pretty good too
And offcourse Rockbox..love it.

Just today i bought a iBasso DX90 (has to arrive yet) second hand.Curious if it is any improvement over the Cowon.I want Rockbox on it with dual boot.... downloaded a whole bunch of firmware for it....I 'll be on this forum a bit more i ques.
I no the DX90 is battery life is bad . But hey! Im gonna do a battery mod if i get the player working. Mehanical works i am better at.Stil love the earmolds i made years ago..
Got any advice on the best stable rockbox build for the DX90?
Title: Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
Post by: burkjavier on January 15, 2019, 08:24:37 PM
I thought I was the only person still messing around with Rockbox on my D2 (hacked to D2+ / 2.13 Cowon firmware).     

Updated my own device maybe two days back to get a 2019 build (current build I was running was April 2018 with the fat.c alteration) and a standard dev build got me the PANIC.  Figured it still wasn't fixed yet so proceeded to build my own.

FYI to all that, at least in my case, that didn't work and ended up corrupting my SD card in the process (a PNY Elite Performance 256GB Class 10) - no PANIC, just froze my player.  Thought the card was a goner as the speeds were in the toilet when I tried it on my PC / even when reformatted to FAT32/exFAT/NTFS), but found a low level format tool (HDDLLF) tried that for about 20 minutes and it was fixed!   Re-ran the tool fully overnight just for completion reasons.

I have yet to retry a new build - will probably wipe my rockbox git repo and start from scratch this time.  And then probably NOT use a 256GB card as a test this time around.    ;D