Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2006-01-19

00:00:15stevebannoying :(
00:00:42*amiconn wonders whether it makes sense to replace the current STYLE_INVERT implementation (e.g. the inverse bar cursor) which uses DRMODE_COMPLEMENT by correct inversevid i.e. DRMODE_INVERSEVID
00:00:42stevebso... anyone got a working H300 boot loader hex?
00:00:42XavierGrIndeed owning an H300 without rockbox.... pitty ;(
00:00:57NightCatsteveb: I
00:01:07stevebNightCat: care to email it?
00:01:12NightCat1.29 patched and working fine :)
00:01:17amiconnWith the current implementation, then inverse bar is white text on dark brown (standard black text on rockbox blue)
00:01:26NightCatsteveb: I can if you wish :)
00:01:28lostlogicsteveb: sounds like the firmware checksum failing is my guess
00:01:47amiconnWith DRMODE_INVERSEVID the bar would be rockbox blue text on black
00:01:57stevebstrange though...
00:01:59lostlogicyou are using firmware patcher?
00:02:06preglowbut bajh
00:02:10preglowthink i gotta call it a night
00:02:36XavierGrnight preglow
00:02:48Midgey34amiconn: I think some users have requested that, esp the rockcolor patch users
00:03:03amiconnbesides, inversevid would be faster than complement on all platforms, no readback from the framebuffer
00:03:43 Quit gtkspert (Read error: 110 (Connection timed out))
00:03:50 Quit Moos ("Glory to Rockbox")
00:04:14stevebi dont suppose anyone has any good linux wma -> ogg converters?
00:04:19stevebor knows of one?
00:04:23 Quit akaidiot (Read error: 110 (Connection timed out))
00:06:12linuxstbPaul_The_Nerd, preglow: Can anyone quickly test an ipod patch for me?
00:06:41linuxstbI've added USB detection in the bootloader, but the apple firmware refuses to load. I haven't upgraded to gcc4 yet, so want to make sure it's not that problem again.
00:06:42lostlogicsteveb: gah, transcoding is the devil.
00:06:44Rob2222LinusN: The VM Pin is really wired to Vcc? (so only 4,1V?)
00:06:54linuxstbPatch here:
00:07:02steveblostlogic: i know. my bro gave me a load of songs. all in wma.
00:07:18stevebhe ripped them using windows media player and then gave the cd's back to his friend
00:07:23stevebonly at 128kbps as well
00:07:26Rob2222linuxstb: i have a ipod video an GCC3.4.5. can i help?
00:07:28stevebthe quality is a bit crap
00:07:58lostlogicouch. not sure what I'd do with that situ.
00:08:37linuxstbRob2222: Not really. I'm in the process of compiling gcc 4 now, so I can test it myself soon.
00:09:09XavierGrha linuxstb: I just saw a goto. All programmers I've dont like goto, but I think it's pretty usefull sometimes.
00:10:15lostlogicXavierGr: there are quite a few gotos in embedded applications like rockbox where performance counts.
00:10:17linuxstbXavierGr: That's the first goto I've ever used in a C program.... I may remove it before committing.
00:10:46Rob2222can i merge a diff file with patch?
00:11:02LinusNRob2222: no, check what i said around 23:16
00:11:11Rob2222linuxstb: it doesnt work with gcc345?
00:11:15amiconnSometimes goto can be useful (there are some of them in rockbox code; I added one or two), but it should be used very carefully
00:11:28XavierGrlinuxstb: Haha, well I like gotos for their simplicity.
00:11:32Rob2222LinusN: I read that, only wanted to make sure
00:11:51Rob2222OK, so you checked that twice.
00:12:29 Part Midgey34
00:13:35linuxstbRob2222: I'm trying to detect the precense of USB in the ipod bootloader, but if I do it, then the apple firmware refuses to load. I want to check if it's a gcc 3.4.x bug, or if the apple firmware just doesn't like the usb being initialised - which is possible.
00:14:06 Join webguest89 [0] (
00:14:19Rob2222ah ok
00:15:56 Quit Skydemon ("bye bye")
00:16:06 Quit einhirn (Read error: 104 (Connection reset by peer))
00:16:35Rob2222when setting up a crosscompiler with gcc 4 next to my running gcc345, i need to recompile binutils, too. right?
00:16:56LinusNdamn, i can't find where vid1 is connected...
00:17:22Rob2222maybe its driven by another chip?
00:18:28Rob2222hadnt had the PCF outputs, too?
00:18:51lostlogiccould be the USB controller chip by phillips drives that?
00:19:44Rob2222LinusN: Have you checked the PCF GPOs?
00:20:35NightCatSomebody help?
00:20:53NightCatI have some errors... I mean a lot of errors in plugin.c file...
00:21:07NightCatWhen building RB...
00:21:17NightCatCould someone explain it?
00:21:29NightCat(I update cvs just now...)
00:21:53lostlogicNightCat: do you have conflicts?
00:22:00LinusNRob2222: i have checked nearly every damn component on the pcb
00:22:37stevebwhat does result: -5 mean?
00:22:41LinusNi'll find it eventually
00:22:41NightCatlostlogic: When I run make in my build folder there are a lot of errors in plugin.c
00:22:53lostlogicNightCat: when you did the cvs update were there conflicts?
00:22:59LinusNsteveb: in the boot loader?
00:23:11NightCatlostlogic: Oh, no, I think...
00:23:11stevebit says that for about 1/10 of a sec before turning off
00:23:24peturNightCat: did you do ../tools/configure again?
00:23:25LinusNsteveb: checksum fault
00:23:32Rob2222LinusN: Wire 220V on the Pin and continue tapping with the fingers on PCB until you find it. :D
00:23:34NightCatpetur No
00:23:34stevebLinusN: checksum on what?
00:23:39stevebthe firmware?
00:23:43LinusNsteveb: the rockbox.iriver file
00:23:47stevebah ok
00:23:52stevebthat is fixable.
00:23:52LinusNwhat model number does it say?
00:24:08peturNightCat: try it, then do make clean, then make
00:24:08NightCatsteveb: rockbox.iriver is bad!
00:24:19NightCatpetur: Ok
00:24:32LinusNRob2222: wonderful idea
00:24:54Rob2222sorry. only tried to get you a little more happy ^^
00:25:21NightCatRob2222: :) :) :) :) :) :) :)
00:25:29Rob2222I would search too, if i had a 2nd H300
00:26:01XavierGrWell I just ordered mine so you will have to wait one week or so... :)
00:27:40Rob2222but it should work... ^^
00:27:53lostlogicI'm gonna have to go out and get a multimeter on my way home so I can play.
00:28:20Rob2222i would be feared to damage the pcb with the MM pins.
00:28:31Rob2222on my main unit
00:29:45lostlogicyeah, I have my broken one to play with :-D
00:30:12stevebwooooooooo hooooooo
00:30:15stevebit works
00:30:17steveblove you all
00:30:18Rob2222didnt you RMAed it?
00:30:30Rob2222steveb: installed RB fist time?
00:30:52stevebRob2222: finally got it working for the first time yeh
00:31:03Rob2222huh. now you have RB.
00:31:03lostlogicRob2222: no, was out of warranty, and an international model, and I broke it my own damn self so that would be unethical.
00:31:10stevebnow how do you use this thing?
00:31:14Rob2222should be a 2nd birthday in future :)
00:31:21Rob2222at least it was for me
00:31:30Rob2222never an DAP without rockbox again
00:31:40Rob2222you could start with ...
00:31:41LinusNsteveb: what was the problem?
00:31:43Rob2222playing an MP3
00:31:57Rob2222or playing a gameboy color game ;)
00:31:59stevebLinusN: dunno. screwed up rockbox.iriver i guess. i just copied over again
00:32:01steveband it worked
00:32:14Rob2222disconnected usb to fast, heh? ;)
00:32:27stevebi think it was just the shitty pc's at uni before
00:32:38stevebthey dont even have usb2
00:32:45stevebit took forever to copy them!
00:33:04LinusNsteveb: what about the failed firmware update?
00:33:14stevebLinusN: probly the same reason
00:33:25stevebcrappy pc's meant that the firmware didnt patch properly
00:33:26amiconnSpeaking about rockboy - when I tried last time, I noticed that (now that sound is enabled) rockboy emits an unpleasant noise at startup
00:33:30amiconnIs that known?
00:33:35stevebi got a working one from NightCat
00:35:09steveboh now come on. putting an option saying "Debug (Kepp out!)" is just ASKING for me to go snooping :(
00:35:15 Quit perplexity (Read error: 110 (Connection timed out))
00:36:09stevebwhat does the battery test plugin do?
00:36:33NightCatIt does nothing on H300 I think...
00:37:19XavierGrIt cycles data from the buffer and the disk I think and then tells you various about your battery, but I am not sure. If you want to test your battery wait for the battery_bench plugin.
00:37:59Rob2222i should bench my battery tonight
00:38:05amiconnThere is an echo in here ;)
00:38:17 Join ashridah [0] (
00:38:18Rob2222tomorrow is coming my 2200mAh battery hopefully
00:38:28Rob2222hehe amicon
00:38:34XavierGramiconn: But this plugin is only useful for archos devices, right?
00:38:50Rob2222at least i didnt know how to use that plugin
00:38:51amiconnWell, it's not really useful on archos either
00:39:16Rob2222should be useful to compare 2 batteries, right?
00:39:27XavierGrYou should test my plugin on your ondio one day to see if it will work on a flash player.
00:39:53amiconnIt simulates usage in a rather crude way, hardly resembling actual use.
00:40:01Rob2222XavierGr: youre worling on battery_bench?
00:40:11amiconnbattery_bench should be the replacement
00:40:23amiconnXavierGr: You said you're working on it atm?
00:40:23Rob2222whats the status of battery_bench?
00:40:29XavierGryup it is ready for some time now. Right now I add some minor things up.
00:40:50amiconnSorry, I forgot about it
00:41:06Rob2222XavierGr: could you send me the actual plugin for an iriver?
00:41:06XavierGrIt is quite finished, we were talking with Bger for some minor things, that I am working on right now.
00:41:09amiconnI should compile & test on archos when you're done with your fixes
00:41:27amiconn(both Ondio and disk-based)
00:41:32Rob2222would like to make a bench tonight, if tomorrow comes my new battery
00:41:37XavierGrUnfortunately current patch will not compile due to changes on CVS, but I will have a new patch in half an hour.
00:41:58XavierGrRob give me 20 minutes.
00:42:01Rob2222huh, you didnt need to make it now only for me!
00:42:40amiconnRunning benchmarks isn't a problem here, with 6 units I can always make sure to have a usable one while benchmarks are running
00:43:27Rob2222is battery_bench running in foreground?
00:43:35XavierGrRob one way or the other I will compile it to test it for me so...
00:43:39Rob2222lol amiconn
00:43:57XavierGryep, you can use your player fully as the plugin runs, though make sure to load another plugin.
00:44:03Rob2222XavierGr: ok, would be nice.
00:44:15Rob2222ah ok
00:44:22Rob2222is there a way to stop it gain?
00:44:23XavierGrnot to load another plugin I meant.
00:44:31Rob2222ah ok
00:44:39Rob2222so loading another plugin will stop ip
00:44:45 Quit ender` (" Anyone who thinks people lack originality should watch them folding roadmaps.")
00:44:50XavierGrif you load another plugin it will stop, or shutdown player.
00:44:59Rob2222damn, my keyboard doesnt write what i think
00:45:06Rob2222sounds really nice!
00:46:05nico__i come back ... with my ogg bug :
00:46:20 Join webguest19 [0] (
00:46:56webguest19err, what does the profiling committ do feature wise ?
00:47:31nico__i have 2 pc : one onwindows, the other on linux. file i haveencoded with windows work well but i can't read file encoded with linux
00:48:20nico__when i use the command 'file' on my ogg file encoded with linux, it say MP3 type
00:48:32webguest19are there readme files within that profile committ ?
00:48:50nico__but if i rename these file in .mp", i can't read it (with xmms)
00:50:06Rob2222<= knows nothing
00:50:40webguest19hmm, lostlogic ?
00:52:28 Join webguest57 [0] (
00:52:39 Part LinusN
00:52:52webguest19and LinusN escapes
00:52:52 Quit webguest57 (Client Quit)
00:52:59 Part NightCat
00:53:18webguest19my BO is obviously offense
00:54:20 Part webguest19
00:57:57***Saving seen data "./dancer.seen"
00:58:20 Join robguest18 [0] (
00:58:46robguest18but i am 27 ^^
00:58:50robguest18not 18
00:59:26 Part robguest18
00:59:35nico__do you know if there are some format off oggvorbis not compatible with codecs in rockbox ?
00:59:39 Join NightCat [0] (
01:01:34 Quit petur ("here today, gone tomorrow")
01:04:10XavierGrHmm interesting! The dircache will not always succed to see changes in the filetree.
01:04:20 Quit actionshrimp ("a bird in the bush is worth two in your house")
01:04:50XavierGrExample my plugin on start will create a log file. Sometimes dircache will show the file but other time it won't.
01:07:58XavierGrRob2222: Can I send you somewhere the .rock file and the firmware?
01:08:38NightCatWhat means HAVE_LCD_COLOR?
01:09:11NightCatIf I want my plugin builds only for H300 wich def shoud I use?
01:09:38NightCatIRIVER_H3XX_SERIES ?
01:10:28NightCatHey somebody :)
01:10:59 Quit Kohlrabi ("Fast alle Menschen sind Regenwürmer")
01:11:07XavierGrHAVE_LCD_COLOR means that the target has an lcd with color
01:11:18matsli need to catch up on new configure. Is the lang selection choice droped?
01:11:49matslwhat's the story?
01:11:50XavierGrbah no HAVE_LCD_COLOR inlcudes the grayscale too.
01:12:18XavierGror no I am wrong again.
01:12:56NightCatXavierGr: Then it'll be enoth to use IRIVER_H3XX_SERIES define?
01:13:32XavierGryes if such define exists.
01:15:15NightCat#define IRIVER_H300_SERIES 1
01:15:31NightCatThis string exists in config-h300.h
01:15:53matslNightCat: if I want another default language what am I supposed to do? Edit the makefile?
01:15:56XavierGrthen use it.
01:16:02NightCatOh IRIVER_H300_SERIES not an IRIVER_H3XX_SERIES :)
01:16:25NightCatmatsl: I think yes. But why?
01:16:56NightCatmatsl: You can always set it in the working RB options on DAP.
01:17:45 Quit linuxstb ("CGI:IRC")
01:18:43matslNightCat: I want to check my translation so I was used to setting the language to get right into it.
01:19:33matslNightCat: and I don't understand DAP
01:22:35 Join linuxstb [0] (
01:23:04Rob2222XavierGr: Simply DCC
01:23:07Rob2222does it work?
01:23:28linuxstbnico__: Can you upload that Ogg file to a web server somewhere?
01:23:48XavierGrFor anyone that is interested, here is the patch on the tracker:
01:24:22XavierGrRob: There you will find a rock file and the firmware download them.
01:24:36Rob2222you must mod the FW?
01:24:43Rob2222well, ill check the patch
01:25:15XavierGrIn order to make the plugin I added 2 functions in the plugin API and boosted the API_VERSION.
01:25:29Rob2222aha ok
01:25:29 Quit nico__ ("Leaving")
01:25:34XavierGrSo to run the rock you need a compiled firmware.
01:25:55 Quit San (Read error: 110 (Connection timed out))
01:26:07Rob2222is a .diff the same as a .patch?
01:26:19linuxstbXavierGr: I believe Rockbox only re-reads the directory if a plugin returns with the return value PLUGIN_USB_CONNECTED. Otherwise, it assumes the disk contents have changed.
01:26:36linuxstbI mean "... not changed."
01:27:06Rob2222hmm, i cant DL the diff file
01:27:33XavierGrI can't really see what you say. Many times the cache will show the newly created file even if my plugin didn't return a USB_CONNECTED.
01:27:40XavierGrRob let me check.
01:28:09NightCatSomebody knows, how to translate bmp picture to RB text format?
01:28:57XavierGrRob I just downloaded the patch file successfully.
01:29:50Rob2222hmm, ill try again
01:30:14linuxstbNightCat: What player are you using?
01:30:31Rob2222now it works. dont know what it was
01:30:45NightCatlinuxstb: H300
01:30:58linuxstb../tools/bmp2rb -f 4 myfile.bmp > myfile.c
01:31:17NightCatlinuxstb: Thx :) I'll try it now.
01:33:52 Nick BHSPitMonkey_ is now known as BHSPitMonkey (
01:35:27 Quit matsl (Remote closed the connection)
01:35:53 Join matsl [0] (
01:41:25Rob2222XavierGr: Do you know why the battery debug screen isnt usingthe whole screen at the h300?
01:41:49XavierGryou mean in the Debug menu?
01:42:03XavierGrWell I guess it hasn't yet ported to fit the size of the H300 screen.
01:42:19XavierGrThis was the case for the H100 at the start.
01:42:46XavierGrRockbox has a difficult time with all the ifdef for different targets.
01:43:06Rob2222yeah, THATS right
01:43:27Rob2222#define BAT_YSPACE (LCD_HEIGHT - 20) <= that should be the height
01:43:50XavierGrDoes my plugin works? Did you test it?
01:43:52Rob2222im thinking, if it can be that the power history hasnt more data in it.
01:43:57Rob2222i just compiled it.
01:44:12Rob2222i want to got to bed but my H300 doesnt finish ist charging cacle :(
01:44:20XavierGrso at least it applied cleanly, good...
01:44:52Rob2222compiled without a problem
01:45:07XavierGrPointer: When you start the plugin, please take the time with your watch too to see if there is a major error.
01:45:33XavierGrI don't think that there will be a great difference, I made 3 tests already.
01:45:48XavierGrBut this plugin is untested so it would be good to see more tests.
01:45:51 Join akaidiot [0] (
01:46:20XavierGralso when you finish your benchmark please submit your findigs... (wait ti find the link)
01:46:34Rob2222in the wiki?
01:46:36Rob2222will do so
01:46:58XavierGryes there is a wiki page for this, I just don't remember where.
01:46:59Rob2222shuffle or no shuffle playlist
01:47:10Rob2222for this test
01:47:13Rob2222i know where
01:48:02XavierGrMake sure to have reapet on an album more that 40-50 mb (to make sure the buffer will fill).
01:48:50XavierGrFor your first test. (I guess it will be a stress test) make sure to touch the player (backlight, or change of tracks) as little as you can.
01:49:09 Quit matsl (Remote closed the connection)
01:49:41XavierGrWhen you finish you see the battery_bench.txt for a complete history of many battery info over the time. (Voltage, Time, ETA before shut down, % battery time e.t.c)
01:49:42 Quit mikearthur ("Konversation terminated!")
01:49:49Rob2222XavierGr: can it be that its not good to load the plugin twice?
01:50:45Rob2222ive frozen my unit
01:50:48Rob2222with that
01:50:51XavierGrWell if you load the plugin a second time it will stop the first bench, though it will continue to log in the same file. (it will not overwrite previous data, it will reset the time counter and say benchmark resumed)
01:51:09XavierGropps let me check that.
01:51:31Rob22222nd tome
01:51:53XavierGrwell it worked quite fine for me now.
01:52:02Rob2222damn keyboard. i want a keyboard that types what i think and not what i type
01:52:28Rob2222im hanging at "loading"
01:54:28Rob2222maybe the problem using a own .iriver in a H300-opimized environment
01:54:39XavierGrI just reloaded the plugin 5-6 times with no problems.
01:54:48XavierGroh my god.
01:54:52Rob2222yes, i think the error is here anywhere
01:54:54XavierGrYou have an H300?
01:55:04XavierGrah okay
01:55:12Rob2222whats the problem?
01:55:18XavierGrfor one moment I thought you used my firmware.
01:55:27Rob2222h140? :)
01:55:37XavierGrso does it load the first time?
01:56:01Rob2222the text viewer hangs, too. as i tried to open battery_bench.txt
01:56:08Rob2222ill do a clean RB install
01:56:11XavierGrWell I thought that you have an H300 while you used the firmware for H140 in the link.....
01:56:46Rob2222good that i compiled for myself :)
01:56:49XavierGrQuite strange. I don't have any problem to load any plugin while running the benchmark.
01:57:04Rob2222i think the problem is here anywhere
01:57:06Rob2222not your code
01:57:31Rob2222so forget it
01:57:33XavierGrah okay, do you use a custom build with more features?
01:57:54 Quit mirak_ (Remote closed the connection)
01:59:20Rob2222sometimes the h300 optimized build
01:59:43Rob2222but atm im compiling my own build
02:00:21XavierGrok when you test it tell me if you have any problems.
02:02:00XavierGrGood thing is that with this plugin we will be able to compare battery times more accuratelly.
02:02:02Rob2222yep, will do so
02:02:27Rob2222shuffle and non shuffle should make no difference, or what do you think?
02:02:39XavierGrPeople will log their performance and we will be able to see what change in code causes bigger power consumption.
02:03:26XavierGrI think it shouldn't matter. A good shuffle will not have an effect on battery time, but I don't know how shuffle works in rockbox.
02:06:24 Join YouCeyE [0] (
02:26:28Rob2222why are the codecs and the rock of my own build not identical with the bleeding edge h300 build? its the same source?!
02:27:01XavierGrif you compiled mine they should be difeerent
02:27:31Rob2222all codecs?
02:27:38Rob2222and all plugins?
02:27:50XavierGrwell to tell you the truth I am not so sure.
02:28:02XavierGrdoes it work right now?
02:28:16Rob2222didnt tested, yet
02:28:33Rob2222was installing RB new
02:28:39Rob2222on the player
02:28:43Rob2222damn different version
02:28:53Rob2222cant decide, which to take
02:32:03 Quit TCK (Read error: 104 (Connection reset by peer))
02:32:06Rob2222hmm, freezing again
02:32:11Rob2222let me take a clean build
02:32:49XavierGryou have an h140 you said right?
02:33:07XavierGrah then no go.
02:33:20Rob2222building from actual CVS + your patch
02:33:34XavierGrit will freeze the second time you load it?
02:34:30Rob2222but give me some seconds
02:34:42Rob2222maybe something was wrong with the build
02:37:50NightCatHow to calculate strings in C? "qwe" + "rty" = "qwerty" or "qwe" . "rty" = "qwerty"?
02:38:43XavierGrno use strcat, or strcpy
02:38:54XavierGrsearch google on details you will find many.
02:38:57 Join JdGordon [0] (
02:39:17Rob2222XavierGr: : the strange thing is, all rocks and codecs are not identical
02:39:21NightCatHm, i'll thought it'll be simple :)
02:39:37Rob2222binary compare of my build and latest bleeding edge
02:40:08XavierGrrocks should be different
02:40:19XavierGrI don't know about codecs though
02:40:19Rob2222maybe its a compiling timestamp
02:42:06XavierGrnow that I think of all should be different.
02:42:37XavierGrbecause I changed something plugin.c and plugin.h , powermgmt.c and .h
02:43:27Rob2222maybe they are different because i changed the fore and background color
02:43:30Rob2222that could be
02:43:47Rob2222ah yes
02:43:50XavierGrbut you said it was a clean CVS build
02:43:59Rob2222only the color change
02:44:25XavierGryeah it shouldn't matter nontheless
02:44:26Rob2222didnt thought that the color can have influence in the codecs
02:45:46Rob2222so i have now installed the latest bleeding zip on my player
02:46:00Rob2222and the .iriver .rocks .codecs of that build
02:46:22Rob2222and i cant load another plugin when battery_bench is running
02:46:34Rob2222just tried cube.
02:46:37XavierGrit will crash?
02:46:47Rob2222cube (ok) => battery bench => cube
02:46:53Rob2222loading stays there
02:47:04Rob2222but backlight timeout still works
02:47:06XavierGrcrap I don't know
02:47:19XavierGrI will get a dev tomorrow to see this.
02:47:25Rob2222well i have no problem wit that behaviour atm
02:57:34stevebanyone here use the sudoku plugin?
02:57:58***Saving seen data "./dancer.seen"
02:59:40linuxstbI wrote it...
03:00:25stevebcan you load games?
03:00:38stevebor do you just have to like... do it yourself
03:02:03 Join San [0] (
03:03:13linuxstbYes, you can load games. Just select a ".ss" file in the file browser, and that file will open in Sudoku. See this page:
03:04:13 Quit akaidiot (Read error: 110 (Connection timed out))
03:04:16linuxstbUse Sudoku as a "viewer" for .ss files is the way it is intended to be used. The "plugin" mode of Sudoku is just for manually creating a new game - e.g. copying it from a newspaper.
03:05:39stevebah gotcha :)
03:05:42stevebthats awesome
03:05:52stevebyou realise that i might fail all my exams now because of you?
03:06:06stevebi hope you can sleep at night
03:10:29Rob2222XavierGr: The only bad thing is i may not view the battery_bench.txt. ^^
03:22:03NightCatI know, I'm kinda stupid, but I can't understand: how can I get string = string + int + string?
03:22:40NightCatFor ex.: "Start: " + 5 + "sec." = "Start: 5sec."
03:25:46 Join JoeBorn [0] (
03:26:42linuxstbNightCat: Use "snprintf"
03:27:03linuxstbi.e. snprintf(buf,sizeof(buf),"Start: %dsec.",sec);
03:29:10NightCatlinuxstb: After other programming languages C seems to be very strange for me...
03:29:30linuxstbAfter C, other programming langueags seem to be very strange for me...
03:30:11NightCat:) For ex. I can't understand, why not to use just "dferf" + "erfer" like pascal or "regbver" . "reger" like PHP...
03:30:45XavierGrRob: You can view it after you shut off your DAP. Connect it to your PC and open the text_file from the PC.
03:31:11linuxstbNightCat: Because C is designed to be very close to how computers actually work - it doesn't hide any of the low-level details from you like other languages.
03:32:01NightCatI had noticed that already :)
03:36:45 Join lenny [0] (
03:38:06lennyquick question... I'm using the rockbox devkit and is there a pernament way to set an environmental variable (ie "export CVSROOT=......") so that when I boot it back up it's still set?
03:40:08ashridahlenny: if you're using cvs co, it should be able to draw the value for that from the checkout itself
03:40:27ashridah(the CVS directory contains files that set what CVSROOT should be)
03:42:00lennybut when I close the command prompt and open it back up, it doesn't know CVSROOT anymore
03:42:10 Join amiconn_ [0] (
03:42:59 Join Maxime` [0] (n=flemmard@
03:43:32lennyand how do I set CVSROOT via the CVS directory? sorry I'm new to cvs
03:44:18lennyI see the "Root" file has the server....
03:45:53ashridahlenny: it should just do it, provided you don't override it on the command line
03:46:14 Quit Maxime (Read error: 104 (Connection reset by peer))
03:47:15ashridahyou should just be able to run 'cvs up' in the 'rockbox' directory and it should start updating without CVSROOT set
03:48:28lennythanks ashridah got it
03:51:33 Join gtkspert [0] (
03:59:01 Quit amiconn (Read error: 110 (Connection timed out))
03:59:01 Nick amiconn_ is now known as amiconn (
04:06:43 Part lenny
04:06:51 Join Maxime [0] (n=flemmard@
04:06:51 Quit Maxime` (Read error: 104 (Connection reset by peer))
04:10:26 Quit NightCat (Read error: 104 (Connection reset by peer))
04:10:36lostlogic800kohm resistance between system vdd and the AC adapter.
04:10:44lostlogicI'm so glad I bought a multimeter.
04:17:26XavierGrwhat did you find?
04:17:52 Quit webguest89 ("CGI:IRC (EOF)")
04:18:13 Join joshn_454 [0] (
04:18:26 Join Membrillo [0] (
04:19:39XavierGranyway have to sleep, I have exams in 5 hours
04:24:51Membrillowhats HD DVD?
04:25:07Membrilloand BluerayDiscs?
04:26:54Membrilloanyone know?
04:28:29lostlogicHD-DVD and Bluray are two competing technologies for the next generation of optical disc format
04:29:37Membrillowhat benefits do they have above each other and in comparison to DVDs?
04:29:55lostlogic3-5x the capacity of dvd in the first generation
04:29:58lostlogicI forget the comparisons
04:30:21Membrillowell that doesnt sound bad to start off with
04:32:47Membrilloare they physically different?
04:34:19Membrillolarger? thinner? thicker? smaller diameter?
04:34:56lostlogicnot a clue, but I bet google know.
04:35:19Membrillogoogle is the einstein of search engines
04:38:46 Join NightCat [0] (
04:40:26NightCatIf I want to cut the string how can I do this? For ex.: string "56 67 12" = "56", "67", "12"?
04:40:48lostlogicstrtok I believe
04:40:54lostlogicor sscanf
04:41:33NightCatThere is no such functions for plugins...
04:41:35Membrillostrtok sounds familiar
04:41:50lostlogicnightcat: no rb->strtok?
04:42:17NightCatIn plugin.h no strtok function declared...
04:42:43NightCatOr I don't understand something again?
04:43:01lostlogicmight have to tokenize it manually using strrchr
04:43:14NightCatNeither strtok nor sscanf...
04:43:16lostlogicand strchr
04:43:31NightCatThere is strchr.
04:43:50lostlogicyeah, strtok could be exported... it's in rockbox source
04:44:43NightCatBut how to use it? I mean in Pascal for ex I just doing like that dest := copy(sourc,begin_pos,symbols_count)...
04:44:47 Join akaidiot [0] (
04:45:24lostlogicstrcpy is in the plugin api
04:45:35lostlogicso you could declare new buffers to put the result strings into
04:46:20lostlogicwhat are you working on?
04:47:56NightCatI just trying to understand some C. Now I makeing a function wich will load a level (it will be a game) from file to 2D array...
04:48:33NightCatI have a file And i get it in my plugin with read_line.
04:49:08NightCatEvery line looks like this: 11111 11111 11111 11111
04:49:41NightCatI mean Elements is divided by whitespaces
04:49:58lostlogicsure, but that's an obvious machine readable format, there is no need to really tokenize, just read the first 5 characters into array[0][0] and then skip one and read the next 5 into array[0][1]?
04:51:22NightCatIt's an exit (or how it will be in english) but i was looking for something more simple.
04:51:53lostlogic'an exit' <−− don't understand :(
04:53:28NightCatExit of this situation, the decision of the problem
04:53:46NightCatYes :)
04:54:14lostlogicyeah, a lot of the 'nicer' functions aren't available in rockbox because of the limitations of the embedded platform (sscanf would be how I'd do it in a 'bigger' C program)
04:55:30NightCatI know it's an influence of Pascal... :) (In Russia we have such expression: "Exit of the situation" = solution :))
04:55:44lostlogicmakes sense.
04:56:12lostlogicI seem to keep running into russians lately. like 1/2 of my team at work was born somewhere in the former soviat.
04:56:59NightCatlostlogic: Where are you from?
04:57:13lostlogicChicago, Illinois, USA
04:57:18NightCatOh :)
04:57:39NightCatI want to went to USA somewhen...
04:58:00***Saving seen data "./dancer.seen"
04:59:13NightCatI have a website and it's based somewhere in Scranton...
05:00:02lostlogicis that a place in the US?
05:00:29 Quit gtkspert (Read error: 104 (Connection reset by peer))
05:00:46NightCatlostlogic: Yes
05:01:05NightCatI think I typed wrong...
05:01:23lostlogicThere appears to be a town called Scranton in Pennsylvania
05:02:02NightCatYes that is it :)
05:02:34lostlogic:) −− I was born in Pennsylvania, but only lived there until I was about 3 years old.
05:03:29JoeBornlost: whereabouts in Chicago?
05:03:37lostlogicJoeBorn: lakeview
05:03:49JoeBornoh, I'm in Lincolnwood
05:04:00NightCatHeh, And I was born in St.-Petersburg lived there about 2 years
05:04:22NightCatThen 1 year in Germany (Berlin)
05:04:42lostlogic*nod* I'm a city type :)
05:04:48NightCatAnd now again in Russia :)
05:04:58lostlogiccool −− what all languages do you speak?
05:05:43NightCatUnfortunately I speak only Russian and some English...
05:05:54 Join Jungti1234 [0] (n=jungti12@
05:05:56JoeBornlost: I'm kind of a city type too, just not living there right now.
05:06:27NightCatI live in a small town now But I love it :)
05:06:33lostlogicNightCat: it's all good −− you speak more languages than I do, I speak English and a tiny bit of Spanish
05:07:29NightCatHehe :) It is a big center of metallurgy (SeverStahl)... That is all
05:07:33 Join Rob2222_ [0] (
05:07:53NightCatAh, and it is about 600 km far from Moscow :)
05:08:27lostlogicdo you visit moscow often?
05:09:20NightCatI think "often" is not the right word... I have relatives and friends there.
05:09:30lostlogicso 'sometimes' perhaps?
05:09:37NightCatMy sister lives in Moscow.
05:09:48NightCatYes sometimes.
05:10:40NightCatI think I'll go to MSC this summer :)
05:11:07NightCatMSC = Moscow :)
05:11:24lostlogicthought it might be, wondered if it was something _in_ Moscow though.
05:12:27*lostlogic waves
05:13:07NightCatWhat means "waves" (I know translation but...)?
05:13:43NightCatIt something related with "swim"?
05:13:54lostlogicit's a hand gesture −− a salutation, open hand, usually palm out, 'waved' back and forth in greeting.
05:14:23Jungti1234I understood it using translation. :)
05:14:28NightCatOh :) Now I know :)
05:14:52lostlogicSame gesture work in Russian? :)
05:15:56Jungti1234Moscow is cold.
05:17:07NightCatWe have about -30 Celsii...
05:17:15lostlogicouch, yes it is! 31C colder than here
05:17:34NightCat17 degres farenheit yes?
05:17:41Jungti1234Seoul is livable!
05:17:52lostlogicit's ~33F here...
05:17:57lostlogic-30C is -23F
05:18:11NightCatlostlogic: Hm - strange...
05:18:25 Quit Rob2222 (Read error: 113 (No route to host))
05:18:44Jungti1234Seoul is 5.6C now.
05:18:48NightCatlostlogic: We have 0 a couple of days ago... But now...
05:18:56lostlogicman, that's cold.
05:19:06lostlogicIt almost never gets that cold here in Chicago
05:19:20lostlogicJungti1234: no, yours is fairly comfortable ;)
05:19:44NightCatlostlogic: I don't like winter much but... I have to live :)
05:19:58lostlogicNightCat: I wouldn't either if my winters were as cold as yours. I like winter here.
05:20:15Jungti1234Jeju is 10C.
05:20:36Jungti1234It's not the winter!
05:21:01NightCatWhen we have 0 in Novosibirsk was about -45C (a couple of days ago)...
05:21:08Jungti1234It's spring temperature.
05:21:10NightCatNovosibirsk - Russia
05:21:40NightCatlostlogic: What about time?
05:21:44lostlogicwhere is that coooollllddd place?
05:21:52lostlogicthe time here? 22:21
05:22:05lostlogicyou are .. 11:21?
05:22:09NightCat:) 7:22
05:22:13Jungti1234The Russia is much cold.
05:22:17lostlogicgah, very early there.
05:22:23Jungti1234here is 13:22
05:22:29NightCatI was here all night :)
05:22:43NightCatThat is why "NightCat"
05:23:02lostlogicI'll be heading off to bed within 1.5hr, have to work 0900-1700 every day
05:23:21dpassen19-5, eh? me too
05:23:38NightCatAnd I'm a student...
05:23:46Jungti1234You work so a little.
05:24:05lostlogicJungti1234: am lucky, have a good job.
05:24:21NightCatlostlogic: How it will be: the time when students passes their exams?
05:24:31Jungti1234Koreans work to 8-18(~24).
05:24:58lostlogicJungti1234: I used to work 8-18 at my last job
05:25:07lostlogicNightCat: hmm... final exams?
05:25:19lostlogicor the time between exams and next semester?
05:25:19NightCatNot final...
05:25:51lostlogicso what are you doing working on rockbox if it's midterms for you???
05:25:52NightCatI studying in the university...
05:26:13NightCatlostlogic: Cause I'm a programmist :)
05:26:37NightCatAnd it is my creed.
05:27:06lostlogicare you studying computer science (programming) at university?
05:27:34 Quit Membrillo ()
05:28:15NightCatYep: Institute of management and information technologies. Faculty of applied computer science in economy.
05:28:39Jungti1234Starcraft 1.13f patch released!
05:28:45NightCat(And i'm working in a small computer firm since 15)
05:30:16NightCatJungti1234: What are you talking about?
05:30:31lostlogica game...
05:30:56NightCatlostlogic: I now this game but why here and now :)
05:31:07Jungti1234Don't you know starcraft?
05:31:14NightCatJungti1234: fan?
05:31:33Jungti1234I don't understand
05:31:40lostlogicMy head hurts thinking about you two communicating through two layers of translation :-\
05:31:49NightCatJungti1234: Are You a fan of this game?
05:32:01Jungti1234A little .
05:32:17NightCatlostlogic: It's ok :)
05:32:27Jungti1234Korean likes most starcraft.
05:32:49Jungti1234-> most korean likes starcraft.
05:32:50NightCatlostlogic: Did you know a thing named Skype?
05:33:05NightCatJungti1234: :)
05:33:06lostlogicI have heard of it, but never used it.
05:33:30NightCatlostlogic: It's like ICQ but made for voice talking.
05:34:08NightCatlostlogic: Some time ago a use it to talk to different people around the world :)
05:34:32NightCatlostlogic: And it was very funny :)
05:34:33lostlogicNightCat: yep, I know people that use it, I tend to prefer typing to communicate, because I type faster than I speak
05:34:36lostlogichahah, I bet
05:36:24NightCatMoreover my sister tryed to do this too :) (She don't know English at all) :)
05:36:43NightCatAnd it was really funny :)
05:37:33lostlogichahaha, I have enough trouble talking to people from England or Australia :-P
05:37:38NightCatEnglish is a good language I think... I don't like German...
05:37:51Jungti1234I like Korean!
05:38:40Jungti1234I don't English because I do Korean.
05:38:45NightCatlostlogic: I have one talk with Korean man who live somewhere in the Atlantic ocean (he works policeman there)
05:39:09Jungti1234There is problem when speak with you.
05:39:26NightCatJungti1234: What you mean?
05:39:46lostlogicEnglish is ... a useful language. It is very direct and can be used to communicate with few words and few sylables. It is however stupid, lacking in rules, and in other ways irritating.
05:39:53lostlogicI really like Spanish, and wish I knew more of it
05:39:55Jungti1234Is problem as it does English.
05:40:16Jungti1234I don't well English.
05:40:29NightCatIs there in English phrase "To play the fool"?
05:40:43Jungti1234The Korea speaks only Korean.
05:40:56NightCat(It means to spend time in vain, yes?)
05:41:01lostlogicJungti1234: nobody there knows English
05:41:10NightCatJungti1234: Why?
05:41:35lostlogicNightCat: hmm, to play the fool in English seem to mean to pretend not to understand in order to draw another out
05:41:45Jungti1234English is no necessity to talk with Koreans.
05:42:20NightCatlostlogic: Ah, I understand - stupid translator...
05:42:31Jungti1234Korean studies English. Don't learn English.
05:42:35NightCatlostlogic: Moment...
05:42:44Jungti1234It's foolish act.
05:42:59lostlogicNightCat: How do you study English and not learn?
05:43:40NightCatI was studying it at school...
05:44:16NightCatBut I think there was not very much material :)
05:44:16lostlogicsorry, that was addressed to Jungti1234
05:44:28lostlogicNightCat: are you using a translating program to help you speak in English here?
05:44:29NightCatOh :)
05:44:48Jungti1234I use.]
05:44:56NightCatSometimes with hard to understand words...
05:45:16Jungti1234'Language' doesn't study.
05:45:42NightCatI think the main in language is vocabulary.
05:46:08lostlogicNightCat: for only communication yes. but to really speak a language fluently you need much more.
05:46:26Jungti1234But, Korean school teaches syntax.
05:46:46NightCatlostlogic: You're right...
05:47:12 Join bagawk [0] (
05:47:25NightCatFor ex. RB helps me to learn English :)
05:47:39lostlogichehe :)
05:47:40Jungti1234me too hehe
05:47:46Jungti1234I used google translation first time.
05:47:56Jungti1234It's broken.
05:48:15Jungti1234People didn't understand my speech.
05:48:31Jungti1234I changed translation program.
05:48:42NightCatAll machine translators are bad translators...
05:48:50lostlogicsome worse than others
05:48:59Jungti1234Now, people understand few my speech.
05:48:59lostlogicwe can understand Jungti at least now ;)
05:49:18Jungti1234hehe :D
05:49:28NightCatAnd what about fool?
05:49:42NightCatTo play a fool and to ... a fool...
05:49:59lostlogicdon't follow.
05:50:11Jungti1234What meaning is it?
05:50:28NightCatWe also have phrase "to play a fool".
05:50:35NightCat(I am about phrases :))
05:51:03Jungti1234Are you fool? :P
05:51:16NightCatNo :)
05:51:52NightCatBut we have phrase connected with fool wich means to waste time...
05:52:06lostlogic"Fool around"?
05:52:28lostlogic(of course "fool around" can mean something else ... between a couple)
05:52:37NightCatIt is about wasteing of time?
05:52:52lostlogic"fool around" or "goof off" are wasting time
05:53:21NightCatOh yes, my translator translates it :)
05:53:32lostlogichehe :)
05:53:34NightCattranslates = translated...
05:54:26NightCatTo play a fool = \. fool around = .
05:55:02lostlogiclol... russian characters... don't show up well in my terminal.
05:55:05lostlogicJungti1234: what is that post about???
05:55:08NightCatJungti1234: Very funny :-/
05:55:27NightCatlostlogic: I think about Korean :)
05:56:43Jungti1234H300 LCD's problem.
05:56:46NightCatIt's my website :)
05:57:03Jungti1234It's serious problem in the Korea.
05:57:12Jungti1234 ??
05:57:12NightCatJungti1234: What problem?
05:57:12lostlogicwho's the picture?
05:57:26NightCatlostlogic: It's I :)
05:57:31lostlogicJungti1234: I wonder if it was the early release in Korea only that got the bad LCDs...?
05:57:39lostlogicNightCat: and who's the pretty lady???
05:58:16NightCat ?
05:58:29Jungti1234H300 LCD is problem.
05:58:42Jungti1234I talked it before.
05:59:06Jungti1234 <- Who is this person?
05:59:14lostlogichaha, yeah
05:59:37NightCat ? It is just a picture :)
05:59:40Jungti1234 ???
06:00:14Jungti1234٬ެج߬ ڬڬ߬
06:00:28Jungti1234I don't know Russian.
06:00:50NightCatYou doesn't need it :)
06:01:18lostlogicNightCat: you have some very personal information on your site
06:01:19NightCat - I am.
06:01:31NightCat - Just my website.
06:02:11Jungti1234Very young.
06:02:44NightCatIt's an service of acquaintances (my websait). I'm 18.
06:03:09NightCatlostlogic: You know Russia?
06:03:16lostlogicNightCat: used a translator
06:03:18NightCatlostlogic:Or use translator?
06:03:22NightCatOk :)
06:03:44NightCatlostlogic: yes cause it's an service of acquaintances.
06:03:53Jungti1234I'm 17
06:04:02NightCatlostlogic: I did it myself when learning PHP.
06:04:05 Quit akaidiot (Read error: 110 (Connection timed out))
06:04:40Jungti1234I know a little HTML and PHP.
06:04:41NightCatYes PHP MySQL CSS HTML JS
06:04:47Jungti1234CSS too
06:05:20lostlogicNightCat: :) not bad... you're also tiny, if I'm converting metric to stupid english units right.
06:05:41NightCatlostlogic: In PHP there are a lot of buildin functions for working with strings :)
06:06:02lostlogicNightCat: of course, it's for building websites, which are essentially big strings.
06:06:08NightCat1,65 in metric.
06:06:23lostlogicI believe I'm 172cm
06:06:26NightCata second
06:06:29DreamTactix291I'm 175cm
06:06:33Jungti1234I'm 180
06:06:51lostlogickoreans for the win!
06:06:52NightCatDreamTactix291: Hi :)
06:07:15DreamTactix291metric ftw
06:07:16NightCatAnyone else?
06:07:17lostlogicand uhh I'm 68.5kg
06:07:23DreamTactix291i'm 58kg
06:07:30NightCatI'm about 56...
06:08:00NightCatPeople, I think we have to save the histori of IRC today :)
06:08:04lostlogichaha, and we've officially reduced #rockbox to Just Another Chat Room recently.
06:08:05Jungti1234hey.... :)
06:08:12DreamTactix291nothing wrong with that
06:08:13Jungti1234I'm 85kg -_-
06:08:23DreamTactix291and besides important stuff still gets discussed
06:08:37lostlogicJungti1234: I'll have to remember that you're bigger than me. :-P
06:08:43DreamTactix291yeah same here
06:08:48DreamTactix291my brother is a lot bigger than me
06:08:58lostlogicDreamTactix291: have you tried out my AB-repeat for swcodec patch?
06:09:26DreamTactix291188cm and 104kg
06:09:34DreamTactix291lostlogic: nope
06:09:45DreamTactix291my brother
06:09:51DreamTactix291younger brother
06:10:14lostlogic <−− but _I_ carry a sword.
06:10:30lostlogic(you can't see them, but I'm on inline skates in that pic)
06:10:46 Join aliask [0] (
06:10:52DreamTactix291i have a pic of me and my girl
06:11:07Jungti1234hey NightCat
06:11:10lostlogicDreamTactix291: gah, what have I missed... last time I really talked to you, you swore you'd never have a girl...
06:11:24lostlogicdt: 404
06:11:27Jungti1234 = ???
06:11:36NightCatJungti1234: What?
06:11:39DreamTactix291added directory accidentally
06:11:51lostlogicJungti1234: left.jpg is just a stock image
06:12:14Jungti1234DreamTactix291: Are you woman?
06:12:18NightCatJungti1234: NO
06:12:28DreamTactix291i'm male
06:12:30DreamTactix291i just have long hair
06:13:06lostlogicdamn dude, your girl is a cutie −− you go!
06:13:11Jungti1234I see they are woman.
06:14:04DreamTactix291i think she's cute too :P
06:14:35DreamTactix291either she's really young or i'm just getting old
06:15:06NightCatEm... This is my girlfriend:
06:15:51NightCatThx :)
06:16:01DreamTactix291my girl is only 18 lol
06:16:19lostlogicI swear... russian chicks... I gotta learn russian.
06:16:20NightCatAnd my is 17
06:16:33lostlogicDT: How old are you?
06:16:35DreamTactix29117 is illegal for me where i live
06:16:37DreamTactix29122 in 2 days
06:17:45NightCatlostlogic: Come on a visit :)
06:18:01lostlogic (as long as we're doing girls pics)
06:18:04lostlogicNightCat: :)
06:18:12Jungti1234NightCat: She is beautiful
06:18:16lostlogicNightCat: some day I'll manage to get off of this continent.
06:18:26DreamTactix291lostlogic: same for me
06:18:34NightCatlostlogic: Let me know.
06:18:53DreamTactix291on a completely unrelated note Symphony X owns
06:19:11lostlogicDreamTactix291: whadat? Have you heard ChronoSymphonic? _it_ pwnz
06:19:28DreamTactix291Symphony X = prog metal band
06:19:35DreamTactix291actually kinda similar to Dream Theater but heavier
06:21:09NightCatOk, people I was very pleased to talking with all of you (especially lostlogic) but i have to go... Sometime so we shall goof off again (talk about something)!
06:21:27lostlogicsleep well nightcat
06:21:33NightCatThx :)
06:22:00DreamTactix291night NightCat
06:23:04 Part NightCat
06:23:37Jungti1234Are all Europeans sleeping?
06:24:43lostlogicit's like 5am there, so probably.
06:25:31Jungti1234Paprica, Why your nickname is '^Guest37784'? :P
06:30:57 Join lennyk [0] (
06:33:10lennykhey everybody. here's my story. I've been trying to patch a build and build it, but it only seemed to have taken effect when I used the source off the daily build page. when I did a cvs checkout, after building and loading it on the target it was clear the build was not patched. any ideas what I did wrong?
06:33:54lostlogiclennyk: patch a build in what way?
06:35:27lennyklostlogic: "patch -p0 −−binary < ~/patchfile.patch" and then IF it asked me for what file to patch I directed it to apps/filetobepatched.c (from the
06:35:41lennykdirectory below apps)
06:36:22lostlogicand you build and build zip and unzip onto the target?
06:37:02lennykI must have done something wrong, it's just strange that with the same steps it worked with a daily build source but not with a cvs checkout source
06:37:18lostlogicif you do a cvs diff from your CVS checkout dir, does it show the right files changed?
06:37:52lennykI've never made a diff... what do type
06:37:53 Quit lennyk ("CGI:IRC (EOF)")
06:37:53 Quit stamppot ("CGI:IRC (EOF)")
06:38:44lostlogiccvs diff
06:39:57Jungti1234He exited
06:39:59 Join lennyk [0] (
06:40:13lennykback you said "cvs diff"
06:41:17lennyki'll try it. it'll be a minute. don't have the cvs checkout files anymore
06:42:42Jungti1234I did easily it.
06:50:31 Quit Jungti1234 ()
06:55:39lennyklostlogic: well, thanks but apparently it worked this time. it was obviously my fault although I have no idea what I did this time that I didn't do the the first five times. Thanks
06:58:01***Saving seen data "./dancer.seen"
07:02:37 Join Jungti1234 [0] (n=jungti12@
07:04:29 Part lennyk
07:04:35 Quit ashridah (Read error: 110 (Connection timed out))
07:07:11 Quit RotAtoR ("zzzzzzzz")
07:26:30 Join Membrillo [0] (
07:28:43Membrilloat what voltage does rockbox shut down the player on H3xxs?
07:28:49Membrillofor low battery?
07:30:16Membrillomy player is acting very peculiarily then
07:30:16lostlogicis considered dangerous where the disc has a hard time spinning up
07:30:26lostlogicare you running H3x0 optimized? and howso?
07:34:04Membrillowell i had my player running for a couple of hours and it was at 3.82v. All of a sudden it turned off randomly. Holding down play wouldnt do anything. I then held down record and play and the original firmware started. I shut down the original firmware and held play. Rockbox started but after about 5 seconds it shut down again. I then held record and play again to make sure i could access the original firmware and the rockbox bo
07:34:45lostlogicold battery? new battery? anything bad happen to battery recently?
07:35:07Membrillooriginal untouched battery. nothing happened to it. working fine. H3xx optimized build
07:35:16Membrillowas working fine that is
07:35:18Jungti1234hey Membrillo
07:35:30Membrillowhat bug?
07:35:40Membrillothere is a battery bug?
07:36:23lostlogicMembrillo: very weird.
07:36:40Jungti1234zip doesn't auto unzip.
07:36:42Membrilloshould i stop it charging and see if rockbox will boot?
07:36:57MembrilloJungti1234: doesnt it?
07:36:58lostlogicI would boot into iRiver firmware and let it charge for a while
07:36:59Membrilloill check it out
07:37:06Jungti1234It's rockbox downloader's bug.
07:37:18MembrilloJungti1234: yes, ill check it out
07:37:27Membrillolostlogic: ok ill leave it charging for a while
07:38:05Membrillolostlogic: can i plug in USB to make a backup of my HD in case it dies?
07:38:13Membrillowhile leaving the charger in?
07:38:58Membrilloit says connected on my screen but nothings coming up on my pc
07:39:01Membrillohow very strange
07:39:23Membrillomy iriver better not be confucked
07:39:43Membrillomy iriver just shot off again
07:39:47Membrilloshut down*
07:40:17Membrilloshut down while in USB mode
07:40:23Membrillohmmm how very weird
07:40:26Membrillobad iriver
07:40:33lostlogicsounds like your disk might be what's being flakey :-\
07:40:45Membrillodamn it
07:40:49Membrilloplease no
07:40:58Membrilloi dont have any copy of my 20gb of music
07:41:01Membrilloi was just about to make one
07:41:19lostlogic1) reset, 2) let cool, 3) boot into iRiver firmware and USB connect.
07:41:35Membrilloits working now
07:41:41MembrilloUSB is working on my PC
07:41:51Membrilloill copy everything to my PC in case
07:42:44Jungti1234yeah iriver is bad
07:43:01Membrillo35min remaining on the copy clock
07:43:12Membrillocome on rivey, dont die on me now
07:43:35Membrilloah fuck
07:43:39Membrilloit just shut down again
07:44:42Membrilloi think leaving it to charge is my only hope
07:45:09Membrilloill leave it off for a little while first
07:45:29Jungti1234what is profiling?
07:45:44 Join akaidiot [0] (
07:46:43lostlogicsoftware performance analysis
07:46:48MembrilloJungti1234: what problem did you find in the downloader?
07:47:27Jungti1234I seted it to do unzip automatically.
07:47:41Jungti1234But, it didn't work.
07:47:49Membrillowhat happened?
07:47:55Jungti1234I don't know
07:48:03Membrillodid something pop up?
07:49:16MembrilloJungti1234: for what player and what build?
07:49:29Jungti1234H120, H300
07:49:45Jungti1234I tested it only.
07:49:56Membrilloit says please choose unzip destination?
07:50:06Membrilloive just found that
07:50:25Membrillothat needs fixing
07:50:35Membrilloim not sure why that happens
07:51:28Membrillois that the problem you had?
07:52:06Jungti1234I seted it to do unzip to I: (H300).
07:52:24Membrilloand what happened?
07:53:07Jungti1234And do unzip and did so that file may be deleted.
07:53:11 Join BHSPitLappy2 [0] (
07:53:15Jungti1234(Translation is strange)
07:54:12Membrilloi think that settles it. my iriver is McFuckered
07:54:13 Join BHSPitMonkey_ [0] (
07:54:25Membrillogoodbye poor ipod :'(
07:54:39lostlogicMembrillo: why you say that now?
07:54:50Membrilloit wont do anything anymore
07:55:04DreamTactix291that sucks
07:55:05Membrilloevery now and then im able to get it to go into charging mode
07:55:15Membrillobut i cant boot rockbox at all
07:55:20Membrilloand iriver firmware is on and off
07:55:36Membrilloshould i try flashing to a clean firmware?
07:55:41Jungti1234But, zip doesn't unzip and file deleted.
07:55:47lostlogicMembrillo: don't try flashing anything.
07:56:08Membrillolostlogic: ok, thats actually pretty wise :P seeing it will probably shut off half way through
07:56:31lostlogicMembrillo: turn it off to rest, and then if you can still get into USB mode and mount it, try a rockbox I want to send you
07:56:36Jungti1234Aren't you that your battery is discharged?
07:56:38Membrillodo you suspect my battery or my harddrive is stuuffing it up?
07:56:48lostlogicleaning back toward battery now.
07:57:00Membrillobatteries are cheaper than harddrives
07:57:08Jungti1234Same problem
07:57:10Membrilloand they dont have my music collection stored on them
07:57:21DreamTactix291please tell me you have a backup
07:57:31MembrilloDreamTactix291: nope i was just about to do one
07:57:36lostlogicJungti1234: is that same problem also a rockbox H300 Optimized User?
07:57:44DreamTactix291my music collection is backed up 3 times
07:57:50DreamTactix2912 lossless and 1 lossy
07:57:51Jungti1234I don't know.
07:58:17Membrillolostlogic: is there a build you want to send me?
07:58:40Membrillobecause i dont think its a build thing. sometimes the bootloader doesnt even come up
07:58:42lostlogicI'm beginning to fear that the patch that I asked needleboy to remove from H300 optimized might be part of the problem here, but won't have any verification unless Membrillo's player will boot at least partway from something
07:58:43Jungti1234Membrillo, Go to iriverzone
07:58:52lostlogicMembrillo: yeah, will in 1s
07:59:01lostlogicMembrillo: let it rest still.
07:59:08Membrillook sure
07:59:12Membrilloits on charge now
07:59:13Membrillobut ok
07:59:20lostlogicyeah, just off, nothing plugged, nothing doing.
07:59:37Membrillohave done
08:00:28lostlogicin the meantime, download
08:00:47Membrillookey doke
08:01:34lostlogicok, try to get into either rockbox bootloader USB mode or iRiver USB mode and install that build
08:01:38 Join BHSPitGrr [0] (
08:01:45lostlogicrecommend windows commandline unzip
08:01:46 Quit BHSPitMonkey (Nick collision from services.)
08:01:48lostlogicnot GUI unzip
08:01:52 Quit BHSPitLappy (Nick collision from services.)
08:02:04Membrillohow do i operate windows commandline unzip?
08:02:19lostlogicfrom commandline, navigate (with cd) to the location of
08:02:20 Join Bger [0] (n=Bager@
08:02:30 Nick BHSPitGrr is now known as BHSPitLappy (
08:02:31lostlogicthen do unzip -d DRIVE:\
08:02:36lostlogicwhere DRIVE is the drive letter of your iRiver
08:03:12lostlogicthen try to boot the player into rockbox, start boot, and immediately on seeing bootloader, plug in.
08:03:26Membrilloplug in USB or AC?
08:04:07Membrilloi just plugged in the USB from off and it went to iriver
08:04:23Jungti1234Didn't you find bug?
08:04:32lostlogicweird, but if you can get it to write the files, great.
08:05:41Membrillook, i couldnt work out commandline so i did it through winzip, but i put the files on there
08:05:44 Quit BHSPitLappy (Client Quit)
08:05:52Membrilloso nopw
08:05:58Membrillohold play and plug in AC
08:06:35 Join BHSPitGrr [0] (
08:06:57Membrilloso far so good
08:07:06Membrilloits in rockbox and hasnt shut off
08:07:20 Nick BHSPitGrr is now known as BHSPitLappy (
08:07:21Membrilloi think thats fixed it
08:07:27Membrillosounds like that patch is needed
08:07:29 Join ender` [0] (i=ychat@
08:07:41lostlogiccan you poke at needleboy and have him remove my broken patch from h3x0 optimized
08:07:55lostlogicMembrillo: it was me that broke it in the first place, so don't send too much praise.
08:08:15Membrilloon MR?
08:08:31lostlogicyarr, it'll overlap and break by tomorrow any way because I'm about to commit what I just sent you.
08:09:04Membrilloso i need to PM him or not?\
08:09:26lostlogicup to you, I just hope other users don't end up in the same situ as you.
08:09:35lostlogicit should be non-terminal, but could be quite irritating.
08:09:36 Quit Jungti1234 ()
08:10:32 Join rok [0] (
08:11:00 Quit BHSPitMonkey_ (Connection timed out)
08:11:06MembrilloLostlogic has asked if you could remove his broken battery patch from the optomized build as it causes A LOT of problems when the battery gets low (as i've just found out, coming close to killing my player).
08:11:06MembrilloIf you could do it ASAP before more people get into nasty situations as I did, that would be good.
08:11:31 Quit BHSPitLappy2 (Connection timed out)
08:11:43Bgermorning :)
08:11:45Bgerwhat patch ?
08:11:49rok@find pimsleur
08:12:14lostlogicwas a patch that I'd posted on sourceforge that was a first whack at h3x0 charge control and reporting, and turns out to be 1) wrong and 2) possibly unhealthy
08:12:33Bgerah :)
08:12:35Membrillomy player got sick :(
08:12:57 Quit rok (Client Quit)
08:12:58lostlogicI have the reporting part about ready to commit (it's what Membrillo's running now)
08:13:14Membrilloneedleboy is online now at MR so he should get that PM quickly
08:13:42Membrillook time to do a backup of my harddrive!!!!!!!
08:13:57Membrillonow ive been in that situation i realise i have to do it ASAP
08:13:58Bgervery good, lostlogic
08:14:38lostlogicBger: what do you think about offering battery status to the GUI at 2hz instead of 1/60hz? Can look unsmooth, but it's what I prefer, and we have the info to offer it up every 2hz already.
08:14:41Membrillolostlogic: why was that battery patch affecting the bootloader though?
08:15:10Membrilloi thought the build couldnt tamper with the bootloader at all?
08:15:18lostlogicMembrillo: it changes the state of the PCF50606 power management unit, I'm not sure exactly why it was making things unhappy, just some theories and conjectures.
08:15:33Membrilloah ok
08:15:42lostlogicthat's why it was important that you get just past bootloader into that new firmware I sent you as it resets the PCF50606 right.
08:15:45Bgerlostlogic i'm not the one to make such decision...
08:16:18lostlogicBger: just looking for an opinion to see if my preference is common, no 'authority' needed.
08:16:37Membrillowhat is a good compression program thats good at making multi-volume archives?
08:16:49lostlogicrar is popular for windows users.
08:16:55lostlogicwinrar, but I believe it's pay
08:16:59Bgeryou mean 2 times/sec instead of 60 times/sec ?
08:17:05Membrilloill turn my music collection into 3.7gb files then burn to DVDr
08:17:08lostlogicBger: instead of 1 time per minute
08:17:17Membrillowinrar isnt pay
08:17:31Membrilloill check it out
08:17:33Membrillobut now im off
08:17:51Membrilloonce again lostlogic, thanks for saving my player, even if you did kinda kill it to begin with :P
08:18:13lostlogicMembrillo: np ;)
08:18:17 Quit Membrillo ()
08:19:42amiconnAfaik winrar is 30-day-trial shareware
08:19:46lostlogicamiconn: your opinion on the frequency of battery status updates? (2hz vs .0166hz)
08:20:50Bgeramiconn but it works very well after the trial period
08:21:16amiconnI prefer software w/o nag screen.
08:21:57amiconnFor windows: Filzip has good multivolume .zip support, and is freeware
08:22:13Bgerbut with worse compression
08:22:22amiconnIt also unpacks .rar, .ice, .lzh, ...
08:27:15BHSPitLappyi love filzip
08:27:39amiconnlostlogic: There's a bug in the current sokoban
08:27:41BHSPitLappyyou'll usually find it open on my windows pc...
08:27:53lostlogicamiconn: ?
08:28:22amiconnYou can go past the last level with 'next level'. It then crashes...
08:28:48amiconnAlso, I wonder why you seem to prefer literal values over named macros
08:29:06amiconnThere was #define SOKOBAN_LEVEL_SIZE (ROWS*COLS)
08:29:42amiconnThis is now removed, and #define MAX_BUFFERED_BOARDS uses literat 16*20 instead
08:30:28amiconnI'll check whether the crash happens on all targets, first test was on recv1
08:30:47lostlogicoops, I removed that at one point in creating the level buffering and then in a later did it differently and didn't recreate the define.
08:31:49lostlogiciRiver "You WIN"s ok... so it must have to do with the bufferring next set code (as iRiver doesn't need to)
08:33:58amiconnIn fact it's not a crash, sorry
08:34:20lostlogicjust looks like one and freezes audio playback?
08:34:25lostlogicyeah, that should be done better.
08:34:26amiconnIt just 'flashes' the 'you win' screen so damn fast that it's unreadable
08:35:10amiconnSeems like a good test for the lcd driver speed...
08:37:15amiconnLevels 1..76 are cached at once on recorder
08:38:06lostlogicthat takes 24k of RAM
08:38:32lostlogicso it would take like 34 to cache them all and would leave -2k for the plugin code on the smaller targets
08:39:17amiconnIt takes less than 24K of RAM
08:39:33amiconnAh, no
08:39:57lostlogicthis time, I think my math was actually right :-P
08:40:14*amiconn seems to be not quite awake :/
08:40:22amiconnSome remarks regarding charging on H300
08:40:42amiconnI charged my H300 overnight while staying in the 'View IO ports' debug screen
08:41:02amiconnThe battery got charged, and GPIO23 properly reflects end-of-charge
08:41:19lostlogicyeah, that's what the code I'm now feeling is 'ready' uses
08:41:45Bgeramiconn you have h300 ??
08:43:27lostlogicamiconn: just put in another revision of sokoban so that it sleeps at least a little on the You WIN and resurrected the symbolic name for level size
08:44:15amiconnWhoa, the 'you win' is real eye-strain on H300
08:46:51 Join perplexity [0] (i=heh1282@
08:48:14lostlogicamiconn: just put in the charge state for H3x0, if you'd like to review it.
08:48:24lostlogic(and then I must sleep)
08:50:56 Quit aliask ("Chatzilla [Firefox 1.5/2005111116]")
08:57:02lostlogicis the autobuild system totally linear? if so I must sleep before it's done building :-\
08:58:05***Saving seen data "./dancer.seen"
08:58:59Bgerlostlogic better go to bed;)
08:59:46lostlogicdeepest apologies if I broke the targets I can't build here, will fix first thing if someone else hasn't. g'night.
09:00:59 Join B4gder [0] (
09:01:05 Join Kohlrabi [0] (
09:03:22 Quit akaidiot (Read error: 110 (Connection timed out))
09:08:39 Join BHSPitLappy2 [0] (
09:08:47 Quit BHSPitLappy (Nick collision from services.)
09:08:59 Nick BHSPitLappy2 is now known as BHSPitLappy (
09:21:58 Quit darkless (Read error: 104 (Connection reset by peer))
09:22:15 Join darkless [0] (
09:23:30 Quit San (Read error: 110 (Connection timed out))
09:25:48amiconnlostlogic: There is some potential for #ifdef reduction in your latest commit. Perhaps I should look into this, but it would need an fm recorder or recorder v2 owner to test this
09:26:22 Join DJDD___ [0] (
09:26:41 Join jborn_ [0] (
09:27:16 Quit Kohlrabi (Read error: 104 (Connection reset by peer))
09:28:30 Join jborn__ [0] (
09:38:38 Join EvilDude [0] (i=EvilDude@
09:42:17amiconnI see RED :(
09:43:03B4gderred red red
09:43:21 Quit JoeBorn (Read error: 110 (Connection timed out))
09:44:34 Quit DJDD__ (Read error: 110 (Connection timed out))
09:45:49 Quit jborn_ (Read error: 110 (Connection timed out))
09:50:04 Join LinusN [0] (
09:50:24 Join Zagor [0] (
09:51:08LinusNmajor redness in the build table
09:51:39LinusNlostlogic: boooh
09:53:13 Quit uwe_ (Read error: 110 (Connection timed out))
09:53:29linuxstbIs anyone looking at the red builds? Seems that lostlogic has gone to bed...
09:54:17LinusNthat kind of hit'n'run commits are not very appreciated
09:57:18linuxstbBHSPitLappy: See this page:
09:58:00linuxstbEvery time someone commits a change to CVS, the server rebuilds all the Rockbox targets - red means that there was a fatal error and the build is broken.
09:58:26linuxstbWe then all get to point accusingly at the person who committed that change...
09:58:52B4gdernot to forget: the evil laughter ;-)
09:59:31 Join needleboy [0] (
09:59:48needleboygood morning
10:00:01B4gderI'm not even sure how to fix the red for the FM
10:00:27needleboycould anyone please tell me what needs to be changed in plugins to fix the "incompatible model" error?
10:00:44linuxstbJust rebuild them?
10:00:52B4gderneedleboy: use PLUGIN_HEADER
10:00:53needleboyyeah? that's it?
10:01:14needleboyB4gder: where :)
10:01:20B4gderthere are like 30 examples to check
10:01:24preglowlinuxstb: btw, my new UIE code tells me there's an address error in flac
10:01:32preglowlinuxstb: probably in seektable load
10:01:50needleboyexamples? in the source you mean?
10:01:56needleboyi'll take a look at rockboy
10:01:58B4gderall the plugins are fixed
10:02:05needleboyi mean 3rd party plugins
10:02:09B4gderI know
10:02:10needleboyok, i'll check thanks.
10:02:19B4gderbut they are not our problem
10:03:33needleboy2006-01-19 08:11 3 8 8 8 8 8 0 8 8 0 0 8 8 3 8 0 8 8 8 0 8 8 8 0 0 8 0 0 8 8 0 0 8 8
10:03:38linuxstbpreglow: Yes, that sounds possible. The ipod is the first SWCODEC platform that chokes on unaligned memory accesses. So we have some fun ahead...
10:05:26B4gderat least unaligned access are clearly visible ;-)
10:05:27linuxstbpreglow: I also had a moment of clarity last night - the "reboot-to-diskmode" code simply writes a string to the end of IRAM. The Nano/Video's IRAM is larger, so the string had to be written to a different address.
10:05:59linuxstbThe Apple bootloader obviously checks for that string, and behaves accordingly.
10:06:44preglowlinuxstb: yeah, noticed
10:06:44 Quit needleboy ("CGI:IRC (EOF)")
10:06:46linuxstbSo we could do the same in our bootloader - if you want "reboot-to-diskmode" to go to the retailos on the Nano, then we can write a string to a different address in IRAM, and check for it in the bootloader.
10:07:07preglowbut yo, perhaps we should extend the real iram limits in the linker scripts for nano/video as well?
10:07:10preglowi want to use :-)
10:07:13linuxstbIt seems that usb detection in the bootloader breaks loading retailos.
10:07:32preglownice build table
10:07:58pregloware someone fixing it?
10:08:10B4gderits over my head
10:08:20B4gderI know too little about the charging/batteries
10:08:32*linuxstb knows less than B4gder
10:12:25preglowthen i've half a mind to just undo it
10:12:46preglowmight be a while until he comes back on
10:13:48B4gderyeah, I agree unless someone feels like taking a stab at a fix
10:14:15preglowi can take a stab at something that just makes it compile, alright
10:14:24preglowgod knows what it'll end up doing
10:15:41 Join amiconn_ [0] (
10:15:56preglowcharger_input_state is defined in a HAVE_CHARGING cage
10:16:06preglowperhaps i just need to apply that around uses of it as well
10:16:28LinusNsounds fair
10:16:55B4gderno, the fix needs more than so
10:17:34B4gderin the FMrec build, TRICKLE is undefined
10:17:49B4gdersince it is only defined if HAVE_CHARGE_CTRL is defined
10:18:15LinusNB4gder: that's a different thing
10:18:25B4gderbut still a reason for red
10:18:50LinusNi wonder why CONFIG_BATTERY == BATT_LIION220 is used all over
10:19:01LinusNwhat does the battery type have to do with it?
10:19:52preglowbut yeah, it builds with that change, of course
10:20:03preglowso, restore or fix?
10:22:19 Nick Lynx_awy is now known as Lynx_ (
10:23:37B4gderget more coffee!
10:25:30preglowok, i'll just commit a simple ifdef
10:25:50linuxstbHave you tested the diskmode fix on your Nano yet? It worked on the Video, so I just assumed it would work on the Nano.
10:26:48preglowhmm, will later, need to check up some things
10:31:03BHSPitLappyi can test.
10:32:29 Join mirak [0] (
10:33:14 Quit amiconn (Read error: 110 (Connection timed out))
10:33:14 Nick amiconn_ is now known as amiconn (
10:34:31 Join honkster [0] (
10:34:50Lynx_charging a h340 via usb is slower than via wall socket, right?
10:35:00honksterHello, which Language?
10:35:26honksterCan anyone helo me with my Rockbox Problems?
10:35:42BgerLynx_ way slower
10:35:51Bgerhonkster shoto
10:36:05Lynx_Bger: ok
10:36:24honksterexcuse me, Im a real newbie
10:37:57 Join uwe_ [0] (
10:39:06honkstermy Player freezes when starting Playback mode and doesn`t show any folder
10:39:19linuxstbWhat player do you have?
10:39:47 Join Membrillo [0] (
10:40:52linuxstbWhat do you mean by "playback mode" ? How do you get there?
10:42:21honksterafter boot, theres got to be the Folder list, and after pressing the "Play" button the player freezes and shows only a msgbox with "loading" in it
10:42:52Membrillolinuxstb: maybe a problem with playlist_control?
10:43:50 Join TCK [0] (
10:45:27 Join akaidiot [0] (
10:48:42markunhonkster: can you play a song by just clicking on it?
10:49:38 Quit YouCeyE ("Leaving")
10:50:30preglowbah, i didn't notice the TRICKLE bugs
10:50:57preglowi've just had some bad news and need to go for a while, could someone else deal with that?
10:53:14Bgerpreglow go
10:54:36 Join linuxstb_ [0] (
10:56:31 Quit linuxstb (Nick collision from services.)
10:56:43 Join linuxstb [0] (
10:57:39 Join San [0] (n=test@
10:57:58 Join RA-Script [0] (
10:58:10***Saving seen data "./dancer.seen"
10:58:13RA-Scriptsorry, my connection lost
10:59:30 Quit RA-Script (Client Quit)
11:01:20 Quit honkster (Read error: 110 (Connection timed out))
11:03:43 Join honkster [0] (
11:04:00honkstersorry, my connection lost
11:04:44honkstersorry, ill be back in 5 min
11:04:48 Quit honkster (Client Quit)
11:07:36 Join BHSPitMonkey [0] (
11:10:14 Part LinusN
11:10:28 Join BHSPitLappy2 [0] (
11:10:31 Quit BHSPitLappy (Nick collision from services.)
11:10:46 Nick BHSPitLappy2 is now known as BHSPitLappy (
11:12:14 Quit linuxstb_ (Connection timed out)
11:15:25Bgernearly green table :)
11:17:30 Quit linuxstb (Read error: 110 (Connection timed out))
11:19:55 Quit EvilDude ()
11:21:02 Join tvelocity [0] (
11:26:37Bgerso, fm recorder doesn't have charging control ?
11:27:44 Join NicoFR [0] (
11:29:52 Quit Membrillo ()
11:33:04amiconnBger: FM recorder has LiIon, so it has hw charging, but it as charging state detection, like the H300
11:35:30amiconnThis is what I mean with #ifdef consolidation
11:38:40Bgerheh i need for sure more understanding of cvs
11:56:29Bgeruf :(
11:58:56 Join Membrillo [0] (
12:00:02Membrillolinuxstb: if you read the logs, the problem with my irivers power issue happened again when the voltage dropped to around 3.8v. Ive saved it by charging back up, but its still quite a problem
12:04:22 Quit akaidiot (Read error: 110 (Connection timed out))
12:05:03Membrilloi think some work needs to be done on the H300 power mgmt
12:09:12dwihnoAnyone got an idea about a multi-flash reader that works under linux?
12:09:18dwihno(if there is such a thing, that is)
12:25:45 Join mikearthur [0] (
12:28:23XavierGrBger here?
12:30:37BgerXavierGr yep :)
12:30:57XavierGrI updated again my patch, with all the thinks that we talked about.
12:31:31Bgerlink ?:)
12:31:58XavierGrone moment please both sourceforge and my connetction are like turtles
12:34:34XavierGralso a guy that had an H300 applied my patch and used the plugin, while it worked okay when he was trying to load another plugin (while the benchmark was running) the player simply crashed. But in my H140 as hard as I could I couldn't crash it that way.
12:35:17XavierGrTheoritically if the user loads another plugin the tsr one will just quit. Something must by fishy with the H300 code.
12:35:29 Quit TCK (Read error: 104 (Connection reset by peer))
12:36:04BgerXavierGr i'll look at this
12:36:55 Nick ^Guest37784 is now known as Paprica (
12:39:29 Join ashridah [0] (
12:41:28 Join DJDD__ [0] (
12:42:40XavierGrgawk, date, finger, wait, unzip, touch, nice, suck, strip, mount, fsck, umount, make clean, sleep: Who needs sex when you have /usr/bin?
12:43:53 Quit jborn__ (Read error: 110 (Connection timed out))
12:45:39 Join Jungti1234 [0] (n=jungti12@
12:46:04 Join petur [0] (
12:46:16BHSPitLappyanyone here familiar with font conversion?
12:46:48B4gderthere's no suck in my /usr/bin anywhere
12:47:16B4gderBHSPitLappy: ask not if you can ask
12:47:27B4gderjust ask and you'll find out
12:47:37BHSPitLappywell it's a longshot anyway :P
12:48:12BHSPitLappyconverting a bdf to a fnt, wondering if i'm supposed to set a fixed font size somewhere
12:48:25B4gderthe bdf contains the size
12:48:54BHSPitLappyi converted a ttf to bdf (didn't prompt for size)
12:49:14BHSPitLappymy output fnt is double the file size of the other fonts that i know to work
12:49:38preglowthat's where you need to input size
12:49:39BHSPitLappyand it's unsuccessful, the reading program says it might be truncated
12:49:57preglowbdf is a raster format, ttf a vector format
12:50:12B4gderttf => bdf without a given size seems... weird
12:50:18BHSPitLappywasn't sure if bdf was scalable or not
12:50:20preglowand completely arbitrary
12:50:23preglowbdf is not scalable
12:50:28preglowat least not unless i'm on crack
12:50:32 Quit NicoFR ()
12:50:35BHSPitLappyoh weird...
12:50:38B4gderits a bitmap format
12:50:47BHSPitLappypreglow: i think you are
12:50:48B4gderload the .bdf format in your text editor and see ;-)
12:50:56BHSPitLappysince the ttf-bdf converter has size options
12:51:04BHSPitLappyB4gder: how :P
12:51:13BHSPitLappyi don't know how to test any of them
12:51:18preglowjust load it">
12:51:25preglownotepad hehe.bdf
12:51:29B4gderyou don't "test it" by loading it in a text editor
12:51:37B4gderyou just view the bdf file
12:51:42Jungti1234How can I do equally with the thing?
12:52:11 Join Paul_The_Nerd [0] (
12:52:14preglowgod, that colour hack is ugly
12:52:33Jungti1234-> How can I do equally with that?
12:52:42 Join stamppot [0] (
12:53:27 Join mattpwest [0] (
12:55:50mattpwestHi, everybody. It's my first time here, I'm interested in helping to port Rockbox to the iAudio X5.
12:56:55B4gderhey mattpwest
12:57:33BHSPitLappyso all that information the .bdf tells me
12:57:52BHSPitLappyis there some possible way to view those attributes of the .fnt files that i know to work?
12:57:55 Quit DJDD___ (Read error: 110 (Connection timed out))
12:57:55BHSPitLappyso i can compare
12:58:15***Saving seen data "./dancer.seen"
12:58:43B4gderI figure you can compare with exsting and working fonts
12:58:51B4gderor read the convbdf source
12:58:55preglowmattpwest: so, what can you do?
13:00:16mattpwestI have some experience with C/C++, but not much on the assembler side.
13:00:25preglowc will do nicely
13:00:51stevebi just saw the option for cpu freq in the config settings...
13:00:58stevebwould changing that be a really bad idea?
13:01:08preglowno, but it would be a waste of battery
13:01:16steveboh yeh?
13:01:29preglowcpus don't work harder for free
13:01:41stevebyeh i guess.
13:01:54steveband thinking about it i cant think why i would need it to run faster
13:01:56BHSPitLappycpu slavery...
13:02:14preglowsteveb: rockbox uses the higher cpu freq itself all the time
13:02:22preglowsteveb: when doing stuff like decoding
13:02:27stevebah right
13:02:43preglowbut if you change it yourself, rockbox will run at a higher freq all the time
13:03:10stevebok next question: in that flipper plugin game thing, how do you actually win? ive been playing it for ages and im still left with 1 damn thing the wrong way around.
13:03:20preglowif you start playback, then look in the cpu freq screen, you will see that it changes all the time
13:04:50B4gdermattpwest: for high level programmers, making sure the sim builds and works is a very good step as then things will work easier once the bootloader and low-level hw things are setup
13:05:28B4gderand once the sim works, you can work on "regular" rockbox stuff
13:05:49B4gderdoing plugins, adding better color support or whatever
13:06:11mattpwesti submitted a patch yesterday to get the uisimulator working for the X5. It compiles and runs now, but doesn't do much else (doesn't respond to keypresses except for printing keycodes). not sure what needs to be done next...
13:06:39 Quit Jungti1234 ()
13:06:47B4gderit should respond...
13:08:07mattpwestthen i probably got something wrong, will look at it some more tonight.
13:08:38B4gderit was me who committed your first patch
13:09:17 Join ST [0] (
13:10:04SThey guys, do you have a link to the 'ROCKbox colormap'
13:10:46B4gdermattpwest: is there a second patch I should apply to make things work?
13:11:07STim trying to edit the PaulJam 2.2.2 wps, with MegaVolt's Color WPS
13:11:08B4gderthe one in entry 1408980 doesn't apply
13:12:02B4gderI don't know about any "colormap"
13:12:17mattpwesti omitted 3 files from my patch (me stupid), so i removed the uploaded patch yesterday and replace it with a fixed one that contains everything...
13:12:31STmegavolts colour wps patch that is, which is in the optimized build, ok, how would i edit the wps, colour values
13:13:03B4gdermattpwest: but I already committed the first version, so now the new version conflicts massively against cvs
13:13:31B4gderST: the "optimized" build is not our baby
13:13:49preglowthe "optimized" build looks like a bag of shit
13:14:15mattpwestsorry, i'm new to cvs, should i replace it with the original and just add a second patch with the stuff i missed?
13:14:44B4gdermattpwest: the easiest approach (for us) is if you just make a new patch against what currently is in CVS
13:15:07B4gdermost likely you just cvs update and cvs diff
13:15:14mattpwestok, will do that...
13:15:20STB4gder: ok calm down, thx for your help
13:15:23 Quit ST ()
13:15:43*B4gder is as calm as a... herring
13:15:51preglowand by god, they're calm
13:15:54preglowcool too
13:17:01 Join linuxstb [0] (
13:17:20preglowlinuxstb: i get a prefetch abort some place in flac_init
13:17:36linuxstbWhat's a prefetch abort?
13:17:41preglowehh, i mean data abort
13:17:48preglowit's probably an unaligned access
13:17:50linuxstbYou mean an unaligned memory access?
13:17:58preglowarm doesn't tell me what it is
13:18:04preglowjust that something happen in a data fetch/store
13:18:24B4gderbut there really shouldn't be many other options
13:19:07preglowB4gder: perhaps you can tell me what a prefetch abort is?
13:19:11preglowi can't seem to find out
13:19:15linuxstbpreglow: I'll have a look. It wouldn't surprise me to see unaligned memory accesses.
13:19:22linuxstbHave you tried the other codecs?
13:19:26preglowyeah, they work
13:19:43preglowgimme a sec and i'll find you an address where stuff goes wrong
13:19:55linuxstbThat's OK - I'll just read through and review the code.
13:19:57B4gder"If the instruction being executed was read in error, then it is flagged as causing a Prefetch Abort,"
13:20:07preglow"read in error" ?
13:20:10preglowwhat's that?
13:20:29linuxstbpreglow: Did you get anywhere with the dircache?
13:20:41 Join Jungti1234 [0] (n=jungti12@
13:20:45preglowlinuxstb: here it is anyway, 0x01f00240
13:20:53B4gder"A Prefetch Abort occurs when you've attempted to execute code at an invalid memory address."
13:20:59preglowamiconn found out where the error was
13:21:03linuxstbWhat function is that in your .map ?
13:21:05preglowfrom some address i gave him
13:21:08preglowflac_init, like i said
13:21:18preglowB4gder: what's an invalid memory address?
13:21:34Jungti1234B4gder: I want to make Korean Rockbox website.
13:21:41linuxstbpreglow: OK, thanks.
13:21:59Jungti1234B4gder: May I do it?
13:22:29preglowlinuxstb: not all files crash, so i'm guessing it's a seek table issue
13:22:42B4gderpreglow: without MMU I can't think of many illegal addresses...
13:22:49preglowB4gder: exactly
13:23:01preglowbut i did manage to provoke one
13:23:11preglowjust jumping to an arbitrary address, it did eventually give me one
13:23:23preglowi guess perhaps i ran into some io ports
13:24:06preglowB4gder: should i handle the reserved exception as well, or will i never ever see that?
13:25:35B4gderI don't know
13:25:50B4gderJungti1234: what exactly does that mean?
13:26:28 Join BHSPitLappy2 [0] (
13:27:15Jungti1234B4gder: I want to make to new website that translating contents of Rockbox website in Korean.
13:27:44Jungti1234Many Koreans want it too.
13:28:06B4gderJungti1234: then go ahead. It'll be a hopeless race, since most of the site is the wiki and the wiki will change forever
13:28:26Jungti1234hmm. ok
13:28:43MembrilloJungti1234: i think i fixed the bug you found in the downloader
13:28:54Jungti1234We are going to use wiki too.
13:29:01Jungti1234Membrillo: ok
13:29:43 Join einhirn [0] (
13:29:55Bgeryay, green line
13:30:33B4gdergreen is good
13:31:23mattpwestB4gder: i've added the a patch x5_keys_missing.patch to the tracker, with only current differences.
13:33:09B4gderapplied fine
13:34:25*B4gder runs it, over wireless, ssh, adsl, cygwinX
13:34:34Bgerwow :)
13:34:53B4gdernice gibberish logo
13:35:07B4gdermattpwest: you run it with sdl?
13:35:12linuxstbpreglow: I don't have my ipod with me, but here is a patch if you want to test it:
13:35:31Paul_The_NerdB4gder: Is SDL working properly under cygwin now then?
13:35:49preglowyeah, i figured that was the error as well
13:35:53B4gderI don't know, I don't build with cygwin
13:36:22B4gderjust forced to sit in front of windows at work
13:36:54ashridahPaul_The_Nerd: it's better than it was
13:37:01B4gdermattpwest: I couldn't get the menu to appear either ;-)
13:37:04ashridahPaul_The_Nerd: there's some issue i don't know enough about to fix
13:37:16ashridahand i've been kinda busy since i ported the threading to SDL's
13:37:23linuxstbPaul_The_Nerd: AFAIK, it's still broken. The main problem is the "#if WIN32" conditionals in the firmware/ directory - which are meant for the win32 sim, but apply to the sdl sim under windows as well.
13:37:33preglowlinuxstb: no crash, but it doesn't play
13:37:40 Quit BHSPitLappy (Read error: 110 (Connection timed out))
13:38:08preglowi think there's a "codec error" flashing in from time to time
13:38:16Membrillolinuxstb: my iriver is still having power issues
13:38:37linuxstbMembrillo: I don't know why you are telling me - I know nothing about power issues...
13:38:55Membrillolinuxstb: wasnt it you i was talking to earlier about it?
13:39:01linuxstbNope. :)
13:39:02Jungti1234Paprica: I found bug
13:39:10Membrilloah that was lostlogic. sorry my mistake
13:39:24Membrillolostlogic: if your here, im still having power issues
13:39:36Jungti1234In BrickMania
13:40:06Membrilloyou here?
13:40:42Jungti1234Paprica: If ball goes to right, there is bug that don't come out yet.
13:41:25Papricai will check it
13:41:57BgerJungti1234 is the korean's Brightness ok now ?
13:42:02Jungti1234yes :)
13:42:06Jungti1234thank you
13:42:20Bgerfor nothing
13:42:38peturBger: care to look at the brightness bugfix patch in the tracker?
13:43:01Bgerpetur link ?
13:43:16B4gderneat logo huh? ;-)
13:43:45linuxstbpreglow: Can you try adding "#define CONFIG_ALIGN 1" at the top of libffmpegFLAC/bitstream.h ?
13:44:06preglowand retain your patch?
13:44:17linuxstbYes. The patch is needed anyway I think.
13:44:36linuxstbI don't use the ffmpeg bitstream reader in my metadata parsing code.
13:45:17*linuxstb thinks a Rockbox optimised bitstream reader library could be a nice project for someone...
13:45:28B4gdermattpwest: committed!
13:45:29peturBger: and while you're at SF, this patch is obsolete:
13:45:35preglowlinuxstb: no dice
13:45:49 Join akaidiot [0] (
13:45:55preglowand yeah, the file that did work before is now broken
13:46:04preglowso something new happened in your patch
13:46:14 Join DangerousDan [0] (
13:46:24linuxstbThat's odd. My patch should (at worse) just break seeking.
13:46:25Bgerpetur ah, yes :)
13:46:36preglowahh, we'll see
13:46:49preglowlinuxstb: you know how long retailos takes before it dumps ram to disk?
13:47:32linuxstbNo. I think it's the equivalent of the old "deep sleep" - so maybe 36 hours. I'm sure someone in #ipl will know.
13:47:36Rob2222_i didnt manage to compile gcc4.2.2 for m68k-elf under cygwin.... andy great hints?
13:48:02Jungti1234Paprica: Stop game and go to 'Help' menu, can't resume game again.
13:48:23B4gdermattpwest: I got the menu to pop-up fine in the sdl sim
13:48:31B4gderby holding INS
13:48:33 Nick Rob2222_ is now known as Rob2222 (
13:48:55Rob2222gcc 4.0.2 i mean
13:49:15preglow36? damn, that's a lot
13:49:25preglowa ton of time to keep the ram powered
13:49:42linuxstbMy memory is hazy - best to ask someone who knows.
13:49:47PapricaJungti1234, for me its ok
13:50:13Jungti1234Paprica, Did you fix it?
13:50:26Papricayou have the last version
13:50:47Jungti1234Last version can't use.
13:50:54 Quit petur ("CGI:IRC 0.5.7 (2005/06/19)")
13:50:57Jungti1234Don't work.
13:51:15linuxstbRob2222: gcc 4 isn't recommended for m68k - it generates slower code than 3.4.x. Is there any reason you want it?
13:52:19Jungti1234Paprica, It has problem.
13:54:08Jungti1234You try directly.
13:54:20linuxstbpreglow: Checking the ipl IRC logs, it seems to be 12 hours before the suspend-to-disk mode kicks in.
13:54:23Rob2222linuxstb: only as second envvironment for testin purposes
13:55:03Papricai need to compile it again
13:55:17Jungti1234start new game, and press 'stop' button, and go to 'help' menu and press 'stop' button again, go to resume game
13:55:22Papricai will do it in a few secs
13:56:09Papricaok isee
13:56:20Rob2222its reporting something with the multilibs, but not the error in the wiki described. may i post 4 lines here?
13:56:37Jungti1234Paprica, Can't it save game?
13:56:58Papricanot yet
13:57:09Papricai dont have a time to do it now
13:57:15Papricain the week end
13:57:16mattpwestB4gder: :-) cool, thanks
13:57:20Jungti1234I found in Rockbox that continuation button operates strangely.
13:57:28Rob2222ah, now i read, istn recommended for 48k
13:57:49Jungti1234If press '>> l' button, do function of 'Stop' button.
13:57:54Rob2222ok, for arm its working
13:58:44linuxstbYes, the current recommendations seem to be 3.4.5 for m68k, and 4.0.2 for arm.
13:58:47Jungti1234>>l and - too
14:01:44markunlinuxstb: can you explain how the remapping of SDRAM address to 0 works? I was looking at the code in crt0.S but can't figure it out
14:02:03linuxstbIt's magic.
14:02:17stevebdoes the usb bootloader actually work on the h300? i plugged my usb cable in, it turns on and loads to usb bootloader mode but my linux doesnt get any messages about usb devices being found or anything
14:02:39linuxstbmarkun: I don't think even the IPL people know how it works, and that's where preglow stole it from.
14:02:45Bgersteveb linus said something like "it sometimes work, sometimes doesn't"
14:03:00 Quit Zagor (Read error: 110 (Connection timed out))
14:03:01steveboh right
14:03:03stevebfair enough
14:03:17Membrillothere are some major power issues in the H300 optomized build that arent in the official builds
14:03:26markunhm.. because I was wondering how I should do that on the gigabeat.
14:03:26linuxstbThat's know.
14:03:33linuxstbI mean that's known
14:03:39stevebMembrillo: like what?
14:04:03linuxstbI think the optimized build contains a broken version of lostlogic's patch - he's asked for it to be removed, but I don't know if it has.
14:04:17Membrilloif your player drops down to around 3.8v, you cant load rockbox and even getting stability in the original firmware is hard
14:04:23Membrilloit hasnt
14:04:43linuxstbThen don't use it - use an official build.
14:04:50Membrilloam doing now
14:04:53Membrillojust warning people
14:05:19Membrilloits quite tricky to fix if you get stuck in the situation where your power is below 3.8v
14:05:33amiconnsteveb, Bger: This H300 bootloader USB mode problem is strange - it allways works here
14:05:44Membrilloso either keep above 4v or use an official build for now
14:08:42Membrilloamiconn: works for me too. Its been found that its to do with usb charging being turned on or off in the iRiver FW
14:09:06stevebMembrillo: my voltage is at 3.6 apprently and i use the H300 optimised... seems to work fine
14:09:17Membrillowhat build do you have?
14:09:35 Quit mirak (Read error: 110 (Connection timed out))
14:09:43Membrilloi wouldnt go much lower if you want to avoid possible problems
14:09:59amiconnMembrillo: Really? Didn't try that yet
14:10:08 Join Mongey [0] (
14:10:38Membrilloit would make sense, and ive read about it on MR
14:11:15 Quit Paul_The_Nerd (Read error: 104 (Connection reset by peer))
14:11:20Membrilloi guess the iRiver FW sets USB to charge and the bootloader USB mode just follows that
14:11:58amiconnIt would be strange though. Iiuc the rockbox bootloader takes over directly at boot
14:12:17mattpwestB4gder: what else can i work on for the x5 port
14:12:29Membrillohmmm maybe my battery is just stuffing up
14:12:40Membrilloits at full charge and randomly turning off sometimes
14:13:43Mongeydoes anyone wanna help me with a school project, _ to make a stp/go sign with a time delay so that it stays on stop on a few seconds then turns around to go
14:13:47Membrillonow my iriver kind of, isnt turning on at all
14:14:05Membrillomongey i could make that on Visual basic easy
14:14:33Membrilloso i just swaps the images after a set amount of time?
14:14:55Mongeywell kinda
14:15:00Mongeybut not images
14:15:07Mongeylike i have to make it
14:15:09Membrillonot images?
14:15:12Membrillooh ok
14:15:17Membrillowith lines and text etc?
14:15:18preglowmarkun: i've got some info on how it works
14:15:23preglowmarkun: haven't looked at it in a while
14:15:40MembrilloMongey: were you asked to make in on Visual Basic or C or what?
14:15:41preglowwho the hell is compiling these "optimized" builds anyway?
14:15:49Membrilloneedleboy is
14:16:51markunpreglow: is the info available online?
14:16:56preglowmarkun: no
14:17:05Membrilloif my iriver is randomly turning off all the time, would you say its a battery or harddrive problem?
14:17:17preglowi think i've got it in my notes somewhere
14:17:26Membrillorandomly turning off and occasionally not turning on
14:17:53 Join kernel_sensei [0] (
14:18:24 Quit kernelsensei (Read error: 104 (Connection reset by peer))
14:18:31 Nick kernel_sensei is now known as kernelsensei (
14:18:32preglowmarkun: why're you wondering anyway? it wont work on gigabeat
14:19:04MongeyMembrillo; like this <<< as in build a sign out of steel and i need a circuit
14:19:38markunpreglow: I thought maybe it could be done in a similar way on the gigabeat
14:19:54Mongeylike as in limit switches... ect. But im not sure
14:19:54MembrilloMongey: oh you have to physically make it haha. i thought you meant a program :P
14:20:17preglowmarkun: yeah, but i doubt this'll help you much, it's a completely pp specific thing
14:20:20Mongeyanyone know?
14:20:24preglowi can paste you the info on the reg layout if you want, thouigh
14:20:38markunnah, it's ok
14:20:58preglowi don't think very many arm4 cores support memory remapping
14:20:59markunI'll just search some more in the documentation I have here
14:21:16preglowisn't ram mapped at 0x0 for gigabeat?
14:21:31markunno, flash memory is
14:21:49preglowwhere do exception vectors point by default?
14:22:05Membrillolostlogic are you here now?
14:23:02Membrillooh well. im pretty sure my battery is McBuggered
14:23:14MongeyMembrillo; are you the person who made the auto download thing?
14:23:21markunin the original firmware the exception vectors are at the start of the flash rom, but some other are later copied to the start of SDRAM, so I should also be able to find how they do the translation
14:23:40MembrilloMongey: tis me
14:23:58MongeyMembrillo; love that program.. but it crashed on me alot
14:24:05Membrilloit does?
14:24:06Membrillohow so?
14:24:12Mongeywell it did
14:24:22Membrilloit doesnt now?
14:24:25Mongeyjust froze up on 96%
14:24:32Mongeynot anymore
14:24:34Membrillooh, how strange
14:24:48Membrilloohhhh thats probably because it was unzipping
14:24:56Membrilloit used to freeze momentarily when unzipping
14:25:03Membrilloi fixed that though
14:25:04Mongeywell i got the newer one 2day and everything is ok
14:25:16Membrillogood to hear :)
14:26:05 Join Skydemon [0] (
14:26:36amiconnmarkun: Iiuc the RAM is remapped to 0x0 b/c ARM7 doesn't have a vector base register, so the vector table is always at 0x0. Is it the same with ARM9 ?
14:26:46Mongeyanyone have experience with electronical circuits?
14:27:04Mongeyalso anyone know where i can learn C?
14:27:08markunamiconn: I thought so, but let me check
14:27:13preglowamiconn: no arms have vector base registers
14:27:29Jungti1234Membrillo: There seems to be another bug.
14:27:36Membrillomongey, study the rockbox source. Start in the plugins
14:27:49Membrillowhat is it
14:28:28Mongeythat was suppoded to be Membrillo; ok
14:28:38Membrillolol ok
14:28:39Bgerwtf iriver are giving the firmware in an exe file
14:28:52ashridahMongey: has various links and recommendations about books that'll help in the C department
14:29:00MembrilloBger: yeah i dont understand that either. the self extractor thing?
14:29:13Jungti1234Membrillo: I canceled check of 'Save Sattings on Exit and Load Settings on Open'. But, it loads saved continuously setting.
14:29:27Jungti1234-> But, it loads saved setting continuously.
14:29:31Membrilloreally? doesnt with me
14:30:02MembrilloMongey: if you cancel save settings on my updater, does it work?
14:30:20MembrilloJungti1234: im not sure what problem your having. it works fine for me
14:30:43Bgerwtf zip -> exe -> hex ....
14:31:04Membrillohow much are Newertech batteries going for these days in AUD?
14:31:24Jungti1234Membrillo: Wasn't bug that I spoke at new version fixed?
14:31:24 Quit uwe_ (Read error: 110 (Connection timed out))
14:31:50Membrillothe date bug was fixed
14:31:55markunamiconn: The 920 can be set to have the vector starts at either 0x0000 0000 or 0xFFFF 0000
14:32:16Jungti1234Membrillo: Bug that unzip doesn't become
14:32:42Jungti1234-> Bug that doesn't auto unzip.
14:32:54Membrillounzip works for me, but i think i worked out what might be causing you problems and i fixed it
14:33:01 Nick Mongey is now known as Mongey|away (
14:33:14Membrillotomorrow or the day after i will release 5.2
14:33:27Membrilloand it will fix that
14:33:48preglowmarkun: how, by some outside pin?
14:34:05preglowi'd guess that's hardwired on the board
14:34:24Jungti1234Membrillo: I talked 2 bug to you.
14:34:24markuncan the remapping be done by the mmu?
14:34:31preglowdo you have an mmu?
14:34:36preglowif so, then yes, you probably can
14:34:49Jungti1234Missing Location
14:34:49DBUGEnqueued KICK Jungti1234
14:34:49Jungti1234 Please Choose Unzip Destination
14:34:50***Alert Mode level 1
14:34:54Jungti1234oops sorry
14:35:03MembrilloJungti1234: ahhh yes i fixed that one
14:35:17Membrillothat one is fixed
14:35:31Jungti1234But, the problem of me happens.
14:36:02markunyes, it has a mmu
14:36:17Membrillorob2222: my battery is an original battery
14:36:40 Join Paul_The_Nerd [0] (
14:37:00Mongey|awaydamn i need help on this project
14:37:19 Quit JdGordon (Read error: 104 (Connection reset by peer))
14:37:30Membrilloseeing my battery wont turn on for more than 5 seconds with an official build, i have concluded that lostlogics patch has killed my battery :'(
14:37:38Mongey|awayanyone know how i can delay something or even what component to use
14:38:32Mongey|awayMembrillo; i thought he siad not to use it on MR......... (stress i think)
14:38:39Paul_The_NerdWell, it's official, I can't get linux to work beside rockbox on the Nano. It's *probably* just me sucking though. I can get it to the "Loading Linux" step, but I suspect I didn't set up the files on the ext2 partition properly.
14:39:09linuxstbPaul_The_Nerd: Which kernel are you using?
14:39:14Bgerhaha original iriver fw has malloc ...
14:39:35linuxstbYou should at least get the kernel console messages displayed before it tells you there is a problem with the root filesystem.
14:39:43linuxstbSo it sounds like the kernel itself is wrong.
14:39:59linuxstbDoes your kernel have a date?
14:40:07Paul_The_NerdOne second
14:40:12Paul_The_NerdI renamed the .bin, and can't remember now
14:40:34Paul_The_NerdIt's a nightly build from about 24 hours ago
14:40:40Membrilloi didnt know the original h300 firmware played OGG :O
14:40:40Mongey|awayThe h300 owns
14:41:11Mongey|awayi should be rid of that script
14:41:13 Join Kohlrabi [0] (
14:41:26Membrillosomething bad is going down
14:41:33Membrilloi think my harddrive may be dead
14:41:38Paul_The_Nerdlinuxstb: 2006-01-17-podzilla.gz
14:41:39Membrillonot my battery
14:41:49linuxstbThat's not the kernel...
14:41:52Mongey|awayu sure?
14:41:59preglowBger: how do you know?
14:42:01Paul_The_NerdSorry, pasted the wrong thing
14:42:16Membrillowell the iriver fw just froze for a while
14:42:19Membrillonot a good sign
14:42:32Membrillothen it turned off
14:42:39Membrillomaybe my hd and my battery are bad
14:42:52Mongey|awaycan u RMA it?
14:43:02Membrilloive inskinned it, but i guess so
14:43:07Paul_The_NerdLinuxstb: Ah, it does look like I forgot to get a new build of the kernel.
14:43:19Membrilloi can always take the inskin out and hope
14:43:27Paul_The_NerdMine was dated 11/22
14:43:31Mongey|awaybut how long have u had it?
14:43:40Membrilloactually ive probably had it over a year
14:43:42Membrilloim not sure
14:43:59Membrilloprobably just over a year now
14:44:00Mongey|awaywhere do u live? uS?
14:44:51***Alert Mode OFF
14:44:52linuxstbPaul_The_Nerd: I would have expected the 11/22 kernel to support the Nano. But try a newer one.
14:44:53Mongey|awayso its out of warranty
14:45:22 Quit DJDD__ (Read error: 104 (Connection reset by peer))
14:45:25Membrillolooks like im buying a new battery and hoping that fixes it
14:45:33Paul_The_Nerdlinuxstb: Just tried a new one
14:45:50Paul_The_NerdI get some output, then it stops with "init: /bin/inted respawning too fast"
14:46:00linuxstbThat's fine then.
14:46:12markunMembrillo: you are booting with the charger connected?
14:46:15linuxstbIt means the kernel is running, but there is a problem with your ext2 filesystem.
14:46:43Paul_The_Nerdlinuxstb: Okay.
14:46:45linuxstbYou may need to edit your /etc/rc file (on your ipl ext3 partition) to do something - e.g. run /bin/podzilla
14:46:52 Part Mongey|away
14:47:16 Quit B4gder ("time to say moo")
14:47:28linuxstbAnd make sure you copy a recent podzilla to that location as well - running chmod +x on it to make it executable.
14:48:09 Join DJDD__ [0] (
14:50:53Paul_The_NerdArgh, I really need to get my networking working properly under linux.
14:51:00Membrillook im going to open my h300 and see if the HD is loose
14:54:25Paul_The_NerdI'll be back, again
14:54:26 Part Paul_The_Nerd
14:56:19 Quit mattpwest (""heading home"")
14:58:18***Saving seen data "./dancer.seen"
14:59:31Membrillosomething must of been loose
14:59:46Membrilloopened her up, gave the harddrive a bit of a nudge
14:59:50Membrilloit seems to be ok now
15:00:27CtcpIgnored 1 channel CTCP requests in 0 seconds at the last flood
15:00:27*Bger flashes bootloader v5
15:00:27Membrillokinda strange
15:00:57preglowBger: how do you know iriver fw uses malloc?
15:01:11Bgerpreglow strings :)
15:01:25Bgerof course, i'm not sure :)
15:02:23preglowwhen i disable -mlong-calls and tag ICODE_ATTR functions as attribute long_call, i get conflicting types errors
15:02:26preglowwhy would i do that?
15:02:31Bgermallcheck: fatal error: malloc list is corrupted
15:02:43Bgerfree: warning: multiple free() with same pointer
15:02:48Bgerfree: warning: not a valid pointer
15:02:54preglowBger: looks indicative...
15:03:27Bgerunsigned char table[] = {
15:03:28Bger 0x%02x,
15:03:32Bgerq };
15:03:58linuxstbSo what's wrong with malloc? :)
15:04:01Bgerthis remembers me the firmware of .. (i don't remember the name, mpeye or sthing simillar)
15:04:04 Quit akaidiot (Read error: 110 (Connection timed out))
15:04:49preglowthis is annoying
15:05:26preglowdo we need to handle a long_call attribute any different than other attributes?
15:05:53linuxstbI think the actual function needs that attribute, not just the prototype.
15:06:22preglowwell, that surely wont complicate things
15:07:06 Join Paul_The_Nerd [0] (
15:07:20preglowmost calls use three instructions now
15:07:22preglownot optimal
15:07:59Nibblerre paul nerd
15:08:29Paul_The_Nerd"init: exec rc failed" is actually the first error message. =/
15:08:33Bgerfinally a rb version from 2006... :)
15:08:43Paul_The_NerdBut, I really just wanted to make sure the linux kernel loaded, so that's all well and good.
15:09:05preglowsectioned compilation might also be forcing long calls on practially everything
15:09:09preglowwhy are we using sectioned compilation?
15:09:35 Join muesli__ [0] (n=muesli_t@
15:10:48linuxstbTo force long calls.
15:10:58linuxstbThat's the only way I could get them to work at all.
15:11:10Rob2222Membrillo: I know how LLs patch works, but i cant explain how he would kill the battery, thats what im thinking about.
15:12:00preglowwe're probably wasting tens of kilobytes on long calls, then
15:12:11 Quit DJDD__ (Read error: 104 (Connection reset by peer))
15:12:19lostlogicMembrillo: back to having problems even with higher battery voltage? :(
15:12:28Paul_The_NerdIs the X5 sim suppose to compile with the recent CVS changes?
15:12:45Membrillolostlogic: yeah
15:12:50Membrillomy players just being whack
15:12:51 Join uwe_ [0] (
15:13:22Membrilloalthough, i have it open now, i took out the battery and nudged the harddrive and put the battery back and its working fine
15:13:47linuxstbpreglow: I know it's a very bad thing, but that's the only way I could make Rockbox compile at all. Hopefully gcc4 will be more co-operative.
15:14:06preglowlinuxstb: i'm using gcc4
15:14:24preglowand it's just as quarelsome
15:14:26Rob2222I dont think that the patch is the cause for the problem.
15:14:48Rob2222the patch is programing the PCF50606 charger
15:14:57preglowman, i look forward to 64 meg ipod video support, where we'll have yet another case where we need long calls
15:14:57Rob2222and the battery will be charged by teh LX2201
15:15:15Paul_The_Nerdlinuxstb: Did anything ever happen of ?
15:15:22lostlogicRob2222: The reason I thought it might be possible is that the VBAT on the PCF50606 is connected to the battery as well
15:15:36 Join NightCat [0] (
15:15:44NightCatHi All!
15:15:55NightCatIs someone here?
15:15:58lostlogichas anyone else seen problems with playlist not advancing on recent builds?
15:16:03lostlogicNightCat: lots of people, g'morning
15:16:47NightCatHow can I build only my plugin in devkit?
15:17:02preglowlostlogic: i have tons of playlist related problems
15:17:05NightCatInstead of use make for all RB...
15:17:07linuxstbPaul_The_Nerd: Have you tested it? It doesn't work for me - the usb initialisation causes the retailos to fail to start.
15:17:07preglowwhere it just behaves weirdly
15:17:12preglowlike playing the same dir several times
15:17:19lostlogicpreglow: like not being shuffled with it should be?
15:17:28Membrillothere is something rattling inside my iriver....
15:17:33Membrilloi cant see anything moving though
15:17:42Paul_The_Nerdlinuxstb: I'll test it now.
15:17:47preglowand skipping songs from time to time
15:18:16NightCatI have not seen any playlist bugs...
15:18:25linuxstbPaul_The_Nerd: You could also try the same code, but without the call to usb_init(). I wouldn't expect that to correctly detect usb though.
15:19:01NightCatIdeas about my question?
15:19:20NightCatHow to build only my plugin not all RB?
15:19:31NightCat(Wich commands?)
15:19:40lostlogicpreglow: any idea what recent change might have caused such weirdness?
15:19:45preglowlostlogic: none
15:19:48preglowNightCat: just type make
15:20:06preglowNightCat: after a full build has been done, only the parts that change will be compiled
15:20:26Papricamm when i add somthing to the settings
15:20:28NightCatpreglow: Yes but it checks all
15:20:29Paprica/* # of bits, offset+size, default, .cfg name, .cfg values */
15:20:33preglowNightCat: correct
15:20:49preglowif that checking actually takes time, you are on a 486
15:20:53Papricahow i know what is the nuber of th e bits?
15:21:05Papricahow can i
15:21:09NightCatNop :) P4 1.8...
15:21:33Paul_The_NerdLinuxstb: Mine showed the version number, then went straight into RetailOS
15:21:47linuxstbSo it's working then?
15:21:47NightCatStrange, but it builds credits.c file all the time...
15:21:54Paul_The_NerdThe funny thing is, only sorta
15:22:11Paul_The_NerdIn RetailOS, it's charging off USB, but isn't a drive.
15:22:19preglowNightCat: that's a build system error, i think
15:22:25Paul_The_NerdWidnows, at least, sees it as an unknown device.
15:22:45NightCatpreglow: make clean will help?
15:22:49linuxstbPaul_The_Nerd: In which case, the usb_init() is obviously breaking something. You could try and see what happens if you remove that.
15:22:53lostlogicpreglow: best candidates are my codec return path change, or the new codec loader, but neither would explain all of the weird.
15:22:58Paul_The_NerdI shall then
15:23:11preglowlostlogic: my problems are far older than that
15:23:16Membrillomy iriver has a strange rattle to it now
15:23:44lostlogichmm, I wonder if I'm just noticing because I had been using smaller playlists of all the same codec for a while.
15:25:18 Join t0mas [0] (n=Tomas@unaffiliated/t0mas)
15:26:39 Quit Membrillo ()
15:26:40Paul_The_Nerdlinuxstb: If I remove the usb_init() it doesn't load retailOS. If I leave it there, USB is just... broken in retailOS it seems.
15:26:58Paul_The_NerdAt least if retail is entered via the bootloader detecting USB.
15:26:58preglowlinuxstb: btw, themes work just dandy on nano now
15:27:03preglowloads like a lightning as well
15:27:07preglowcompared to the ages it takes on h1x0
15:28:33 Nick BHSPitLappy2 is now known as BHSPitLappy (
15:36:54Bgerlostlogic np for the red builds ... i know what's the feeling of your eyes closing themselves :P
15:36:58Jungti1234Paprica: Didn't compile end yet? Didn't compile end yet?
15:37:59 Join JoeBorn [0] (
15:40:15 Join jborn_ [0] (
15:40:44 Quit mikearthur (Remote closed the connection)
15:41:27 Quit Jungti1234 ()
15:42:38lostlogicBger: I'm making some corrections to the corrections for a few targets now that I'm awake :)
15:43:13Bgerk ;)
15:45:01linuxstbpreglow: Good news about the themes. I'll have to try them again on my ipod.
15:46:22Paul_The_NerdYeah, themes load over here as well, as would kinda be expected i suppose.
15:47:58linuxstbPaul_The_Nerd: Thanks for confirming my usb attempt doesn't work.
15:48:35Paul_The_NerdIt really _really_ wanted to work though
15:49:04linuxstbMy second idea is for Rockbox to write a "go straight to retailos" string somewhere in IRAM before rebooting, and then for the bootloader to check for that string, and go to retailos if it is present.
15:49:24linuxstbI tried that last night, and it works.
15:49:30Paul_The_NerdI like that one!
15:49:36lostlogicother than reading the code and doing your best, do most of you have build environments for all targets to check before commits?
15:50:11linuxstbYes - if I'm doing a risky commit, then I'll compile for at least one type of each target first.
15:50:55preglowoh, i kind of forgot i've got the UIE thing here
15:51:10preglowit only deals with exceptions yet, but it's probably still worth a commit?
15:54:00linuxstblostlogic: But I think the golden rule is to not commit and run :) IMO, it doesn't matter if we get red builds, as long as someone who knows that change is around to fix them.
15:54:04 Quit ashridah ("Leaving")
15:54:48preglowif you're commiting code that touches several platforms, it's always best to wait until you have time to check the build status
15:54:58lostlogiclinuxstb: yeah, I didn't mean to last night, but it was way past my bedtime and I made two commits in sequence where the latter one was the big one, and couldn't wait 1.5hr longer for them to all build, won't happen again.
15:55:29preglowit probably will, but you can pretend it wont :)
15:55:33lostlogichaha yep!
15:55:37preglowmost people have to get burnt at least two times
15:56:00 Quit Kohlrabi ("Fast alle Menschen sind Regenwürmer")
15:57:07 Quit San (Read error: 110 (Connection timed out))
15:58:16 Quit JoeBorn (Read error: 110 (Connection timed out))
15:59:51NightCatWich element in char array is used as nonstring?
16:00:02NightCatI mean when we do this:
16:00:09NightCatchar a[5];
16:00:19NightCatWich elements puts to a?
16:00:27Bgerit has 5 elements, starting from 0
16:00:29Bgerto 4
16:00:32NightCat(The last one is \0 ?)
16:00:43NightCatAnd other?
16:00:53Bgerso in a char a[5] you can put 4 chars + \0
16:01:01Bgerstarting from the first (0) elem
16:01:13NightCatOh, ok...
16:01:30NightCatI'm working on some string functions :)
16:01:31Bgerwelcome to the c's string heaviness
16:01:53NightCatI've made substr() :)
16:01:55 Join LinusN [0] (
16:02:00Bgerah :)
16:02:02Bgerthere is such
16:02:09Bgeror no... in rockbox
16:02:20Bgerit should be named strstr
16:02:27NightCatNo I'm making substr() and I've made strpos :)
16:03:06NightCatBger: It's hard to understand RB functions for me so I'm doing it myself :)
16:03:18linuxstbSecond attempt at USB->RetailOS for Nano: - apply this patch to a clean CVS copy
16:03:39BgerNightCat better ask than reinvent the wheel ...
16:03:42 Join Matze [0] (
16:04:03NightCatBger: There is no strstr()...
16:04:22Paul_The_NerdI'll let you know how it goes, then.
16:05:32*preglow remembers it's possible to extract exception number for cpsr...
16:05:46BgerNightCat but if you make such fun, name it char *strstr(const char *haystack, const char *needle);
16:06:18NightCatBger: ?
16:07:11NightCatThere is: char *(*strcasestr) (const char* phaystack, const char* pneedle);
16:08:44 Join NightCat2 [0] (
16:08:45 Quit NightCat (Read error: 104 (Connection reset by peer))
16:08:56Paul_The_NerdLinuxstb: Should I need to rebuild rockbox for ipod too, or just the bootloader?
16:08:58 Nick NightCat2 is now known as NightCat (
16:09:13NightCatI'm back :)
16:11:14BgerNightCat w8
16:11:43NightCatBger: What is w8?
16:12:38BgerNightCat i suppose this makes a case-sensitive substr seach
16:12:58Bgerah, the reverse
16:13:14Bgerit ignores the case
16:13:29NightCatHow it works?
16:13:37NightCatI can't understand...
16:13:44Bgerchar *strcasestr(const char *haystack, const char *needle);
16:13:53Bgerbut in the rockbox's source .. w8
16:13:58NightCatMy function looks like this: int strpos(char *src, char *needle, int offset)
16:14:25Paul_The_NerdLinuxstb: Okay, now when you plug in the USB cable inside of rockbox, it reboots to retail, and then USB connects properly
16:14:29NightCatAnd it returns INT!!!
16:14:30Bgerfirmware/common/strcasestr.c: char* strcasestr (const char* phaystack, const char* pneedle)
16:14:34amiconnpreglow: Afaik, function attributes can be set for the prototypes *only*
16:15:09NightCatBger: I can't understand why that function returns char?
16:15:10BgerNightCat it returns a pointer to the found substring "pneedle"
16:15:30amiconnThis is how all ICODE_ATTRs are set anyway, so I don't see a reason why it shouldn't work for long calls
16:15:40NightCatBut I need a position, not pointer...
16:15:49preglowamiconn: it doesn't
16:15:58amiconnThen something in gcc is broken
16:16:09preglowamiconn: it starts complaining about conflicts in definitions
16:16:11amiconnarm seems like a strange platform to me...
16:16:22BgerNightCat if you call it like char *pos,str[]={"blahadg"}; pos=strcasestr(str,"ha");
16:16:26amiconnpreglow: How do you set the attribute?
16:16:28preglowit's not that strange
16:16:42preglowamiconn: i just concat it onto ICODE_ATTR with __attribute ((long-call)
16:16:46preglowlong_call), that is
16:17:14amiconnThat won't work
16:17:16NightCatBger: Then what?
16:17:17preglowwhy not?
16:17:18BgerNightCat then the pos will point to "hagd"
16:17:34amiconnIf you give multiple attributes, you must use a single __attributed__
16:17:42NightCatBger: Really? :)
16:17:42Bgerand if you want the string pos, you just do a (pos-str)
16:17:50preglowthen how come IDATA_ATTR LINE_ATTR has worked for so many?
16:18:17NightCatBger: Yes... Pointers is not my specification...
16:18:18preglowamiconn: so __attribute__ ((attr1, attr2)), or?
16:18:34preglowamiconn: that's an awful lot of dots you've got there
16:18:45linuxstbPaul_The_Nerd: So you would be happy if I committed usb2.diff ?
16:18:53Paul_The_Nerdlinuxstb: Absolutely.
16:18:53BgerNightCat in C an array name is simply a pointer to the first element (but constant pointer, i.e. you can't make str=<otherstring>" in our example
16:19:19preglowboot retailos instead of disk mode?
16:19:22preglowwont that just be really, really slow?
16:19:28Paul_The_NerdIt takes several *minutes* to copy over a clean .rockbox folder in "Disk Mode" and less than 10 seconds in Retail OS.
16:19:35NightCatBger: And what if I want to have "bla"?
16:19:37preglowi very seldom need a complete folder
16:19:40preglowusually just one file
16:19:48BgerNightCat ? explain
16:19:58preglowbut anyway, i can remove it if it's too slow
16:20:01preglowso just go ahead
16:20:09NightCatBger: In our example.
16:20:37 Join Chamois [0] (
16:20:42NightCatBger: "ewfewr!efer" I need only "ewfewr"
16:20:47Chamoisi have a little question
16:20:48Paul_The_NerdIt doesn't take very much longer at all to get into retail OS, and that'll more than make up for it if, say the intent is to copy a folder of music.
16:20:57Paul_The_NerdOr anything else that's multiple files, for that matter.
16:21:06NightCatChamois: Just ask
16:21:34Chamoisis it normal that the h300 patched firmware do 4 meg ?
16:21:48Chamoisbefore patching it was 2.5 mb
16:22:19NightCatIt is
16:22:37Chamoissure ? :-)
16:22:53NightCatI have about 3,98 ...
16:22:58Chamoisso i will patch
16:23:00NightCatOr something...
16:23:19NightCatIf you want to check, check a checksum.
16:23:27Chamoisyes i will do
16:23:32NightCatNot the size of a file.
16:24:02 Join Mongey|away [0] (
16:24:13 Quit Mongey|away (Client Quit)
16:25:17NightCatBger: How do you think will it be that my function will work slower then RB?
16:27:48NightCatAnybody here?
16:28:17NightCatBger: What it means "w8"?
16:28:21BgerNightCat if you search for a string
16:28:38Bgerw8 = wait ... 8 spells like [eith] uf ...
16:28:55Bgeryou know its len
16:29:05Bgerso if strcasepos returns you something != NULL
16:29:14NightCatBger: Oh, ok now I know what is w8 :)
16:29:44Bgeryou know where the the string starts, and you know its length
16:30:36amiconnpreglow: Where did you try these attributes? Perhaps there are several declarations for the same function
16:30:42BgerNightCat what do you want to do in fact ?
16:30:53NightCatif I want to find the string end symbol will it work: if(src[i] == \0) ?
16:31:06NightCatOr if(src[i] == "\0")?
16:31:11NightCatOr if(src[i] == '\0')?
16:31:23Bger '\0'
16:31:30Bger'c' is char
16:31:43Bger"s" is in fact a string ('s'+'\0')
16:31:49NightCatBger: In fact I just trying to improve some string functions like in pascal.
16:32:06Bgerah :)
16:32:16Bgerbtw, there is sprintf...
16:32:33preglowamiconn: where? when i modify ICODE_ATTR i believe they'll be applied for all iram functions
16:32:38NightCatBger: Cause it's more understandable for me :)
16:32:42preglowamiconn: and yeah, problems appeared in the core already
16:32:54preglowamiconn: for a string function, i believe
16:32:56 Join Thus0 [0] (n=Thus0@
16:33:01preglowamiconn: gimme a sec and i'll paste you the error
16:33:12BgerNightCat i tried the same thing some years ago ....
16:33:18Bgerbut gotta go
16:33:28NightCatBger: Ok :)
16:33:40preglowcommon/strlen.c:58: error: conflicting types for ?strlen?
16:33:40preglowinclude/string.h:35: error: previous declaration of ?strlen? was here
16:34:11NightCatBger: Somewhen I'll forget pascal funtions too, but now... :)
16:34:55BgerNightCat search for "working with strings in C" ...
16:35:20NightCatBger: I've done this - nothing itresting...
16:35:53Bgerwhile on this topic ... now with unicode there are problems with string terminating ...
16:36:15 Join zirra-gone [0] (
16:36:16zirra-gonehowdy folks.
16:36:25Bgergotta go ... nite
16:36:35NightCatBger: Bye :)
16:36:40NightCatBger: Thx
16:37:34 Nick zirra-gone is now known as godzirra (
16:38:25godzirraa few days ago someone recommended an awesome windows based playlist editor that they used as a replacement for the crappy software that came with their iriver...
16:38:34godzirraanyone know what it was? I keep wanting to say TBD or something?
16:38:58 Join noonex [0] (
16:39:11Paul_The_Nerdtag database tool, I believe?
16:39:24godzirraOoh.. that may have been it. Thanks Paul.. I'll go google.
16:39:35Paul_The_NerdThough, if you're using Rockbox, you can just create otf playlists...
16:39:51 Quit ender` (" cat /dev/coffee | /dev/cup | /dev/mouth | /dev/nose > /dev/keyboard")
16:40:03godzirraI hate creating on the fly playlists though... they take too long for me to do because i'm not used to them.
16:42:31 Quit DrumRBoy320 (Read error: 110 (Connection timed out))
16:45:41 Join akaidiot [0] (
16:47:03amiconnpreglow: Hmm, it seems there are actually two types of attributes
16:48:00amiconnOne type is additive, i.e. if you declare the same function multiple times and one of the declarations has that attribute, it will be in effect, regardless of the other declarations
16:48:27amiconnOne type seems to be exclusive, i.e. if one declaration has it and the other does not, there will be a conflict
16:49:12amiconnstrlen() is declared 2 times, once in string.h (w/o ICODE_ATTR), and once in strlen.c (with ICODE_ATTR)
16:49:15preglowstrange that the section attribute is not one of them
16:50:51 Join gtkspert [0] (
16:51:34amiconnI expect even section attributes to clash if you give two different ones
16:52:09amiconnWell, the section attribute (by itself) doesn't change the calling convention, while long-call does
16:53:44preglowso, any quick fix?
16:54:16preglowi expect we need to add ICODE_ATTR to all the header defs as well, then?
16:54:33 Quit Paprica (Read error: 104 (Connection reset by peer))
16:56:41amiconnlostlogic: I don't understand your latest changes.
16:57:13amiconnThe targets which have no charging at all (i.e. Ondio) surely don't need the wps tag, this is code bloat
16:58:19***Saving seen data "./dancer.seen"
16:58:28lostlogicamiconn: hmm, that code was there on all targets before I started touching things yesterday... it is for the charger connected state, not for the charging state...
16:59:16amiconnHmm. Still, there can't be a charger connected when there is no charging
16:59:37amiconnIt seems a little cleanup is due...
16:59:39lostlogicHmm, I'll double check for the targets that don't HAVE_CHARGING.
17:03:03 Quit Paul_The_Nerd (Read error: 110 (Connection timed out))
17:04:33NightCatif char *src; char t[5]; src = t; sizeof(src) returns a size of pointer, and I want a size of t... What shoud I do?
17:04:47 Join bobwise [0] (
17:05:12lostlogicamiconn: yeah, the way the config-*.h files are setup, the charger_inserted function should just not exist if HAVE_CHARGING is not set. Fixing.
17:06:31amiconnlostlogic: There is a possibility to clean up #ifdefs: If you define HAVE_CHARGE_STATE for all platforms which can read state, some #ifdefs will get much clearer
17:06:56 Join Paul_The_Nerd [0] (
17:07:01amiconn(that is, define HAVE_CHARGE_STATE for recv1, fmrec, recv2 as well)
17:07:10lostlogicamiconn: yeah, I want to do that as well, those 3 condition ifs were killing my brain to be writing them, but didn't have the energy to do the cleanups at the same time.
17:07:12Paul_The_NerdAlrighty, got iPodLinux properly working.
17:07:20amiconnOf course the function to actually read the state is model dependent
17:08:05amiconnEither do model checks there (discouraged in rockbox), or make HAVE_CHARGE_STATE a multi-value option
17:08:13 Join NicoFR [0] (
17:08:34amiconnLike, #define CONFIG_CHARGE_STATE CHARGE_STATE_H300 etc
17:08:58linuxstbpreglow, Paul_The_Nerd: Maybe upgrading to a newer version of retailos will fix the "emergency" disk mode. It sounds like a bug to me. But at least we now have methods for doing either. I'll leave it up to you two to decide what Rockbox should do.
17:08:58amiconnThen you can both check with #ifdef, and check for the exact value where necessary
17:09:00NightCatPeople! How to use sizeof() function with pointers? (I know, you are very busy but...)
17:09:16Paul_The_Nerdlinuxstb: I'm at the "newest" version of RetailOS, it just came out a couple days ago
17:09:39amiconnNightCat: That's not possible. sizeof(pointer) always gives the size of a pointer (4 for 32 bit platforms)
17:10:28NightCatI know... But how to get size of var wich have this pointer?
17:10:48NightCatI mean wich this pointer is points to...
17:10:55amiconnYou can't
17:11:12amiconnIf it's a string, you can get the actual string length,
17:11:27amiconnbut you can't get the length of an array
17:11:36NightCatThen how rb->strlen works?
17:11:45lostlogicamiconn: what are the chances that the new codec loader would cause problems only when changing codecs in play mode, but not in skip mode? (either that or my code is causing weirdness at codec-change track boundaries)
17:13:23amiconnIt shouldn't. Itested it in both modes
17:13:55amiconn(changing between various combinations of mp3, ogg, wv, flac, ac3)
17:14:39 Join radsaq [0] (
17:14:49 Join Mmmm [0] (
17:15:43*Paul_The_Nerd is not so impressed with iPodLinux.
17:17:08 Join thegeek_ [0] (
17:18:17Paul_The_NerdWell, I suppose it's more with this "podzilla" thing. Heh.
17:23:34 Quit Chamois (Read error: 110 (Connection timed out))
17:24:48 Join Mongey|homework [0] (
17:25:35Mongey|homeworkcan i make a request?for an addition for the h300 port
17:26:02Mongey|homeworkan alarm
17:26:25linuxstbPaul_The_Nerd: There is a new "podzilla2" in development. From what I've read about it, it seems very big on eye-candy.
17:26:48linuxstbBut I haven't tried using it.
17:27:36Paul_The_NerdMaybe I'm just used to rockbox or something, but it generally just sorta felt wrong in general.
17:28:17Paul_The_NerdBut, I can at least confirm that it seems to have no problems working beside rockbox.
17:28:32lostlogicMongey|homework: I believe that's already on the long list of things to do.
17:29:10 Quit thegeek (Read error: 113 (No route to host))
17:29:52 Join ^BeN^ [0] (
17:29:56 Nick ^BeN^ is now known as Paprica (
17:33:10Mongey|homeworkmy bad
17:33:25 Join San [0] (
17:34:23 Quit Skydemon ("bye bye")
17:36:24Papricawhere is linus =\
17:36:30Papricai want to release my patch
17:36:37Papricabut i need to ask him somthing
17:36:50NicoFRPaprica: what kinf of patch ?
17:36:54Paul_The_NerdWhat's the patch for, out of curiosity?
17:37:17Papricammm custom status ba
17:37:23Papricanot images
17:37:28Papricaonly the postion
17:37:35Papricatitle for all the menus
17:37:44Papricaand the directorys
17:37:44NicoFRthat's cool
17:38:25NicoFRar you going to post it to the patch tracker ?
17:38:25Paul_The_NerdWhat did you need to know before you put it on the patch tracker, then?
17:38:27Papricaitd thedsme?
17:38:46PapricaNicoFR yep
17:38:55NicoFRyes folder == directory
17:39:01PapricaPaul_The_Nerd, sec
17:39:33Paprica/* # of bits, offset+size, default, .cfg name, .cfg values */
17:39:35linuxstbPaprica: Does your patch handle all the targets? Different targets have differents things available in the status bar.
17:39:39Papricai want to know
17:39:51Papricawhat i need to write in the # of bits
17:39:55 Nick jborn_ is now known as JoeBorn (
17:40:20Papricai use it in the simulator with 4
17:40:33linuxstbWe have 16 targets...
17:40:34Papricabut dont know if its correct
17:40:52Papricalinuxstb: i dont try it =\
17:41:06Papricai try it only on the h3xx target
17:41:23linuxstbYou just need to make sure that your code uses the same combinations of #ifdefs that the existing code uses.
17:41:41Paul_The_Nerdlinuxstb: Question: Would it be possible to allow rolo-ing into Linux, as opposed to using the bootloader?
17:42:07Papricaok i will try to compile it for the others
17:42:25Papricalinuxstb, you know the answer for my question?
17:42:29 Nick Lynx_ is now known as Lynx_awy (
17:42:51 Quit Matze ("Miranda IM! Smaller, Faster, Easier.")
17:43:03 Join Matze [0] (
17:43:08MmmmIve made a patch for the recording function, it combines the digital and analogue gain in a rather cunning way... anyone want to try it?
17:43:36linuxstbPaul_The_Nerd: I think we would have to undo all the hardware initialisations that Rockbox does before attempting to load a Linux. So I don't think it's trivial.
17:44:31 Quit Matze (Client Quit)
17:44:34linuxstbAt the very least, we will have to undo the memory remapping to move SDRAM back to the original 0x1000000 location.
17:44:59linuxstbPaprica: No I don't. Try looking at the CVS log to see if anyone has done a similar change in the past to what you want to do.
17:45:17 Quit Mongey|homework (Read error: 104 (Connection reset by peer))
17:45:36Paul_The_Nerdlinuxstb: Ah, makes sense.
17:46:30linuxstbBut at the very least we should try and make rolo load rockbox.
17:47:12Paul_The_NerdIt doesn't?
17:47:39linuxstbNope. I haven't worked on it at all, and it will also fail due to the memory remapping.
17:48:05Paul_The_NerdAh, gotcha
17:51:48 Quit linuxstb ("CGI:IRC (EOF)")
17:54:42 Join Skydemon [0] (
17:59:04 Quit Skydemon (Client Quit)
17:59:43 Join Skydemon [0] (
18:00:12Rob2222 <= lol. "HD doesnt recognized by computer. format doesnt work. Maybe a low level format can help but i dont know that cause i am not a expert"
18:01:08Rob2222"somone sait to me, thats no problem for a tinkerer to get thad disk running again"
18:01:13Rob2222funny text
18:02:07thegeek_not really
18:02:14thegeek_quite honestly
18:03:09Rob2222i found it funny :)
18:03:15Rob2222then sorry 4 spamming
18:05:05lostlogicis anyone else having problems with codec failure when playing across a codec change, or is this just me?
18:06:54Paul_The_NerdY'know, now that you mention it, I haven't just sat and listened to music through a rockbox running dap in several days... heh.
18:08:01 Join aegray [0] (
18:08:05aegraywhere are your ICODE_ATTR and ICONST_ATTR defined?
18:09:27noonexI was wondering if anyone knows if it is difficult or impossible to change the usb controller in a jukebox 20?
18:11:00Rob2222i dont know
18:11:23Rob2222MULTILIBS=`/home/Rob/build/gcc/gcc/xgcc -B/home/Rob/build/gcc/gcc/ -B/home/Rob/m68k4/m68k-elf/bin/ -B/home/Rob
18:11:24Rob2222-print-multi-lib` \
18:11:24Rob2222make[1]: *** [] Error 127
18:11:24DBUGEnqueued KICK Rob2222
18:11:24Rob2222make[1]: Leaving directory `/home/Rob/build/gcc/gcc'
18:11:24Rob2222make: *** [all-gcc] Error 2
18:12:10Rob2222i didnt manage it to compile gcc402. tried both patches of the wiki
18:13:52noonexI want to try to make it a usb host instead of slave, but I would probably have to repogram the firmware too.
18:15:26aegraydoes it even have host capabilities?
18:16:21 Join DT291 [0] (
18:16:21 Quit DreamTactix291 (Read error: 104 (Connection reset by peer))
18:16:44Rob2222noonex: Have a USB host controller thats at least a little "pin compatible"?
18:19:17 Nick DT291 is now known as DreamTactix291 (
18:20:55 Quit akaidiot ("( :: NoNameScript 3.81 :: )")
18:24:55 Join Drumr|Defeated [0] (
18:26:36lostlogicanyone running the latest bleeding edge out there with a couple different codecs of music on their player?
18:28:08Paul_The_NerdGimme a sec Lostlogic, and I'll test
18:30:10Paul_The_NerdWhich DAP are you on, by the way?
18:30:25lostlogicPaul_The_Nerd: thanks −− just get to a point where next track is a different codec than current track, seek to a few secs from the end, and then see what happens when it should start the next track
18:30:55t0maspreglow? are you around?
18:31:18t0mas(or amiconn?)
18:32:42Papricathe menu doesnt open in the ipod simulation
18:33:27Paul_The_NerdLostlogic: Does it matter which two codecs it's switching between?
18:33:49preglowt0mas: am now
18:33:57lostlogicPaul_The_Nerd: the problem I'm having is vorbis->mp3 and mp3->vorbis but I don't think it matters
18:33:58t0masok, have some time for a question?
18:34:13t0masI have some weird results from optimizing a simple math function
18:34:23Paul_The_Nerdlostlogic: Yeah, it just happend mp3->flac
18:34:24 Quit Mmmm ()
18:34:35lostlogicget codec failure, right?
18:34:49Paul_The_NerdThen it skips the next song, and plays the song after
18:34:51t0maspreglow: it's here:
18:34:53Paul_The_NerdWhich is also a flac, and it works.
18:35:14lostlogicyeah, it's just when playing across boundaries, but not when skipping across boundaries :-\ thanks.
18:36:18Paul_The_NerdUgh, the playlist browser is *really* unresponsive too... I don't remember that.
18:36:19preglowt0mas: this is x86....
18:38:01preglowaegray: don't see if anyone answered you, iram defs are in firmware/export/config.h
18:38:23aegraypreglow: i was looking more for the link script but got it :)
18:38:31aegraydoes rockbox dynamically load executables?
18:38:49preglowplugins and codecs are loaded dynamically
18:39:00aegrayhow does it handle copying to iram?
18:39:07preglowthe plugin itself has to do it
18:39:15preglowsince our plugins are just plain binary flat files
18:39:20preglowno relocation or sectioning or anything
18:42:36lostlogicamiconn: I think your more consistent error checking patch is the cause of the current problems that I'm seeing with codecs not changing over.
18:42:37NightCatHow to convert CHAR to INT ? ('1' > 1)
18:42:57aegray'1' - '0'
18:43:13NightCatWhat you mean?
18:43:35aegraychar has some value - '1' might be 49
18:43:39aegray'0' might be 48
18:43:50aegrayuse a loop to go through and change things like that
18:43:57aegraywith one digit, '1' - '0' = 1
18:44:00aegray(with casting)
18:44:35NightCatI always trying to find some functions...
18:45:01aegraycheck online - i'm sure theres a ton for implementations of printf
18:47:00preglowi _still_ get skips when playback changes directory
18:47:16NightCat'1' - '0' works
18:47:22CtcpIgnored 1 channel CTCP requests in 0 seconds at the last flood
18:47:22*preglow summons Slasheri
18:49:12Slasheripreglow: Hmm, yes that's possible because playback engine can't prebuffer the next song in next directory..
18:50:03preglowSlasheri: well, it shouldn't start playing it if it can't do so without a skip
18:50:07Slasheriand that's because playlist_peek will not advance to the next directory unless playlist_next is called first
18:50:24Slasheriand we can't call playlist_next before song has been changed
18:50:45preglowi really don't see why that's relevant, btw, if the track has already started playing, all the playlist stuff has been dealt with
18:51:10Slasherioh.. so the playback skips once the new track has just started playing?
18:51:26preglowthe good old problem
18:51:26Slasheriah, then it's a bug..
18:51:29preglowwhich just wont go away
18:51:53Slasherii think we need to make some prebuffering checks before starting the playback
18:52:03preglowprobably, yes
18:52:11 Join actionshrimp [0] (
18:52:32Slasherii will try if i can find any songs to reproduce the issue and then fix it..
18:53:23preglowthis was mp3
18:53:47pregloweverything goes fine, it buffers the next directory, starts playback, skips, and continues playback
18:53:51 Quit aegray ("leaving")
18:53:58preglowno manual skip, btw, it changed directory because it was at the end of a track
18:54:02preglowehh, directory
18:54:05Slasherihmm.. what bitrate the file is?
18:54:07 Join akaidiot [0] (
18:54:16 Join matsl [0] (
18:54:38Slasheriok.. it might be possible your disk is slower than mine, so it will produce the problem more easily
18:55:47preglowahh, yes, there's always that
18:55:55preglowwhat about the antiskip setting, does that work on iriver currently?
18:56:14Rob2222ipod or iriver?
18:56:34Slasheriyep it works, but it has no use when directory changes because buffer will always run empty..
18:56:44Rob2222Slasheri: ona and two plattern disk have different speeds
18:57:03lostlogicwhy would a directory change cause the buffer to run empty? The player could still tell what to buffer next and fill from the next dir ahead?
18:57:10Rob2222H320 compared with H340 in disk speed f.e.
18:57:19Slasherilostlogic: no it couldn't
18:57:29preglowit could, but it doesn't
18:57:37preglowbecause of rockbox' internal structure
18:57:39preglowplaylists, etc
18:57:48Slasherilostlogic: playlist_peek(next_song) returns null until we call playlist_next to advance next directory
18:57:57Slasherithat is a problem with the playlist engine..
18:58:10lostlogicI see −− so the problem is only in the auto-dir advance feature.
18:58:14preglowa seperate file mode would be lovely
18:58:16preglowi never use playlists
18:58:21***Saving seen data "./dancer.seen"
18:58:26Slasheriso we can't prebuffer the songs in the next directory until last song in the current directory has finished
18:58:36 Quit Drumr|Defeated (Read error: 110 (Connection timed out))
19:02:36Slasheripreglow: good, i was able to reproduce that. But it sounds something other than buffering problem, weird
19:03:02preglowyes, i don't think it's a buffering problem
19:03:15preglowseems like you should buffer some more audio in the pcmbuf before starting playback
19:03:43Slasheriit sounds like the playback is started twice at the beginning of the same file
19:07:01Slasheriyep, that is the problem at least.. just verified :)
19:07:27 Join Bluechip [0] (
19:11:12 Quit Thus0 ("Leaving")
19:11:45 Join SteL [0] (
19:15:43 Join Kohlrabi [0] (
19:16:17 Join mirak [0] (
19:17:06 Part Bluechip
19:21:44 Part Paul_The_Nerd
19:22:35Slasheripreglow: should be fixed now, please test :)
19:23:14preglowi will
19:27:06 Join Paul_The_Nerd [0] (
19:28:00 Join ender` [0] (i=ychat@
19:30:39 Quit Kohlrabi ("Fast alle Menschen sind Regenwürmer")
19:32:43 Join Mongey|homework [0] (
19:32:57 Quit Mongey|homework (Client Quit)
19:38:15 Quit Paprica (Read error: 104 (Connection reset by peer))
19:39:51 Join eli_sherer [0] (
19:40:08Rob2222LinusN: Should we make measurements how deep we could go with the voltage in H3x0 series? In the moment it takes the min_voltage of the H1x0, if i see that right.
19:42:06*eli_sherer says look here:
19:49:10 Join ender [0] (i=ychat@
19:51:30muesli__eli :D
19:51:53 Join ModernExecutive [0] (
19:52:15eli_shererdo you have and OB (optimized build)?
19:52:52ModernExecutiveJust wanted to inquire: did linus come up with a new version of the US patched firmware?
19:55:16preglowSlasheri: works just dnady
19:55:42preglowModernExecutive: linus doesn't distribute patched firmwares
19:55:48 Join arkascha [0] (
19:56:03 Join Coolhawk [0] (
19:56:34ModernExecutivepreglow: i was a guinea pig for a patched firmware.
19:56:53ModernExecutivethe test was to see if his patch retained drm
19:56:55ModernExecutiveit did not
19:57:03ModernExecutivei was just curious if he had tried again.
19:57:06eli_shereri made it a thread for feedback and stuff:
19:58:22CoolhawkAnyone here have had a burned charger circuit on the X5 ?
19:58:28preglowsomeone should make a more customisable gui system for rockbox
19:58:37preglowthis just bolting on colours doesn't do it for me
19:59:43ModernExecutivei ask because i have another h320 with drm that could serve as fodder for another version
19:59:53preglowwell, he hasn't mentioned it
20:03:28Rob2222ModernExecutive: What happened with your player? RMAes?
20:03:44ModernExecutiveyep. got my rma replacement yesterday.
20:03:52ModernExecutiveonly problem was that the HDD was shot on the replacement
20:04:06ModernExecutivea quick call to iriver led to yet another rma replacement, which should arrive by tomorrow
20:04:26ModernExecutivein the meantime, i swaped the HDD from the bricked player into the rma replacement.
20:04:31ModernExecutivethen i shipped back the bricked player.
20:05:12preglowSlasheri: tagcache? :>
20:06:00Slasheripreglow: will come when i found some time.. maybe at next week :)
20:06:14Slasherihmm, i just discovered that the previous fix introduced a bug also..
20:06:40Slasheriyep, but trying to fix that now :)
20:07:31lostlogicamiconn: ping
20:09:07 Join ^BeN^ [0] (
20:09:54CoolhawkSomeone here knows where it's possible to get more info on the hardware part of the iAudio X5 ? Have one here with a burned charger circuit. Have checked rockbox hardware section, but contains only main components. I'll need at least the schematics of the charger circuit in order to fix this. Or do I direct this to another channel ? If so, which one ? Furterhmore I made a post on iAudiophile here :
20:13:11lostlogicCoolhawk: if you have the unit open... you could read the chips and do some research on what they are... and use that to help us and yourself :)
20:15:09CoolhawkAlready done... Also researched all SMS markings, and also read all related hardware specs on rockbox for the main components on the X5 board, which helps a little, but not enough, since this is a triple layer board, it's not very easy
20:15:41CoolhawkFurthermore, the burned components was so burned that markings on them was gone, therefore I've no idea which kind of diodes they were
20:16:37 Quit ender` (Connection timed out)
20:16:38CoolhawkAnd yes, I've the unit open right here now, and tracing lines to both the DC/DC converter and the PMU5050
20:16:48Coolhawksorry PMU5060
20:18:45 Quit uwe_ (Read error: 110 (Connection timed out))
20:18:46lostlogicThe only person who might know more about the hardware would be LinusN as he's working on the bootloader for the X5.
20:20:33amiconnlostlogic: pong
20:21:25CoolhawkThe unit is still working, but of course not charging after a "Samsung" charger which according to the guy "looked similar" was plugged, and of course poooofff and smoke. Another problem is that both the DC/DC converter and the PMU is programmable units, so even if I find out in the end that one of those are burned dead, then the problem of getting those programmed does offer a challenge. So thats why I needed proper schematics for the charge
20:21:35amiconnI think that if the improved error checking really causes codec failures, there must be something wrong with the codec change itself.
20:22:09CoolhawkLinusN, you happen to be around maybe ?
20:22:43lostlogicamiconn: :-\ all I know is that current CVS doesn't do codec song transitions, but without the codecs.c part of that commit, it does, I haven't had a chance to figure out the whole path of breakage yet.
20:23:43preglowyou mean across different codecs?
20:24:03lostlogicpreglow: yeah, during playback, a change from a song of one codec to song of another codec
20:24:08amiconnHuh? If you compile without the codecs.c changes only, I'd expect codecs to crash immediately
20:24:09preglowreally now
20:24:26lostlogicamiconn: not the main patch, the "More consistent error handling" part
20:24:39amiconn..b/c the old code assumed entry point == start of codec, while the new system has the entry point address stored in the header
20:25:15amiconnThe strange thing is that I even tested codec transitions, and all of them worked fine
20:26:08lostlogicamiconn: I assumed it was my codec return path change as well, but I tested with that reverted and still had the brokenness
20:26:42amiconnIf it is the improved error checking _only_, then something obviously overwrites the very start of the codec (where the codec magic is)
20:27:11lostlogicamiconn: that would make sense −− since it only happens if it's during playback, but not if it's during skip
20:27:25amiconnThe only change for target is that it checks the magic
20:27:40amiconnsim checks are even more relaxed than before
20:30:02 Quit tvelocity ("Leaving")
20:30:03 Quit akaidiot (Read error: 110 (Connection timed out))
20:31:02 Join ender` [0] (i=ychat@
20:34:30 Quit kkurbjun (Remote closed the connection)
20:34:34 Join Thus0 [0] (
20:37:12 Quit ender (Read error: 110 (Connection timed out))
20:38:03 Quit BHSPitLappy ("Dropped my laptop.")
20:40:00 Join Drumr|Defeated [0] (
20:49:25 Join mikearthur [0] (
20:50:55 Part SteL
20:51:43Slasheripreglow: now i have found many bugs and trying to fix them.. :)
20:52:16preglowany new ones?
20:52:51amiconnlostlogic: Hmm, I made a test playlist, alternating between the same 2 tracks multiple times (one .ogg and one .mp2). The first time a track change was due, it skipped 4 (!) tracks with codec failure, then continued playing
20:53:19Slasheriyep, probably. And i also fixed that playback will stop if track cannot be changed immediately
20:53:32lostlogicamiconn: yeah, that's about what was seeing until I reverted the magic checking... what could be overwriting the beginning of the codec!?
20:53:35 Join JdGordon [0] (
20:54:23 Join DrumRBoy320 [0] (
20:54:35amiconnAgain, 4 tracks skipped, strange...
20:56:21lostlogicdo the codecs themselves get put on the compressed audio buffer?
20:56:46amiconnSlasheri: Any idea? Or is that one of the bugs you already found?
20:57:17lostlogiccould it be some of the tag parsing or stripping code that's effecting the codecs that are on the buffer?
20:57:22Slasheriamiconn: that sounds like a new problem
20:57:24preglowSlasheri: excellent, excellent
20:58:00preglowit is a new problem
20:58:10Slasheriamiconn: can you find from logf what was the cause for that codec failure?
20:58:25***Saving seen data "./dancer.seen"
20:58:42amiconnThe error checks don't logf(), but that could be added
20:58:56*amiconn never used logf() on iriver, and only once on archos
20:58:57lostlogicSlasheri: it is pretty surely the hdr->magic != CODEC_MAGIC check
20:59:03Slasheriah. but it can fail before the codec ever gets loaded.. at the codec loader
20:59:07 Join Mongey [0] (n=mongeyc@
20:59:20amiconnThe disk loading didn't change
20:59:20 Join ender [0] (i=ychat@
21:01:13amiconnHmm, now even the playlist display got confused. It must have skipped an odd number of tracks this time (because it plays the same title again - in an alternating list), but the playlist didplay now shows the other track (!)
21:02:33preglowi just went from mp3 to ogg with no problems
21:02:35Slasherihmm, weird
21:07:25amiconnNow it just sits here in the wps, not playing, but not stopping either
21:08:19lostlogicparts of the codec must be getting eaten, but why does it not have a problem when the magic check is absent?
21:08:22amiconn(and the 'follow playlist' position was wrong - in the dir of the other track - after hitting Stop)
21:08:48 Quit Mongey (Read error: 104 (Connection reset by peer))
21:09:01 Quit Skydemon ("bye bye")
21:09:48 Join aegray [0] (
21:09:48 Quit bobwise ("CGI:IRC (EOF)")
21:11:02 Join petur [0] (
21:11:44amiconnlostlogic: Red builds...
21:12:38 Quit Drumr|Defeated (Read error: 110 (Connection timed out))
21:15:13 Quit matsl (Remote closed the connection)
21:15:26lostlogicwas watchin' for them, thought I'd caught everywhere where platforms w/o charging were trying to check if a charger was inserted, but missed one.
21:16:15 Join DocterD [0] (
21:16:58 Part XavierGr
21:17:22 Part petur
21:18:01amiconnlostlogic: Btw, you're right that building the other target's tool chains is a good idea
21:18:37amiconnI had an m68k compiler before I had an iriver, and I have an arm compiler even though I don't even plan to buy an iPod or gigabeat
21:19:02lostlogicamiconn: calmrisc16-elf and calmrisc16-unknown-elf are telling me they are invalid in binutils 2.16.1
21:19:24Bagderthey're from a special gcc dev package
21:19:28amiconnHmm, that's the one platform I don't have a compiler for.
21:19:33Bagderthe gmini porter was insane
21:19:44lostlogichahaha, ok, I'll skip that one too then :)
21:19:44Bagderhe did the gcc port as well
21:19:49amiconnThe gmini port seems to be practically dead now
21:20:14amiconn...and building calmrisc gcc requries a special gcc version as well
21:20:24Bagderit does?
21:20:30amiconnDid anyone even try to build the calmrisc gcc on cygwin
21:20:36BagderI never had any problem
21:20:42Bagderon linux I mean
21:21:05BagderI'd guess that I and jyp were about the only ones who did it ;-)
21:21:39lostlogicjyp being the person crazy enough to make a gcc port just to hack on their audio player?
21:21:50Bagderand an emulator
21:22:03amiconnBagder: Hmm, that was misleading. Of course I mean that you need the gcc sources from gemoss in order to build calmrisc gcc
21:22:05Bagderthat emulated the device, including ata and lcd
21:22:12amiconn...not that you need a special host gcc
21:22:17Bagderamiconn: ah, right
21:22:36lostlogicwhat happened to him?
21:22:53Bagderhis computer died
21:23:16Bagderhe being unemployed, didn't want or could buy a new one just for this
21:23:32lostlogicgah, hate to hear about people that smart being not employed.
21:23:52Bagderand I bet he felt a bit lonely in his struggle
21:24:06 Quit ModernExecutive ()
21:26:54lostlogicis the conclusion that for arm gcc-4 is better than gcc-3?
21:27:41Bagderthe verdict isn't yet carved in stone, but it seems to lean towards gcc4
21:28:14lostlogicfor build checks either one works though?
21:28:26Bagderoh sure
21:28:34Bagderwe should build fine with either one anyway
21:29:00lostlogichaven't bought an iPod yet so it matters not how it runs yet.
21:30:36 Quit ender` (Success)
21:31:30 Join Bger_ [0] (n=Bager@
21:32:34 Quit DocterD (Remote closed the connection)
21:34:40preglowgcc4 at least makes code that works
21:34:47preglowit doesn't seem any less solid than gcc3 so far
21:34:47 Join DocterD [0] (
21:34:56 Quit noonex ("CGI:IRC (EOF)")
21:35:23Slasheripreglow: now it should work better :)
21:35:26preglowlostlogic: people that smart being unemployed is a good thing if they spend their time porting tools to entire platforms, heh
21:35:30preglowsomeone should just fund them
21:35:39 Quit DangerousDan ("Miranda IM! Smaller, Faster, Easier.")
21:35:42preglowSlasheri: what should work better, i don't know what you fixed, heh
21:35:54Slasheripreglow: the playback in general.. :)
21:36:52preglowahh, great
21:37:01preglowtracks not stopping when you skip is a bit annoying
21:37:19*amiconn wonders what that 'playlist cachectrl' thread is
21:38:05NightCatHow to use menu_init and menu functions in plugin API?
21:39:58amiconnAt least I know that it has an excessively long name
21:40:32NightCatint (*menu_init)(const struct menu_item* mitems, int count, int (*callback)(int, int), const char *button1, const char *button2, const char *button3);
21:40:32 Quit Coolhawk ()
21:40:36lostlogicugh, how the still red blast... *fixes more*
21:41:09 Join XavierGr [0] (
21:48:05Rob2222whats the difference between the H100 and the H1x0 ?
21:48:52preglowless ram
21:48:54preglowsmaller disk
21:49:27Rob2222so for RB the diff is only the smaller ram
21:50:27 Join Mongey [0] (
21:50:27preglowpretty much, afaik
21:50:35 Quit Mongey (Client Quit)
21:50:48amiconnThe s/pdif out led switch polarity is inverted
21:51:40Slasheriamiconn: the cache ctrl thread loads filename pointers from dircache on background
21:51:56Slasheriso going to playlist viewer for example doesn't require disk access
21:52:21amiconnI don't understand...
21:52:34amiconnWhy does that need a whole extra thread?
21:53:01amiconnThe playlist viewer works w/o extra thread on archos.
21:53:06Slasherihmm.. that thing was slow enough to annoy user a few seconds when creating a playlist with hundreds of files
21:53:14Slasheriso the thread eliminates that problem
21:53:30Slasheriyep it works because archos doesn't implement dircache
21:53:46amiconnHmm, is loading from the dircache actually slower than loading from disk ???
21:53:56lostlogicwhy... why would rb->lcd_update() be a broken line on the archos player target but not on iRiver?
21:54:12preglowplayer uses charcell lcd
21:54:19amiconnerm, because the players have no lcd_update()
21:54:39amiconnIn the core this is solved by defining an empty macro, but obviously this won't work in plugins
21:54:42lostlogicooh so #ifdef HAVE_LCD_BITMAP.
21:55:05amiconn(it would resolve to rb->; which is obviously invalid)
21:55:52Slasheriamiconn: no, but we call get_filename and after that find the pointer to that filename from dircache, so it requires disk access also
21:56:33Slasherisorry but have to go now, cu tomorrow
21:58:40 Nick ^BeN^ is now known as Paprica (
22:01:30 Join petur [0] (
22:01:49 Join solexx [0] (
22:06:03Bger_petur the brightness bugfix patch is commited
22:06:25Bger_heh for what ?
22:06:35amiconnBrightness 1 gives no light at all here as well (wanted to check that)
22:06:54peturI know
22:07:06Bger_but amiconn didn't :P
22:07:29 Join ender` [0] (i=ychat@
22:08:18amiconnBger: 'here' is the word. There might be slight hardware differences...
22:08:34peturmine was black as well
22:08:48Bger_amiconn ah, yes :)
22:08:48peturthat's why I set minimum as 2
22:09:05 Quit mirak (Remote closed the connection)
22:09:28amiconnStill, the display is actually readable in bright light even w/o backlight (but not good enough to be usable)
22:09:58Paul_The_NerdI wish there was an option to revert to B&W when the backlight went off.
22:10:27peturamiconn: and that's good... I used that feature when I screwed up during implementation :)
22:11:20peturPaul_The_Nerd: what device?
22:11:20amiconnYou could have used the voice UI as well
22:11:36*Bger_ wonders whether his eyes are so bad to see anything w/o backlight ...
22:11:55 Join akaidiot [0] (
22:12:22peturBger_: quite unusual for you to be around here at this time...
22:12:32amiconnBger: If the backlight is actually off you can't see anything, b/c the display gets switched off as well
22:12:43Bger_petur yep :) at last net @ home
22:12:54amiconnUnlock the brightness clamp, and set brightness to 0 or 1
22:13:31Bger_amiconn i know about the display switching off...
22:13:42Bger_but there was time when it didn't switch off
22:13:43 Quit solexx_ (Read error: 110 (Connection timed out))
22:14:09Paul_The_Nerdpetur: Well, I imagine it'd be nice on anything with a color screen, though I've only seen the Nano's screen, which even with the blue tinted backdrop is still very readable in moderate light.
22:14:35peturbut not the H3xx :(
22:14:48amiconnIt is possible to build colour LCDs which are readable w/o backlight, just these aren't very common yet
22:14:57amiconn(probably more expensive)
22:15:16amiconnThe newer blackberry email clients have these
22:15:19Paul_The_Nerdamiconn: The Nano's is very readable w/o backlight.
22:15:46Paul_The_NerdActually, podzilla defaults to having the backlight disabled completely until you enable it, so it'd be really frustrating if it wasn't. Heh.
22:20:26 Join SeeSchloss [0] (
22:21:13 Join ashridah [0] (
22:22:01 Join Shebb [0] (
22:29:02preglownano has one of the better colour lcds i've seen
22:30:14lostlogicif I have recorder, ondio, player, ipod 4g and iRiver H(1,3)x0 keypads supported in a plugin, that's the requirement for being added yes?
22:30:19 Join RotAtoR [0] (
22:30:30lostlogicand do we like the dice plugin enough to include it?
22:30:44ShebbIs there an implementation of log2 in rockbox at all? All I am after is a very simple one to crunch numbers between 0.5 and 2 without much need for accuracy beyond several decimal places
22:31:08amiconnUgha :/
22:31:26*amiconn noticed a (slight) problem with coldfire gpio
22:31:37Bger_amiconn ?
22:32:10amiconnSome gpio bits have separate input and output pins - that makes bit manipulation of other bits unsafe
22:32:51amiconnThe 'out' part of such a split i/o will take the state of the 'in' part after manipulating other bits
22:33:26amiconnThere's currently only one bit where this coldfire feature is actually used - gpio33 on H300
22:33:47amiconnIt's not critical, just that the remote backlight will take the state of the hold switch
22:34:01amiconn...until the remote backlight thread corrects it
22:35:09amiconnThe only solution I can think of is that we mirror the output bits in memory (iram) instead of direct port manipulation
22:35:33amiconnThen we can and() and or() this mirror, and output it to the port afterwards
22:36:24lostlogicGPIO or SDRAM faster? GPIO or IRAM faster?
22:36:56 Join Kohlrabi [0] (
22:38:35 Quit ender (Connection timed out)
22:39:55 Join xboxintel [0] (
22:40:54xboxintel i have an unusual task that i need to be executed,it revolves around a 40 gig hdd that i got out of a creative mp3 player,i want to unlock it and use it in my laptop,the only way i think it can be unlock is by hotswapping with my xbox and pc with the use of a 3.5" ide to 2.5" adpater" that i ordered,any ideas and thoughts would be great ^_^
22:41:18 Quit XavierGr ("Trillian (")
22:42:31 Join Chamois [0] (
22:42:42Chamoisi have a little question
22:42:54Chamoish340 seemms less powerful than my h140
22:42:59ashridahfire away
22:43:13ashridahin what way?
22:43:15Chamoisboost ration is more important on the h340 than on my h140 for the same mp3 file
22:43:27amiconnlostlogic: I'm not sure, but gpio speed should be the same as iram speed
22:43:39Chamoisdo ypu know why ?
22:43:50ashridahChamois: that's possibly a side effect of the unit having to do more work to draw to the screen, perhaps mirroring gpo will be *slighly* slower than manipilating it directly
22:44:04Chamoishmm yes
22:44:21Chamoisbut it is a very importahnt difference
22:45:06 Join SteL [0] (
22:45:24lostlogicSlasheri: Your latest commit _seems_ to be causing codec changes during playback to do that strange not error, not stop, not play thing that amiconn described.
22:45:55amiconnI didn't try the latest changes...
22:46:12lostlogicamiconn: I'd gotten that behavior now and then before, but now it seems to happen a lot.
22:46:29lostlogicI wish I could figure out the exact things that cause each.
22:47:03 Join kkurbjun [0] (
22:47:29kkurbjunBagder: I'll have a patch in sourceforge in a bit fixing those problems
22:47:47Bger_nite all
22:47:50 Quit Bger_ ("[BX] Uh oh... I'm getting a blip on the gaydar. Richard Simons is coming!")
22:48:15Chamoishmm for a 128k cbr mp3 file : boost ratio h340 = 8%; h140=0%
22:48:18amiconnhi kkurbjun
22:48:22Chamoisit is a big difference
22:48:25kkurbjunamiconn: hi
22:48:38amiconnDo you know what causes rockboy to emit an unpleasant noise on startup?
22:48:50kkurbjunyeah, I've fixed that too in my new patch
22:49:10preglowChamois: well, like he said, more work is needed for screed redraw on h3x0
22:49:10 Quit DocterD ("Leaving")
22:49:11kkurbjunthe sound buffers weren't initialized to 0 before I started playback
22:49:32 Quit ghode|afk ()
22:49:38Chamoismaybe the screen redraw can be canceled when the backlight is off
22:49:43amiconnyuck :/
22:49:47Rob2222draws MP3 128kbit VBR much more power than CBR?
22:49:58BagderChamois: it is
22:50:10preglowRob2222: there is no such thing as 128kbs vbr
22:50:13preglowunless you mean average bitrate
22:50:22*amiconn wonders what statement of Bagder's kkurbjun referred to
22:50:30Chamoissi it is not that wich cuases the boost ratio differnece
22:50:48kkurbjunhe was asking for the patch fix on sourceforge and misticriver
22:51:07preglowwell, there's only so much that can cause this difference
22:51:09preglowthe cpu is the same
22:51:20preglowthe ram is the same too, afaik
22:51:30Chamoisso i thought the boost wll be the same
22:52:08Bagderbut in the case it shuts off the lcd, how can you see the boost?
22:52:22lostlogicgah, it's every codec change it freezes now instead of giving codec failure.
22:52:52Chamoisi let the file play a long time
22:52:53preglowcodec changes still work just dandy here
22:53:03Chamoisand i see afer
22:53:10xboxintel i have an unusual task that i need to be executed,it revolves around a 40 gig hdd that i got out of a creative mp3 player,i want to unlock it and use it in my laptop,the only way i think it can be unlock is by hotswapping with my xbox and pc with the use of a 3.5" ide to 2.5" adpater" that i ordered,any ideas and thoughts would be great ^_^
22:53:11lostlogicpreglow: :(
22:53:14Chamoiswithout touch the both player
22:53:15*amiconn just started playing the very same .ogg album on both h140 and h340, watching the audio thread...
22:53:18BagderChamois: the boost percentage doesn't take very long time into account, iirc
22:53:28Chamoisi know
22:53:28kkurbjunamiconn: turns outthat wasn't the problem. I thought I fixed it, but it's not working right.. I'll have to look into that more
22:53:29preglowi'm switching codecs like mad, works just lovely
22:53:34Chamoisbut i'm sure that i'am saying
22:53:42preglowthis is with the bleeding edge build straight after slasheris first fix
22:53:43lostlogicpreglow: on H3x0?
22:54:09amiconnBagder: The boost percentage averages across the whole time you stay in 'View audio thread'
22:54:17lostlogichmmmmm could it have to do with me using a big playlist formed from the root of the player vs. you using dir mode?
22:54:24preglowdir mode indeed
22:54:27amiconnIf you leave and re-enter, averaging starts again
22:54:58Chamoisamiconn : so your test is concluant ?
22:55:22preglowi could try the very latest build as well, i suppose
22:55:55 Quit ender` (Read error: 104 (Connection reset by peer))
22:56:29amiconnlostlogic: I also used dir mode resp. a small playlist (6 entries) and it happened...
22:57:00Rob2222preglow: Yes, i meaned abr what the same is as variable bit rate, at least i thought
22:57:23preglowwell, slasheris fixed did not work as intended
22:57:32preglowplayback does not stop when i select a file that is not buffered
22:58:04amiconnChamois: There's a clear difference. With the first album track, boost ratio is ~28% on H140 but ~39% on H340
22:58:14lostlogicamiconn: LCD always on?
22:58:16Chamoisso i'm not crazy
22:58:26***Saving seen data "./dancer.seen"
22:58:30Chamoisme with the LCD always off
22:58:41Chamoisbut when i want to see the ratio
22:58:47amiconnI'll re-check with LCD off, to see whether drawing matters
22:59:05Chamoisany idea for this differnece ?
22:59:13lostlogicnothing comes to mind yet.
22:59:14Chamoisexcept the screen redraw
23:00:04preglowi just can't provoke this bug
23:00:06preglowno way
23:00:12 Join akaidiota [0] (
23:00:21lostlogicpreglow: you're _seeking/playing_ not _skipping_ between codecs?
23:01:03 Join ender` [0] (i=ychat@
23:01:08 Quit Chamois (" HydraIRC -> <- IRC has never been so good")
23:01:39 Quit JoeBorn ("Leaving")
23:03:11amiconnlostlogic: The screen drawing (to the framebuffer) also happens when the lcd is off, just the transfer to the lcd doesn't happen
23:03:28 Quit xboxintel ("official GCOS & GCOS viper beta tester")
23:03:58Bagderdisabling them too will be trickier
23:04:53preglowlostlogic: i'm skipping between tracks
23:04:53 Quit Shebb ("CGI:IRC (EOF)")
23:05:05lostlogicpreglow: skipping doesn't cause the problem, only in play mode.
23:05:09preglowswitching between mp3, ogg, flac, musepack
23:05:15preglownow why the hell would that be=
23:05:36lostlogicsome part of the codec buffer is being written to when it ought not.
23:05:56Paul_The_NerdLike, if it reaches the end of the track naturally (you can seek to within a couple seconds of it) it occurs. It's happening here too
23:05:57 Join BHSPitLappy [0] (
23:06:01lostlogicwhen the previous song reads its last frame?
23:08:43 Join XavierGr [0] (
23:09:42 Quit mikearthur (Read error: 104 (Connection reset by peer))
23:10:18 Join mikearthur [0] (
23:11:12 Quit arkascha (Remote closed the connection)
23:11:37amiconnpreglow: Do you know whether arm/iPod does have SDRAM burst mode in some way?
23:12:28NicoFRPaprica: very nice patch
23:12:30NicoFRi like it
23:12:37lostlogicamiconn: line writes in lcd-16bit.c on your mind?
23:12:53preglowamiconn: i have no idea
23:13:07preglowamiconn: would be weird to have a multiple write/read instruction and not support burst mode
23:13:10lostlogicamiconn: I was _just_ looking into that :)
23:13:11amiconnThe internal bitmap format would have to be changed for this to work best
23:13:34amiconnmonochrome bitmap format I mean, also fonts
23:13:42preglowamiconn: why?
23:14:54amiconnIf the bits are oriented horizontally, they would map to adjacent pixels in the framebuffer
23:15:52amiconn..and even, 8 bits = 8 (mono) pixels matches 8(pixels) * 16(bit/pixel) == 128 bit == 1 line (!)
23:17:10 Quit akaidiot (Connection timed out)
23:17:35preglowline size is always the same?
23:18:03lostlogicI used to have a hard time understanding why memory bandwidth had to be so huge on graphics cards. Then I saw how much it takes just to deal with a small 16bit framebuffer.
23:18:05amiconncoldfire line size is 16 bytes
23:19:00PapricaNicoFR: thak you
23:19:36NicoFRdo you have any plans for making it even better ?
23:19:40 Quit ender` (Read error: 104 (Connection reset by peer))
23:19:42preglowlostlogic: yes, do get kind of a feeling how important it is in pcs...
23:20:17Papricamm do you heva ideas?
23:20:47NicoFRpaerhaps centering texts (title and clock) vertically in the status bar
23:20:55NicoFRand also relative positionning
23:21:17NicoFRie defining an order, not having to set absolute coordinates
23:21:35Papricamm ok
23:21:55Papricaif i can do somthing like the wps
23:22:06Paprica(loading costume images)
23:22:08NicoFRthat would be the best
23:22:21Papricabut i dont know if i can do that
23:23:45NicoFRprobably an easy one : add one pixel under the bottom line so that the text below doesn't touch it
23:24:56amiconnHmm, boost ratios still different with display off on H340
23:25:14Papricagood night
23:25:24NicoFRgoing too ;)
23:25:26lostlogicamiconn: so it's the framebuffer ops that are causing the diff most likely?
23:25:34 Quit NicoFR ()
23:25:37amiconnSame track as before, but (1) builds synced, (2) all voice turned off as well
23:25:37 Nick Paprica is now known as Paprica[sleep] (
23:25:49amiconn27% on H140 this time, and 35% on H340
23:26:09amiconnTrying again with bl on...
23:26:18preglowi always knew my h1x0 was the coolest
23:28:36 Join Kaggen [0] (
23:28:44Rob2222is there any target for RB with a 2,5" HDD? (without archos) ?
23:32:31amiconn39% on H340 with backlight on
23:32:42amiconn(H140 same as before)
23:33:24lostlogicamiconn: think we could exploit the LCDADDR macro to disable framebuffer writes when the display is off (ie. #define LCDADDR(x,y) (display_on?&lcd_framebuffer[(y)][(x)]:thebitbucket) or something)?
23:33:49amiconnThat won't work.
23:34:06amiconnThis way we would loose everything drawn during display off
23:34:18 Join TCK- [0] (
23:34:30lostlogicbesides, when the result of the macro is incremented it would be effed up...
23:34:31preglowit'd also slow down all writes
23:35:15 Join vger_ [0] (
23:35:26amiconnI really think that switching the mono bitmap format could help
23:35:48preglowbut ok
23:35:50preglowtime for bed, alter
23:35:54preglowlater, even
23:36:01Bagder... and that would more or less require linuxstb's bmp build to get used first
23:36:02amiconn(preglow: Psst, this would also help porting to greyscale iPods ;) )
23:37:09amiconnThis would also allow a pattern lookup table for 2 (or even 4 with long longs) pixels
23:37:35amiconnNah, 4 would probably be overkill, it would cause slowdowns when colours are changed a lot
23:39:43amiconnIn fact bmp2rb can already geneate the reqired mono bitmap format −− would be the same as playergfx (!)
23:43:21 Quit Kohlrabi ("Fast alle Menschen sind Regenwürmer")
23:44:43amiconnconvbdf would need to be extended, and the font structure should be extended by a font format member
23:46:07 Join webguest93 [0] (
23:46:29 Part SteL
23:47:22 Join ender` [0] (i=ychat@
23:50:22 Join Zoric [0] (
23:51:49 Part Zoric
23:51:51 Join Zoric [0] (
23:52:55 Quit TCK- (Read error: 110 (Connection timed out))
23:53:57 Quit webguest93 ("CGI:IRC")
23:55:46 Quit ehntoo (Remote closed the connection)
23:56:22ZoricI updated my player to the latest build today and it's behaving strangely. When its supposed to begin playing the next track it just pauses and does nothing... It doesnt help to press pause and play again...

Previous day | Next day