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)

sr00t 2011-12-13 03:00

Re: Porting rockbox to n900
 
thanks for the new version ! i feel like n900 is old story right now, and its wonderful that people like you keep developing for n900
rockbox is a hell of importan app to me, best audio software ever
i love the new touch friendly menu icons
keep it up and thanks a lot again!

thomasjfox 2011-12-13 12:49

Re: Porting rockbox to n900
 
Quote:

Originally Posted by sr00t (Post 1136882)
i feel like n900 is old story right now,

Well, I just got hold of a second one in case my first one dies... I have a HTC Sensation here a work to play around with Android and I just prefer my N900.

I'm also very grateful for the Opera browser on the N900. Opera did a hell of a job, I can't believe how fast the browser is on this 600 MHz ARM box.

The N900 will stay with me for a while, so there will also be new Rockbox releases :)

ziggadebo 2011-12-13 13:25

Re: Porting rockbox to n900
 
Thomas , it's great that you are still working on this awesome program. I use it everyday, however

Can I easily roll back to the previous version?

I can't get on with this one, particular problems.

1. Customized skins messed up
2. Playlists not working well (creating)
3. New UI (which I can't be bothered to learn - I know thats bad)

Can someone posts the steps needed to re-install the previous version?

Thx

sr00t 2011-12-13 13:31

Re: Porting rockbox to n900
 
@ziggadebo

Go here:
http://maemo.org/packages/view/rockbox/

Click on previous package
Download .deb
Place it wherever you like
Do a
Quote:

dpkg -i /path/to/package.deb

ziggadebo 2011-12-13 13:39

Re: Porting rockbox to n900
 
Quote:

Originally Posted by sr00t (Post 1137024)
@ziggadebo

Go here:
http://maemo.org/packages/view/rockbox/

Click on previous package
Download .deb
Place it wherever you like
Do a

Thanks do I need the armel or the i386 for my N900?

GrimyHR 2011-12-13 13:41

Re: Porting rockbox to n900
 
armel as that is your cpu type

ziggadebo 2011-12-13 13:49

Re: Porting rockbox to n900
 
Which of these two files do I need to download? or do I need them both?

.dsc
.tar.gz

Sorry to be a pain.

GrimyHR 2011-12-13 13:57

Re: Porting rockbox to n900
 
Quote:

Originally Posted by ziggadebo (Post 1137032)
Which of these two files do I need to download? or do I need them both?

.dsc
.tar.gz

Sorry to be a pain.

you need to download .deb

for instance this:
http://repository.maemo.org/extras-d...emo1_armel.deb
or another version if needed, dont know which was the latest previous version

ziggadebo 2011-12-13 14:09

Re: Porting rockbox to n900
 
Quote:

Originally Posted by sr00t (Post 1137024)
@ziggadebo

Go here:
http://maemo.org/packages/view/rockbox/

Click on previous package
Download .deb
Place it wherever you like
Do a

Sorry, I promise this will be the last question.

Do I need to be root to install?

If i navigate to where I've saved the deb, do I just type:

dpkg -i package.deb (obviously I replace package, with the nam of the file!)

or do I have to specify where the program will be installed? or does it know?

Thanks all as usual you've been most helpful.

guyr 2011-12-13 14:19

Re: Porting rockbox to n900
 
Quote:

Originally Posted by ziggadebo (Post 1137043)
Do I need to be root to install?

yes

Quote:

Originally Posted by ziggadebo (Post 1137043)
If i navigate to where I've saved the deb, do I just type:
dpkg -i package.deb (obviously I replace package, with the nam of the file!)

yes

Guy

ziggadebo 2011-12-13 14:24

Re: Porting rockbox to n900
 
Ok I lied this is my last post.

Thanks all for your help.

I now have my old rockbox back :)

thomasjfox 2011-12-13 16:52

Re: Porting rockbox to n900
 
Quote:

Originally Posted by ziggadebo (Post 1137022)
I can't get on with this one, particular problems.

1. Customized skins messed up

May be this helps:
http://www.rockbox.org/wiki/ReleaseNotes310

Skin engine related change:
http://svn.rockbox.org/viewvc.cgi?vi...revision=30461

The default skin works just fine. So you could "diff" the previous version against the current version to see the changes.

Quote:

Originally Posted by ziggadebo (Post 1137022)
2. Playlists not working well (creating)

