maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Porting rockbox to n900 (https://talk.maemo.org/showthread.php?t=66896)

thomasjfox 2013-03-21 12:46

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1330405)
One thing though - double pressing "c" no longer exits the graphic equalizer. Was there any shortcut changes? I pressed all the keys like an idiot trying to figure it out :o

Interesting, I've never used it before :o

The keymappings for special screens like the EQ or plugins haven't been touched in a while and need some work. I just didn't get around to do it yet since all the functions I use rockbox for are working fine :D If it worked before, it was by chance. Probably the SDL keybindings, which are the basis for the N900 keyboard support, were adjusted a little.

iceskateclog 2013-03-21 14:05

Re: Porting rockbox to n900
 
Thanks for the update, I use Rockbox daily and don't really have any issues.

PS resume after call would be awesome ;]

RiD 2013-03-22 22:08

Re: Porting rockbox to n900
 
So, about time to start doing something for the community!

https://dl.dropbox.com/u/1536586/N90...322-215043.png

I've always liked Rockbox, it is my preferred player due to it's gapless playback and a lot of other features like the very customizable ( and performance-friendly) EQ - which is now excellent with 10 bands, but I find the normal UI quite impractical for touch use, and always hated the lack of play controls when customizing other stuff like EQ, constantly dependant on the While Playing Screen (Now Playing).

So a few days ago I started digging more about rockbox theming, and am now the original theme for a more optimized "N900-esque" looking UI, and also more touch friendly.

Initially, I wanted the seekbar (also known as progressbar) visible everywhere, but I couldn't make it "touchable", so it was visual-only.

It seems Rockbox theming is not as good on SBS as it is on WPS, but nevertheless, I am doing my best and slowly learning more.

TL;DR - i'm making a theme for rockbox which I hope will improve the user experience on n900

nodevel 2013-03-23 18:24

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1330948)
...TL;DR - i'm making a theme for rockbox which I hope will improve the user experience on n900

Thank you! You are fixing the problem that prevents me from using Rockbox more often; can't wait for the release.

RiD 2013-03-23 22:08

Re: Porting rockbox to n900
 
https://dl.dropbox.com/u/1536586/N90...323-214936.png
You can set your own background, without having to mess with the bar on the right.

Long pressing the play/pause button stops playback (instead of just pause). Previous and Next button changes track.

Clicking on the album art will direct you to the WPS (also known as "Now Playing") screen. If the music is playing - it will keep playing, if it's paused - it'll keep paused, however, if it's stopped, clicking on the button will start playback.

Clicking on the menu icon will direct you to the menu - this means if you're browsing your music collection and want to quickly go back to the menu, you just need to click on the icon, instead of clicking on "/home/user/MyDocs/......" path a lot of times.

I am now doing the While Playing Screen. hopefully by wednesday everything is done (this if I encounter many issues in the way - if not, expect a release sooner)

RiD 2013-03-25 00:52

Re: Porting rockbox to n900
 
https://dl.dropbox.com/u/1536586/N90...324-235817.png

Quick post before I go to sleep. SBS is done! (filebrowser/settings/main menu screen/playlist etc)


WPS (While Playing Screen aka Now Playing) is close from being done too!

Long pressing the prev/forward button seeks backward/forward

Clicking on album art directs you to the file browser, clicking on the playlist icon directs you to ... the playlist, obviously. Progressbar works and you can drag it.

Todo:
  • Current Time / Remaining Time (or Total Time?)
  • Shuffle button
  • Repeat button
  • Context Menu button
  • EDIT: This one is useless - the Quick Screen contains Shuffle and Repeat buttons - there's no need for it, because the WPS will include buttons for these 2 functions.
  • Playlist counter (ex: Track 3 of 16)


Extra stuff i'm still thinking if I should add or not. Too many might clutter the UI.
  • Display file codec and bitrate (ex: MP3 320kbps)
  • Display music genre
  • Equalizer button
  • Pitch button
  • Fancy transparent peakmeter, just for the visuals

raaj13 2013-03-25 04:02

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1331472)
https://dl.dropbox.com/u/1536586/N90...324-235817.png

Quick post before I go to sleep. SBS is done! (filebrowser/settings/main menu screen/playlist etc)


WPS (While Playing Screen aka Now Playing) is close from being done too!

Long pressing the prev/forward button seeks backward/forward

Clicking on album art directs you to the file browser, clicking on the playlist icon directs you to ... the playlist, obviously. Progressbar works and you can drag it.

