Release Rockbox as an app


It's both nice and annoying... now my tracks skip accidentally unless I hold the Pandora in my hand. Any chance of hold switch support?
I have a build up and running with hold button support. The new code will need some restructuring,


so I won't push a build to the repo until it's upstream.


There's also an alternative: Rockbox could use the 'h' key for hold.


Actually the code for that just needs to be enabled. Would that be enough?


Might be even easier than to fiddle with the hold button and accidentally switch off the pandora on unlock.


(happened twice to me B) )
H key would be a good interim solution!


Although my OCD is wanting the hold switch to actually DO something xD


EDIT: Weird double-quoting removed...
 
Last edited by a moderator:
H key would be a good interim solution!


Although my OCD is wanting the hold switch to actually DO something xD
If you are interested, here's my private build which supports the HOLD switch:


rockbox-2012-03-10-hold-button.pnd


I just don't want "tweaky" builds on the repo, so you have to install it manually from the forum


until I find the time to finish up the code for upstream submission :)
 

Attachments

  • rockbox-2012-03-10-hold-button.pnd
    9.2 MB · Views: 246
Hi Thomas,


Just to let you know in the current build of Rockbox I'm getting random segfaults which seems to be triggered by OGG Vorbis files. I'll see about getting you a log, but I don't know how helpful that could be.
 
To further my report - here is what I got from the pnd_run output.

=======================================================================================


PND : /media/SYSTEM/pandora/menu/rockbox-2012-03-02.pnd


PND_FSTYPE : Squashfs


APPDATADIR : /media/SYSTEM/pandora/appdata/rockbox


APPDD_FSTYPE : vfat


PND_CPUSPEED :


EXENAME : run_rockbox.sh


ARGUMENTS :


=======================================================================================


[ START ]--- Mount the PND ----------


Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/rockbox"


Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/SYSTEM/pandora/appdata/rockbox=rw+nolwh":"/mnt/pnd/rockbox=rr" none "/mnt/utmp/rockbox"


[sUCCESS]--- Mount the PND ----------


[ START ]--- Starting the application (run_rockbox.sh ) ----------


Xlib: unexpected async reply (sequence 0x2c2)!


*** glibc detected *** ./rockbox/bin/rockbox: double free or corruption (fasttop): 0x00b5e258 ***


======= Backtrace: =========


/lib/libc.so.6[0x4024d024]


./rockbox/bin/rockbox[0x190030]


[0xebfffbfe]


======= Memory map: ========


00008000-000c3000 r-xp 00000000 07:01 54 /mnt/utmp/rockbox/rockbox/bin/rockbox


000cb000-000cd000 rwxp 000bb000 07:01 54 /mnt/utmp/rockbox/rockbox/bin/rockbox


000cd000-00bae000 rwxp 00000000 00:00 0 [heap]


4000a000-4000b000 rwxp 00000000 00:00 0


4000b000-40011000 r-xp 00000000 00:0d 38071 /lib/librt-2.9.so


40011000-40018000 ---p 00006000 00:0d 38071 /lib/librt-2.9.so


40018000-40019000 r-xp 00005000 00:0d 38071 /lib/librt-2.9.so


40019000-4001a000 rwxp 00006000 00:0d 38071 /lib/librt-2.9.so


40027000-40044000 r-xp 00000000 00:0d 39194 /lib/ld-2.9.so


40044000-40045000 rwxp 00000000 00:00 0


4004b000-4004c000 r-xp 0001c000 00:0d 39194 /lib/ld-2.9.so


4004c000-4004d000 rwxp 0001d000 00:0d 39194 /lib/ld-2.9.so


4004d000-40061000 r-xp 00000000 00:0d 39199 /lib/libpthread-2.9.so


40061000-40068000 ---p 00014000 00:0d 39199 /lib/libpthread-2.9.so


40068000-40069000 r-xp 00013000 00:0d 39199 /lib/libpthread-2.9.so


40069000-4006a000 rwxp 00014000 00:0d 39199 /lib/libpthread-2.9.so


4006a000-4006c000 rwxp 00000000 00:00 0


4006c000-4006e000 r-xp 00000000 00:0d 30908 /usr/lib/libXau.so.6.0.0


4006e000-40075000 ---p 00002000 00:0d 30908 /usr/lib/libXau.so.6.0.0


40075000-40076000 rwxp 00001000 00:0d 30908 /usr/lib/libXau.so.6.0.0


40076000-40084000 r-xp 00000000 00:0d 30429 /usr/lib/libXext.so.6.4.0


40084000-4008b000 ---p 0000e000 00:0d 30429 /usr/lib/libXext.so.6.4.0