Please be more specific or ideally file a bug at rockbox.org.

Quote:

Originally Posted by ziggadebo (Post 1137022)
3. New UI (which I can't be bothered to learn - I know thats bad)

I guess you are refering to the new spacing in the menu lists to be more touchscreen friendly. This is a configuration setting you can disable in

Settings > General Settings > Display > Touchscreen Settings > Line Padding in Lists.

Just switch it from "Automatic" to "Off" if you are annoyed by this.

HTH,
Thomas

7thd 2011-12-13 21:57

Re: Porting rockbox to n900
 
1 Attachment(s)
Quote:

Originally Posted by Julien_2006 (Post 1136131)
@7thd i do not hav this problem you mention (have you posted a screenshot ?)

This is what home shows [attachment].

sdcard (/mmc) shows its subfolders fine, as does any other folder I checked. So I'd guess something could be wrong with partition. I experience no instability/faulty device otherwise.

thomasjfox 2011-12-17 15:54

Re: Porting rockbox to n900
 
Quote:

Originally Posted by 7thd (Post 1137219)
This is what home shows [attachment].

sdcard (/mmc) shows its subfolders fine, as does any other folder I checked. So I'd guess something could be wrong with partition. I experience no instability/faulty device otherwise.

Thanks for the screenshot. There are two easy ways to trace this down.

1. Start rockbox as root. May be it's a permission issue.
The binary is located in /opt/rockbox/bin/rockbox.

2. Install strace and capture the rockbox output.
Example command:
Code:

strace /opt/rockbox/bin/rockbox 2>&1 |grep -v clock_gettime |grep -v futex
When I enter into /home, the output looks like this:
Code:

open("/home", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 14
fstat64(14, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(14, F_SETFD, FD_CLOEXEC)        = 0
getdents(14, /* 6 entries */, 4096)    = 120
stat64("/home/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/lost+found", {st_mode=S_IFDIR|0700, st_size=16384, ...}) = 0
lstat64("/home/lost+found", {st_mode=S_IFDIR|0700, st_size=16384, ...}) = 0
stat64("/home/.apt-archive-cache", {st_mode=S_IFDIR|0755, st_size=77824, ...}) = 0
lstat64("/home/.apt-archive-cache", {st_mode=S_IFDIR|0755, st_size=77824, ...}) = 0
stat64("/home/..", {st_mode=S_IFDIR|0755, st_size=1632, ...}) = 0
lstat64("/home/..", {st_mode=S_IFDIR|0755, st_size=1632, ...}) = 0
getdents(14, /* 0 entries */, 4096)    = 0
close(14)                              = 0
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1x\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1z\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1|\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
gettimeofday({1324137064, 710845}, NULL) = 0
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1~\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1\200\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
gettimeofday({1324137065, 744750}, NULL) = 0
write(4, "\211\3\n\0\f\0\300\1\r\0\300\1 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1\202\0\0\0\0\0\2\0\300\1l\352\n\0\310(4\0\0\0\0\0h>\4\0h>\4\0", 32) = 32
^C

HTH,
Thomas

kjodrisc 2011-12-19 18:51

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1137098)
May be this helps:
http://www.rockbox.org/wiki/ReleaseNotes310

Skin engine related change:
http://svn.rockbox.org/viewvc.cgi?vi...revision=30461

The default skin works just fine. So you could "diff" the previous version against the current version to see the changes.

Not sure if this was what was meant by messed up theme but just wanted to add in my two cents. My custom skin was not working correctly when i upgraded the app first but I found that all i needed to do to fix it was to remove the '&' symbol before the word stop on one of my buttons. It seems that secondary actions on a button don't need this anymore. instead they use ', repeat_press'. this also applies to ffwd + rwd.

Hope this is of some use to someone else if they're stuck with a messed up theme.

Kjodrisc

bocephus 2011-12-19 21:39

Re: Porting rockbox to n900
 
Quote:

Originally Posted by sr00t (Post 1136882)
i feel like n900 is old story right now

How can the N900 be old story when there hasn't been a new story to replace it yet? ;-)

@thomasjfox: Thank you for your work! I haven't tried this player yet, but I will do so now!

7thd 2011-12-22 11:36

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1138757)
Thanks for the screenshot. There are two easy ways to trace this down.

1. Start rockbox as root. May be it's a permission issue.
The binary is located in /opt/rockbox/bin/rockbox.

2. Install strace and capture the rockbox output.
Example command:
Code:

strace /opt/rockbox/bin/rockbox 2>&1 |grep -v clock_gettime |grep -v futex

Thx, I did the above mentioned.
The output is: several read-only messages? I can't make chocolate of this. I think I need basic info on rights management.

Ad 1. This fails. Rockbox is present however.
Code:

/opt/rockbox/bin # rockbox
/bin/sh: rockbox: not found

Ad 2. Example command entered. I see Rockbox boot logo for an instance, then it closes down. Output is loong:
Code:

mmap2(NULL, 1196468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40512000
mprotect(0x40629000, 32768, PROT_NONE)  = 0
mmap2(0x40631000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x117) = 0x40631000
mmap2(0x40634000, 8628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40634000
close(3)                                = 0
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\20\321\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=769344, ...}) = 0
mmap2(NULL, 768144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40637000
mmap2(0x406ef000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb8) = 0x406ef000
close(3)                                = 0
open("/usr/lib/libpulse-simple.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0l\r\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=8772, ...}) = 0
mmap2(NULL, 40284, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x406f3000
mprotect(0x406f5000, 28672, PROT_NONE)  = 0
mmap2(0x406fc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x406fc000
close(3)                                = 0
open("/usr/lib/libpulse.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\360v\0\0004\0\0\0"..., 512) = 512
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
fstat64(3, {st_mode=S_IFREG|0644, st_size=131712, ...}) = 0
mmap2(NULL, 162340, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x406fd000
mprotect(0x4071c000, 32768, PROT_NONE)  = 0
mmap2(0x40724000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0x40724000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\354\26\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=65476, ...}) = 0
mmap2(NULL, 96956, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40725000
mprotect(0x40735000, 28672, PROT_NONE)  = 0
mmap2(0x4073c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x4073c000
close(3)                                = 0
open("/usr/lib/libpulsecommon-0.9.15.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200\242\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=163496, ...}) = 0
mmap2(NULL, 195252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4073d000
mprotect(0x40764000, 32768, PROT_NONE)  = 0
mmap2(0x4076c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27) = 0x4076c000
close(3)                                = 0
open("/usr/lib/libgdbm.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0(\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=19320, ...}) = 0
--- SIGWINCH (Window changed) @ 0 (0) ---
mmap2(NULL, 50812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4076d000
mprotect(0x40772000, 28672, PROT_NONE)  = 0
mmap2(0x40779000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x40779000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
set_tls(0x40022180, 0x40023000, 0x400228d8, 0x40022858, 0x40024050) = 0
mprotect(0x40631000, 4096, PROT_READ)  = 0
mprotect(0x40202000, 4096, PROT_READ)  = 0
mprotect(0x401a4000, 4096, PROT_READ)  = 0
mprotect(0x40111000, 57344, PROT_READ|PROT_WRITE) = 0
mprotect(0x40111000, 57344, PROT_READ|PROT_EXEC) = 0
cacheflush(0x40111000, 0x4011f000, 0, 0xbee06678, 0) = 0
mprotect(0x400af000, 4096, PROT_READ)  = 0
mprotect(0x400a4000, 4096, PROT_READ)  = 0
munmap(0x40025000, 42741)              = 0
set_tid_address(0x40021d28)            = 10365
set_robust_list(0x40021d30, 0xc)        = 0
rt_sigaction(SIGRTMIN, {0x4018be88, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4018bd58, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=2048*1024, rlim_max=2048*1024}) = 0
sched_getparam(10365, { 0 })            = 0
sched_getscheduler(10365)              = 0 (SCHED_OTHER)
clock_getres(CLOCK_MONOTONIC, {0, 1})  = 0
sched_get_priority_min(SCHED_OTHER)    = 0
sched_get_priority_max(SCHED_OTHER)    = 0
sched_get_priority_max(SCHED_OTHER)    = 0
brk(0)                                  = 0xb4e000
brk(0xb6f000)                          = 0xb6f000
gettimeofday({1324551939, 293642}, NULL) = 0
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
gettimeofday({1324551939, 318178}, NULL) = 0
mmap2(NULL, 2097152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4077a000
mprotect(0x4077a000, 4096, PROT_NONE)  = 0
clone(child_stack=0x40978fe8, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x409794d8, tls=0x40979930, child_tidptr=0x409794d8) = 10366
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x400b6d4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x400b6d4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x400b6d4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x400b6d4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_IGN, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
mmap2(NULL, 2097152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4097a000
mprotect(0x4097a000, 4096, PROT_NONE)  = 0
clone(child_stack=0x40b78fe8, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x40b794d8, tls=0x40b79930, child_tidptr=0x40b794d8) = 10367
gettimeofday({1324551939, 920321}, NULL) = 0
gettimeofday({1324551939, 920778}, NULL) = 0
mkdir("/home/user/.config", 0777)      = -1 EEXIST (File exists)
mkdir("/home/user/.config/rockbox.org", 0777) = -1 EEXIST (File exists)
mkdir("/home/user/.config/rockbox.org/rocks.data", 0777) = -1 EEXIST (File exists)
mmap2(NULL, 770048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40f89000
write(4, "\211\3\n\0\f\0\340\4\r\0\340\4 \3\340\1\0\0\0\0 \3\340\1\0\0\0\0\20\2\0-"..., 44) = 44
read(4, "\1\1\16\0\0\0\0\0\2\0\340\4l\352\n\0P\21c\0\0\0\0\0\340~\0\0\340~\0\0", 32) = 32
open("/home/user/.config/rockbox.org/nvram.bin", O_RDONLY) = 7
close(7)                                = 0
open("/home/user/.config/rockbox.org/nvram.bin", O_RDONLY) = 7
read(7, "Rb\6\5\372Z\224\30\10\0\0\0\334\337\277\2\363;\0\0\363;\0\0\2\0\0\0\0\0\0\0"..., 44) = 44
close(7)                                = 0
open("/home/user/.config/rockbox.org/config.cfg", O_RDONLY) = 7
close(7)                                = 0
open("/home/user/.config/rockbox.org/config.cfg", O_RDONLY) = 4
read(4, "# .", 3)                      = 3
lseek(4, 0, SEEK_SET)                  = 0
read(4, "#", 1)                        = 1
read(4, " ", 1)                        = 1
read(4, ".", 1)                        = 1
read(4, "c", 1)                        = 1
read(4, "f", 1)                        = 1
read(4, "g", 1)                        = 1
read(4, " ", 1)                        = 1
read(4, "f", 1)                        = 1
read(4, "i", 1)                        = 1
read(4, "l", 1)                        = 1
read(4, "e", 1)                        = 1
read(4, " ", 1)                        = 1
read(4, "c", 1)                        = 1
read(4, "r", 1)                        = 1
read(4, "e", 1)                        = 1
read(4, "a", 1)                        = 1
read(4, "t", 1)                        = 1
read(4, "e", 1)                        = 1
read(4, "d", 1)                        = 1
read(4, " ", 1)                        = 1
read(4, "b", 1)                        = 1
read(4, "y", 1)                        = 1
read(4, " ", 1)                        = 1
read(4, "r", 1)                        = 1
read(4, "o", 1)                        = 1
read(4, "c", 1)                        = 1
read(4, "k", 1)                        = 1
read(4, "b", 1)                        = 1
read(4, "o", 1)                        = 1
read(4, "x", 1)                        = 1
read(4,  <unfinished ...>
+++ killed by SIGSEGV +++
Segmentation fault
/home/user #


thomasjfox 2011-12-22 13:38

Re: Porting rockbox to n900
 
Quote:

Originally Posted by 7thd (Post 1140759)
Code:

/opt/rockbox/bin # rockbox
/bin/sh: rockbox: not found


Try "./rockbox" if you changed to the directory first.

Quote:

Originally Posted by 7thd (Post 1140759)
Ad 2. Example command entered. I see Rockbox boot logo for an instance, then it closes down. Output is loong:
+++ killed by SIGSEGV +++
Segmentation fault

Rockbox just crashed. Two reasons for this come to mind:

1. Broken configurationd data. Please try this command, it will reset all your rockbox settings + database:
Code:

rm -rf /home/user/.config/rockbox.org
2. Broken or incompatible system library. A reflash might help but IIIRC you tried that before.

Cheers,
Thomas

Xenolith0 2012-01-04 20:48

Re: Porting rockbox to n900
 
Hello,

As many comments have noted, the default fonts included with rockbox don't work so well with the larger screens on our n900.

I've converted and resized the font sazanami-gothic to be useful on rockbox for the n900. Specifcally I picked this font due to the fact that it correctly displays CJK characters while looking crisp at smaller font sizes.

Download here:
http://f.xn0.org/18-sazanami-gothic.zip

To install:
Close rockbox if it is running.
unzip and move "18-sazanami-gothic.fnt" to the directoy "/opt/rockbox/share/rockbox/fonts/"
Start rockbox and go to Settings > Theme Settings > Font and select 18-sazanami-gothic.
Done.

http://f.xn0.org/Screenshot-20120104-165618.png

7thd 2012-01-22 22:03

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1140805)

Rockbox just crashed. Two reasons for this come to mind:

1. Broken configurationd data.

This helped. Further, I had uninstalled Nitdroid (N12 on eMMC) and I was able to get it working again. I didn't have to alter the partition or sth.

How this is explained I don't know.
Does anyone have both Nitdroid and Rockbox working properly?

vetsin 2012-01-26 13:47

Re: Porting rockbox to n900
 
thanks for this port! i'm still looking for the best alternative to the default media player and this is the first time i'm actually trying rockbox. it's not the most user-friendly choice in town but the options available are really enticing. i need to spend more time to get to know this. :)
i think this music player needs some time on the maemo spotlight. bump! ;)

7thd 2012-02-26 21:16

Re: Porting rockbox to n900
 
Quote:

Originally Posted by 7thd (Post 1154141)
Does anyone have both Nitdroid and Rockbox working properly?

I suppose others might have same problem. Just reflashed from power-kernel v48 to v49. Same outcome...

I know a workaround tho
-1- flash to stock kernel only
-2- initialize database cq get it sorted out
-3- context menu "Start File Browser Here"; set one of the subdirs of /home to be the default dir
-4- install power-kernel + nitdroid
-5- refresh database only by updating/autoupdating the database. You can manoeuvre freely from the first level under /home and below. If you arrive at /home you cannot go below anymore. What remains is that you enter via the chosen subdir (see3).

fpp 2012-03-30 12:55

Re: Porting rockbox to n900
 
Hi,

I don't know if any of the devs is still active here ?

I have a couple of questions related to the "N900 as an audiophile mobile player" thread :
http://talk.maemo.org/showthread.php?t=83270

Rockbox is of course a prime candidate for this on the software side.

Here is what we need help on :

1) someone in that thread noticed that Rockbox on Maemon used gstreamer. Does this imply that mp3 and/or flac decoding is done using the DSP ?

2) Our main problem right now is that we can connect an external USB sound device (using h-e-n and power kernel), and stream sound to/from it using the new ALSA device (using mplayer or MOC in the console, and without DSP acceleration).
Unfortunately attempts to make this work with pulseaudio and Hildon apps have been unsuccessful so far...

Does anyone know if there's a way to force apps using gstreamer to a special sink? Or make autoaudiosink redirecting to it?

Rockbox has "pulsesink" as output sink hardcoded. Could this be made configurable ?

TIA,
fp

Acurus_ 2012-07-31 10:14

Re: Porting rockbox to n900
 
Firstly I would like to say thank you for porting Rockbox to the N900. It is a very great app, especially the gap less playing function is great!

I have single question, because there are so many functions inside Rockbox and I could not find the answer: When I am using Rockbox and I get call, Rockbox stopped playing but does not start playing automatically after ending the call. Is there everywhere a function to activate this "auto play"?

petur 2012-07-31 11:12

Re: Porting rockbox to n900
 
I think this is port-specific and not Rockbox generic funtionality.
thomasjfox can probably tell or I peek in the code ;)

Acurus_ 2012-07-31 11:22

Re: Porting rockbox to n900
 
It would be nice, if this option could be integrated. Thanks for peeking.

thomasjfox 2012-08-15 18:35

Re: Porting rockbox to n900
 
Hey there,

Quote:

Originally Posted by Acurus_ (Post 1245356)
I have single question, because there are so many functions inside Rockbox and I could not find the answer: When I am using Rockbox and I get call, Rockbox stopped playing but does not start playing automatically after ending the call. Is there everywhere a function to activate this "auto play"?

The maemo port only handles incoming calls. The generic rockbox code can resume playback on finished calls.

I currently don't know why "SYS_CALL_HUNG_UP" is not handled, may be our friend "libplayback" doesn't notify us.
Though I doubit it. This needs investigation.

btw: I plan to bring rockbox 3.12 to maemo once it's released. The current git code still compiles fine, tested two days ago. Planned release is around the middle of September.

Thomas

7thd 2012-08-23 22:22

Re: Porting rockbox to n900
 
2 Attachment(s)
Hi there, I've tampered with theme. Clone of cabbie v2.0 (technically the same). I drew a more in-depth background basically and made things blue. Just for fun, btw which this player keeps on doing :)

Wasmachinemann-NL 2012-09-13 20:06

Re: Porting rockbox to n900
 
Hai Thomas,
its already September and the latest RB version is out, already done with the port? I really like Rockbox because of it's pitch altering option.

lancewex 2012-10-16 12:39

Re: Porting rockbox to n900
 
I was recently testing Rockbox on the Cowon D2 (which I guess this port is based on?). I thought it could not be *more* buggy than that, but I was wrong. It keeps freezing up on me. Anyone else have this problem? Any further development on RB for Maemo?

petur 2012-10-16 13:33

Re: Porting rockbox to n900
 
It shouln't be buggy on either platform. Did you report your issues (on D2) to rockbox (forum, mailinglist, irc)?

lancewex 2012-10-16 13:40

Re: Porting rockbox to n900
 
Quote:

Originally Posted by petur (Post 1281246)
It shouln't be buggy on either platform. Did you report your issues (on D2) to rockbox (forum, mailinglist, irc)?

The D2 port is officially called "unstable" per Rockbox site, so it was no surprise.

petur 2012-10-16 14:40

Re: Porting rockbox to n900
 
Oh... must have confused it with another Cowon target

7thd 2012-11-05 05:13

Re: Porting rockbox to n900
 
hey I just noticed:

If you install a screenlock (i installed Qtscreenlock), then you can minimize Rockbox. Just lock your screen and unlock it again.

edit: ad #275. there's also [ctrl-backspace] but this is a quite finger friendly alternative to it

azkay 2012-11-05 05:59

Re: Porting rockbox to n900
 
Quote:

Originally Posted by 7thd (Post 1290329)
hey I just noticed:

If you install a screenlock (i installed Qtscreenlock), then you can minimize Rockbox. Just lock your screen and unlock it again.

You can use the Ctrl+Backspace keyboard shortcut which brings you to the window manager.

Xenolith0 2013-01-31 16:49

Re: Porting rockbox to n900
 
Quote:

Originally Posted by azkay (Post 1290352)
You can use the Ctrl+Backspace keyboard shortcut which brings you to the window manager.

I highly recommend Shortcutd, you can set it so a short-tap on the camera button is the same as ctrl+backspace. So much easier than having to open the keyboard for simple things like app switching.

iceskateclog 2013-02-04 07:53

Re: Porting rockbox to n900
 
Maybe there are newer binaries for Rockbox N900? Posted ones are quite old..

thomasjfox 2013-03-09 12:12

Re: Porting rockbox to n900
 
Quote:

Originally Posted by iceskateclog (Post 1320628)
Maybe there are newer binaries for Rockbox N900? Posted ones are quite old..

The newest binary can -currently- be found here:

http://213.128.137.22/extras-devel/p...ree/r/rockbox/

Build based on the 3.12 code base:
http://213.128.137.22/extras-devel/p...emo1_armel.deb

It might vanish and re-appear since the new build infrastructure is not 100% final.

The 3.12 build was prepared back in December 2012 but has never seen the daylight since then.

Enjoy!

thomasjfox 2013-03-15 08:26

Re: Porting rockbox to n900
 
Hi,

since the autobuilder is back (thanks to the infrastructure team for their hard work), let's celebrate this with a new rockbox release.

Rockbox 3.13 is in the repo.

Changes:
http://www.rockbox.org/wiki/ReleaseNotes313

Enjoy,
Thomas

RiD 2013-03-21 02:30

Re: Porting rockbox to n900
 
I love you! The new fully customizable 10-band equalizer is *EXTREMELY* welcome.

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


All times are GMT. The time now is 18:52.

vBulletin® Version 3.8.8