| Prev | 2   10     11   12   13     14   22 | Next | Last
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 2011-01-11 18:24

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Thriceberg (Post 917498)
For me on Windows 7 64bit, convbdf gets as far as "Header parsed" then a Windows pop-up says: "convbdf.exe has stopped working". That's the only info I get.

Might be an issue of Windows' convbdf.exe version. I just converted a proprietary font in 50 point size to bdf with fontforge and then used convbdf to convert it to the rockbox format.

The font is way to large for the current cabbie theme :D

Also it doesn't improve the touchscreen usability as hitting a menu entry is still a very precise and annoying operation. Would be nice to tweak touchscreen responsiveness, I haven't looked into that yet.

thomasjfox 2011-01-11 19:00

Re: Porting rockbox to n900
 
Quote:

Originally Posted by jstokes (Post 918031)
That was me replacing "printf("SDL_WaitEvent() error\n")" with abort(). A core dump is more useful to me rather than seeing "SDL_WaitEvent() error" a million and one times...

Sounds like a corrupt stack to me (early crash in gdb). I'll ask another n8xx user on #rockbox if he can reproduce it.

Could also be a compilation mismatch with the SDL library and SDL header files. Maybe retry with the "official" build in extras-devel.

jstokes 2011-01-11 19:39

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 918018)
Anway, it seems to be a NULL pointer access. It might help to -start- the program in gdb and make it crash, maybe it outputs more information than with the first backtrace.

Yes, you must be right. I gave up trying to use gdb and just ended up shoving "fprintf (stderr, "%s\n", __PRETTY_FUNCTION__);" statements everywhere.

What I did notice was commenting out the following in the function action_get_touchscreen_press in apps/action.c
Quote:

if (last_button & BUTTON_REL)
{
*x = (last_data&0xffff0000)>>16;
*y = (last_data&0xffff);
}
else
{
*x = (data&0xffff0000)>>16;
*y = (data&0xffff);
}
stopped it segfaulting here. It also stopped the scrollbar from working but it didn't crash... I understand that that may not be the root cause of the problem (by commenting out those lines, I stop another function being called etc.) but it's the best I got :)

This may be totally inaccurate as there's a lot of functions I haven't blessed with __PRETTY_FUNCTION__ but here's what I get:
Quote:

button_tick
button_read
button_read_device
button_try_post
action_get_touchscreen_press
button_get_data
action_get_touchscreen_press_in_vp
action_get_touchscreen_press
button_get_data
button_tick
button_read
button_read_device
button_tick
button_read
button_read_device
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Xlib: unexpected async reply (sequence 0x68)!

thomasjfox 2011-01-12 18:49

Re: Porting rockbox to n900
 
Quote:

Originally Posted by jerryfreak (Post 917670)
can somebody make a theme that doesnt show next track? id be very grateful (~};)

You can easily do this yourself:

Open the cabbiev2 theme file on your device in your favorite editor:

/opt/rockbox/share/rockbox/wps/cabbiev2.wps

Go to line 27. Comment out the line with "Next Track:" and the line below it using a "#" sign. Search for the next "Next Track:" and do it again.

Start rockbox and the next track display should be gone. You could also copy the file to "cabbiev2_nextrack.wps" first in case you want it back at a later time.

thomasjfox 2011-01-12 22:39

Re: Porting rockbox to n900
 
New build is in extras-devel!

Changes in 2011-01-12maemo0:
* Always show prev/next track button
* Bind enter key to rockbock's center button (all platforms)
* Bind more keys on n8xx (maemo4)
* Update to latest rockbox SVN code

Thanks to jstokes for the key bindings.
Also initial maemo support has been sent upstream for review.

ToJa92 2011-01-12 23:30

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 919083)
New build is in extras-devel!

Changes in 2011-01-12maemo0:
* Always show prev/next track button
* Bind enter key to rockbock's center button (all platforms)
* Bind more keys on n8xx (maemo4)
* Update to latest rockbox SVN code

Thanks to jstokes for the key bindings.
Also initial maemo support has been sent upstream for review.

Hey, just tried installing this on my N900. It says it depends on a package that is not installable, namely python-qt4. Any fix? Or maybe I should use the normal app manager and not fapman?

EDIT: Error was on my end, sorry.

datjomp 2011-01-12 23:51

Re: Porting rockbox to n900
 
I really like Rockbox and with 35 bold font it is easier to navigate.
Havent really tried all features but its pretty much all you need, as it seems.

I like the snappiness of the gui.
Feels snappier than other native apps.

Thanks for porting it and looking forward to follow the future development of this beast :D

pursueky 2011-01-19 14:27

Re: Porting rockbox to n900
 
the letters r too small

petur 2011-01-19 14:29

Re: Porting rockbox to n900
 
Quote:

Originally Posted by pursueky (Post 923823)
the letters r too small

yes, 'r' is a small letter....

You can increase fontsize, try downloading a manual at rockbox.org for more info

zimon 2011-01-19 17:03

Re: Porting rockbox to n900
 
Is rockbox using DSP-accelerated decodecs when playing music, like N900's own Mediaplayer is?


| Prev | 2   10     11   12   13     14   22 | Next | Last
All times are GMT. The time now is 12:01.

vBulletin® Version 3.8.8