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 2004-04-07

00:00:03amiconnmp3fixer problem: my statement is vaild only for the windows binary (latest version).
00:00:06LinusNsome of the debug code is probably obsolete
00:00:12[IDC]Dragondunno how much the voice UI costs
00:01:03[IDC]Dragonnot much code, the menu/option tables got an extra member
00:02:41midknight2k3../../apps/plugins/clock2.c:551: warning: assignment discards qualifiers from pointer target type
00:02:52[IDC]DragonWell, you know about computer users behaving like an ideal gas, always fill the available space
00:02:59midknight2k3and the code on line 551 is
00:03:00midknight2k3 logo = clocklogo_1;
00:03:08midknight2k3on 548 i've got
00:03:09midknight2k3 unsigned char* logo = 0;
00:03:12midknight2k3any ideas?
00:03:30LinusNand the type of clocklogo_1?
00:03:40midknight2k3const unsigned char
00:03:49midknight2k3that's the problem isn't it :D
00:03:50LinusNnot a pointer?
00:03:57midknight2k3the original isn't
00:04:33[IDC]DragonI gotta sleep
00:04:33LinusN[IDC]Dragon: nite
00:04:33midknight2k3nite idc
00:04:33 Quit [IDC]Dragon ()
00:04:37LinusNmidknight2k3: and if you remove the const?
00:05:03midknight2k3all right
00:05:08midknight2k3linus is the code master!
00:05:39LinusNonly as a test
00:05:45midknight2k3oh yes works
00:06:14LinusNok, then do a cast instead of removing the const
00:06:30Doggerhi all,
00:06:32Doggerhows it going
00:06:38LinusNDogger: hi
00:06:40 Join wake [0] (~wake@
00:07:31midknight2k3LinusN: ?
00:07:53LinusNlogo = (unsigned char *)clocklogo_1;
00:08:07midknight2k3and replace the "const"?
00:08:25LinusNor declare logo as const as well
00:08:54LinusNdoesn't hurt
00:09:22midknight2k3works without warnings even without replacing the const
00:09:24midknight2k3still should?
00:09:59midknight2k3what's 749 * 2?
00:10:14midknight2k3oh wait
00:10:54midknight2k3well ok linus
00:10:58midknight2k3i think my update is done
00:14:53amiconnLinusN: Is it possible to call a C function from within assembler code?
00:16:33Doggeryou can do anything in assembler
00:17:20amiconnTo be more precise: _How_ can I do this? (in rockbox)
00:19:15LinusNamiconn: look in crt0.S
00:20:18LinusNmidknight2k3: you should declare both as const, without the cast
00:20:46 Join mecraw_ [0] (~mecraw@
00:21:47amiconnSo I only need to load the value of the name _foobar (if I want to call the function foobar()) into a register, load the parameters into the appropriate registers (I already figured these out) and execute a jsr?
00:23:05amiconnHmm, easy one.
00:23:20 Part mecraw_
00:23:49amiconnEven easier if I want to call an api function from a plugin (rb->xxx is already the function poiter).
00:26:47 Quit _aLF ("bye")
00:27:48midknight2k3so const unsigned char clocklogo[] = {bla];
00:28:01midknight2k3const unsigned char *logo = clocklogo[];?
00:28:45LinusNno, const unsigned char *logo = clocklogo;
00:28:55midknight2k3ok thanks
00:29:01LinusNwhy do you need a pointer to it in the first place?
00:29:12midknight2k3for striping the logo
00:29:23midknight2k3*stole the striping code + proud of it
00:29:40midknight2k3lcd_bitmap supports 8px high
00:29:43midknight2k3but the logo is higher
00:29:56midknight2k3main_menu.c, in function "show_logo"
00:29:56LinusNlcd_bitmap can do 16 iirc
00:30:07midknight2k3hmm either way
00:30:10midknight2k3it's striped
00:30:32 Join c0utta [0] (
00:31:18LinusNhow high is your logo?
00:31:26 Quit c0utta{zzZZ} (Read error: 110 (Connection timed out))
00:31:34 Nick c0utta is now known as c0utta{zzZZ} (
00:31:35midknight2k3there are actually 4 :)
00:31:50midknight2k3all of them are 37
00:32:42midknight2k3so this way
00:32:47midknight2k3the one function can display it
00:32:59midknight2k3by having logo point to the one i want
00:33:16midknight2k3hmm this isn't working well
00:33:19midknight2k3can i just leave the cast?
00:34:34LinusNit complains without it?
00:35:24 Quit AciD (Read error: 104 (Connection reset by peer))
00:35:38 Join AciD [0] (
00:36:07midknight2k3with the cast it works fine
00:37:26LinusNit should not complain
00:37:52LinusNnot if both types are const unsigned char
00:38:23midknight2k3ok ok
00:38:40midknight2k3wait so
00:38:42midknight2k3 unsigned char* logo = 0;
00:38:42midknight2k3 if(settings.logo == 1)
00:38:42DBUGEnqueued KICK midknight2k3
00:38:42midknight2k3 logo = (unsigned char *)clocklogo_1;
00:38:44midknight2k3is what i have now
00:38:50midknight2k3change what to const unsigned char
00:38:55midknight2k3the if body
00:38:58midknight2k3or the declaration?
00:39:10LinusNthe declaration
00:39:20LinusNand remove the cast
00:39:32midknight2k3like so then?
00:39:35midknight2k3 const unsigned char* logo = 0;
00:39:35midknight2k3 if(settings.logo == 1)
00:39:35midknight2k3 logo = char clocklogo_1;
00:39:41midknight2k3or remove the "char" too?
00:40:05midknight2k3removed the char..
00:40:10midknight2k3now i'm back where i started
00:40:11midknight2k3../../apps/plugins/clock2.c:564: warning: passing arg 1 of pointer to function discards qualifiers from pointer target type
00:40:41midknight2k3i seeee
00:40:57midknight2k3oh wait never mind
00:41:00midknight2k3so can we just keep the cast
00:43:59LinusNdo whatever you please
00:44:17midknight2k3now you tell me :)
00:44:43LinusNjust keep the logo array const
00:45:09midknight2k3all right
00:45:11***Alert Mode level 1
00:45:44midknight2k3NO NO!
00:45:57midknight2k3OH NOOOOO
00:48:25midknight2k3ah great
00:48:58midknight2k3LinusN, do me a favor please?
00:49:04midknight2k3try this plugin out on your box?
00:49:23LinusNis it working?
00:49:28midknight2k3just one problem
00:49:33midknight2k3but i think it has to do with the sim
00:50:02midknight2k3can't comple for target
00:50:06midknight2k3can i send you the source
00:50:10midknight2k3and you try it?
00:50:31LinusNemail it
00:51:22 Join diddystar5 [0] (
00:51:34midknight2k3great thanks
00:54:51midknight2k3hope the source works...
00:55:00midknight2k3said the attachment was 0 bytes
00:55:12***Alert Mode OFF
00:57:20amiconnLinusN: Don't know if you revisited the irc logs, so I can tell you that my grayscale framework is almost complete. Just implemented an optimization proposed by Jörg.
00:58:15 Quit Nibbler ("eishockey, kanufahrn.... wirsing")
01:01:14 Join Nibbler [0] (
01:01:27LinusNamiconn: noce
01:01:55midknight2k3LinusN: any luck?
01:03:43LinusN0 bytes
01:04:11midknight2k3was that directed at me?
01:04:21LinusNclock2.c was 0 bytes long
01:04:59midknight2k3i'm just going to hold off a bit
01:05:02midknight2k3tomorrow i'll submit it
01:05:40midknight2k3rather major update
01:05:47 Join joshn [0] (~joshn@
01:05:52midknight2k3thanks for your help
01:05:54midknight2k3i'm off
01:05:56 Quit midknight2k3 ("Leaving")
01:06:01amiconnDoes somebody want to see some scales of gray on his display (recorder or fm required)?
01:06:45LinusNi do
01:09:20diddystar5:( just if my box worked
01:10:01diddystar5I can't seem to find ANYTHING that even makes a LED turn on on my box
01:10:17diddystar5i need to go grab a volt meter, and test for electrivcity in it
01:10:19diddystar5goota go
01:10:28amiconnbye diddystar5
01:10:29 Quit diddystar5 ("Leaving")
01:11:57amiconnLinusN: The actual output is only a demo, there are primitives to set/invert pixels, set/invert lines, draw rectangles, fill/invert rectangles and display grayscale bitmaps (not shown).
01:13:16amiconnThe only missing primitive is the display of a bitmap with foreground and background "color". There are also not font routines since the font access is not exposed via the api.
01:13:36LinusNlooks cool
01:15:27amiconnYou could construct your own "font" and display it via the "bitmap display with foreground/backgroud". This still has to be written (shouldn't be that hard).
01:18:34LinusNhow about power consumption when accessing the lcd like that?
01:19:39amiconnDon't know if Jörg did some measurement, I didn't do one (yet). Maybe I will measure tomorrow.
01:20:22amiconnIt's shouldn't make much of a difference with the display, but the CPU is active 50% of the time.
01:27:52 Quit Dogger ("Client Exiting")
01:31:12 Quit wake ("leaving")
01:34:18elinenbeamiconn: very nice demo...
01:34:40elinenbewhat about a "visualization" to start out with....
01:35:07 Join MT [0] (mt@
01:35:16amiconnHmm, just some boring lines and rectangles. The framework should be very interesting for our game plugin programmers, though...
01:35:42elinenbeamiconn: what about displaying jpegs that are contained withing ID3 tags, or a picture viewer?
01:37:26amiconnHmm, I did not (yet) deal with jpeg compression. Probably the plugin buffer is not large enough for that, especially if I use most of it for my grayscale buffer.
01:38:03elinenbelooking forward to what's coming up... don't forget to post the code to sourceforge :)
01:38:11amiconnBut it should be possible to write a viewer for uncompressed image formats (bmp comes to mind, or pnm)
01:38:53amiconnWill post it, as soon as the last graphics primitive function is written and tested.
01:39:56elinenbesounds great! What about a grayscale interface −− is that possible?
01:40:48amiconnShould be possible, but I think it's not worth to waste half CPU power just for the interface.
01:42:35amiconnThe most challenging thing about rockbox plugin programming is the tight space (only 32 KB)
01:46:11***Saving seen data "./dancer.seen"
01:50:31 Quit AciD (Client Quit)
02:03:06LinusNtime to sleep, cu guys
02:03:19amiconnNight LinusN.
02:03:26 Part LinusN
02:11:38 Join joshn_ [0] (~joshn@
02:11:39 Quit joshn (Read error: 104 (Connection reset by peer))
02:31:43 Quit Nibbler (Read error: 104 (Connection reset by peer))
02:54:23amiconnelinenbe: Wanna try my new version? This one even has some text (well, just "hello").
03:00:32 Join Kenshiro [0] (
03:01:02Kenshiroi love rockbox
03:01:56Kenshiroi just buy a MP3 player (archos studio 20)
03:02:02 Join jshriver [0] (
03:02:10 Part jshriver
03:02:38Kenshiroand i want to know if a picth control exist on this player?
03:02:59Kenshiroare you sleeping?
03:03:11Kenshiroi'm french....
03:09:30 Part amiconn
03:31:58 Quit Kenshiro (Read error: 110 (Connection timed out))
03:46:12***Saving seen data "./dancer.seen"
03:56:47 Join scott666_ [0] (
04:15:21 Quit scott666 (Read error: 110 (Connection timed out))
04:15:50 Join Nibbler [0] (
04:37:54 Join diddystar5 [0] (
04:37:57diddystar5join #oss
04:38:04 Quit diddystar5 (Client Quit)
04:53:23 Join AciD [0] (
05:04:50 Join diddystar5 [0] (
05:04:52diddystar5join #oss
05:31:54 Quit Nibbler (Read error: 104 (Connection reset by peer))
05:42:56 Quit diddystar5 ("Leaving")
05:46:14***Saving seen data "./dancer.seen"
06:12:44 Quit AciD (Client Quit)
06:48:54 Quit scott666_ ("i'll be back...eventually...")
07:11:12 Join Guest [0] (
07:11:50 Quit Guest (Client Quit)
07:11:59 Join Nibbler [0] (
07:26:39 Join pvh [0] (PvH@
07:27:17pvhI replaced the screen in my rockbox and now I'm having some trouble with it.
07:32:38dwihnoYou replaced it?
07:32:53dwihnoThe charcell/LCD or the plastic covering it?
07:36:05pvhthe LCD on my recorder.
07:36:46pvhHere's what I did: open the recorder. remove the 6 solder points around the sides, and the two at the end (with embedded wires.)
07:37:22pvhlift the interface board, remove the old LCD cable, put the new one in
07:37:27pvhclose it up, resolder the points
07:37:32pvhnow it's gone intermittant
07:37:35pvhstill no LCD output
07:38:01pvhseems to play music, though sometimes just out of one ear. i suspect something isn't grounded.
07:38:05pvhare the solder points grounding points?
07:39:07dwihnoHm. You should talk to Linus
07:40:22pvhWhen is he around usually?
07:40:58dwihnoDunno really :)
07:41:06dwihnoIn a couple of hours, I would guess.
07:41:23pvhWell, I'll idle for a while while I experiment with it.
07:41:28pvhI sincerely hope I haven't borked it.
07:46:17***Saving seen data "./dancer.seen"
08:25:53 Quit Nibbler (Read error: 54 (Connection reset by peer))
08:51:49 Join Nibbler [0] (
08:58:23 Quit Nibbler ("eishockey, kanufahrn.... wirsing")
08:58:42 Join Nibbler [0] (
09:32:41 Quit Nibbler (Read error: 104 (Connection reset by peer))
09:46:21***Saving seen data "./dancer.seen"
09:49:28 Quit pvh ()
10:07:58 Join matsl [0] (
11:13:58 Join Nibbler [0] (
11:20:30 Join amiconn [0] (
11:46:24***Saving seen data "./dancer.seen"
12:22:59 Nick c0utta{zzZZ} is now known as c0utta{afk} (
12:47:03 Quit Nibbler (Read error: 54 (Connection reset by peer))
13:06:18 Join AciD [0] (
13:36:36 Join mecraw_ [0] (~mecraw@
13:37:04 Part mecraw_
13:46:25***Saving seen data "./dancer.seen"
14:09:13 Quit MT ("changing servers")
14:09:33 Join MT [0] (mt@
14:26:48 Join pfavr [0] (
14:31:06 Join Nibbler [0] (
15:36:58 Quit pfavr (Read error: 60 (Operation timed out))
15:45:28 Quit AciD (Read error: 54 (Connection reset by peer))
15:46:29***Saving seen data "./dancer.seen"
15:58:57 Quit Ka__ (
15:58:57 Quit Nibbler (
15:58:57 Quit adi|home (
15:58:57 Quit Ka_ (
15:58:57 Quit elinenbe (
15:58:57 Quit ricII (
15:58:57 Quit joshn_ (
15:58:57 Quit MT (
15:58:57 Quit silencer (
15:58:57 Quit dwihno (
15:58:57 Quit Hadaka (
15:58:57 Quit ze (
15:58:57 Quit webmind (
15:59:32 Quit amiconn (
15:59:32 Quit orange_away (
15:59:32 Quit matsl (
15:59:32 Quit c0utta{afk} (
15:59:32 Quit mbr (
15:59:32NJoinNibbler [0] (
15:59:32NJoinMT [0] (mt@
15:59:32NJoinamiconn [0] (
15:59:32NJoinmatsl [0] (
15:59:32NJoinjoshn_ [0] (~joshn@
15:59:32NJoinc0utta{afk} [0] (
15:59:32NJoinricII [0] (
15:59:32NJoinadi|home [0] (~adi|
15:59:32NJoinKa__ [0] (~tkirk@
15:59:32NJoinKa_ [0] (
15:59:32NJoinelinenbe [0] (
15:59:32NJoinsilencer [0] (
15:59:32NJoinwebmind [0] (
15:59:32NJoindwihno [0] (~dw@
15:59:32NJoinze [20] (
15:59:32NJoinHadaka [0] (
15:59:32NJoinorange_away [0] (
15:59:32NJoinmbr [0] (
16:08:00 Nick c0utta{afk} is now known as c0utta{zz} (
17:08:28 Join Dogger [0] (
17:22:11 Join methangas [0] (
17:43:17 Join Guest [0] (
17:43:46 Nick Guest is now known as Youpee (
17:44:40 Quit Youpee (Client Quit)
17:45:40 Join AciD [0] (
17:46:31***Saving seen data "./dancer.seen"
18:15:07 Quit Dogger ("Client Exiting")
18:31:20 Quit matsl (Remote closed the connection)
18:48:29 Quit AciD (Read error: 104 (Connection reset by peer))
18:48:43 Join AciD [0] (
19:46:32***Saving seen data "./dancer.seen"
20:18:06 Quit Nibbler (Read error: 104 (Connection reset by peer))
20:24:45 Join midknight2k3 [0] (
20:41:56 Join cjnr11 [0] (
20:42:02 Part cjnr11
20:50:32 Quit AciD (Read error: 54 (Connection reset by peer))
21:00:34 Join Graduisic [0] (
21:01:11Graduisicanybody know if there's any 3rd party firmware for the gmini 120?
21:02:35 Quit Graduisic (Client Quit)
21:24:30 Join yozac [0] (
21:24:50yozacI'm having trouble formatting my archos from linux. Anybody have any experience with this?
21:25:40midknight2k3not i
21:37:47yozacusing: mkdosfs -F 32 /dev/sda1
21:38:05yozacbut niether archos nor rockbox can recognize the disk . . .
21:39:19yozacno help?
21:39:46amiconnSorry, don't know these details about linux.
21:45:39 Join scott666_ [0] (
21:46:35***Saving seen data "./dancer.seen"
21:52:28 Quit yozac ("ChatZilla 0.9.35 [Mozilla rv:1.5/1]")
22:01:27 Join Nibbler [0] (
22:13:35 Join dasmeinname [0] (
22:13:44 Nick dasmeinname is now known as Flo (
22:14:05Floany german here ?
22:15:50Flohast du ahnung von den Archos Jukeboxes ?
22:16:17amiconnplease stick to english in the channel. pm me for german.
22:26:18midknight2k3hey amiconn
22:26:33midknight2k3your grayscale soyurce looks like gibberish to me... or is it just my browser/pc?
22:29:47amiconnHmm, did you really select the source? The compiled plugin really looks like gibberish when displayed as text.
22:38:43midknight2k3no, it was the source
22:38:46midknight2k3does it work for you?
22:41:20amiconnOf course it works for me since it is written by me. The download works for me as well (both with Mozilla 1.6 and IE 6).
22:42:34midknight2k3ok ty
22:49:43midknight2k3works now thanks
22:50:43 Join AciD [0] (
22:56:39 Join top_bloke [0] (
22:59:15midknight2k3rebootin brb
22:59:53 Quit midknight2k3 (Read error: 104 (Connection reset by peer))
23:01:31 Nick c0utta{zz} is now known as c0utta{work} (
23:02:54 Join midknight2k3 [0] (
23:03:56 Join pvh [0] (PvH@
23:04:10pvhHullo, is anyone familiar with the hardware around?
23:04:30pvhI'm having trouble with my 'box, and I wonder if I could get some information from someone more experienced than me.
23:04:39 Join [IDC]Dragon [0] (
23:04:42midknight2k3idc woo
23:04:47pvhhey idc.
23:04:52top_blokeask and maybe someone will know
23:04:54amiconnHi Jörg
23:04:55midknight2k3idc might
23:04:59[IDC]DragonHi guys
23:05:01pvhPerfect timing then.
23:05:19pvhIDC, I'm trying to fix the screen in my 'box, but after reassembling it, I still didn't get output.
23:05:42pvhI don't think I damaged anything when I took it apart, but I wonder if you might advise me a little.
23:05:44[IDC]DragonAh, that's you
23:06:05pvhAye −− I'm one of the ones with the rare variant of the flash as well.
23:06:09[IDC]Dragondid you insert the flexstrip to the very end?
23:06:28pvhI thought so. I'm just heating up the soldering iron again to test it.
23:06:43[IDC]Dragonit's a plug.
23:06:49pvhYes, but I have to get the top board off again.
23:07:16pvhDo the contact points on the frame act as grounds?
23:07:40pvhor can I test it while it's disassembled...
23:07:44[IDC]Dragonyou understood that you have to pull that frame outwards, by ~2mm, to release the flexstrip?
23:08:34pvhI removed the old LCD (with its plastic frame) first, and when I put in the new LCD, I popped up both sides of the plug.
23:08:35[IDC]Dragonand after inserting the new one, push it back it to tighten the fit?
23:08:59[IDC]Dragon"popped up"?
23:09:20pvhThe little clasps on either side that lock the strip in place.
23:09:35[IDC]Dragonand you re-seated that?
23:10:06[IDC]Dragonbe sure it's really all the way in, use a tweezer to apply some force.
23:10:13pvhI will on my second attempt now, yes.
23:10:26pvhAre the solder points on the frame important, or can I leave them detached while I check my results?
23:10:39[IDC]Dragonwhich model?
23:10:57pvhRecorder 10g
23:11:09[IDC]Dragonshould work without
23:11:16pvhinterface board 2.1b
23:11:23[IDC]DragonI have mine loose all the time
23:11:34pvhOkay, good.
23:11:47pvhAny advice about how to test the batteries without putting too much stress on the ends?
23:11:52[IDC]Dragonand I had the LCD out while doing the UART boot mod
23:12:18midknight2k3bye all
23:12:24 Quit midknight2k3 (Remote closed the connection)
23:12:34CtcpIgnored 1 channel CTCP requests in 0 seconds at the last flood
23:12:34*pvh has had a really hard time with the solder points connecting to MP3 Front. The microphone keeps getting it the way of the desoldering bulb.
23:12:39[IDC]Dragonyou can try without batteries and HD, plugged to the charger
23:13:03pvhNice. Should I get LCD output?
23:13:06[IDC]Dragonyou'll get as far as an ATA error on screen
23:13:17pvhThat's excellent.
23:13:30*pvh opens a window to let the flux fumes out.
23:13:57 Quit Flo ("Ich benutze das -= [ Weisseradler-Script ] =-. Das kannst d")
23:15:57[IDC]DragonCan you or the log tell Linus that remove() can't delete empty directories, because it uses open() which explicitely checks for dirs and returns -8 if so.
23:16:27[IDC]DragonOtherwise, my recursive tree deletion works.
23:17:16[IDC]DragonI have it implemented in the On+Play menu, high-level code and the tree walk is implemented.
23:17:41amiconnWhat is recursive deletion good for?
23:18:26[IDC]Dragondeleting a non-empty directory
23:18:51[IDC]Dragone.g. some album or artist you don't like
23:19:27[IDC]Dragongotta go
23:19:32 Quit [IDC]Dragon ()
23:30:27pvhErk... Is anyone else around who might be able to advise me?
23:46:38***Saving seen data "./dancer.seen"
23:47:01 Join wake [0] (~wake@
23:50:25 Quit wake (Client Quit)

Previous day | Next day