Todo:
  • Current Time / Remaining Time (or Total Time?)
  • Shuffle button
  • Repeat button
  • Context Menu button
  • Quick Screen button
  • Playlist counter (ex: Track 3 of 16)


Extra stuff i'm still thinking if I should add or not. Too many might clutter the UI.
  • Display file codec and bitrate (ex: MP3 320kbps)
  • Display music genre
  • Equalizer button
  • Pitch button
  • Fancy transparent peakmeter, just for the visuals

nice. looks good.
by the way what font is that?

RiD 2013-03-26 17:57

Re: Porting rockbox to n900
 
Released the skin, check it's own thread: http://talk.maemo.org/showthread.php?p=1332022

Wasmachinemann-NL 2013-04-12 14:21

Re: Porting rockbox to n900
 
Thomas, would it possbile to use Rockbox with an external audio card?

n900-dk 2013-04-14 09:36

Re: Porting rockbox to n900
 
How to exit rockbox?
Is it possible to run the app in non-fullscreen?

Wasmachinemann-NL 2013-04-17 06:54

Re: Porting rockbox to n900
 
Quote:

Originally Posted by n900-dk (Post 1335942)
How to exit rockbox?
Is it possible to run the app in non-fullscreen?

Ctrl-backspace and then press the X, You can't run it in non FS yet.

miner49er 2013-04-18 15:46

Re: Porting rockbox to n900
 
Love this port. I've been a user of RB ever since it's inception abck when I had an Archos!

Having recently bought an n900 (yes, late to the party!) I was really pleased to see RB on it!

Just wondering if the plugins could work on this port? How easy is it to setup a build environment for this?

Cheers for any help, advice here :-)

m

thomasjfox 2013-05-22 14:26

Re: Porting rockbox to n900
 
Quote:

Originally Posted by miner49er (Post 1337044)
Just wondering if the plugins could work on this port? How easy is it to setup a build environment for this?

You need a working n900 dev environment (scratchbox and friends).

Instructions for building are on this page:
http://www.rockbox.org/wiki/MaemoPort

HTH,
Thomas

Wasmachinemann-NL 2014-02-09 14:32

Re: Porting rockbox to n900
 
Any progress with the phone hangup fix, Thomas?

thomasjfox 2014-02-20 20:08

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1411816)
Any progress with the phone hangup fix, Thomas?

I'm currently not actively working on the n900 related code base, it does all I need for now. (ok, non-FS mode would be nice, but that's on my low-priority list).

When there's going to be an official rockbox 3.14 release, I'm going to port and test it of course :)

Wasmachinemann-NL 2014-02-27 07:18

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1413557)
I'm currently not actively working on the n900 related code base, it does all I need for now. (ok, non-FS mode would be nice, but that's on my low-priority list).

When there's going to be an official rockbox 3.14 release, I'm going to port and test it of course :)

I have a strange bug with RB, btw: If I pause a track for more than 5 seconds, Rockbox crashes? This came after a CSSU update by the way.

RiD 2014-02-28 00:00

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1414551)
I have a strange bug with RB, btw: If I pause a track for more than 5 seconds, Rockbox crashes? This came after a CSSU update by the way.

I suppose you are in Thumb, right? For me it also crashes in cssu thumb, but not in cssu testing.

freemangordon 2014-02-28 06:06

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1414700)
I suppose you are in Thumb, right? For me it also crashes in cssu thumb, but not in cssu testing.