4008b000-4008c000 rwxp 0000d000 00:0d 30429 /usr/lib/libXext.so.6.4.0


40090000-40094000 r-xp 00000000 00:0d 31017 /usr/lib/libXdmcp.so.6.0.0


40094000-4009b000 ---p 00004000 00:0d 31017 /usr/lib/libXdmcp.so.6.0.0


4009b000-4009c000 rwxp 00003000 00:0d 31017 /usr/lib/libXdmcp.so.6.0.0


400a6000-400a7000 rwxp 00000000 00:00 0


400aa000-400ac000 r-xp 00000000 00:0d 30726 /usr/lib/libts-1.0.so.0.0.0


400ac000-400b3000 ---p 00002000 00:0d 30726 /usr/lib/libts-1.0.so.0.0.0


400b3000-400b4000 rwxp 00001000 00:0d 30726 /usr/lib/libts-1.0.so.0.0.0


400b4000-400b5000 rwxp 00000000 00:00 0


400b5000-400b7000 r-xp 00000000 00:0d 39195 /lib/libdl-2.9.so


400b7000-400be000 ---p 00002000 00:0d 39195 /lib/libdl-2.9.so


400be000-400bf000 r-xp 00001000 00:0d 39195 /lib/libdl-2.9.so


400bf000-400c0000 rwxp 00002000 00:0d 39195 /lib/libdl-2.9.so


400c0000-400c4000 r-xp 00000000 00:0d 30640 /usr/lib/libXfixes.so.3.1.0


400c4000-400cb000 ---p 00004000 00:0d 30640 /usr/lib/libXfixes.so.3.1.0


400cb000-400cc000 rwxp 00003000 00:0d 30640 /usr/lib/libXfixes.so.3.1.0


400cf000-400d9000 r-xp 00000000 00:0d 39192 /lib/libgcc_s.so.1


400d9000-400e0000 ---p 0000a000 00:0d 39192 /lib/libgcc_s.so.1


400e0000-400e1000 rwxp 00009000 00:0d 39192 /lib/libgcc_s.so.1


400e4000-4014e000 r-xp 00000000 00:0d 39190 /lib/libm-2.9.so


4014e000-40155000 ---p 0006a000 00:0d 39190 /lib/libm-2.9.so


40155000-40156000 r-xp 00069000 00:0d 39190 /lib/libm-2.9.so


40156000-40157000 rwxp 0006a000 00:0d 39190 /lib/libm-2.9.so


40157000-401b6000 r-xp 00000000 00:0d 37704 /usr/lib/libSDL-1.2.so.0.11.3


401b6000-401bd000 ---p 0005f000 00:0d 37704 /usr/lib/libSDL-1.2.so.0.11.3


401bd000-401c1000 rwxp 0005e000 00:0d 37704 /usr/lib/libSDL-1.2.so.0.11.3


401c1000-401e8000 rwxp 00000000 00:00 0


401e8000-40301000 r-xp 00000000 00:0d 38081 /lib/libc-2.9.so


40301000-40309000 ---p 00119000 00:0d 38081 /lib/libc-2.9.so


40309000-4030b000 r-xp 00119000 00:0d 38081 /lib/libc-2.9.so


4030b000-4030c000 rwxp 0011b000 00:0d 38081 /lib/libc-2.9.so


4030c000-4030f000 rwxp 00000000 00:00 0


4030f000-40310000 ---p 00000000 00:00 0


40310000-40b0f000 rwxp 00000000 00:00 0


40b0f000-40b17000 r-xp 00000000 00:0d 37665 /usr/lib/libXrender.so.1.3.0


40b17000-40b1e000 ---p 00008000 00:0d 37665 /usr/lib/libXrender.so.1.3.0


40b1e000-40b1f000 rwxp 00007000 00:0d 37665 /usr/lib/libXrender.so.1.3.0


40b1f000-40b25000 r-xp 00000000 00:0d 30845 /usr/lib/libXrandr.so.2.2.0


40b25000-40b2d000 ---p 00006000 00:0d 30845 /usr/lib/libXrandr.so.2.2.0


40b2d000-40b2e000 rwxp 00006000 00:0d 30845 /usr/lib/libXrandr.so.2.2.0


40b2e000-40b36000 r-xp 00000000 00:0d 36834 /usr/lib/libXcursor.so.1.0.2


40b36000-40b3d000 ---p 00008000 00:0d 36834 /usr/lib/libXcursor.so.1.0.2


40b3d000-40b3e000 rwxp 00007000 00:0d 36834 /usr/lib/libXcursor.so.1.0.2


