Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Viper73 on February 08, 2018, 04:12:59 PM

Title: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 08, 2018, 04:12:59 PM
Hello,

i am using currently the "Rayboradio" theme (Linux Port of Sony NWZ-A10), and there should be the clock/current time in the upper right corner. But i just see an --:--.
This is also in the other themes. Is there any plugin i have to install to see the current time/clock?

Greets, Viper
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: TAC109 on February 10, 2018, 03:41:40 PM
You need to set the date and time.
Settings -> Time & Date
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 11, 2018, 10:24:53 AM
I can not find any time/dame settings. I scrolled through all menus, but there is no time/date setting in rockbox.
Do you have a screenshot where i can find the time/date menu? (i also can not find the "recording" menu).
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: saratoga on February 11, 2018, 12:56:27 PM
http://git.rockbox.org/?p=rockbox.git;a=blob;f=firmware/export/config/sonynwzlinux.h;h=00b606b1e3493e5eb2a8547b1c387d4cbf7e0833;hb=HEAD#l54

Realtime clock model in the config file is set to zero, so probably the RTC isn't working yet.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 11, 2018, 03:34:02 PM
I can not find the config file wich contains the code "#define CONFIG_RTC".
How is this config file called and in which directory can i find it?
I found "config.cfg" but this does not seem to be the right one...
I also found nothing in the manual https://www.rockbox.org/wiki/CustomWPS (https://www.rockbox.org/wiki/CustomWPS)
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: saratoga on February 11, 2018, 04:27:25 PM
The config file I linked is part of the rock box source code, it will not be on your player if that is where you are looking. You can download it from our git repository along with the rest of the source code.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 11, 2018, 04:40:31 PM
Oh, that sounds complicated then...
And how can i "update" my player with this new code/changed code?
Or do you mean that this not working yet on my device, and thats why this is deactivated in the source code?

Sorry for the question, but I am not a programmer, i just installed it with the "install intruduction" on this website. I  hoped i can just repace one file to get it working.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: saratoga on February 11, 2018, 05:14:26 PM
There is no changed code for you to update your player with.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 12, 2018, 02:54:50 AM
OK. Thank you for the information.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on February 21, 2018, 01:51:29 AM
OK, now i want to delete the non working clock "--:--"
So i have some questions how to change this.

I found an "clock" entry in these theme files:
name.fms
name.sbs
name.wps
They seem to have the exactly same code inside, what is the difference of this three files?
Or do i just need to chance the name.wps file?

Code: [Select]
# Clock
%V(207,7,27,15,2)%Vf(B5B5B5)
%ar%?cf<%cH:%cM|%cl:%cM %cp>

Do i have to delete this complete entry in all 3 files?
Do i have to do anything elso than delete this clock entry in the 3 files?

Is it possible to write a text in the place where this clock was?
How could i write in this place "MP3-Player" instead?

Thank you in advance,
Viper
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Frankenpod on February 21, 2018, 10:06:28 AM
Yeah, delete it (or comment it out with '#') in all 3 files.
Title: Re: Linux Port (Sony NWZ-A10) no clock/time in all themes (Rayboradio)
Post by: Viper73 on April 15, 2018, 07:58:21 AM
Thank you. It worked.