May I have a backtrace of the crash, or instructions on how to reproduce it(keep in mind I've never used rockbox, so newbie how-to-make-it-crash is needed :) )?

RiD 2014-02-28 13:59

Re: Porting rockbox to n900
 
Quote:

Originally Posted by freemangordon (Post 1414723)
May I have a backtrace of the crash, or instructions on how to reproduce it(keep in mind I've never used rockbox, so newbie how-to-make-it-crash is needed :) )?

I can only give you steps to reproduce it (sorry): here they are:

1 - Open rockbox :p
2 - Long click Files, then select Show Files, and choose All (this is so you can see the hidden folders, .sounds, etc)
3 - Start any song, and let it play for a few seconds.
4 - Click in the pause button, wait about 5 seconds or so and then click in the same button. It should crash. That works most of the time

Now, not related to that issue at all but if you want to use the player regularly, I recommend you to go to Settings - Sound Settings - Timestretch - and then select Yes. This prevents the music from stalling randomly until you close rockbox (trrrrrrrrr-like sound, lol)

Wasmachinemann-NL 2014-02-28 16:50

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1414790)
I can only give you steps to reproduce it (sorry): here they are:

1 - Open rockbox :p
2 - Long click Files, then select Show Files, and choose All (this is so you can see the hidden folders, .sounds, etc)
3 - Start any song, and let it play for a few seconds.
4 - Click in the pause button, wait about 5 seconds or so and then click in the same button. It should crash. That works most of the time

Now, not related to that issue at all but if you want to use the player regularly, I recommend you to go to Settings - Sound Settings - Timestretch - and then select Yes. This prevents the music from stalling randomly until you close rockbox (trrrrrrrrr-like sound, lol)

Timestrech is always on here because of my heavy Pitch function usage, I always +0,5 songs to make them sound like PAL versions or make them sound nicer, Brave Little Toaster's soundtrack is in NTSC, but if you up it like above it sounds like the PAL version.

Oh, and it doesn't make a trrrrr sound at all here, and i'm in CSSU-Thumb.

RiD 2014-02-28 19:15

Re: Porting rockbox to n900
 
I remember rockbox occasionally halting/stalling (always without timestretch - it was before I figured out that existed - which is long before my skin) and making that looping "trrrrrrrrrrr" sound just like in BSODs.

It wasn't very frequent, but it was there. With Timestretch enabled, it never happened.

It might have been fixed in the newest (2013ish) rockbox available for maemo though, no idea about that - don't plan in disabling Timestretch :P

Wasmachinemann-NL 2014-03-01 10:26

Re: Porting rockbox to n900
 
Quote:

Originally Posted by RiD (Post 1414834)
I remember rockbox occasionally halting/stalling (always without timestretch - it was before I figured out that existed - which is long before my skin) and making that looping "trrrrrrrrrrr" sound just like in BSODs.

It wasn't very frequent, but it was there. With Timestretch enabled, it never happened.

It might have been fixed in the newest (2013ish) rockbox available for maemo though, no idea about that - don't plan in disabling Timestretch :P

It used to do that for me even with TS on, I guess it was a memory leak or due to high CPU usage.

Wasmachinemann-NL 2014-05-05 20:15

Re: Porting rockbox to n900
 
Hey Thomas, are there any plans to fix the pausing bug?

EDIT: FIxed, see http://talk.maemo.org/showpost.php?p...&postcount=305

freemangordon 2014-05-05 20:28

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1424242)
Hey Thomas, are there any plans to fix the pausing bug?

here http://talk.maemo.org/showpost.php?p...postcount=2032 are some details of the crash. Unfortunately, there are no debug symbols available, so the backtrace is not very helpful. Maybe as a first step uploading a new version in the repos with debug symbols in the -dbg package will do the job, that way a coredump file could be analysed.

Wasmachinemann-NL 2014-05-05 22:34

Re: Porting rockbox to n900
 
I think it has something to do with PulseAudio, because I just did a apt-get upgrade which installed quite a lot of PA stuff, and it fixed my pause bug!

Wasmachinemann-NL 2017-10-01 19:01

Re: Porting rockbox to n900
 
So, they finally released a new Rockbox version last May.

Thomas, are you still planning on updating Rockbox to 3.14?

thomasjfox 2017-10-18 18:03

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1535627)
So, they finally released a new Rockbox version last May.

Thomas, are you still planning on updating Rockbox to 3.14?

My N900 hasn't been booted in a year or so ;) Not sure if the Rockbox codebase compiles in the current state. I'm currently busy playing with other stuff, so this is low on my priority list. Feel free to give it a go :)

A Samsung Galaxy S5 running LineageOS replaced the N900. I still miss the keyboard, but the overall experience is much smoother. "PlayerPro" is a nice touch-friendly Rockbox alternative, at least when it comes to live playlist editing.

I might give compiling Rockbox for the N900 a go in the next months, but don't hold your breath.

Wasmachinemann-NL 2017-11-04 19:40

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1537221)
My N900 hasn't been booted in a year or so ;) Not sure if the Rockbox codebase compiles in the current state. I'm currently busy playing with other stuff, so this is low on my priority list. Feel free to give it a go :)

A Samsung Galaxy S5 running LineageOS replaced the N900. I still miss the keyboard, but the overall experience is much smoother. "PlayerPro" is a nice touch-friendly Rockbox alternative, at least when it comes to live playlist editing.

I might give compiling Rockbox for the N900 a go in the next months, but don't hold your breath.

Maaaaan, I would love a updated version of Rockbox, the latest one is quite buggy and I lack coding knowledge to compile 3.14 for Maemo.