40b46000-40b66000 r-xp 00000000 07:01 263 /mnt/utmp/rockbox/rockbox/lib/rockbox/codecs/vorbis.codec


40b66000-40b6d000 ---p 00020000 07:01 263 /mnt/utmp/rockbox/rockbox/lib/rockbox/codecs/vorbis.codec


40b6d000-40b6e000 rwxp 0001f000 07:01 263 /mnt/utmp/rockbox/rockbox/lib/rockbox/codecs/vorbis.codec


40bd1000-40bd2000 ---p 00000000 00:00 0


40bd2000-413d1000 rwxp 00000000 00:00 0


413d1000-414e1000 r-xp 00000000 00:0d 30442 /usr/lib/libX11.so.6.3.0


414e1000-414e8000 ---p 00110000 00:0d 30442 /usr/lib/libX11.so.6.3.0


414e8000-414ec000 rwxp 0010f000 00:0d 30442 /usr/lib/libX11.so.6.3.0


414ec000-415a8000 rwxs 00000000 00:04 458764 /SYSV00000000 (deleted)


415a8000-41664000 rwxp 00000000 00:00 0


41726000-417da000 r-xp 00000000 00:0d 37656 /usr/lib/libasound.so.2.0.0


417da000-417e1000 ---p 000b4000 00:0d 37656 /usr/lib/libasound.so.2.0.0


417e1000-417e5000 rwxp 000b3000 00:0d 37656 /usr/lib/libasound.so.2.0.0


417e5000-417e6000 ---p 00000000 00:00 0


417e6000-41fe5000 rwxp 00000000 00:00 0


befb7000-befd8000 rwxp 00000000 00:00 0 [stack]


ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]


SDL_WaitEvent() error


Aborted


[ FAILED]--- Starting the application (run_rockbox.sh ) ----------


[ START ]--- Restoring the frame buffer status ----------


[sUCCESS]--- Restoring the frame buffer status ----------


[ START ]--- uMount the PND ----------


[ START ]--- Waiting the Union to be available ----------


[sUCCESS]--- Waiting the Union to be available ----------


auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device


rmdir: failed to remove `/mnt/utmp/rockbox': Device or resource busy


[ START ]--- Waiting the PND mount dir to be free ----------


[sUCCESS]--- Waiting the PND mount dir to be free ----------


cleanup done


[sUCCESS]--- uMount the PND ----------


=======================================================================================


Return code is : 3
 
To further my report - here is what I got from the pnd_run output.
Please try again with the latest Rockbox 3.12 Pandora release.
It doesn't specifically mention changes to the vorbis codec,

let's see what happens.
 
Last edited by a moderator:
I can confirm LCD Settings bug (for me it force quits)

2 requests:

-Shoulder button remapping (e.g. Left for play/pause instead of previous track)

-Volume boost (looked inside of EQ but could not find anything)
 
As skins that look nice on the Pandora are extremely rare, I like to point out another very well made skin that looks beautiful:

http://talk.maemo.org/showthread.php?t=89615

Clean, modern looks

Good support of the touchscreen (also for fingers)

Album Art does not work for me, but I'll have a look at that.

--- Edit ---

Album Art fixed.

After extracting the theme download from above and renaming the attached *.wps.zip to *.wps, copy it to SDCARD\pandora\appdata\rockbox\.config\rockbox.org\wps replacing the old one. As this is not my skin I did not want to bundle it directly.

rockn900.wps.zip
 

Attachments

  • rockn900.wps.zip
    2.5 KB · Views: 212
Last edited by a moderator:
Bugreports:

* Fast skipping (tested: mp3 via shoulder buttons) crashes Rockbox (was noted before). Afterwards RB lost its memory where it was.

Those two are probably upstream bugs (I guess?)

* At least when playing FLAC with coverart as "folder.jpg" the image is removed around 4 seconds before the end of the track. This happens as well, when the next track is part of the same album (and folder). I never noticed that issue with mp3 and embedded covers.

* CoverArt embedded in FLAC does not show up, only folder.jpg seems to work (artist - title.jpg is also ignored)

Aaand a positive report ;)

The noise while playing that happened once in a while in earlier versions (and is still noted as "not working" on the Rockbox page) seems to be completely gone (at least in my setup). I used Rockbox for probably 100 hours now with quite a good audio system and never had a single noise. (GHz-Pandora, No WLAN, TV-OUT active, power via USB sometimes connected, never on AC)
 
Last edited by a moderator:
Arg!

I wish this forum software didn't force people to use incorrect file extensions...

Otherwise, its a very nice theme :)
 
Back
Top