branja 2018-05-04 05:47

Re: Porting rockbox to n900
 
Guys, does anyone has some themes for RockBox?? I've searched everywhere and I couldn't find any...

Halftux 2018-05-04 13:52

Re: Porting rockbox to n900
 
Quote:

Originally Posted by branja (Post 1543905)
Guys, does anyone has some themes for RockBox?? I've searched everywhere and I couldn't find any...

You can have a look here https://talk.maemo.org/showthread.php?t=89615, or ask there for reupload.

So I have compiled the 3.14 version and it seems to work.
The latest version from git compiles fine but produces some error about sdl when executed and playing a file.

rockbox_2017-05-10maemo1_armel.deb

branja 2018-05-05 05:51

Re: Porting rockbox to n900
 
I have installed the .deb you posted and entered the app...it offered me to scan the library which I accepted. When I tried to run the app later, it didn't react to touch nor the hardware keys.

Halftux 2018-05-05 09:12

Re: Porting rockbox to n900
 
Quote:

Originally Posted by branja (Post 1543947)
I have installed the .deb you posted and entered the app...it offered me to scan the library which I accepted. When I tried to run the app later, it didn't react to touch nor the hardware keys.

Ok I see backup following folder "/home/user/.config/rockbox.org". After backing it up delete the folder and start rockbox again.
After starting rockbox and you click on database it will say database is not ready initialize now. Then you click yes and wait until the process is finished, it will jump back to the previous page.

branja 2018-05-05 15:21

Re: Porting rockbox to n900
 
I succeeded...there is plenty of new stuff which is great. However, it seems that there are no EQ presets. How can I enable them (i used the "headphones" EQ preset)??

Halftux 2018-05-05 16:22

Re: Porting rockbox to n900
 
Quote:

Originally Posted by branja (Post 1543967)
it seems that there are no EQ presets. How can I enable them (i used the "headphones" EQ preset)??

I don't know, yesterday I started rockbox on N900 the first time.

Quote:

It was never updated for the new EQ. If you want the old EQ settings, you can get them from git or from the wiki history page[1].
[1]http://forums.rockbox.org/index.php/...html#msg240778


It seems that you could get new ones from here:
https://www.head-fi.org/threads/disc...-guide.875507/

For the old presets you could look up in the old deb file. But I dont' know if they still work.

On N900 they are normally located here:

Code:

/opt/rockbox/share/rockbox/eqs
You could play around and report if you had success or not.

Wasmachinemann-NL 2018-05-27 12:22

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Halftux (Post 1543934)
You can have a look here https://talk.maemo.org/showthread.php?t=89615, or ask there for reupload.

So I have compiled the 3.14 version and it seems to work.
The latest version from git compiles fine but produces some error about sdl when executed and playing a file.

rockbox_2017-05-10maemo1_armel.deb

oh my god YES YES YES A ROCKBOX UPDATE! THANK YOU!

RiD's ROCKN900 skin looks rather funny under this version however. Any ideas?

Halftux 2018-05-27 17:29

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Wasmachinemann-NL (Post 1544692)
oh my god YES YES YES A ROCKBOX UPDATE! THANK YOU!

RiD's ROCKN900 skin looks rather funny under this version however. Any ideas?

You are welcome. For the skin I can't tell you because I don't have it. You could upload it and I could have a look.

Wasmachinemann-NL 2018-05-28 15:38

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Halftux (Post 1544693)
You are welcome. For the skin I can't tell you because I don't have it. You could upload it and I could have a look.

Thank god I save everything nowadays:
https://a.uguu.se/UWJiyBUon4ER_rockn900_v0.3.zip

The WPS screen defauls to the failsafe one.

Halftux 2018-05-28 18:54

Re: Porting rockbox to n900
 
1 Attachment(s)
Here is a working wps file. Remove the "txt" extention and replace the original file with the new one.

When I upload the package to extras I will include the skin and also the EQ files (The old EQ files still working).

So please test rockbox and when everything is working or working better than the previous version, I will upload it.

Wasmachinemann-NL 2018-05-29 14:41

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Halftux (Post 1544731)
Here is a working wps file. Remove the "txt" extention and replace the original file with the new one.

When I upload the package to extras I will include the skin and also the EQ files (The old EQ files still working).

So please test rockbox and when everything is working or working better than the previous version, I will upload it.

Awesome, i'll take a look later.

EDIT: Yay it's working now. Thanks Halftux!


All times are GMT. The time now is 08:19.

vBulletin® Version 3.8.8