--- Log opened Fri Jan 07 00:00:03 2005 00:00 < phildev> where is the cvs root tree for the 4g tries ? 00:01 < jintonic> its a secret, don't talk about it :| 00:01 < jintonic> :P 00:01 < courtc> phildev, there is none.. currently its just homebrewed asm 00:02 < phildev> ok, I got a new photo model, may I help someone, rev something ? 00:03 < Luke> phildev: search around in the dev forums 00:03 < phildev> I donwloaded all the ARM tools for MacOS X 00:03 < Luke> i'm sure someone's working on it 00:03 < Luke> also you can check the wiki - there is a 4g status page 00:04 -!- Flik [~flik@d64-180-147-135.bchsia.telus.net] has joined #ipodlinux 00:04 < phildev> I saw it. Ok I'll investigate more and more 00:05 < courtc> Luke, http://www.alexking.org/index.php?content=software/wordpress/styles.php leachbj wants the "Very SImple" style 00:06 < jintonic> for what? 00:07 < jintonic> website or user interface on the ipod? 00:07 < Luke> courtc: thanks 00:09 < courtc> jintonic, guess you could say website 00:10 < Luke> courtc: yea the blog only breaks if there are no posts because the categories are just a "foreach" of the posts 00:11 < courtc> :p 00:12 < Luke> bad coding by them to not put checks in for that 00:12 < Luke> but ah well... i'm not gunna take the time to fix it =) 00:12 < courtc> yup.. 00:17 -!- veteran [veteran@cs2428114-153.houston.rr.com] has joined #ipodlinux 00:17 -!- mode/#ipodlinux [+v veteran ] by ChanServ 00:17 < courtc> hey veteran 00:25 -!- phildev [~phildev@philippe.devallois.net] has quit ["Quitting!"] 00:29 * Luke afk guys 00:31 < Hostile> courtc: I replaced my battery today, it went well 00:34 -!- drigz [~drigz@user-5304.lns1-c7.dsl.pol.co.uk] has quit [Connection timed out] 00:35 -!- drigz [~drigz@user-5304.lns1-c7.dsl.pol.co.uk] has joined #ipodlinux 00:36 -!- jintonic [~jintonic@c-24-4-19-128.client.comcast.net] has quit ["*.User *.Split"] 00:41 < courtc> gj Hostile 00:41 * Wammy slams head on desk 00:42 < courtc> Trying to smash a bug Wammy? 00:43 -!- piratePenguin [~declan@dialup0873.ts005.bmt.esat.net] has joined #ipodlinux 00:43 < courtc> Thats how I do it :D 00:43 < fre_ber> The _ONLY_ way to do it. 00:43 < courtc> hah 00:43 < Wammy> courtc: bug in my software yeah 00:44 -!- mogorman [~mogorman@216.207.244.182] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 00:44 < fre_ber> Works for that too. 00:44 < Wammy> im using BINARY_READ to read a socket for a ~22000 byte server config file. problem is the loop reads 1024 bytes at a time, but it kept stoping at 2048bytes read 00:45 < courtc> doesnt sound like much of a loop.. :p 00:45 < Wammy> thing was annoying me, so, i set the client, or server to send me HOW many bytes its gonna send me, then i just do while(strlen(buf) < int_get) { read 1024 bytes untill this isnt true } 00:46 -!- IntegerZero [~IntegerZe@h000625929fe4.ne.client2.attbi.com] has joined #ipodlinux 00:46 < Wammy> that seems to work, but damn was that annoying me. 00:47 < courtc> what condition were you using berfore? 00:47 < Wammy> while((tmp=strpos(str_buf, "\n")) !== false) 00:47 < Wammy> = eof on the protocol 00:48 < IntegerZero> I just thought I'd point something out. I am not sure if you guys are aware of it or not, but when you try to play .WAV files from iTunes directly, it gives a malloc error. However, when played from File Browser (in /mnt/sda2) it plays it back as if it were a Recording. Perhaps this can be incorporated into playback directly from the Music browser? I am unaware of the difficulty of this, so I am sorry if what I am saying is way 00:48 < courtc> ck? 00:49 * IntegerZero slaps IntegerZero around a bit with a large trout 00:49 < IntegerZero> Wow, I can slap myself...well holy shit 00:50 -!- IntegerZero [~IntegerZe@h000625929fe4.ne.client2.attbi.com] has left #ipodlinux [] 00:50 < courtc> hmm.. 00:52 -!- Hostile [~lanteau@cblmdm207-12-170-65.buckeye-express.com] has quit [Read error: 104 (Connection reset by peer)] 00:53 < piratePenguin> heh 00:57 -!- Hostile [~lanteau@cblmdm207-12-170-65.buckeye-express.com] has joined #ipodlinux 00:58 < courtc> Wammy, dont you have to use !=== or so? 00:58 < Wammy> no 00:59 < Wammy> !== is to type check for false 00:59 < Wammy> cuz strpos can return 0 and still be true 00:59 < courtc> http://us4.php.net/strpos 01:00 -!- piratePenguin [~declan@dialup0873.ts005.bmt.esat.net] has quit ["Linux is a (r)evolution. Embrace change."] 01:15 < Luke> courtc: which theme was your favorite? 01:16 < courtc> dots 01:16 < courtc> http://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=dots 01:18 -!- binaryboy [~brian@70.85.31.13] has quit ["BitchX: try our Windows 95/98 and Windows NT 4 flavors too!"] 01:19 < Luke> courtc: thats my favorite too 01:20 < courtc> well, then you have good tastes :) 01:20 < Luke> you too =) 01:20 < Wammy> Luke: do all my aa training and ill play with you ;) 01:21 < Luke> i'll do it 01:21 < Luke> =) 01:21 < Wammy> really? 01:21 < Luke> sure 01:21 < Luke> what training you awnt 01:21 < Luke> awnt 01:21 < Luke> want* 01:22 < Wammy> i didnt play for ~ 3 months my account got disabled. 01:22 < Wammy> and then deleted 01:22 < Luke> why 01:22 < Wammy> inactivity 01:22 < Luke> ah 01:22 < Luke> 2.0 01:22 < Luke> ? 01:23 < Wammy> ? 01:24 < Luke> anyways blindspy@gmail.com if you want 01:24 < Luke> i'll do it all in an hour 01:24 < BleuLlama> that reminds me; if any of you need gmail invites, let me know 01:25 < Luke> me too - i have like 50 01:25 < courtc> yea, i've got 6 01:25 < Luke> please please take them 01:25 < fre_ber> How many do you want? ;) 01:25 < Luke> you can have 50 01:25 < fre_ber> Oh, you also have.. Sorry can't type, can't read... 01:27 < Wammy> Luke: i need a new account so if you want just reg me a new one my email is wammy@sys-techs.com 01:27 < Luke> kk 01:27 < Luke> Wammy? 01:27 < Wammy> just make it have Wammy on it ;) 01:28 < Luke> haha ok 01:28 < Luke> you can always change it 01:28 < Wammy> {Wammy}, [Wammy] ]Wammy[, whatever. 01:28 < Luke> remind me tomorrow just incase i forget 01:28 < Wammy> as long as its Wammy in it ;) 01:28 < Wammy> ok 01:28 < Wammy> Luke: we rent AA servers now too if you are interested 01:28 < Luke> heh no money fer my clan =) 01:29 < Luke> we used davids free hosting for our website 01:29 < courtc> [guesswhoitswammywithoutanipod] 01:29 < Luke> hahahaha 01:29 < Wammy> courtc: my ipod is coming 01:29 < Wammy> got a day and a half left on the ebay 01:30 < courtc> so thats a day and half that i can still make fun of you ;) 01:30 < Wammy> bah! 01:31 < Luke> hahaha 01:32 < courtc> so I need some way to pry some files off this dead hd.. :/ 01:33 < courtc> I tried a sledgehammer but that didnt do ant good.. Now I'm out of ideas 01:33 < Luke> you need a bathtub 01:33 < veteran> "Woman Accidentally Deletes Internet" hahah 01:33 < fre_ber> Did you try to smash your head against it? 01:34 < courtc> fre_ber, just did.. now i have a headache 01:34 < fre_ber> Ouch, then it might be too late... 01:34 < fre_ber> to recover anything... 01:35 < fre_ber> About these layouts, I kind of liked http://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=wp_new but it might get painful after a while. 01:36 < fre_ber> Kind of like after smashing your head against a hard drive. 01:36 < courtc> the problem is that it formatted in ffs :p 01:36 < BleuLlama> reminds me of those plastic 3-ring corrugated binders 01:37 < fre_ber> ffs? 01:37 < Luke> hahhaha courtc: http://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=banana-smoothie 01:37 < courtc> fre_ber, that ones nice.. but its too similar to the one we have now that leachbj doent like 01:37 < fre_ber> Aha... 01:38 < fre_ber> The pink lilies might be suitable? ;) 01:39 < courtc> I dont understand how that one won the contest.. Its ugly and broken.. 01:39 < fre_ber> What is it for, anyway? 01:40 < courtc> the blog 01:40 < fre_ber> Is it existing or coming soon? I wasn't aware of such a thing.. 01:40 < courtc> coming soon.. 01:40 < fre_ber> k 01:44 < fre_ber> I'd better go to bed now. But I will work at home tomorrow, so I'll probably be here. Good night all. 01:44 < courtc> 'night 01:44 < BleuLlama> night fre 01:45 < BleuLlama> i keep misreading "fre_ber" as "free beer" 01:45 < fre_ber> Keep doing that, it puts you in a good mood. 01:45 < fre_ber> bye 01:45 -!- fre_ber [~fre_ber@c-f15b70d5.034-221-73746f7.cust.bredbandsbolaget.se] has left #iPodLinux [] 01:45 < BleuLlama> heh 01:47 -!- watti [~watti@68.81.40.92] has joined #ipodlinux 01:50 < BleuLlama> http://home.cwru.edu/~jsh28/drew/bodykit.html hehe 01:51 < Luke> lmao 01:51 < Luke> that is awesome 01:54 -!- jintonic [~jintonic@24.4.19.128] has joined #ipodlinux 02:12 -!- watti [~watti@68.81.40.92] has quit ["Leaving"] 02:13 -!- bogeyman [~os_proxy@24-165-22-162.san.rr.com] has joined #ipodlinux 02:25 < macPod> curse you tic tac toe... 02:27 * BleuLlama helps curse 02:28 * jintonic starts a "we hate triple t" club 02:29 < Luke> haha maybe i can port my java connect 4 or tile sliding games to C for the iPod 02:29 < jintonic> yeah! 02:30 < Luke> i donno how to 1) write in c and 2) make it work with the graphical stuff 02:30 < Luke> i only do swing and CLI 02:32 < BleuLlama> didn't someone already make a connect-4 game that was ported to microwindows (or whatever it's called?) i think i read something about it in the forums earlier today (it was done this past may or so... 02:32 < BleuLlama> it was called "4 somethingorother" 02:33 < courtc> yup, 4-gwinnt or someotherspelling 02:33 < BleuLlama> yeah. that was it 02:33 * BleuLlama codes java-swing in his other life 02:35 < Luke> other life? 02:35 < Luke> haha 02:35 < Luke> you're probably a lot better than I 02:35 < Luke> i've got about 2 years under my belt of java all together 02:35 < Luke> swing maybe a year or less 02:36 < BleuLlama> i've been poking at java, for a few years now... 02:37 < Luke> i made my "get all the tiles in order sliding" program with the graphics class actually 02:38 -!- Jonas_NZ [~Jonas_NZ@210-55-35-46.dialup.xtra.co.nz] has joined #ipodlinux 02:38 < Luke> how does the microwindows WM work? 02:38 < Luke> hey Jonas_NZ 02:38 < Jonas_NZ> hey! 02:38 < Jonas_NZ> any1 here use gentoo? 02:38 < BleuLlama> "Puzzle 15" i think that's commonly called, if it's what i think it is... :) 02:38 < Luke> Jonas_NZ: i just wanted to thank you for the awesome hosting man! 02:38 < Luke> BleuLlama: yea i think your right 02:38 < Luke> i think i've made a towers a hanoi (sp?) as well 02:39 < BleuLlama> luke: not sure. i'm writing a game in it, but i've only started with all of this ipod-linux stuff about 2 days ago. heh. 02:39 < Luke> all the stupid basics i've made =) 02:39 < BleuLlama> yep. 02:39 < Jonas_NZ> Luke: no problem, which hosting are we talkin about here, the stuff on jbergler.mizer.net 02:39 < BleuLlama> there's plenty of sample code in podzilla though.... check out the games. :) 02:39 * BleuLlama works best from a reference doc and oodles of sample code 02:40 -!- Kurcz [~Jeff@d57-31-222.home.cgocable.net] has quit [Read error: 104 (Connection reset by peer)] 02:40 < courtc> Jonas_NZ: yea btw I've been using that host lately.. and Luke uses gentoo... 02:40 < Luke> gentoo indeed 02:40 < Luke> debian as well 02:40 < courtc> I do sometimes also 02:40 < Luke> Jonas_NZ: datamatchine.net 02:41 < Jonas_NZ> yeah, ive just starting using gentoo, and i like it 02:41 < Jonas_NZ> Luke: datamachine.net has nothing to do with me i just help you out :P 02:41 < BleuLlama> i have suse or redhat on an old laptop (i don't remember which) and YDL on a PowerMac 7600, which is my personal CVS server. :) 02:42 < Jonas_NZ> gentoo users: how can i set my modem to be able to be access by normal users? 02:43 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 110 (Connection timed out)] 02:43 < Luke> Jonas_NZ: oh really!? well then who's providing that for me that? 02:43 < Jonas_NZ> lol, who knows :P 02:43 < Luke> Jonas_NZ: i'm a gentoo guru - if you have any questions about it let me know 02:43 < Luke> i thought you said your mom was paying for it or something like htat?! 02:43 < Luke> isnt your name dave? 02:44 < Jonas_NZ> no! 02:44 < Jonas_NZ> anyway Luke how can i set my modem to be able to be access by normal users? 02:45 < courtc> what a fun conversation! 02:45 < Luke> haha 02:46 < Luke> wtf... who did i have that converstation with then!? that told me all about datamatchine.net and said their mom pays for it and to say that I know david 02:46 < Luke> someone helped me out big time and i donno who! 02:46 < Luke> haha 02:46 < Jonas_NZ> lol 02:46 < Jonas_NZ> i could take credit but i wont, cos it honestly wasnt me 02:47 < Jonas_NZ> i was helping you set up phpBB but that was it 02:47 < Luke> haha wtf 02:47 < Luke> i'm so confused 02:52 < jintonic> me too... maybe its the weed 02:52 < BleuLlama> i'm confused, but it's not due to weed. i don't do weed. 02:52 < BleuLlama> it's probably the heroin though. 02:52 -!- tucanoj [~tucanoj@108.120.cm.sunflower.com] has joined #ipodlinux 02:52 < BleuLlama> it makes me code REALLY FAST. ZING! 02:53 < jintonic> i don't do weed either, just blathering 02:53 < BleuLlama> Just say no! 02:53 < BleuLlama> heh 02:53 < BleuLlama> riiiiight. 02:53 < Luke> hahaha 02:53 < Luke> you guys are creazy 02:53 < Jonas_NZ> hmmmm, cRaZZZZZy 02:54 < Luke> lmao "it makes me code REALLY FAST!" 02:54 < Luke> hahahahaha 02:57 < Jonas_NZ> anyway Luke how can i set my modem to be able to be access by normal users? 02:57 < courtc> yea, I don't get it.. free webserving? 02:58 < courtc> They dont have an About or Why section... Boggles my mind 03:01 < veteran> courtc - you need webspace? 03:01 < courtc> uh.. sure.. 03:01 < veteran> get a job. 03:01 < veteran> and buy it from us. 03:01 < courtc> haha 03:01 < macPod> lol 03:02 < Jonas_NZ> lol 03:02 < veteran> macPod - nice despamming of forum 03:02 < veteran> just delete the post next time though 03:02 < macPod> :/ 03:02 < veteran> hey, half a smile is better than no smile at all 03:02 < macPod> I didnt want to forget the post was there 03:02 < macPod> to complain to luke later on 03:03 < veteran> i think luke trusts your word ;) 03:05 < veteran> oh btw, CLICK HERE TO GET YOUR FREE IPOD OMGOMOGMG: http://freeipodsitenumber432039.com/?RERFERERACCT=oMgiPodHomIe 03:05 * veteran coughs 03:05 < macPod> link didn't work ;P 03:05 < courtc> haha 03:10 < nilss> re 03:11 < courtc> hey nilss 03:11 < jintonic> i fear for the human species based on the fact that pyramid schemes thrive 03:13 < jintonic> by 2038 we'll all be salespersons... which is convenient cuz that's when the world will end according to google: http://www.google.com/search?hl=en&q=2038&btnG=Google+Search 03:14 < courtc> of course it will.. 03:14 -!- JonesH [~chatzilla@h60n1fls31o1118.telia.com] has quit [Read error: 60 (Operation timed out)] 03:22 < bogeyman> i love me 03:22 < courtc> ... 03:22 < jintonic> a lot of people love themseleves, those people are generally buttheads 03:23 -!- Jonas_NZ [~Jonas_NZ@210-55-35-46.dialup.xtra.co.nz] has quit [No route to host] 03:30 -!- jintonic [~jintonic@24.4.19.128] has quit [Remote closed the connection] 03:36 -!- DjFoo [~jdoe@adsl-68-21-29-206.dsl.chcgil.ameritech.net] has quit ["( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )"] 03:37 -!- fre_ber [~fre_ber@c-f15b70d5.034-221-73746f7.cust.bredbandsbolaget.se] has joined #iPodLinux 03:37 < fre_ber> Damn, can't sleep. :( 03:40 < BleuLlama> visions of iPods dancing in your head? 03:40 < fre_ber> Kind of. 03:40 < fre_ber> I tried to count them, but it didn't work. :( 03:41 < BleuLlama> nononno 03:41 < BleuLlama> you're supposed to count sheep 03:41 < BleuLlama> not ipods 03:41 < BleuLlama> you did it wrong 03:41 < nilss> mhm how do i get the waveform of an audio file? 03:41 < BleuLlama> load it into an audio editor and zoom in really far 03:41 < BleuLlama> -far +close 03:41 < fre_ber> CoolEdit? 03:41 < BleuLlama> that's my weapon of choice. 03:42 < nilss> yeah but i cant process that data and let the computer make bits out of it 03:42 < BleuLlama> although some prefer SoundForge (i think) 03:42 < fre_ber> Matlab? 03:42 < BleuLlama> you could just load it into a hex editor 03:42 < BleuLlama> skip past the .wav header and just look at the samples 03:42 < fre_ber> MAtlab is exceptionally good at this sort of thing... 03:42 < BleuLlama> probably 16 bit samples 03:43 < nilss> http://www.wonderwallfriends.de/misc/dump5.jpg the bits are now really easy to see 03:44 < BleuLlama> so is that image like 010101010001010111111111? 03:44 < fre_ber> This kind of thinking really brings back memories... 03:44 < nilss> nope, low is 1, high is 0 03:44 < BleuLlama> so ~010101010001010111111111 ;) 03:44 < nilss> yea 03:44 < veteran> wow that's.... wow. 03:45 < fre_ber> I couldn't have said it better myself. 03:45 < veteran> get a data oscillioscope 03:45 < veteran> for the sake of your poor soundcard 03:45 < nilss> i have one... 03:45 < BleuLlama> heh 03:46 < nilss> mhm maybe i could get a ~32byte block from the file and calculate it's average amplitude. 03:49 < nilss> how do i read a file in memory in c? 03:49 < nilss> (mhm i really should learn c sometime...) 03:50 < fre_ber> Define "file in memory", please? 03:50 < nilss> load the whole file into an array 03:51 < fre_ber> fread (buf); ? 03:51 < fre_ber> fread (f, buf) 03:51 < nilss> but how do i know how large the file is? 03:51 < fre_ber> or something. 03:52 < nilss> mhm i think i'll do it in perl 03:57 < macPod> tic tac toe is almost done finally... 03:57 < fre_ber> Cool 03:57 < macPod> takes some memory to do.. 03:57 < macPod> see you at 12! 03:58 -!- macPod [~macPod@pcp07276932pcs.dalect01.va.comcast.net] has quit ["Leaving"] 04:09 -!- Jonas_NZ [~Jonas_NZ@210-55-35-136.dialup.xtra.co.nz] has joined #ipodlinux 04:09 < fre_ber> Is Courtc still with us? 04:09 < mikegrb> ja 04:09 < Jonas_NZ> Luke, can u give me a hand with my modem? 04:09 < mikegrb> or sleeping 04:14 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 04:22 < nilss> yeah :) 04:23 < nilss> it almost works :) 04:25 < Jonas_NZ> is this your ogg to binary thingy 04:25 < nilss> yea 04:25 < Jonas_NZ> kool 04:25 < Jonas_NZ> anyway brb checking my modem conf 04:25 -!- Jonas_NZ [~Jonas_NZ@210-55-35-136.dialup.xtra.co.nz] has quit ["Leaving"] 04:33 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 104 (Connection reset by peer)] 04:34 < fre_ber> nilss: You are a perl expert, right? 04:35 -!- Jonas_NZ [~Jonas_NZ@210-55-144-36.dialup.xtra.co.nz] has joined #ipodlinux 04:35 < Jonas_NZ> hey 04:35 < fre_ber> hey 04:36 < Jonas_NZ> nills: btw did you patch the bootloader to work with the 4g 04:36 < nilss> Jonas_NZ: yea 04:36 < Jonas_NZ> what do i need to compile it cos it just tells me it cant find a valid compiler when i try 04:36 < nilss> arm-elf-gcc i think 04:36 < Jonas_NZ> k 04:36 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 04:38 -!- loazzr [Corey@cable-216-104-124-242.rayside-balfour.dyn.personainc.net] has joined #ipodlinux 04:38 < loazzr> hey i got an ipod and if a mount it i can see the files but the player won't show them, any ideas? 04:39 < Jonas_NZ> you have to use a util that can sync with the itunesdb 04:39 < Jonas_NZ> try gtkpod if your on linux 04:40 -!- trepxe [~trepxe@S0106004005490648.tb.shawcable.net] has joined #ipodlinux 04:41 < trepxe> hi can someone tell me how ipodlinux works? 04:41 < Jonas_NZ> read the site\ 04:41 -!- tittof [tittof@agewar.de] has quit ["leaving"] 04:42 -!- tittof [tittof@agewar.de] has joined #ipodlinux 04:42 < trepxe> do i need ipodlinux to put games on my ipod 04:43 < Jonas_NZ> yes 04:43 < trepxe> ok 04:46 < Luke> Jonas_NZ: you still here? 04:46 -!- Hostile [~lanteau@cblmdm207-12-170-65.buckeye-express.com] has quit ["*** Swish changes topic to '"I never pirated it....it was donated. by the file fairy. I put a blank CD under my pillow..."'] 04:46 < Jonas_NZ> yeah 04:46 < Luke> modem's really arent gentoo but i can try 04:46 < Jonas_NZ> i fixed it though 04:46 < Luke> oh 04:46 < Luke> haha ok cool 04:46 < Luke> what was the prob? 04:46 < Jonas_NZ> you can help me with something else 04:46 < Luke> sure 04:46 < Jonas_NZ> give me a sec 04:46 < Luke> k 04:47 < Jonas_NZ> i am getting an error when i compile 04:47 < Jonas_NZ> im trying to find it 04:47 < Jonas_NZ> i am doing 'emerge amarok', and i get this error !!! ERROR: media-sound/amarok-1.0.2 failed. 04:47 < Jonas_NZ> !!! Function kde_src_compile, Line 142, Exitcode 2 04:47 < Jonas_NZ> because of grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory 04:54 < Luke> whats amarok? 04:54 < Luke> some audio thing eh? 04:55 < Jonas_NZ> yeah 04:55 < Luke> well when things fail to emerge its usually because the ebuild is set up wrong 04:55 < Jonas_NZ> its the library libstdc++ thats the problem 04:55 < Jonas_NZ> so im trying to fix that 04:55 < Luke> but like 01293478238 people notice and submit bug reports so they usually fix it fast 04:56 < Luke> so what you do is rm -r /usr/portage/distfiles/* (thats where portage downloads the packages too) or else it wont get a new package 04:56 < Luke> and after you do that then emerge sync (which will update all your ebuilds) 04:56 < Luke> then try it again 04:56 < Luke> and if that doesnt work - it means you found a bug - good job =) 04:56 < Luke> you can submit it to bugs.gentoo.org and then people will fix it asap 04:56 < Luke> brb goota piss 04:57 < Jonas_NZ> k :/ 04:58 < Jonas_NZ> i found a bug :P, and yeah i have the solution too, i think 04:58 < Jonas_NZ> ill test then submit 04:58 < Luke> awesome 04:59 < Luke> gentoo is community run (with things like this) so any time you can - try to submit a bug report with a solution if you find an error 04:59 < Luke> do a search first cause usually someone already found it =) 04:59 < nilss> http://www.wonderwallfriends.de/misc/dump6.jpg i'm getting closer :) 04:59 < Jonas_NZ> yeah, anyway how do i unmask a package 05:02 < trepxe> hi, i just installed ipodlinux and the penguin showed up when i started my ipod but whats different about it now? 05:03 -!- loazzr [Corey@cable-216-104-124-242.rayside-balfour.dyn.personainc.net] has left #ipodlinux [] 05:04 < Jonas_NZ> its runnign linux 05:04 < Jonas_NZ> unless your default os is apple 05:04 < trepxe> nope 05:04 -!- macPod [~macPod@pcp07276932pcs.dalect01.va.comcast.net] has joined #ipodlinux 05:04 -!- mode/#ipodlinux [+v macPod ] by ChanServ 05:04 < trepxe> so what is different about it 05:05 < Jonas_NZ> so you need to do a soft reset and hold <<| as it boots up 05:05 < trepxe> ok thanks 05:07 < macPod> how do you revert a page on the wiki back to a previous state? 05:09 < nilss> http://www.wonderwallfriends.de/misc/dump7.jpg :) 05:11 < trepxe> can someone tell me what ipod sash is 05:11 < fre_ber> A command line shell. 05:11 < nilss> yeah it works perfectly :) 05:12 < nilss> http://www.wonderwallfriends.de/misc/dump8.jpg 05:12 < trepxe> k 05:12 < trepxe> anyone notice when you adjust the volume in ipodlinux the music gets all fuzzy 05:12 < Jonas_NZ> umm doesnt look line binary to me 05:13 < nilss> Jonas_NZ: thats just the bit detection, it detects the silence between the bits 05:13 < Jonas_NZ> i dont really have a clue what youre doing but i trust you know what you are 05:14 < fre_ber> rofl 05:14 * Jonas_NZ goes at free beer with a golf club 05:14 < macPod> How do you pan people from the wiki? 05:14 < macPod> Luke: GoogleBot 05:14 < Jonas_NZ> ban? 05:15 < fre_ber> Jonas: Don't take it like that, I don't really get it either.. :) 05:15 < Jonas_NZ> i know 05:15 < Jonas_NZ> rofl 05:15 < Jonas_NZ> :|> 05:16 -!- jintonic [~jintonic@c-24-4-19-128.client.comcast.net] has joined #ipodlinux 05:16 < Jonas_NZ> anyway g2 05:16 < Jonas_NZ> g 05:16 -!- Jonas_NZ [~Jonas_NZ@210-55-144-36.dialup.xtra.co.nz] has left #ipodlinux ["Leaving"] 05:17 * jintonic cries, screaming "everyone always leaves when i arrive :(" 05:17 < fre_ber> I didn't leave, yet... 05:17 < jintonic> :) 05:17 < jintonic> you're my friend now 05:17 < jintonic> :P 05:18 < fre_ber> ...ooook? 05:18 < jintonic> hehe 05:18 < jintonic> so how's 4g development progressing? 05:19 < fre_ber> http://www.wonderwallfriends.de/misc/dump8.jpg 05:19 < nilss> lol 05:19 < fre_ber> :) 05:20 < jintonic> hrm... when are ya just gonna turn that into "10010010101010001111011" so i could understand it a little better:P 05:21 < macPod> what if you make a mistake? 05:21 < jintonic> oh, each box is one bit? 05:21 < fre_ber> Would anyone consider helping a perlnoob? 05:21 < jintonic> so its 010101010001... ? 05:22 < jintonic> i'd consider helping a perlnoob, i don't know any perl though 05:22 < jintonic> :) 05:22 < macPod> I forgot perl 05:22 < fre_ber> Then it doesn't count. :( 05:22 < macPod> what do you need? 05:22 < fre_ber> I never really learned it. :( 05:22 < jintonic> nilss: is that right? 05:23 < fre_ber> I want to read a config file until a specific line and drop a "capture" into a variable. 05:23 < fre_ber> while ( && !/^\s*format\s*=\s*(.*)$/) 05:24 < fre_ber> At first, I thought that the regexp thing would return true or false, but it returns the capture? 05:24 < macPod> eh, sorry forgot about that 05:24 < nilss> jintonic: it's inversed 05:24 < macPod> regexp usually returns a string 05:25 < jintonic> ah, so are you manually decoding it bit by bit? 05:25 < fre_ber> Ok, but if I check that agains "" (empty string, it seems as if $_ isn't set up.. :( 05:25 < fre_ber> and it never matches.. :( 05:27 < nilss> jintonic: yea 05:27 < nilss> because i dumped the firmware through the piezo 05:27 < Luke> macPod: what are you talking about google bot? 05:27 < macPod> look at the wiki 05:28 < jintonic> i'll help if ya like 05:28 < fre_ber> Nilss: How are you recording the piezo? A/D? 05:28 < fre_ber> Microphone? 05:29 < nilss> mic 05:29 < fre_ber> Doesn't that introduce noise? Or is it low enough? 05:29 < nilss> i removed the noise with audacity 05:29 < fre_ber> cool 05:30 < coob> nilss, you sir are crazy. 05:31 < macPod> nilss you are going through it by hand? 05:31 < jintonic> coob: shut up, i want my 4g to run linux 05:31 < jintonic> :) 05:31 < fre_ber> But coob is very, very right.. :) 05:31 < macPod> if you can tell me how to read that I may be able to make a program to parse it 05:31 < nilss> macPod: nope, i'm writing a perl script that'll do that for me 05:31 < macPod> ok :) 05:31 < nilss> coob: yeah i know ;) 05:32 < jintonic> what's a good ipod management app for linux? 05:32 < macPod> gtkpod 05:32 < coob> itunes + crossover office :) 05:33 < jintonic> i don't like itunes... the constant buffering irritates me 05:35 -!- trepxe [~trepxe@S0106004005490648.tb.shawcable.net] has quit [] 05:36 < jintonic> can gtkpod sync from the ipod to the computer? 05:37 < macPod> aah! 05:37 < jintonic> meaning: copy the songs from the ipod onto my computer 05:37 < macPod> this code compiles fine for x11 05:37 < macPod> but for the ipod it states parse error before `int' 05:38 < fre_ber> Where? 05:38 < fre_ber> I assume it is microwindows? 05:38 < macPod> nope, podzilla 05:38 < fre_ber> Ohh.. So microwindows compiles fine? 05:39 < macPod> if I declare an int after any function in the code, it will not work 05:39 < macPod> *wont work 05:39 < fre_ber> Hmm... 05:39 < macPod> void drawXO(int pos, char theChar) 05:39 < macPod> { 05:39 < macPod> GrSetGCUseBackground(tictactoe_gc, GR_TRUE); 05:39 < macPod> //GrSetGCBackground(tictactoe_gc, WHITE); 05:39 < macPod> //GrSetGCForeground(tictactoe_gc, BLACK); 05:39 < macPod> 05:39 < macPod> int xPos = wi.width * .25 * (pos % 3 + 1); 05:39 < macPod> that does not work 05:40 < macPod> void drawXO(int pos, char theChar) 05:40 < macPod> { 05:40 < macPod> int xPos = wi.width * .25 * (pos % 3 + 1); 05:40 < macPod> GrSetGCUseBackground(tictactoe_gc, GR_TRUE); 05:40 < macPod> that does 05:40 < fre_ber> Isn't it always like that in ANSI C?!? 05:40 < macPod> meh 05:41 < fre_ber> C++ and Java supports variable declarations in the middle of the code, C doesn't, as far as I know...? 05:41 < macPod> I gues 05:41 < macPod> s 05:42 < fre_ber> Perl, however is strange... ;) 05:43 < nilss> mhm it works :) 05:51 < nilss> 0000000: 0600 00ea feff ffea feff ffea feff ffea ................ 05:51 < nilss> thats the binary i loaded onto the ipod 05:52 < nilss> 0000000: 0600 00ea feff ffea feff ffea feff ffea ................ 05:52 < nilss> thats the decoded audio file 05:53 < macPod> that's cool 05:53 < macPod> it's a good thing you can automate it :P 05:54 < nilss> now i need a very quiet room and some time to dump the flash 05:54 < nilss> mhm 05:54 < nilss> binary: 0000020: 0602 a0e3 0000 90e5 ff00 00e2 5500 50e3 ............U.P. 05:54 < nilss> audio: 0000020: 0602 a0e3 0000 90e5 ff01 00e2 aa00 a0c6 ................ 05:56 < macPod> how long will it take do you think? 05:56 < nilss> ~15 minutes do dumb 05:56 < nilss> dump* 05:56 < nilss> to* 05:56 < fre_ber> Very nice nilss! Good job. 05:56 < macPod> yea, how did you come up with the idea? 05:57 < nilss> ththe piezo is the only thing we have so i thought it's worth a try... though i never thought it'll really work 05:57 < nilss> s/ththe/the/ 05:58 < macPod> It's a brilliant idea, you know the start of the flash and since it's just binary printing it out of the speaker works perfectly 05:58 < macPod> on another note, tic-tac-toe is done :D 05:59 < macPod> patches@ipodlinux.org yes? 05:59 < nilss> the flash is starting at 0x0, right? 05:59 < macPod> I beleive so 06:00 < nilss> mkay, i'll dump 64kb 06:01 < macPod> 0x0 is the flash according to :http://www.ipodlinux.org/index.php/Firmware 06:12 < fre_ber> Does "break" not work in perl? 06:14 < nilss> mkay, i started the dump 06:14 < fre_ber> Ah, it's called "last".. 06:15 < nilss> i'll dump a bit slower so the bits are easier to see to the decoder 06:16 < coob> what kind of bitrate do you get? 06:17 < nilss> a 0 is 0.129036 seconds 06:17 -!- bogeyman [~os_proxy@24-165-22-162.san.rr.com] has quit [] 06:17 < nilss> 1 => 0.116 06:17 < BleuLlama> http://www.cis.rit.edu/~sdlpci/Image/2005/01/vortex.jpg 06:18 < BleuLlama> i can scroll through the boards now. they're not rendered to my liking though. i need to scale them better. 06:18 < BleuLlama> :D 06:18 < nilss> so it'll take about 20 minutes... 06:18 < fre_ber> Looking good so far! :) 06:19 < macPod> courtc you there? 06:19 < fre_ber> I fear that we lost him some time ago... :( 06:20 < macPod> oh well 06:20 < nilss> mhm 06:21 < nilss> mhm 06:21 < nilss> i'm not sure the flash is really at 0x0 06:21 < nilss> i haven't heard a 1 for about 6 minutes 06:22 < fre_ber> Hmm.. Completely blank? 06:22 < nilss> yeah 06:22 < macPod> padding? 06:22 < nilss> 8 minutes 0 06:22 < macPod> perhapse it is done? 06:23 < nilss> nope i only have 16 bytes with 1 06:23 < jintonic> maybe they have crazy people like nilss at apple? 06:23 < jintonic> wouldn't doubt it... ever tried opening any of their hardware? 06:24 < macPod> it's filled with a golden nugget 06:24 < macPod> probably why they are so expensive :P 06:24 < nilss> i'll cancel the dump 06:24 < jintonic> yeah 06:25 < nilss> i'll disassemble the few bytes i got 06:25 < nilss> maybe they'll jump to the real flash 06:31 < jintonic> how could i copy all the files inside a directory, recursively, into another folder but without the directory structure 06:32 < coob> find /path/to/dir/to/be/copied -type f -exec cp '{}' /new/dir ';' 06:34 < jintonic> yes! thank you :) 06:35 < macPod> woao, that's a crazy patch system 06:41 < nilss> any arm assembler devs around? :) 06:41 < nilss> 06:41 < nilss> 0: ea001ffe b 0x8000 4: e3a0f244 mov pc, #1073741828 ; 0x40000004 8: e3d07942 bics r7, r0, #1081344 ; 0x108000 06:41 < nilss> (mhm irssi put everything on one line?) 06:41 < nilss> thats the code at 0x0 06:44 < nilss> mhm could that be valid code? 06:44 < nilss> it would jump to 0x8000 06:44 < nilss> that's at 32kb 06:44 < nilss> maybe it really is padding 06:45 * macPod calls apple 06:45 < nilss> ? 06:45 < macPod> how much padding was there 06:45 < nilss> let's see if there's code at 0x8000 06:45 < macPod> I heard 512kb 06:46 < nilss> don't know, i reset the ipod after about 20kb 06:46 < macPod> however that is alot of code for the flash 06:46 < macPod> wonder if you were reading the firmware on the hd> 06:46 < nilss> at 0x8000 is some code 06:47 < macPod> actually that would not make sense becuase you have not loaded anything to read the hd :) 06:47 < nilss> no i'm reading the memory 06:48 < macPod> could your program write to the memory? 06:48 < macPod> that would be some suckage there 06:48 < nilss> it could, but it doesn't 06:49 < macPod> it's a scary thought.. would kill your iPod 06:49 < jintonic> write your name in binary, see what it does :D 06:55 < Wammy> this is really annoying me 06:55 < Wammy> i still dont think that my system is running at its full potential 06:57 < veteran> is it running linux? 06:58 < fre_ber> Nilss: I would guess that that jumps a lot longer than to 0x8000, loading 0x40000004 into pc, would make it continue executing at 0x40000004, or is the operands for mov the other way around? 06:59 < nilss> fre_ber: yea but before the mov it branches to 0x8000 ;) 06:59 < fre_ber> Oh, didn't see that.. Sorry. 07:00 < fre_ber> Didn't leachbj say something about the first adresses being jump vectors? 07:01 < fre_ber> Not code at all? 07:01 < fre_ber> But that doesn't look like an adress... 07:01 < nilss> yeah i think the branch jumps to the code after the vectors 07:02 < nilss> c: 71d07962 bicvcs r7, r0, r2, ror #18 07:02 < nilss> 10: 71d078a0 bicvcs r7, r0, r0, lsr #17 07:02 < nilss> 14: f1d078a8 bicnvs r7, r0, r8, lsr #17 07:02 < nilss> 18: f1d078b0 ldrnvh r7, [r0, #128] 07:02 < nilss> 1c: f1d078b8 ldrnvh r7, [r0, #136] 07:02 < nilss> that may be the vectors ;) 07:02 < fre_ber> ok, so it always starts to execute a 0x0? 07:02 < nilss> yea 07:02 < fre_ber> ok 07:03 < fre_ber> Hmm, they look a little too close to eachother to be jump vectors.. Don't they? 07:04 < nilss> jump vectors are just memory addresses 07:04 < veteran> i quit. 07:04 -!- veteran [veteran@cs2428114-153.houston.rr.com] has quit ["quit"] 07:04 < fre_ber> Yes, but look at the targets - only a few instructions between them. 07:04 < nilss> maybe at that locations there's a real jump instruction 07:05 < fre_ber> Yes, possibly. But why do a jump to a jump? 07:05 < coob> because they like trampolines? 07:05 < fre_ber> Maybe. 07:06 < fre_ber> Are they interrupt vectors? Or what are these for? 07:06 < nilss> yea i think so. 07:06 < fre_ber> Makes sense. 07:06 < nilss> mhm 07:07 < nilss> code at 0x8000: 07:07 < nilss> 0: ea000231 b 0x8cc 4: e93fffff ldmdb pc!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, sp, lr, pc} 8: 9a80004d bls 0xfe000144 c: 5c400047 stcpll 0, cr0, [r0], -#284 07:08 < nilss> why do they jump back to 0x8cc?! 07:09 < fre_ber> To confuse the enemy... :| 07:09 < macPod> is there a good arm-elf tutorial? 07:09 < nilss> i could dump the whole first 268435456bytes, but that would take 9 years 07:09 < macPod> website 07:10 < macPod> wow, if you unsoldered the peizio, attached it via serial connection to your iPod.. 07:11 < macPod> you could transfer much more cleanly 07:11 < macPod> to your computer that is 07:11 < nilss> the piezo in the 4g isn't serial... 07:11 < fre_ber> Still it take too long... 07:11 < fre_ber> You could connect it to a digital oscilloscope, if that can record. 07:12 < nilss> that's just the same what i'm doing with my mic 07:12 < fre_ber> Yes. 07:12 < macPod> right, except if you soldered it, you would have a cleaner sound 07:12 < fre_ber> But it would reduce noise, but you manage that anyway. 07:12 < nilss> the sound is clean enough :) 07:12 < macPod> and thus could dump it more quickly 07:12 < nilss> i'll dump 0x8cc now 07:13 < fre_ber> ok 07:13 < nilss> lots of 0s... 07:13 < fre_ber> Uh oh... 07:14 < nilss> mhm 07:15 < nilss> still no 1 07:15 < fre_ber> That can't be code... 07:16 < nilss> maybe the b 0x8cc is relative to 0x8000? 07:16 < fre_ber> Hmm... 07:16 < macPod> or mixing up big and little endian? 07:16 < macPod> no wait, n/m 07:17 < nilss> there's code at 0x88cc 07:18 < fre_ber> Ok, I'm trying to locate a descriptions of the ARM instructions.. 07:18 < nilss> so let's dump 8x8000 again 07:19 < nilss> btw, now i know why the ipod has the note saying it can damage your ears on it ;) 07:19 < fre_ber> macPod: Check this out, might be what you wanted: http://www.ee.ic.ac.uk/pcheung/teaching/ee2_computing/ 07:19 < macPod> thanks, I understand the basic concepts, but really would like to learn more tahn that :) 07:20 < fre_ber> Basic? I think most details are there... ;) 07:20 < macPod> not the language basic, I mean how the iPod starts up, etc 07:21 < macPod> but the vector table stuff I am oblivious to 07:21 < fre_ber> Ah.. 07:21 < normalperson> macPod: http://www.heyrick.co.uk/assembler/ is a good reference 07:21 < macPod> heh, I was alreayd on that page when you said that 07:21 < normalperson> but my ldm* woes with FLAC persist :( 07:22 < normalperson> oh well, I'm hacking a stripped down podzilla for controlling MPD 07:23 < fre_ber> Ah, on that page it clearly says that 0x8cc is an offset, an offset to register R15. 07:27 < fre_ber> It says that the exception vectors are supposed to be actual code, specifically a branch to the exception handler. 07:28 < nilss> mkay i should have about 32kb now 07:29 < nilss> i'll start decoding them 07:31 < fre_ber> 0x00000000 Reset 07:31 < fre_ber> 0x00000004 Undefined instruction 07:31 < fre_ber> 0x00000008 Software interrupt 07:31 < fre_ber> 0x0000000c Prefetch abort (instruction fetch memory fault) 07:31 < fre_ber> 0x00000010 Data abort (data access memory fault) 07:31 < fre_ber> 0x00000018 IRQ (normal interrupt) 07:31 < fre_ber> 0x0000001c FIQ (fast interrupt) 07:31 < fre_ber> What happened to 0x14, I don't know. 07:32 < nilss> mhm 07:32 < nilss> i only have 407 bytes 07:32 < fre_ber> From where? 07:33 < nilss> from the audio file 07:33 < fre_ber> Where you should have had 32kb? 07:33 < nilss> 8bit are 1.0117sec 07:33 < Wammy> what is the recommended ram for the athlon xp 3000+ ? 07:34 < nilss> mhm this time the code at 0x8000 is different 07:34 < nilss> but it makes much more sense now 07:34 < nilss> 07:34 < nilss> 0: ea000233 b 0x8d4 07:34 < nilss> 4: eafffffe b 0x4 07:34 < nilss> 8: ea00026a b 0x9b8 07:34 < nilss> c: ea00027b b 0xa00 07:34 < nilss> 10: eafffffe b 0x10 07:34 < nilss> 14: e1a00000 nop (mov r0,r0) 07:34 < nilss> 18: eafffffe b 0x18 07:34 < nilss> 1c: eafffffe b 0x1c 07:34 < nilss> 07:35 < fre_ber> But still starts with a "b"... 07:35 < fre_ber> Or is this at 0x0? 07:35 < fre_ber> Or are the vectors at 0x8000? 07:35 < fre_ber> Confused... 07:35 < nilss> nope thats at 0x8000 07:36 < nilss> but... 07:36 < nilss> 0: ea000079 b 0x1ec 07:36 < nilss> 4: ea000066 b 0x1a4 07:36 < nilss> 8: e1b0f00e movs pc, lr 07:36 < nilss> c: ea00006a b 0x1bc 07:36 < nilss> 10: ea00006f b 0x1d4 07:36 < nilss> 14: eafffffe b 0x14 07:36 < nilss> 18: ea000057 b 0x17c 07:36 < nilss> 1c: ea00004d b 0x158 07:36 < nilss> that are the first bytes of the apple firmware. 07:36 -!- acs [~acs@163.Red-217-126-151.pooles.rima-tde.net] has joined #ipodlinux 07:37 < fre_ber> But I don't really understand why they always use b, relative to R15 - how can an exception handler know in advance what R15 will contain?!? 07:38 < nilss> damn, i made a mistake calculating the time 07:38 < nilss> r15 is pc, 07:38 < fre_ber> Aha, that explains it.. :) 07:38 < nilss> it'll take 45hours :/ 07:38 < coob> :/ 07:39 < fre_ber> Eek... 07:39 < coob> heh 07:39 < coob> hope for your sake they checksum their flash 07:40 < fre_ber> I think that those lectures I found could be a good introduction to the ARM processors. It describes interrupt vectors and everything. :) 07:40 < nilss> mhm i dont know if the piezo wont die if it has to beep for about 30hours 07:41 < fre_ber> I have no idea. 07:42 < nilss> mhm, so what should i do? 07:43 < fre_ber> How much data do you think you can record in reasonable time? 07:43 < macPod> pezio's are pretty hardy 07:43 < nilss> 1byte/second 07:43 < fre_ber> I think you have to try to take it section for section. Follow the jumps. 07:44 < nilss> that would taken even longer 07:44 < nilss> cause i need time to prepare the audio for decoding 07:44 < fre_ber> Get a number of instructions at each 07:44 < fre_ber> oops 07:44 < fre_ber> yes, but this way you won't have to decode it all, perhaps. 07:45 < fre_ber> Unless you really want it all. 07:45 < nilss> mhm let's wait for leachbj :) 07:45 < fre_ber> :) 07:45 < fre_ber> When does he usually wake up? 07:45 < nilss> dont know ;) 07:46 < fre_ber> It was a long time since I was awake at this time.. :) 07:46 < nilss> yesterday he joined at 10:37 07:46 < Wammy> what happens when you kill the 'System' process in winxp? =P 07:46 < fre_ber> Ok 07:47 < fre_ber> Never tried. 07:47 < Wammy> ima take a wild guess and say windows wont let you cuz you are a n00b 07:47 < Wammy> its not like linux when you can killall init 07:47 < Wammy> :P 07:47 < fre_ber> Very likely. 07:48 < nilss> Wammy: you cant kill init on linux 07:48 < Wammy> i know ive done it before.... 07:49 < Wammy> or was that something else 07:50 < nilss> Wammy: i just tried it 07:50 < Wammy> hmm 07:50 < nilss> it only killed my shell 07:50 < nilss> and now init has the pid 1 ;) 07:50 < Wammy> weird 07:51 * Wammy needs new ram 07:51 < Wammy> i just noticed why my system was running slow 07:51 < Wammy> athlon xp 3000+ processor with ddr2100 :/ 07:53 < normalperson> \o/ I have a *very* basic MPD client based on podzilla 07:54 < nilss> cool :) 07:54 < normalperson> so the color inversion is a microwindows problem? 07:54 < normalperson> <-- hasn't compiled/used podzilla in months 07:54 < fre_ber> nice! 07:55 < fre_ber> Yes, the colours have been inverted. 07:55 < nilss> now i have about 2kb 07:55 < fre_ber> After rebuilding microwindows it worked. 07:56 < normalperson> why invert? 07:56 < fre_ber> So that images would show up right without manual invertion. 07:56 < normalperson> ah 07:57 -!- Jonas_NZ [~Jonas_NZ@210-55-34-159.dialup.xtra.co.nz] has joined #ipodlinux 07:57 < normalperson> I ripped out all the image viewing, games, recording, audio from my podzilla 07:57 < fre_ber> k 07:57 < nilss> anyone with a 4g and a good mic around? :) 07:57 < normalperson> didn't feel like compiling all that stuff in, since I wanted more RAM for my mpd buffer 07:57 < Jonas_NZ> nills: i am 07:57 < fre_ber> Yes! Now it became 15 hours.. ;) 07:58 < nilss> do you have a _quiet_ room where you could record about 45hours of ipod squeeking? :) 07:58 < Jonas_NZ> nilss: ummm, 45hrs? 07:58 < nilss> yeah 07:58 < fre_ber> rofl 07:58 < nilss> one byte per second 07:58 < nilss> 64kb => 45hours 07:59 < Jonas_NZ> not today, maybe tommorow, we have guests which are leaving in 12 hours 07:59 < fre_ber> But you can do half each. 07:59 < Jonas_NZ> cant you make it two bytes /s 07:59 < nilss> nope 07:59 < Jonas_NZ> why not? 07:59 < nilss> i'm not sure if i can decode it then 08:00 < Jonas_NZ> btw i make it 21hours if its 64kb 08:01 < normalperson> grr... bed time 08:01 < nilss> mhm you're right.. 08:01 < normalperson> need to be up early tomrrow :( 08:01 < fre_ber> Nah... 08:01 < nilss> n8 normalperson 08:01 < fre_ber> Time to go to work. 08:01 < normalperson> I'll clean it up and put a patch up tomorrow 08:02 < normalperson> lates 08:02 < fre_ber> ok, good night 08:02 < Jonas_NZ> nilss, the problem is what am i going to record it on 08:02 < normalperson> nilss: it's 12am in LA :) 08:02 < nilss> Jonas_NZ: i think i was calculating in hex or binary or something cause i did a lot of base conversation in that shell 08:03 < nilss> Jonas_NZ: harddisk? 08:03 < Jonas_NZ> the computer here is in a living area so... 08:03 < nilss> another ipod? ;) 08:03 < Jonas_NZ> dont have 1, but have you got hd working or not? 08:03 < nilss> nope 08:03 < normalperson> nano-mpc--main--0--patch-4 in eric@petta-tech.com--2005a-normalperson if anybody wants to see it in Arch :) 08:04 < nilss> if i had i'd just have dumped it in a file 08:04 < normalperson> it'll be mirrored in 10 minutes or so 08:04 < Jonas_NZ> k, but if youre dumping the memory wont you have problems cos there is nothing in the memory 08:04 < nilss> i'm dumping the flash 08:05 < Jonas_NZ> oh ol 08:05 < Jonas_NZ> have you thought about modifying your programm so that it dump 8 lots of 8KB 08:05 < Jonas_NZ> so thats 8 different firmwares 08:05 < Jonas_NZ> cos then i could probably handle it 08:06 -!- tlg [~tlg@147-209.242.81.adsl.skynet.be] has joined #ipodlinux 08:06 < nilss> mhm yea, that would be possible 08:06 < Jonas_NZ> do we know where abouts the pezio is 08:07 < nilss> you mean for placing the mic? 08:07 < Jonas_NZ> cos then you could crocodile clip straight onto it and it wouldnt be a hassle with bg noise 08:07 < nilss> i put it directly onto the lcd 08:08 < Jonas_NZ> since mine has been opened allready, but hmm, how about this, i dump the first 4 8KB sections and you do the other 4 08:09 < nilss> mhm then we could do it in 10 hours 08:09 < Jonas_NZ> exactly 08:10 < nilss> mkay 08:10 < Jonas_NZ> btw look at gentoo channel right now 08:10 < Jonas_NZ> bloody hilarious 08:10 < nilss> #gentoo? 08:10 < Jonas_NZ> over 08:10 < Jonas_NZ> ill dump in 1 sec in another channel 08:11 < Jonas_NZ> im dumping it in ipodlinuxflood 08:11 < nilss> mhm decoding about 20mb audio needs about 300mb ram 08:11 < Jonas_NZ> i have 512 08:11 < jintonic> me too 08:11 < nilss> me too ;) 08:11 < tlg> nilss: finally you got the decoding part working ? 08:12 < jintonic> my mom has 1GB 08:12 < jintonic> :) 08:12 < macPod> 1gb here :P 08:12 < nilss> tlg: yea 08:12 < nilss> 20413 nils 25 0 479m 413m 14m R 96.6 82.4 2:13.23 perl 08:12 < tlg> 'cos I thought that: http://wwwhome.cs.utwente.nl/~ptdeboer/ham/rscw/ could help 08:13 < Jonas_NZ> http://rafb.net/paste/results/O9mqX542.html 08:13 < Jonas_NZ> thats the gentoo dump 08:14 < nilss> 620mb... 08:15 < nilss> i think the only way to do this is with a lot of swap 08:15 < Jonas_NZ> i have 1gb of swap 08:15 < nilss> i'll make a 8gb swapfile for decoding 08:15 < Jonas_NZ> or you split it into smaller parts 08:16 < tlg> nilss: did you put some checksum in the dump. to make sure you read it right ? 08:16 < nilss> well, this is only a 2kb part and perl uses 960mb ram 08:16 < nilss> tlg: nope 08:17 < Jonas_NZ> what that cant be right 08:17 < Jonas_NZ> youre doing something wrong 08:17 < nilss> Jonas_NZ: nope, 400byte took about 200mb 08:18 < Jonas_NZ> yeah but it shouldnt 08:18 < nilss> i'm putting the whole 20mb audio into an array 08:18 < nilss> i think perl wasnt made for that.. 08:18 < Jonas_NZ> neither do i 08:20 < Jonas_NZ> nilss: can you rewrite you dumping prog so it does it in 16KB chunks 08:20 < fre_ber> Go Matlab.. ;) 08:21 < Jonas_NZ> oh an btw i will talk to a techie at school, see if he can keep the XServe busy overnight 08:23 < nilss> my next workstation will be a mac, sgi or sun ;) 08:23 < macPod> mac! 08:24 < nilss> mhm but sgi makes nice workstations, too... 08:24 < Jonas_NZ> nilss: fix your dump proggie and i will dump 16KB tonight and 16KB tommorow night if you want 08:24 < Jonas_NZ> its quite noisy here during the day 08:27 < nilss> my mouse on my workstation just freezed :) 08:32 -!- courtc [~court@adsl-33-133-239.asm.bellsouth.net] has quit [Read error: 60 (Operation timed out)] 08:35 < nilss> perl is finished 08:35 < nilss> 1024mb ram, 20mb audio => 2,1kb binary 08:36 < Jonas_NZ> dcc it to me! 08:37 < nilss> the dump binary for the ipod? 08:37 < fre_ber> Hmm, what is the easiest way to count the number of occurrences of a substring in a string, using perl? 08:38 < Jonas_NZ> yeah 08:38 < Jonas_NZ> the one that just finished 08:39 < nilss> no thats the decoded binary from the flash 08:39 < Jonas_NZ> yeah, that what i want 08:39 < Jonas_NZ> i wanna have a look at it 08:40 < nilss> mkay 08:40 -!- courtc [~court@adsl-33-164-40.asm.bellsouth.net] has joined #ipodlinux 08:40 < nilss> dump.bin is the dumped binary 08:40 < Jonas_NZ> ahh 1 sec 08:41 < Jonas_NZ> try now 08:41 < nilss> dump1x000.bin is the binary for the ipod that dumps 16kb starting at 0x1X000 08:41 < Jonas_NZ> email is probably easier 08:41 < Jonas_NZ> jbergler@gmail 08:41 < Jonas_NZ> i cant receive dcc cos my isp is blocking temporaryly due to warez 08:41 < Jonas_NZ> or sumthing 08:42 < nilss> http://nilss.prout.be/files/ipodlinux/dump.tbz2 08:42 < Jonas_NZ> k 08:44 < nilss> mhm 08:45 < nilss> maybe we should port bz2 to the ipod, compress the flash into ram, dump the compressed image and decompress it? 08:45 < Jonas_NZ> how long? though 08:45 < nilss> dont know, but bzip2 just compressed ~50kb to 5,5kb 08:46 < fre_ber> Sounds like another good idea. 08:47 < nilss> we would even get some kind of checksum 08:47 < Jonas_NZ> yeah 08:48 < Jonas_NZ> but how hard would it be to port bz2 to arm? 08:48 < nilss> dont know 08:49 < Jonas_NZ> nilss: what do you interpret this as :http://lists.debian.org/debian-devel-changes/2000/01/msg00103.html 08:52 < Jonas_NZ> there is source for bzip here ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz 08:53 < Wammy> anyone willing to port PHP to it? =) 08:53 < nilss> should be easy ;) 08:53 < Wammy> and apache? 08:53 < Jonas_NZ> well get cracky 08:53 < Wammy> nothing like running a webserver off an ipod 08:54 < Jonas_NZ> cracking* 08:54 -!- jintonic [~jintonic@c-24-4-19-128.client.comcast.net] has quit ["*.User *.Split"] 08:57 < nilss> maybe leachbj can port bz2... 08:59 < Jonas_NZ> btw how big is the ogg file for say an hours worth of peeping :? 08:59 < nilss> -rw-r--r-- 1 nils users 46M Jan 7 09:59 flash.wav 08:59 < nilss> for about 1.5h 09:00 < Jonas_NZ> hmm 09:03 < Jonas_NZ> nilss just grab the bz2 source and try and compile it see if it works 09:03 < nilss> i have no operating system running on the ipod... 09:04 < fre_ber> I'll give it a quick try. 09:04 < Jonas_NZ> so how are you getting the beepers to work 09:04 < nilss> i'm currently reading the manual for bzip2 09:05 < nilss> it's just a binary with code 09:05 < Jonas_NZ> ok 09:05 < Jonas_NZ> hmm 09:05 < fre_ber> Err.. But you can't run it anyway.. 09:05 < fre_ber> ? 09:06 < nilss> mhm we don't have malloc, that may be a problem 09:06 < fre_ber> Yes, and possibly other stuff from the C runtime? 09:06 < fre_ber> And kernel... 09:07 < fre_ber> You would need to extract the essential code into your own test program.. 09:07 < nilss> yea 09:07 < Jonas_NZ> i think alexander went on holiday >> [alexander] idle 101:23:52, signon: Fri Dec 31 03:15:39 << :P 09:08 < tlg> tlg@portable ~/Src/bzip2-1.0.2 $ grep "malloc (" * -R | grep "\.c" | wc -l 09:08 < tlg> 6 09:08 < tlg> that makes 6 malloc's to change 09:09 < nilss> yea and i'm not good at coding c... 09:09 -!- leachbj [~leachbj@pD9EAA794.dip.t-dialin.net] has joined #ipodlinux 09:09 -!- mode/#ipodlinux [+o leachbj ] by ChanServ 09:09 < nilss> hi leachbj :) 09:09 < fre_ber> It also creates a library... 09:09 < leachbj> morning... 09:09 < fre_ber> Good morning. 09:10 < nilss> leachbj: http://nilss.prout.be/files/ipodlinux/dump.bin 09:10 < nilss> first 2,1kb of the flash starting at 0x8000 09:10 < fre_ber> I have a feeling that it might be difficult to zip it, but you could try a simple byte-run algorithm or something. 09:10 < Jonas_NZ> morning leachbj 09:10 < fre_ber> Then large blocks would shring at least. 09:11 < fre_ber> *shrink 09:11 < Jonas_NZ> yeah, i mean leachbj wouldnt wanna port bz2 to the ipod would he? 09:11 < leachbj> nilss: excellent 09:12 < fre_ber> To iPodLinux is one thing, to the bootloader is another... Right? 09:12 < nilss> leachbj: the problem with dumping through the piezo is that 64kb would take about 18hours... 09:12 < Jonas_NZ> yeah 09:12 < leachbj> nilss: hopefully we won't need the full thing 09:13 < Jonas_NZ> 21hours 09:13 < fre_ber> Don't you think a simple byte-run would help? 09:13 < nilss> could you writa something that compresses the flash with bzip2? 09:13 < nilss> write* 09:13 < Jonas_NZ> no nilss: if you get me a bin that will dump the first 16kb i will leave it running tonigh 09:14 < nilss> Jonas_NZ: the 2 bins i sent you will dump the last 32kb 09:14 < leachbj> nilss: or we can do it iteratively... so from that code wee need stuff from 0x8d4 09:14 < fre_ber> :) 09:15 < nilss> well, decoding of 2kb took 1gb ram, so i think dumping the whole flash is easier. 09:15 < nilss> and if we'd use bzip2 we would even have a checksum 09:16 < fre_ber> I still think bzip is too heavy. 09:16 < nilss> mhm then maybe gzip? 09:16 < coob> normal gzip then? 09:16 < fre_ber> No, huffman coding all of them. 09:16 * fre_ber screams: byte-run 09:16 < leachbj> too heavy how? cpu? 09:16 < fre_ber> Complex algorithm. 09:16 < nilss> from hearing i'd think there are really many 0s in the flash... 09:17 < fre_ber> Which will be eaten up by, gues what... 09:17 < fre_ber> *guess 09:17 < nilss> yea 09:17 < leachbj> fre_ber: but its already implemented to complexity is not an issue 09:17 < leachbj> nilss: why so much ram? 09:17 < nilss> so we could possibly dump it in 8 hours 09:17 < fre_ber> It isn't? You don't have an os to rely on at that point. 09:18 < nilss> leachbj: dont know, i wrote the decoder in perl and perl seems to have problems with large arrays 09:18 < leachbj> nilss: hmm... maybe a c port? 09:18 < leachbj> fre_ber: ? 09:18 < nilss> i'm not good enough at c to port it... 09:19 < fre_ber> Well, the implemented gzip2 algorithme uses the os, doesn't it? It requires Linux. 09:19 < leachbj> nilss: i could probably do it ;) 09:19 < fre_ber> Ok, go ahead then. ;) 09:19 < leachbj> fre_ber: it should only need c library 09:20 -!- jintonic [~chatzilla@c-24-4-19-128.client.comcast.net] has joined #ipodlinux 09:20 < nilss> http://nilss.prout.be/files/ipodlinux/decoder.pl 09:20 < nilss> the sdl stuff is for debugging and finding the right values for $min1 and $min2 09:20 < Jonas_NZ> Forbidden 09:20 < Jonas_NZ> You don't have permission to access /files/ipodlinux/decoder.pl on this server. 09:20 < nilss> mhm 09:21 < nilss> http://nilss.prout.be/files/ipodlinux/decoder.pl.txt 09:21 < leachbj> same 09:21 < Jonas_NZ> rafb.net/paste 09:21 < nilss> http://nilss.prout.be/files/ipodlinux/decoder.txt 09:21 < Jonas_NZ> got it 09:21 < nilss> i should edit my apache.conf 09:26 < nilss> i have 2 hours now 09:30 < tlg> nilss: the dump.bin is the start of the flash ? 09:30 < nilss> it's the code at 0x8000 09:31 < leachbj> why there? 09:31 < nilss> the code at 0x0 was just a b 0x8000 09:31 < nilss> then some numbers and a lot of 0s 09:31 < leachbj> ah ok... cool 09:34 < nilss> leachbj: the problem i have with porting the decoder to c are the dynamic arrays. 09:36 < nilss> how would i do that in c? 09:37 < tlg> nilss: is it firmware 3.2.4 ? 09:37 < coob> http://www-ee.eng.hawaii.edu/Courses/EE150/Book/chap14/subsection2.1.2.2.html 09:38 < nilss> tlg: it's not the firmware. it's the flash. 09:38 < coob> http://www.hermetic.ch/cfunlib/arrays/arrays.htm 09:38 < nilss> mhm i could try to write it as a stream decoder 09:38 < nilss> so it wont use more than 1kb ram at any time 09:40 < nilss> maybe that's the best solution... 09:40 < nilss> i can map a file into memory in c, right? 09:41 < fre_ber> leachbj: Am I correct when I assume that address 0x0 is the exception vector table? 09:43 < nilss> if i open a file with fopen(); how can i find out it's length? 09:49 < fre_ber> You can do fstat(path, buf) 09:49 < tucanoj> strlen 09:49 < fre_ber> and check st_size 09:49 < fre_ber> http://bama.ua.edu/cgi-bin/man-cgi?fstat+2 09:49 < tucanoj> oops, time to go to bed 09:50 -!- leachbj_ [~leachbj@p54879D7F.dip.t-dialin.net] has joined #ipodlinux 09:52 -!- leachbj [~leachbj@pD9EAA794.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 09:52 -!- leachbj_ is now known as leachbj 09:52 -!- mode/#ipodlinux [+o leachbj ] by ChanServ 09:53 < fre_ber> #include 09:53 < fre_ber> #include 09:53 < fre_ber> ... 09:53 < fre_ber> struct stat stat_buf; 09:53 < fre_ber> long len; 09:53 < fre_ber> fstat ("mydumpfile", &stat_buf); 09:53 < fre_ber> len = stat_buf.sz_size; 09:53 < fre_ber> ... 09:53 < fre_ber> Should show you the length of the file... 09:53 < nilss> k thx 09:53 < fre_ber> Not tested though.. ;) 09:56 < Jonas_NZ> Luke you here? 09:58 < leachbj> so the strange thing about that image is that it still looks encoded... 09:58 < leachbj> but if there is no code before it to decode it how does it work? 09:58 < tlg> hardware ? 09:59 < leachbj> does anyone have a thumb disassembler? 10:00 < nilss> arm-elf-objdump? 10:00 < nilss> according to the man it can disassemble thumb code 10:00 < nilss> --disassembler-options=force-thumb 10:02 < leachbj> doesnt look much better :( 10:02 < nilss> maybe it's data 10:03 < leachbj> could be, but the 2.2.2 bootloader also has a 0x50 byte header 10:05 < nilss> i think we'd try to compress so we have a checksum 10:08 < nilss> fre_ber: is fstat (*argv[1], &stat_buf); right? 10:08 < fre_ber> Yes, I would think so. 10:08 < nilss> then why do i always get a negative number? 10:08 < fre_ber> No, ixnay on the * 10:09 < nilss> ixnay? 10:09 < leachbj> ;) delete/remote 10:09 < leachbj> remove* 10:09 < fre_ber> Lol, piglatin = no 10:10 < leachbj> nilss: do you have a new wav or still using that one from yesterday? 10:10 < nilss> a new one from today 10:11 < leachbj> can I grab it and your perl program? 10:11 < nilss> the wav is 50mb and i only have 16kb/s upstream 10:11 < leachbj> ouch 10:11 < nilss> i dont know if ogg wont damage it 10:11 < leachbj> flac? 10:11 < leachbj> ogg will 10:12 < leachbj> and that 50mb is how much? 10:12 < leachbj> (of the rom) 10:12 < nilss> ~7kb 10:12 < leachbj> oh 10:13 < nilss> mhm isnt there an easy way to get the size of a file? 10:14 < leachbj> fseek/ftell... 10:14 < nilss> how would i do that? 10:14 < nilss> seek to the end and then call ftell? 10:15 < leachbj> fopen(g_filename,"r"); 10:15 < leachbj> fseek(fp, 0, SEEK_END); 10:15 < leachbj> file_len = ftell(fp); 10:15 < leachbj> f 10:15 < leachbj> fseek(fp, 0, SEEK_SET); 10:15 < nilss> works, thx 10:16 -!- bbbb [~bb@195.188.217.4] has joined #ipodlinux 10:16 -!- acs [~acs@163.Red-217-126-151.pooles.rima-tde.net] has quit ["Terminando cliente"] 10:32 < jintonic> yay! tux racer works now... very sluggishly though 10:32 < Luke> nilss: how's the 4g flash coming along? 10:33 < nilss> it works at 1byte/second 10:33 < nilss> so dumping 64kb takes ~20hours 10:33 < Luke> ha damn 10:33 < Luke> just leave your PC on for a few days going nothing but that 10:34 < nilss> that wouldn't be a problem but the beeping gets annoying after a few hours ;) 10:35 < Luke> unplug your speakers... or is it a sys beep? 10:37 < nilss> it's the piezo in the ipod that beeps 10:37 < nilss> then i record that with a mic 10:38 < Luke> hmm 10:38 < Luke> damn 10:38 < Luke> i see your problem 10:38 < leachbj> nilss: I have gzip included in there now. 10:38 < nilss> k 10:39 < Luke> leachbj: did i tell you what the problem was with the blog before? 10:39 < leachbj> Luke: about the categories? 10:39 < Luke> yea 10:40 < leachbj> yup... the new style looks really nice 10:40 < Luke> it only shows categories if there is a post that has been posted under it. so no post = the wp doesnt know what to do and sql errors 10:40 < leachbj> yup.. kinda makes sense 10:41 -!- tucanoj [~tucanoj@108.120.cm.sunflower.com] has left #ipodlinux [] 10:41 < Luke> there shoulda been code to check for that but i guess not =) 10:43 < Luke> well your probably sick of hearing about the website. good news is is that its pretty much complete now =) 10:46 -!- jintonic [~chatzilla@c-24-4-19-128.client.comcast.net] has quit ["Chatzilla 0.9.66 [Mozilla rv:1.7.5/20041107]"] 10:46 -!- jintonik [~jintonic@c-24-4-19-128.client.comcast.net] has joined #ipodlinux 10:47 -!- jintonik is now known as jintonic 10:50 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 110 (Connection timed out)] 10:53 -!- Jonas_NZ` [~Jonas_NZ@210-55-144-90.dialup.xtra.co.nz] has joined #ipodlinux 11:02 -!- Jonas_NZ [~Jonas_NZ@210-55-34-159.dialup.xtra.co.nz] has quit [Read error: 113 (No route to host)] 11:17 -!- Jonas_NZ` [~Jonas_NZ@210-55-144-90.dialup.xtra.co.nz] has left #ipodlinux ["Leaving"] 11:22 < tlg> anyone knows what does the code in the firmware image that is located just before the encrypted bootloader ? 11:29 -!- JonesH [~chatzilla@h60n1fls31o1118.telia.com] has joined #ipodlinux 11:45 -!- jintonic [~jintonic@c-24-4-19-128.client.comcast.net] has quit [Remote closed the connection] 11:45 -!- usv_ [~jpaalija@asuka.tky.hut.fi] has quit [Read error: 104 (Connection reset by peer)] 11:50 -!- drigz [~drigz@user-5304.lns1-c7.dsl.pol.co.uk] has quit ["Leaving"] 12:13 -!- IRCMonkey [~chatzilla@8036dc4.resnet.ucsd.edu] has joined #ipodlinux 12:14 -!- IRCMonkey [~chatzilla@8036dc4.resnet.ucsd.edu] has quit [Client Quit] 12:14 -!- maxf [~mf@accueil.w3.org] has joined #ipodlinux 12:17 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 12:25 < maxf> hi there 12:25 < maxf> "init: /bin/podzilla respawning too fast" 12:25 < maxf> any clue? 12:35 -!- piratePenguin [~declan@dialup0027.ts005.bmt.esat.net] has joined #ipodlinux 12:39 -!- piratePenguin [~declan@dialup0027.ts005.bmt.esat.net] has quit [Client Quit] 12:41 -!- piratePenguin [~declan@dialup0027.ts005.bmt.esat.net] has joined #ipodlinux 12:52 -!- usv [~jpaalija@asuka.tky.hut.fi] has joined #iPodLinux 13:05 -!- piratePenguin [~declan@dialup0027.ts005.bmt.esat.net] has quit ["Linux is a (r)evolution. Embrace change."] 13:18 -!- Jack_MD [~Jack_MD@pD9E573B7.dip.t-dialin.net] has joined #ipodlinux 13:23 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 110 (Connection timed out)] 13:24 -!- mgla [~mgla@pD9EE9BFB.dip.t-dialin.net] has joined #ipodlinux 13:24 < nilss> hi ;) 13:24 -!- Jack_MD [~Jack_MD@pD9E573B7.dip.t-dialin.net] has quit [] 13:24 < mgla> hi :) 13:43 -!- skm [DTS@dialup-87.83.221.203.acc52-dryb-mel.comindico.com.au] has joined #ipodlinux 14:24 -!- piratePenguin [~declan@dialup0698.ts004.bmt.esat.net] has joined #ipodlinux 14:38 -!- piratePenguin [~declan@dialup0698.ts004.bmt.esat.net] has quit ["Linux is a (r)evolution. Embrace change."] 14:52 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 14:55 -!- JonesH [~chatzilla@h60n1fls31o1118.telia.com] has quit [Read error: 110 (Connection timed out)] 15:13 -!- piratePenguin [~declan@dialup0028.ts004.bmt.esat.net] has joined #ipodlinux 15:16 -!- piratePenguin [~declan@dialup0028.ts004.bmt.esat.net] has quit [Remote closed the connection] 15:25 < coob> tlg: what encrypted bootloader? nothing's encrypted. 15:32 -!- jintonic [~jintonic@c-24-4-19-128.client.comcast.net] has joined #ipodlinux 15:32 < jintonic> so is 4g done yet? 15:32 < jintonic> :D 15:32 < xt> jintonic: look at the topic 15:32 < xt> jintonic: also look at the wiki for more detailed information 15:32 < coob> http://ipodlinux.org/4g 15:33 < tlg> coob: as I see it I think there are 2 encrypted parts in the 4g firmwares 15:33 < jintonic> xt: take it easy, the :D (smile) means i'm kidding 15:33 < tlg> one before the os 512 bytes 15:33 < coob> tlg: then you're seeing it wrong. 15:33 < coob> that's unknown, not neccessarily encrypted. 15:34 < tlg> but it really looks like it is ;) 15:34 < coob> yeah? how? 15:35 < nilss> i can dump data almost twice as fast now 15:35 < nilss> problem is: i have to write a new decoder 15:35 < jintonic> how would you decrypt it without it being in the firmware tho? 15:35 < tlg> coob: I don't know, I've tried many things (DES,XOR,...) but can't find ;) 15:36 < coob> no how does it look like it is 15:36 < coob> could just be random padding 15:36 < tlg> because it looks like pure scrambled data, and it is 16bytes multiple blocks 15:37 < tlg> so I don't think it is padding 15:37 < tlg> and 15:37 < jintonic> i'm getting an ipod 4g today :D 15:38 -!- mgla [~mgla@pD9EE9BFB.dip.t-dialin.net] has quit ["linked /dev/brain to /dev/null"] 15:38 < tlg> the 512 bytes has the same "structure" as the start of the update image 15:38 < tlg> 8byte of OxOO 15:38 < tlg> and then another 8bytes (may be a key or iv) 15:39 < jintonic> nilss: which firmware are you reving? 15:39 -!- davidc__ [~davidc@S01060002b360aacd.vc.shawcable.net] has joined #ipodlinux 15:39 -!- mode/#ipodlinux [+o davidc__ ] by ChanServ 15:39 < davidc__> hey all 15:39 < leachbj> hey davidc__ 15:39 < davidc__> bern, any luck with that code? 15:39 < davidc__> [school is canceled today due to snow, so time for some kernel hacking :0] 15:39 < leachbj> not really, the only thing I could think of was that the extra code to work out which interrupt it was, was no good. 15:40 < davidc__> leachbj.. yeah, thats possible 15:40 < davidc__> I never thoughta that 15:40 < davidc__> I'll check that 15:40 < leachbj> see if you can simplify it. 15:40 < leachbj> just check which interrupt bit is set. 15:40 < davidc__> I was doing something like that 15:42 < fre_ber> leachbj: Is address 0x0 the exception vector table? (Of the flash) 15:43 < leachbj> 0x0 is the reset vector 15:43 < coob> tlg: it could just be compressed 15:43 < davidc__> brb, gotta go shovel snow 15:43 < tlg> coob: yes I don't lean it has to be encrypted ;) 15:43 < tlg> may be I should say encoded 15:43 < fre_ber> Does the other vectors also match? 15:43 < fre_ber> 0x00000000 Reset 15:43 < fre_ber> 0x00000004 Undefined instruction 15:43 < fre_ber> 0x00000008 Software interrupt 15:43 < fre_ber> 0x0000000c Prefetch abort (instruction fetch memory fault) 15:43 < fre_ber> 0x00000010 Data abort (data access memory fault) 15:43 < fre_ber> 0x00000018 IRQ (normal interrupt) 15:43 < fre_ber> 0x0000001c FIQ (fast interrupt) 15:44 < leachbj> and sofar what nilss got from the 4g was that 0x0 just jumps to 0x8000 and then there is the bootloader's vectors 15:44 < leachbj> which pretty well matches the 3g. 15:44 < leachbj> the first flash sector is used for stuff like serial numbers 15:45 < nilss> mhm? 15:45 < nilss> the ipod stopped beeping 15:45 < nilss> then some silence and then beeping again 15:46 < fre_ber> So my info is wrong? I would have guessed that these exception vectors were hardcoded in the ARM 15:46 < nilss> just like a reset 15:46 < fre_ber> *the address of the vector table, that is. 15:47 < nilss> hmm that was like 30 minutes 15:48 -!- mode/#ipodlinux [+o courtc ] by ChanServ 15:48 < nilss> a byte takes around 0.49seconds 15:48 < coob> nice how'd you speed it up? 15:49 < nilss> i found different frequencies 15:49 < nilss> http://www.wonderwallfriends.de/misc/dump9.jpg now the look like this 15:49 < coob> manchester encoding? heh 15:51 < leachbj> fre_ber: no what you have is right, the ipod can do basic memory mapping so there are a bunch of these reset vector tables 15:53 < fre_ber> Ah, good. I fond that at a site with lots of levture slides about the structure of tha ARM processor. 15:53 < fre_ber> *found 15:53 < fre_ber> *lecture 15:53 < fre_ber> *the 15:53 * fre_ber sighs 15:54 < nilss> leachbj: mhm are you only dumping 2kb? 15:55 < nilss> er... 8kb i mean 16:05 < jintonic> fre_ber what was the url to that site again? 16:05 < fre_ber> The lectures? 16:05 < jintonic> yeah 16:05 < fre_ber> http://www.ee.ic.ac.uk/pcheung/teaching/ee2_computing/ 16:05 < jintonic> thanks 16:14 < leachbj> nilss: in that code I sent it should be 2kb starting at 0x8000 16:14 < leachbj> but with the compression the output should be < 2kb 16:15 < nilss> compress(0x10100000, &destlen, 0x8000, 0x2000); 16:15 < nilss> 0x2000 are 8kb 16:17 < leachbj> sorry yeah 16:18 < nilss> i think i'll put my laptop + the ipod in the living room tonight and then record the whole rom 3 times 16:20 < leachbj> :) 16:20 < leachbj> good luck! 16:20 < courtc> leachbj any progress on the audio playback? 16:20 < leachbj> courtc: no sorry, I haven't looked at much useful at all today 16:20 < nilss> the room should cause least reflections :) 16:21 < leachbj> need some egg cartons around it ;) 16:21 < leachbj> sorry guys I have to go... 16:21 < nilss> mhm 16:21 < leachbj> nilss: do you have 4g? 16:21 < nilss> bye leachbj 16:21 < nilss> yea 16:21 < leachbj> cool... 16:21 < courtc> alright, bye.. 16:21 -!- leachbj [~leachbj@p54879D7F.dip.t-dialin.net] has quit ["Client exiting"] 16:24 < nilss> recording done 16:25 < nilss> 37min for 8kb 16:29 < courtc> :) gj nilss 16:32 < fre_ber> Nice improvement. 16:32 < davidc__> nilss, when you get some rom dumps, send em on, and I'll what I can do with em 16:33 < davidc__> unless you want first dibs on reverse engineering em 16:34 < nilss> davidc__: the decoder works quiet good now... http://www.wonderwallfriends.de/misc/dump8.jpg 16:34 < davidc__> nilss: cool 16:34 < davidc__> nilss: what did you write it using? 16:34 < nilss> that one is in perl 16:34 < davidc__> nice 16:35 < nilss> but i wrote a new one in c cause the perl code used 1gb ram for a 20mb audio file 16:35 < davidc__> anyways, if you feel like sending a rom dump over, I'll see if I can reverse engineer it... and also see what I can do with the encryption 16:35 < nilss> the audio is 100mb :/ 16:35 < davidc__> yech,,, 16:35 < davidc__> I meant the dumped binary stream :) 16:36 < nilss> i'll have to rewrite the decoder for the faster encoded audio 16:36 < davidc__> ah 16:36 < davidc__> no hurry 16:36 < nilss> http://www.wonderwallfriends.de/misc/dump9.jpg that's how it looks now 16:36 < davidc__> school is canceled, I'm here for the next 12 ish hours I think 16:36 < nilss> http://www.wonderwallfriends.de/misc/dump5.jpg thats what it looked before ;) 16:37 < nilss> any ideas how i could try decoding dump9? 16:38 < nilss> i thought i could detect if the amplitude raises or falls. 16:38 < davidc__> hmm? 16:38 < davidc__> so you've got two codes 16:38 < nilss> yea 16:38 < davidc__> a rising beep 16:39 -!- xemile is now known as mtp 16:39 < davidc__> and a blit-quiet style thing 16:39 < nilss> yea 16:39 < davidc__> are those the only two codes?] 16:39 < fre_ber> nills made a modem.. ;) 16:39 < nilss> the beep is 1, the blit-quiet 0 16:40 < davidc__> hmm, I suggest detecting high/low points in terms of amplitude 16:40 < davidc__> a low point will be between pulses 16:40 < davidc__> a high will be at some point on a pulse 16:40 < davidc__> then take each low point, seek forward until you hit a certain threshold 16:41 < davidc__> then measure the distance between the high point and the low point before it 16:41 < davidc__> small/almost no gap: Blit-quiet 16:41 < davidc__> bigger gap: beep 16:42 -!- bbbb [~bb@195.188.217.4] has quit ["http://www.osix.net"] 16:42 < nilss> k 16:51 -!- phildev [~phildev@195.134.162.14] has joined #ipodlinux 16:53 < macPod> :O 16:53 < BleuLlama> :o 16:53 < macPod> I have a job today :) 16:53 < BleuLlama> congrats! 16:53 < BleuLlama> $ = good 16:54 < macPod> no 16:54 < BleuLlama> okay 16:54 < macPod> http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/ 2.6.10 is out 16:54 < BleuLlama> $ != good 16:54 < BleuLlama> aaaah 16:54 < macPod> granted I have no idea what I will be doing... but that does not mean I cannot try 16:55 < BleuLlama> enthusiasm = good 16:55 < BleuLlama> ;) 16:57 < courtc> http://ipodlinux.org/index.php/User:Adam <- theif 16:59 < BleuLlama> ? 16:59 < courtc> http://ipodlinux.org/index.php/User:Courtc 16:59 < macPod> perhapse he thought it was a standard template you were supposed to use? 17:00 < BleuLlama> to be honest, when i was making my user page last night, i was gonna borrow your format 17:00 < courtc> you can.. 17:00 < BleuLlama> i instead decided to just close the browser window and work on it later. ;) 17:00 < courtc> I don't really care, its just funny 17:01 -!- skm\ [DTS@dialup-63.95.221.203.acc50-dryb-mel.comindico.com.au] has joined #ipodlinux 17:01 < BleuLlama> heh. 17:01 < BleuLlama> well, i'm going to be borrowing your layout. so there. 17:01 < BleuLlama> i'll return it when i'm done. ;) 17:01 < courtc> haha, ok 17:01 < davidc__> oh, macPod: Where did you hear about 2.6.10 fixing the ide controller? 17:02 < macPod> reading through the change log I believe 17:02 < macPod> probably mentioned on the forums too 17:03 < davidc__> hmm.. I don;t see it anywhere 17:03 < macPod> even in changelog? 17:05 < davidc__> "libata: PCI IDE legacy mode fix" ? 17:05 < macPod> not sure 17:06 < phildev> + /* 17:06 < phildev> + * Setup CS2 for IDE interface. 17:06 < phildev> + */ 17:06 < davidc__> CS2? 17:06 < macPod> counter strike 2 of course :P 17:06 < phildev> Yes sure 17:07 < davidc__> of course 17:07 < davidc__> ah.. I'll get the patch, build a kernel 17:07 < davidc__> hmm. 17:08 < davidc__> can't find any reference to that comment on the net 17:08 -!- skm [DTS@dialup-87.83.221.203.acc52-dryb-mel.comindico.com.au] has quit [Read error: 60 (Operation timed out)] 17:09 < nilss> davidc__: i got an idea, i could measure the distance like u said and then measure the distance till the next lowpoint and then divide both distances. 17:09 < davidc__> hmm? 17:09 < davidc__> divide? 17:09 < davidc__> yeah 17:09 < davidc__> that works 17:10 < davidc__> I figured just make some thresholds for the distances, but that will work just as well 17:10 < nilss> yea that will even be samplerate independent 17:10 < phildev> There's a lot of changes arround PCI, firewire and IDE, see the patch file 17:10 < davidc__> hmm.. k 17:11 < jintonic> where are you guys educationally? high school, college, graduated college...? 17:11 < davidc__> second year colledge 17:11 < phildev> retired ? 17:11 < davidc__> ok, well, I'm building a 2.6.10 kernel nw 17:12 < nilss> jintonic: my dictionary says "secondary modern school" *g* 17:12 < davidc__> lets see if this works :) 17:13 < jintonic> some kinda british thing isnt that? 17:13 < nilss> german... 17:13 < jintonic> ok 17:14 -!- piratePenguin [~declan@dialup0055.ts005.bmt.esat.net] has joined #ipodlinux 17:15 < jintonic> i'm not familiar with it though 17:16 < nilss> where do you live? 17:16 < jintonic> california 17:16 < davidc__> bc, cnada. 17:16 < davidc__> err. canada 17:18 * BleuLlama is gradgitated from kollege. 17:18 < piratePenguin> BleuLlama: hows the GUI coming along ? 17:19 < BleuLlama> i pretty much did the menu updates, then kinda back-burnered it for a little bit 17:19 < BleuLlama> focusing on Vortex right now 17:19 < piratePenguin> heh 17:19 < davidc__> vortex? 17:19 < BleuLlama> A Tempest clone for Podzilla (or whatever... i'm gonna make it easily portable) 17:20 < BleuLlama> http://www.livejournal.com/users/jerronimo/983227.html 17:20 < BleuLlama> it uses the original Tempest webs, but the AI will be new. :) 17:22 < piratePenguin> not bad.. 17:23 < macPod> eh, this build is not going to be good 17:24 < davidc__> macPod: hmm? 17:24 < piratePenguin> what build 17:24 < davidc__> you doing the 2.6 kernel build? 17:24 < macPod> yea 17:24 < davidc__> same here 17:24 < davidc__> whats going wrong? 17:24 < piratePenguin> 2.6.. for the ipod? 17:24 < davidc__> yeah 17:24 < macPod> pirate yes 17:24 < davidc__> apparently theres an ide bug fix 17:25 < macPod> went to do make dep 17:25 < nilss> mhm the decoder works great this way :)) 17:25 < piratePenguin> macPod: class.. 17:25 < macPod> then noticed there is no arch/armnommu 17:25 < davidc__> macPod: there is no make dep 17:25 < piratePenguin> not in 2.6 17:25 < davidc__> macPod: make dep is not used in 2.6 anymore. 17:26 < macPod> oh.. :) 17:26 < macPod> well that folder is still missing 17:26 < macPod> should I not be alarmed? 17:26 < davidc__> er, do be alarmed... I'm not sure why its missing 17:27 < macPod> oh woops, forgot a flag 17:28 < macPod> much better :) 17:28 < davidc__> which flag? 17:28 -!- piratePenguin [~declan@dialup0055.ts005.bmt.esat.net] has quit ["Linux is a (r)evolution. Embrace change."] 17:29 < macPod> -r for when copying cvs stuff... it helps :D 17:29 < davidc__> hahahhahaa 17:29 < davidc__> yeah 17:29 < davidc__> it would 17:29 < nilss> http://www.wonderwallfriends.de/misc/dumpa.jpg 17:29 < davidc__> but armnommu should be created by the uclinux patch 17:29 < macPod> it is 17:29 < davidc__> oh, you got armnommu outta cvs? 17:29 < macPod> yea check linux-2.6 17:30 < davidc__> from uclinux cvs? 17:30 < davidc__> I just dled the uclinux patch\ 17:30 < macPod> no from ipodlinux 17:30 < davidc__> armnommu should be created by the uclinux patch iirc. 17:30 < davidc__> mach-ipod should be created by the ipodlinux cvs 17:30 < macPod> hmm 17:31 < davidc__> nilss: so does that image indicate that it is working?? 17:31 < macPod> right I applied the uclinux patch and it did nto create the armnomm dir 17:31 < nilss> davidc__: yea 17:31 < BleuLlama> nliss: that's the audio dump of the flash-firmware on the 4g? 17:33 < nilss> the graph in the middle is the interesting thing, the white graph is the audio data, a yellow line s a lowpoint, the white line is the distance before the highpoint and the violet is the distance after that point 17:33 < nilss> BleuLlama: yea 17:33 < BleuLlama> i gotta say... that's one of the more inventive ways of doing something than i've seen in a very long time. Cheers to ya. :) 17:34 < nilss> it uses constant 6340byte ram ;) 17:35 < davidc__> yeah.. 17:35 < davidc__> thats cool 17:35 < nilss> the perl code would need around 10gb ;) 17:36 < nilss> it took 30sec to decode the 95mb wav 17:36 < BleuLlama> well, if you were to read it all in to ram.. you could just scan the file, or buffer the file or something. 17:36 < BleuLlama> then perl would need less headroom. ;) 17:36 < nilss> BleuLlama: yea that's what i'm doing in c. i read chunks of 96byte and process them 17:37 < davidc__> nilss: how fast is this? 17:37 < BleuLlama> cool. 17:37 < nilss> the 30sec is the time the c code needs 17:37 < nilss> i cant test the perl code cause x86 can only address 4gb ;) 17:38 -!- piratePenguin [~declan@dialup0758.ts004.bmt.esat.net] has joined #ipodlinux 17:38 < BleuLlama> that's what i'm saying, just buffer it the same way in perl... 17:38 < macPod> gzip -d -c linux-2.6.10-uc0.patch.gz | patch -p1 will apply the 2.6 patch correctly right? 17:38 < BleuLlama> but this is all moot anyway; you have something that works in C, so it doesn't matter any other way to do it. ;) 17:39 < davidc__> if you're in the linux dir 17:39 < nilss> wow 17:39 < BleuLlama> i need food. 17:39 < davidc__> but it doesn't compile anyways 17:39 < davidc__> working on a ifx 17:39 < nilss> the binary really is a gzip compressed "thing" 17:39 < davidc__> nilss: huh? 17:39 < davidc__> thing? 17:39 < BleuLlama> it's a technical term, david. 17:39 < nilss> yeah, it doesnt have a header yet ;) 17:39 < tlg> nilss: gzip from leachbj stuff or from apple ... 17:39 < BleuLlama> heh ;) 17:39 * BleuLlama afk 17:39 < davidc__> nilss: Which binary, the one you downloaded? 17:39 < nilss> so /usr/bin/file says it's data and gzip won't decompress it 17:40 < nilss> davidc__: yea the one dumped from the ipod 17:40 < davidc__> huh? 17:40 < davidc__> you _sure_ its gzip compressed? 17:40 < davidc__> [or did your code compress it?] 17:40 < BleuLlama> run 'strings' on it 17:40 < nilss> davidc__: the ipod compressed it 17:40 < davidc__> your code on the ipod? 17:40 < nilss> 0000010: 5c12 a3ed f138 7bb3 f7e0 28ee fbfe dddb \....8{...(..... 17:40 < nilss> 0000020: bcd3 e938 4a7b 3ac9 9665 05af 1e24 0204 ...8J{:..e...$.. 17:40 < nilss> that's a real gzip file 17:41 < nilss> 0000000: f138 7bb3 f7e0 28ee fbfe dddb bcd3 e938 .8{...(........8 17:41 < nilss> 0000010: 4a7b 3ac9 9665 05af 1e24 0204 3f8d 9861 J{:..e...$..?..a 17:41 < nilss> that's the dump from the ipod 17:41 < davidc__> huh 17:41 < nilss> davidc__: yea, actually it's leachbjs code 17:41 < davidc__> oh.. I see now :p// I thought you were saying the ipod code was compressed as it is :p 17:41 < nilss> mhm who do i insert hex in vim? 17:42 < tlg> nilss: you can use ghex2 17:42 * nilss doesnt like gui apps ;) 17:42 -!- Thijs [mathijs@cc20809-a.zwoll1.ov.home.nl] has joined #ipodlinux 17:43 < macPod> what uclinux patch are you applying david? the one I have only patches m68knommu 17:43 < tlg> or write the header from your decoder before the data ;) 17:43 < nilss> mhm i could just use head and cut ;) 17:43 < jintonic> vim... probably something like ctrl+e+w+d+(d+3+f+4 at the same time) and its not mentioned in the manual 17:43 < davidc__> macPod, mine does too. 17:43 < Thijs> goodevening courtc,Luke,macPod,fre_ber,alexander,nilss and Piratepenguin 17:43 < Thijs> :) 17:43 < nilss> hi Thijs 17:43 < fre_ber> evening. 17:43 < piratePenguin> good afternoon Thijs 17:44 < macPod> I thought you said it was supposed to add an armnommu dir? 17:44 < Thijs> weekend :) 17:44 < davidc__> macPod: It should 17:44 < davidc__> but perhaps the patch is incomplete 17:44 < davidc__> I meant, hypothetically, the patch should add an armnommu dir 17:44 < macPod> indeed, seems only made for m68k 17:44 < davidc__> linux-2.6.9-uc0.patch.gz 27-Oct-2004 21:44 238K 17:44 < davidc__> linux-2.6.10-uc0.patch.gz 06-Jan-2005 01:27 80K 17:44 < davidc__> heh 17:44 -!- acs [~acs@163.Red-217-126-151.pooles.rima-tde.net] has joined #ipodlinux 17:44 < davidc__> compare the sizes 17:45 < macPod> yea 17:45 < macPod> does that matter for building iPodLinux? 17:45 < davidc__> yes 17:45 < courtc> hey Thijs 17:45 < davidc__> most definitly 17:45 < macPod> :D 17:45 < davidc__> macPod: I'm gonna try forward-porting the armnommu stuff from the 2.6.9 patch 17:46 < nilss> could someone help me find out how a gzip header should look like? 17:47 < macPod> ã¬JÄAlinux-2.6.9-uc0.patch 17:47 < macPod> woao 17:47 < piratePenguin> gunzip it 17:47 < davidc__> nilss 17:47 < davidc__> err 17:48 < coob> nills, rfc 1952 i think 17:48 < nilss> thx 17:49 < coob> http://www.faqs.org/rfcs/rfc1952.html 17:49 < coob> thar 17:50 < davidc__> 1F 8B 17:50 < davidc__> are the first two bytes 17:50 < davidc__> then compression method 17:50 < davidc__> [try 0x08] 17:51 < davidc__> then flags 17:51 < davidc__> [try 0x0] 17:51 < davidc__> so, try prefixing with 1F 8B 08 00 17:52 < coob> (PS: We have Microwindows ports of both Doom and XMame if anyone out there 17:52 < coob> wants to try. E-mail me, and I'll send you a tarball. ) 17:52 < coob> that's from http://64.233.183.104/search?q=cache:-HDFtgICwyEJ:handhelds.org/hypermail/ipaq/61/6145.html+pacman+microwindows&hl=en 17:53 < davidc__> nilss: that work? 17:53 < courtc> coob, nxdoom is on the microwindows ftp server 17:55 < coob> ah yeah, that's an old mail, sorry 17:55 < nilss> davidc__: nope i found that http://bonehunter.rulez.org/software/thy/doxygen/gzip_8c.html#a0 17:56 < nilss> gunzip: dump.gz: invalid compressed data--format violated 17:56 < davidc__> hmm 17:57 < phildev> nilss: where's your file ? 17:57 < nilss> only on my hdd 17:58 < nilss> http://nilss.prout.be/files/dump.bin 17:58 < phildev> thkx 17:58 < Thijs> nills: are u still busy with the 4g dev ? 17:59 < davidc__> hmm 17:59 < davidc__> I bet theres a decoding error somewhere. 17:59 < Thijs> i mean nilss 17:59 < Thijs> sry 17:59 < nilss> Thijs: yea 18:00 < nilss> Thijs: i'm currently trying to dump the firmware 18:00 < nilss> flash* 18:00 < Thijs> iam trying to get the serial working 18:00 < davidc__> decoding as in audio decoding 18:00 -!- skm\ [DTS@dialup-63.95.221.203.acc50-dryb-mel.comindico.com.au] has quit ["hi"] 18:00 < Thijs> flash? in a special way ? 18:00 < Thijs> u could easilly do a: dd if/dev/sda1 of=firmware 18:00 -!- skm [CHoPPeR@dialup-63.95.221.203.acc50-dryb-mel.comindico.com.au] has joined #ipodlinux 18:00 -!- skm [CHoPPeR@dialup-63.95.221.203.acc50-dryb-mel.comindico.com.au] has quit [Client Quit] 18:00 < nilss> davidc__: nope, then gzip says something about decompression error 18:01 < davidc__> hmm 18:01 < Thijs> or u mean the firmware located in the 39VF800A 18:01 < nilss> Thijs: the code at 0x8000 18:01 < Thijs> u have written a function that dumps it to the harddrive or ? 18:02 < fre_ber> To the piezo, lol 18:02 < Thijs> or let it beep per byte.. as: HIGH BEEP, HIGH BEEP, LOW BEEP, HIGH BEEP, HIGH BEEP, LOW BEEP, LOW BEEP, LOW BEEP 18:02 < Thijs> ah.. 1 byte ready 18:02 < nilss> Thijs: yea 18:02 < nilss> that's exactly what i did 18:02 < Thijs> hdd or beep ? 18:02 < nilss> beep 18:03 < Thijs> hehe 18:03 < Thijs> how far are u 18:03 < nilss> took 37mins to dump 4,6kb (uncompressed 8kb) 18:03 -!- veteran [veteran@cs2428114-153.houston.rr.com] has joined #ipodlinux 18:03 < Thijs> u do that machinally or by human brain with lots of coffee 18:03 < nilss> now i'm trying to uncompress it ;) 18:03 < nilss> machinally ;) 18:03 < nilss> http://www.wonderwallfriends.de/misc/dumpa.jpg debug output of my decoder 18:03 < courtc> davidc__, dont you have to set mod time, compression method, and orig os? 18:04 < Thijs> lol. i hope u succeed 18:04 < davidc__> yeah, forgot about those 18:04 < Thijs> its quite an expermental way 18:04 < davidc__> I misread as being part of the extra bits 18:04 < nilss> nils@witchcraft ~ % xxd test.gz 18:04 < nilss> 0000000: 1f8b 0800 0000 0000 0003 18:04 < nilss> hmm :) 18:04 < nilss> (test was an empty file) 18:05 -!- piratePenguin [~declan@dialup0758.ts004.bmt.esat.net] has quit ["Linux is a (r)evolution. Embrace change."] 18:05 < Thijs> did u patched a microphone near the piezo ? 18:05 < tlg> nilss: you probably nedd origanl size and crc check for the gzip header 18:05 < Thijs> or did u open the case or ur ipod 18:05 < nilss> Thijs: i used a mic 18:06 < nilss> tlg: nope :) 18:06 -!- mode/#ipodlinux [+v veteran ] by ChanServ 18:06 < Thijs> hey veteran 18:06 < Thijs> nilss: quite interresting ! 18:06 < Thijs> do u have some serious output or is it not very stable output 18:06 < courtc> 1f 8b 08 00 00 00 00 00 04 ff 18:07 < davidc__> how big was the original data? 18:07 < davidc__> courtc, I tried that exact header 18:07 < davidc__> no luck 18:08 < davidc__> we need the iszie 18:08 < phildev> coutc: unknow compression format 18:08 < nilss> courtc: doesnt work 18:08 < nilss> size is 0x2000 18:09 < davidc__> we also need the crc 18:09 < nilss> nope :) 18:09 < nilss> according to the rfc the crc is optional 18:09 < davidc__> ah 18:10 < davidc__> there are two crcs, a header crc 18:10 < davidc__> and a data crc 18:10 < courtc> crc16 is optional, i think.. looks like crc32 isnt 18:10 < davidc__> yeah 18:11 < davidc__> I'm just grabbing some source to gen the crc32 18:11 < Thijs> nills: if we can get the serial thingy working, we could get a stable output 18:11 < Thijs> its an UART with base address 0x70006000 18:12 < Thijs> nilss i mean :( 18:12 < nilss> Thijs: the output is stable 18:12 < nilss> it's just slow ;) 18:12 < davidc__> Thijs: nobody has had any luck getting the serial to init 18:12 < davidc__> its probably multiplexed with a gpio pin 18:12 < Thijs> hmm 18:13 < Thijs> so u have to set like 01101010b to the GPIO port A to enable the serial controller 18:15 < phildev> Is it possible, the data are not gzipped ? Another compression method ? 18:15 < phildev> wma ? 18:16 < davidc__> err, his proggy compressed it :) 18:16 < nilss> compress(0x10100000, &destlen, 0x8000, 0x2000); 18:16 < nilss> that's how it got compressed. 18:16 < davidc__> ok, I'm making a custom version of gunzip 18:16 < courtc> compress -d 18:17 < davidc__> that actually spits out relevant errors :p 18:19 < Thijs> another option is that bytes are reversed, or bits are reversed 18:21 < davidc__> can I have the source for the compress function 18:21 < veteran> courtc, Luke, macPod check pms when you get back 18:22 < nilss> davidc__: i dont have it, leachbj only gave me a binary 18:22 < nilss> but it's from zlib 18:23 < davidc__> hmm 18:23 < davidc__> then it might be compressed using compress 18:23 * davidc__ goes off to look at compress headers 18:24 < courtc> 0 string \037\235 compress'd data 18:24 < courtc> >2 byte&0x80 >0 block compressed 18:24 < courtc> >2 byte&0x1f x %d bits 18:24 < courtc> is the file 'magic' 18:25 < Thijs> nilss: hmm so u have made a made a compression of the flash, to decrease time, and so have more accuracy.. but dont know how to decompress anymore ? 18:25 < davidc__> leachbj gave us the compression code 18:25 < davidc__> he will have the decompress stuff 18:25 < davidc__> but unfortunatly, he's asleep 18:25 < Thijs> but now hes gone for a huge dinner again, and didnt gave the decompression code :P ? 18:26 < nilss> Thijs: yea 18:26 < nilss> nils@witchcraft ~ % perl -e 'use Compress::Zlib;while(!eof(stdin)) {$data .= getc(stdin); ($d, $status) = inflateInit(); ($out, $status) = $d->inflate($data);print $d->msg();}' < dump.bin 18:26 < nilss> unknown compression method 18:28 < phildev> is it the zlib compress ? 18:28 < nilss> whoops 18:28 < nilss> i shouldnt do that in a while loop... :) 18:30 < phildev> static inline void proc_decomp_setup (void) 18:30 < phildev> { 18:30 < phildev> __asm__ __volatile__(" 18:30 < phildev> mrc p15, 0, r0, c0, c0 18:30 < phildev> eor r0, r0, #0x44 << 24 18:30 < phildev> eor r0, r0, #0x01 << 16 18:30 < phildev> eor r0, r0, #0xA1 << 8 18:30 < phildev> movs r0, r0, lsr #5 18:30 < phildev> mcreq p15, 0, r0, c7, c5, 0 @ flush I cache 18:31 < phildev> mrceq p15, 0, r0, c1, c0 18:31 < phildev> orreq r0, r0, #1 << 12 18:31 < phildev> mcreq p15, 0, r0, c1, c0 @ enable I cache 18:31 < phildev> mov r0, #0 18:31 < phildev> mcreq p15, 0, r0, c15, c1, 2 @ enable clock switching 18:31 < phildev> " : : : "r0", "cc", "memory"); 18:31 < phildev> } 18:31 < phildev> from Zaurus-X-gcc/opt/Embedix/tools/arm-linux/sys-include/asm/proc-armv/uncompress.h 18:33 < nilss> looks like we need a few bytes extra header 18:36 -!- Flik [~flik@d64-180-147-135.bchsia.telus.net] has quit [Read error: 60 (Operation timed out)] 18:39 -!- acs [~acs@163.Red-217-126-151.pooles.rima-tde.net] has quit ["Terminando cliente"] 18:39 < davidc__> hrm 18:43 < nilss> afk, friend of dad brought a laptop and now asked me to make the nic work ;) 18:44 < nilss> what was the module for pcmcia? something like yenta? 18:48 < Thijs> GODDMAN :( 18:49 < Thijs> installed activex spyware :( 18:49 < tlg> nilss: yenta_socket 18:50 < courtc> haha.. activex is a waste of time... 18:50 < Thijs> :( i just wanted to try a program longer than 30 days... normally i click around them ( click X or No ) 18:51 < Thijs> but this time i clicked something at the screen and exactly at that place the button 'Yes' appeared 18:52 < courtc> use firefox.. I'm pretty sure it blocks that crap.. 18:52 < Thijs> yes maybe i should.. i like Safari in osx very much.. only the download handling sux 18:53 < Thijs> if i download a zip file, it downloads, directly uncompresses it, and then delete the zip file 18:53 < nilss> hm... the laptop is running win95. 18:55 < macPod> thijs, you can change that in safari 18:55 < Thijs> heh.. maybe, but ok.. in only 3 weeks iam done with osx 18:55 < nilss> lol i only find linux drivers for the nic in google 18:55 < macPod> tisk 18:56 < Thijs> not the fact i dont like osx.. but i dont have a mac 18:56 < Thijs> iam doing as we call it here in the netherlands 18:56 < Thijs> 'Stage' 18:56 < Thijs> part of a study 18:57 < Thijs> to learn how to handle in real life at a company 18:57 < BleuLlama> sounds like an internship, or what they call here at RIT, a "Co-op" 18:59 < Thijs> hmm 18:59 < Thijs> dont know how to explain correctly 19:00 < Thijs> iam doing a 4 years long study... 19:00 < Thijs> have finished 2 years of school 19:00 < Thijs> now i have half a year stage, then 1 year school again, and then another half year stage 19:01 < BleuLlama> the RIT co-op program does in a 5 year program (most colleges are 4 year programs) but it includes 4 6-month blocks of co-op work, where you find a job (with their help) and get work experience and college credit, so that by the time you graduate, you have experience already behind you as well as a degree. 19:01 < BleuLlama> sounds like the same kind of thing. 19:02 < Thijs> yes kinda that 19:02 < BleuLlama> I did 2 co-op blocks with Northern Telecom, and then 2 with a small firm called eTek Labs, who did mainly sound drivers for the Gravis Ultrasound and Ultrasound PnP cards... and some other fun projects too. 19:02 < Thijs> to get knowledge u cant learn at school 19:03 < Thijs> http://www.thijsje.nl/pics/spyware.jpg 19:03 < Thijs> thanx to click one button 19:03 < BleuLlama> i then worked for them after I graduated, then got fired cause i slacked too much. soon afterwards, they were bought by Belkin, and are basically Belkin's only R+D department. My friend there works on designing many of their iPod accessories 19:03 < BleuLlama> (which is how i got all of my ipod accessories for free. hehe) 19:03 < Thijs> hehe 19:03 < Thijs> iam dont gonna work for these guys 19:03 < BleuLlama> understood. 19:04 < Thijs> its nice for a few months 19:04 < Thijs> but not the thing i want to do 19:04 < BleuLlama> the co-op/"Stage" is also good to help you decide what kinds of things you like to do too... 19:04 < BleuLlama> i learned that I don't want to work for big corporations. I like edu or small companies 19:04 < Thijs> iam doing an electronical study, and that company is bases on computers/internet 19:04 < Thijs> to less electronics. too much computer 19:05 < BleuLlama> yeah... you want to do more of the hardware side, than software/IT side... 19:05 * BleuLlama nods. 19:05 < Thijs> yes 19:05 < Thijs> i like communications very much 19:05 < Thijs> electronic device ---- computer 19:05 < Thijs> writing drivers/ writing firmware for the elec. device 19:05 < Thijs> but there iam only doing PHP coding 19:06 < Thijs> which is also nice.. but not my study 19:06 < BleuLlama> yeah. i can see how that would be disappointing for you. :( 19:06 < tlg> nilss: are you sure you are not mission some bytes ? 19:06 < Thijs> yes 19:06 < Thijs> here at the netherlands we dont have many companys that do electronics 19:06 < BleuLlama> well, it'll be over soon, and you can move on. 19:06 < nilss> tlg: no 19:06 < Thijs> todays company's are in china, japan, and U.S. 19:07 < BleuLlama> understood. I was in communications with a guy in the Netherlands a few years ago. Really nice guy. Learned quite a bit about what it's like there. 19:07 < BleuLlama> (Back when i was focusing on hacking arcade game roms) 19:07 < Thijs> :) 19:08 < Thijs> brb 19:08 < Thijs> have to restart 19:09 -!- Thijs [mathijs@cc20809-a.zwoll1.ov.home.nl] has quit [Read error: 104 (Connection reset by peer)] 19:09 -!- phildev [~phildev@195.134.162.14] has quit [] 19:17 -!- Thijs [mathijs@cc20809-a.zwoll1.ov.home.nl] has joined #ipodlinux 19:17 < Thijs> and there i was again 19:18 < davidc__> nilss: any luck decompressing that file? 19:18 < nilss> nope 19:19 < Thijs> lol 19:19 < Thijs> try again without compression nilss :) 19:19 < davidc__> you just used the standard zlib compress function right? 19:20 < nilss> davidc__: yea 19:21 < davidc__> I'm gonna hack up a program that uses zlib 19:23 < tlg> davidc__: I tried and dind't work ... 19:23 < davidc__> using which function? 19:24 < tlg> inflate and uncompress 19:24 < tlg> tried both 19:24 < davidc__> neither worked? 19:25 < tlg> inflate failed at first chunk 19:25 < tlg> and uncompress says it is a corrupted data 19:25 < davidc__> hmmm 19:27 < tlg> I'm tying to zip the orignal dump.bin (uncompressed) to see if there are some missong bytes ... but can't get compress () working ! 19:28 < nilss> could you send me the uncompressed file? 19:29 < Thijs> me too :) 19:29 < tlg> that's the one I got from your site before ... 19:29 < tlg> a small one 19:29 < nilss> oh 19:29 < Thijs> thats.. the compressed one ? 19:29 < tlg> no 19:29 < nilss> that's not the same memory location... 19:30 < Thijs> 4.700 bytes 19:30 < tlg> I thought it was 0x8000 as well ? 19:30 < tlg> starting with 0x33 0x02 .... 19:32 -!- mgla [~mgla@pD9EE9A92.dip.t-dialin.net] has joined #ipodlinux 19:32 < nilss> gnaa 19:32 < nilss> my sisters listens to music 19:32 < coob> gnaa? heh 19:32 < davidc__> haha 19:33 < nilss> i just thought of dumping the umcompressed rom... 19:33 < Thijs> [20:32:46] [nilss]: my sisters listens to music <-- Quite normal ?? 19:34 < nilss> yea but so i can't dump because the mic would record both the ipods beeping and the music 19:34 < Thijs> whahahaha 19:34 < Thijs> stupid sisters.. 19:34 < Thijs> cant u just disamble ur ipod, and connect the piezo directly to ur line-in ? 19:35 < nilss> no i dont want to disamble it ;) 19:35 < coob> connect to your sister's speakers with your fist 19:35 < Thijs> lol 19:35 < Thijs> ask her to wear headphones or simmilar 19:36 < BleuLlama> smack her upside the head, making her deaf. then she'll never play music again 19:36 < Thijs> or take ur laptop, and go hide somewhere in the forest :) 19:36 < BleuLlama> "upside the head". love that phrase. 19:36 < nilss> killall -9 xmms *G* 19:37 < BleuLlama> nliss: shutdown -g 0 -i 0 19:37 < nilss> mhm it didnt help, she just switched to her cd player 19:37 < davidc__> err.. ask her nicely? 19:37 < tlg> nilss: when you said before that it looked like another gziped file what was your reference ? 19:37 < davidc__> would that work? 19:38 < davidc__> would that work? 19:38 < davidc__> err. ignore the double post 19:38 < Thijs> [20:37:34] [nilss]: mhm it didnt help, she just switched to her cd player ( kill the cd player, or kill here cd's ) 19:38 < davidc__> I mean, asking her nicely :p 19:39 < nilss> tlg: something like gzip /dev/urandom 19:39 < nilss> davidc__: nope, it wouldnt :) 19:39 < Thijs> mv /dev/nills_sister1/music /dev/null 19:39 < Thijs> -R 19:40 < Thijs> chmod 0 /dev/nills_sister1/music 19:40 < davidc__> how bout a power failure in her room. 19:41 < Thijs> that would result in screeming and shouting sisters what would affect the recording wit the microphone 19:41 < tlg> nilss: weird I can't get the same result ... 19:42 < nilss> mhm i'll try putting the ipod and the mic in the box in which my laptop came 19:42 < Thijs> for 37 minutes ? :) 19:43 < Thijs> increase the baudrate :) 19:43 < davidc__> nilss. worst case, run it through a fft eq, and strip everything but the tone 19:44 < Thijs> if u can make it sort out 16 different frequencies.. u only need 2 tones for a byte 19:45 < nilss> i cant generate a frequency directly 19:46 < nilss> but i think this box works quite good 19:46 < Thijs> nills: can u give me the source or the tone producing firmware 19:47 < Thijs> loader 19:47 < Thijs> ill try here too 19:47 < tlg> nilss: Ok I got the same when it is a stream 19:47 < nilss> http://nilss.prout.be/files/dump.c 19:47 < nilss> mhm wait, thats the old version 19:47 < Thijs> ok 19:48 < nilss> http://wonderwallfriends.de/misc/dump.tbz2 19:49 < Thijs> .c ? 19:49 < nilss> it's in the mymain.c 19:51 < Thijs> cant decompress it 19:51 < Thijs> can u sent it tar(gz) 19:51 < nilss> tar jxvf dump.tbz2 19:51 < Thijs> ok 19:52 < Thijs> [mathijs@localhost mathijs]$ tar jxvf dump.tbz2 19:52 < Thijs> bzip2: (stdin) is not a bzip2 file. 19:52 < nilss> whoops 19:53 < nilss> it's gzip, sry 19:53 < tlg> nilss: I supposed you changed the for(p = 0x10100000 in 0x8000 19:53 < nilss> yea 19:53 < tlg> (means it was 0x10100000) 19:53 < tlg> ok 19:54 < tlg> so it is using standard compress method 19:54 < tlg> from zlib 19:54 < nilss> hmm 19:56 < nilss> i wonder if i got the endians correct... 19:57 < Thijs> lol 19:58 < Thijs> my ipod is acting like dialing in with 56k modem :) 19:58 < Thijs> or an old HDD sound 19:58 < tlg> Thijs: ;) 19:58 < tlg> nilss: you should try to put some data in memory and decode it to see if it matches .. 19:59 < nilss> yea i'm doing that right now 19:59 < tlg> k ;) 20:01 < nilss> mhm it doesnt ;) 20:02 < nilss> 0944 4402 that's what i get 20:02 < nilss> it should be 11223344 20:02 < Thijs> lol 20:02 < tlg> damn :) 20:02 < tlg> at least you got the right amount of bytes ! 20:03 < nilss> i'll try decoding it by hand 20:04 < nilss> 00010001001000100011001101000100 20:04 < nilss> the ipod encodes it correclty 20:05 < nilss> anyone good at c around? :) 20:05 < davidc__> yeah 20:05 < davidc__> I am 20:05 < nilss> should i past the 10lines here or in #ipodlinuxflood? 20:05 < davidc__> thats all the decoder is?\ 20:05 < davidc__> :p 20:05 < davidc__> in flood 20:06 < nilss> oh wait, i think i found the mistake 20:06 < courtc> haha 20:06 < davidc__> nilss: what was the bug? 20:06 < tlg> the good thing is that you don't have to re-record it ;) 20:06 < nilss> some code from the old decoder 20:06 < davidc__> send the decoder code anyways, just out of curiosity. 20:07 < davidc__> err, for the new decoder 20:07 < Thijs> nilss: can i just give u an mp3 file after done encoding 20:07 < nilss> 0000000: 0422 2201 ."". 20:07 < nilss> Thijs: an ogg would be better 20:07 < nilss> or even flac 20:07 < davidc__> nilss: ? 20:07 < nilss> davidc__: thats what i get now 20:07 < davidc__> what should it be? 20:07 < nilss> 11223344 20:08 < davidc__> just send me some source code and the source audio 20:08 < davidc__> let me play! 20:08 < nilss> http://nilss.prout.be/files/ipodlinux/ipod.c 20:08 < courtc> hah 20:08 < nilss> gcc -o ipod ipod.c -lSDL 20:08 < nilss> ./ipod dump.wav >| dump.bin 20:08 < nilss> dump.wav has to be 44100hz, 8bit mono 20:09 < davidc__> can you send me the test dump 20:09 < davidc__> the small one? 20:09 < davidc__> [me no hav e4g. 20:09 < Luke> what's goin on guys? 20:09 < nilss> http://wonderwallfriends.de/misc/dump.wav.bz2 20:10 < Wammy> Luke: you got my pm? 20:10 < Luke> 8-o 20:10 < Luke> yup 20:10 < Wammy> k 20:10 < Thijs> nilss: something like this ? http://www.thijsje.nl/ipod/ipod.mp3 20:10 < Luke> =) 20:11 < tlg> nilss: so u got it right ? 20:12 < davidc__> wait 20:12 < davidc__> so there are two different tones right? 20:12 < nilss> mhm the detecting doesnt work right... 20:12 < nilss> davidc__: yea 20:12 < davidc__> and each tone is one of two waveforms? 20:12 < nilss> Thijs: yea 20:12 < davidc__> ok 20:13 < nilss> davidc__: yea 20:13 < nilss> bit = (float)((float)d/(float)c)<2?1:0; change the 2 to 4 20:13 < nilss> then it works 20:13 < davidc__> ah 20:13 < davidc__> so the decoder works now? 20:14 < nilss> 0000000: 4432 2211 D2". 20:14 < nilss> is what i get 20:14 < davidc__> er.. thats not quite right :0 20:14 < nilss> 0000000: 1122 3244 ."2D 20:14 < nilss> :) 20:15 < tlg> there is one wrong ... 20:15 < nilss> hmm yea 20:19 < courtc> 5 seem to do it 20:19 < courtc> bit = (float)((float)d/(float)c)<5?1:0; 20:19 < courtc> 0000000 3344 1122 20:20 < nilss> yeah makes sense 20:21 < nilss> the value for d/c for that bit is 4.75 20:21 < courtc> sounds like a mouse or something :) 20:22 -!- tucanoj [~tucanoj@108.120.cm.sunflower.com] has joined #ipodlinux 20:24 < davidc__> why not increase it a bit more, so its more error resistant? 20:25 < nilss> hmm yea 20:25 < davidc__> wait, you use two different tones, and two different waveforms to represent one bit? 20:25 < davidc__> isn't that redundant? 20:25 < nilss> davidc__: yea, i only care about the waveform 20:25 < davidc__> ah 20:26 < davidc__> nilss: let me see if I can fx it up a bit 20:29 < nilss> looks like it works nearly perfect now 20:30 < davidc__> yeah 20:30 < davidc__> but when we're dumping a large file, its gotta work really well :p 20:30 < nilss> after: if(x) { d++; 20:30 < nilss> i changed the else to } else if(!x && d + c > 10) { 20:30 < nilss> i'm testing it with a large file ;) 20:31 < nilss> all 1 and all 0 have exact the same size on the screen 20:31 < macPod> is the code to start the iPod into disk mode known? 20:33 < nilss> mhm how do i have to swap the bytes for little endian? 20:33 < davidc__> huh? 20:33 < davidc__> you shouldn't have to 20:34 < nilss> i think the zlib on the ipod encodes big endian 20:34 < davidc__> ah 20:34 < nilss> and x86 is little endian, isnt it? 20:34 < davidc__> er.. huh? 20:34 < tlg> having a look at the values 6 would be a more accurate decision point, wouldn't it ? 20:34 < davidc__> ipod is little endian 20:37 < nilss> mhm the arm7tdmi can do both 20:37 < davidc__> yeah 20:37 < davidc__> but everything on it uses little endian 20:37 < davidc__> bootloader is little endian 20:38 < tlg> nilss: so what does it say on the big dump.wav ? ;) 20:38 < nilss> it still wont decompress it 20:40 < davidc__> nilss: what does x indicate? 20:40 < davidc__> the level? 20:41 < nilss> yeah 20:41 < tlg> it wont usin gunzip 20:42 < tlg> got an url ? 20:42 < nilss> 0 => lowpoint, 1 => middle, 2 => highpoint 20:42 < tlg> with the new dump.bin 20:42 < nilss> perl -e 'use Compress::Zlib;while(!eof(stdin)) {$data .= getc(stdin);} $out = uncompress($data); print $out' < dump.bin 20:42 < nilss> thats what i tried 20:42 < davidc__> I've got some code for adding error-correcting codes.. 20:42 < davidc__> want to use it 20:42 < davidc__> ? 20:43 < nilss> yea 20:43 < davidc__> it will almost double the binary to dump though 20:43 < davidc__> and, its relatively cpu intensive 20:43 < nilss> how does it work? 20:43 < davidc__> reed-solomon codes 20:43 < davidc__> actually, nm... won't work. 20:44 < nilss> tlg: http://wonderwallfriends.de/misc/dump.bin 20:44 < nilss> why? 20:44 < davidc__> my version is optimized for a procject we did at school 20:44 < davidc__> the original source files would work for you 20:44 -!- Random [~random@dhcp-0-9-5b-fe-6a-d9.cpe.i-zoom.net] has quit [Remote closed the connection] 20:44 < davidc__> just not my version, as its multiplys the binary size by 8 20:44 < davidc__> [for really, really noisy rf channels] 20:45 < tlg> nilss: no data corrupted 20:45 < nilss> tlg: so you can decompress it? 20:45 < tlg> no 20:46 < tlg> tha was more like a no: data corrupted 20:46 < tlg> sorry 20:46 < nilss> oh ;) 20:46 -!- phildev [~phildev@philippe.devallois.net] has joined #ipodlinux 20:47 < davidc__> just grab some reed-solomen example code 20:47 < davidc__> use that 20:48 < tlg> nilss: the perl code you did should work 20:48 < tlg> when the bin will be right 20:50 < nilss> hmm there still some errors in the detection 20:50 < tlg> actually the first two bytes seems ok 20:51 < davidc__> I'm working on a more advanced decoder right now 20:52 < davidc__> nilss: What is XX? 20:52 < nilss> hmm looks like i dont use it anymore 20:53 < nilss> it was the peak level in the last decoder 20:53 < Luke> hey david - when'd you start loggin on again? 20:53 < davidc__> a few days ago 20:54 < Luke> awesome 20:54 < Luke> wb 20:54 < davidc__> I got school done 20:54 < davidc__> and then I did nothing over christmas break 20:54 < davidc__> and then I started coding on ipodlinux 20:55 < davidc__> so, I'm back 20:57 < tlg> nilss: you got the wav (or some of it) on your we ? 20:57 < nilss> we? 20:58 < tlg> *web 20:58 < nilss> nope cause it's 95mb... 20:58 < tlg> but like if you put the first 1mb of it 20:58 < tlg> or whatever decent size you can put 20:59 < tlg> (more than 16 actual bytes) 21:01 < davidc__> nilss: Whats all this active buffer stuff for? 21:01 < davidc__> why not just use 1 buff? 21:02 < nilss> davidc__: that's for smoothing the waveform 21:02 < davidc__> ok 21:02 < nilss> the 2 buffers overlap 48byte 21:03 < davidc__> oh, I c now 21:09 < BleuLlama> nice... i jsut changed the width of the line drawn in the top bar in podzilla, and although it makes it not look like apple's as much, i like the look of it more. :) 21:09 < courtc> ss 21:14 < davidc__> nils 21:14 < davidc__> I have a more sensitive decoder 21:14 < nilss> davidc__: cool 21:14 < davidc__> it finds the peak amplitude, and compares its position inside the pulse 21:14 < nilss> hehe 21:14 < nilss> that's what i wanted to do 21:14 < davidc__> same algo, but seems not to need calibration 21:14 < nilss> coul you send me the .c? 21:14 < nilss> could* 21:14 < davidc__> sure 21:14 < davidc__> just let me clean it up a bit 21:15 < davidc__> lots of unused variables 21:15 < davidc__> bad naming convention 21:15 < davidc__> etc 21:16 < courtc> davidc__, did you do anything more with that helix decoder than just look at the specs/etc. ? 21:16 < davidc__> I didn't touch the helix decoder 21:17 < davidc__> I've never used it 21:17 < davidc__> so, not really :p 21:18 < courtc> ok.. the helix licensing sceme is fairly confusing :p 21:21 < Thijs> baaah 21:21 < Thijs> back again 21:21 -!- Jonas_NZ [~Jonas_NZ@210-55-35-61.dialup.xtra.co.nz] has joined #ipodlinux 21:21 < Thijs> got phone call... 81 minutes :( 21:22 < Thijs> nilss: whats the progress of ur sound-to-file converter 21:23 < nilss> it works better, i'm waiting for davidc__'s code ;) 21:23 < davidc__> just a sec 21:23 < Thijs> ah 21:23 < davidc__> have irrational urge to make code nicer 21:23 < nilss> hehe 21:23 < Thijs> nilss: so ur sisters music didnt affect the recording ? 21:24 < Luke> Wammy: all done =) 21:24 < Luke> Wammy: your still gunna need to do all that crappy medic training yourself tho 21:24 < nilss> Thijs: she turned it off after a while 21:24 < Luke> Wammy: i'm not gunna sit through all that =) 21:24 < Thijs> good job! 21:24 < Wammy> bah! 21:24 < Wammy> did you get me sniper? 21:24 < Thijs> so i dont have to record anymore ? 21:24 < nilss> davidc__: the code only gets used once to dump the rom ;) then noone will ever run it again... 21:25 < davidc__> yes yes 21:25 < davidc__> one second 21:25 < tlg> nilss: might be used for future rom ;) 21:25 < tlg> future ipods ... 21:26 * tlg wonders if apple is going to remove the piezzo of next gens iPods ... 21:26 < nilss> tlg: dont think future ipods will have a similiar piezo that makes the exact same sound... 21:26 < nilss> hmm dont think so 21:26 < Wammy> Luke: w00t nice 21:26 < Wammy> thx 21:26 < nilss> it's needed for the clickwheel, it's harder to navigate with it i think. 21:26 < nilss> without* 21:27 < davidc__> http://david.carne.ca/ipodlinux/dumprom.c 21:27 < davidc__> you'll have to fix the sdl.h include 21:27 < davidc__> I changed it to make it work on Mac os x 21:28 < davidc__> but besides that, it seems to accurately decode.. it just finds the start and end of a pulse, and checks if the highest level is further than the midpoint 21:29 < nilss> hehe 21:29 < davidc__> nothin fancy :p 21:29 < davidc__> oh shit 21:29 < davidc__> forgot to make output binary again 21:29 < davidc__> its %x 21:29 < nilss> hehe 21:29 < davidc__> for debugging 21:29 < davidc__> so, yeah, change that 21:31 < davidc__> err.. one other thing 21:31 < davidc__> nm 21:31 < Thijs> :) 21:31 < davidc__> it detects it right, just draws one line on top of another 21:31 < davidc__> thought it had missed an endpoint :p 21:32 < courtc> 11 22 33 44 :) 21:32 < nilss> what are the green and blue lines for? 21:32 < davidc__> green is the start of a pulse 21:32 < davidc__> blue is the maxima 21:32 < nilss> k 21:34 < Thijs> nills: no other audio stream is needed ? 21:34 < Thijs> nilss 21:37 < nilss> davidc__: your code is *almost perfect* ;) 21:37 < nilss> it just needs to reverse every 4byte chunk 21:38 < Thijs> 00 11 22 33 AA BB CC DD need to be 33 22 11 00 DD CC BB AA ? 21:38 < nilss> yea 21:38 < nilss> 0: 330200ea tstcc r2, #234 ; 0xea 21:39 < nilss> that's supposed to be a branch i guess 21:39 -!- Wammy [~memememe@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 104 (Connection reset by peer)] 21:39 < Thijs> nilss: first chunk of flash decompiled ? 21:40 < nilss> yea 21:40 < Thijs> :P 21:40 < tlg> good ! 21:40 < Thijs> that flash also contains the diagnostics 21:40 < Thijs> right ? 21:40 < nilss> yea 21:41 < Thijs> check the remote control diagnostic.. that could reveal the way to handle serial data 21:42 < nilss> well it still takes about 10 hours to dump 64kb... 21:42 < Thijs> :| 21:42 < Thijs> and u need 8 mbit 21:42 < BleuLlama> but after those 10 hours, you're done... you never need to run it again 21:43 < nilss> yea 21:43 < nilss> i'll do that tonight. 21:43 < Thijs> 8 mbit or 64 kb total 21:43 < nilss> 8mbit? 21:43 < Thijs> SST SST39VF800A (http://www.sst.com/products.xhtml/parallel_flash/39/x16/SST39WF800A) 8 Mbit Multi-Purpose Flash 21:44 -!- Wammy [Wammy@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 21:44 < xt> um..could someone explain what that signal outputs? 21:44 < xt> and how do you output it? 21:45 < Thijs> or do i have the wrong flash in mind nilss 21:45 < nilss> Thijs: i dont think the diagnostic code is more than 64kb 21:46 < Thijs> but the flash u read from 21:46 -!- Wammy [Wammy@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 104 (Connection reset by peer)] 21:47 < Wammy|LapTop> how do you force kill with XP? ive got a proccess that wont die 21:47 < Luke> throw it out =) 21:47 < Thijs> reset 21:47 < BleuLlama> Wammy: power switch 21:47 < Thijs> lol :) 21:47 < Luke> ctrl+alt+del 21:47 < tlg> xt it outputs the data located in the ipod's flash adress 0x8000 21:47 < Luke> and then if your lucky you can end-task it 21:47 < tlg> xt: it uses the ipod piezzo to ouput sounds 21:47 < Wammy|LapTop> im doing that 21:47 < Jonas_NZ> Wammy|LapTop, taskmanager 21:47 < Jonas_NZ> kill process 21:47 < Wammy|LapTop> but it wont 21:48 < xt> tlg: nice. But how does one get the ipod to play that? 21:48 < Wammy|LapTop> ive got itunes.exe and 2 explorer.exe that wont die 21:49 < Wammy|LapTop> if apple made itunes for linux i woulda switched a long time ago 21:51 < Luke> yea i know what you mean 21:52 < Wammy|LapTop> everything else that i use already runs on linux. 21:52 < tlg> Wammy|LapTop: why do you want to use itunes ? iPod or music or both ? 21:52 < Wammy|LapTop> both 21:53 < nilss> 0: ea000233 b 0x8d4 21:53 < nilss> that's better :) 21:53 < tlg> you can use gtkpod for the iPod and rhythmbox for the music part 21:53 < Wammy|LapTop> i like itunes tho 21:54 < tlg> I understand, it's a nice app 21:54 < Wammy|LapTop> let me pull out my old computer and install linux on it 21:54 < tlg> you could switch to apple hardware (if it wasn't that expensive) 21:54 < Wammy|LapTop> i have apple hardware 21:54 < Wammy|LapTop> Darwin 21:54 < Wammy|LapTop> uname: illegal option -- k 21:54 < Wammy|LapTop> usage: uname [-amnprsv] 21:54 < Wammy|LapTop> bah 21:54 < Wammy|LapTop> w/e i have a ibook 21:54 < Wammy|LapTop> :) 21:54 < tlg> k 21:55 < Wammy|LapTop> exept this thing cant hold my 80GB of music ;) 21:55 < Wammy|LapTop> it only has 6 21:55 < Wammy|LapTop> hehe 21:55 < phildev> nilss: could you provide us with a decode file now? 21:55 -!- Wammy [Wammy@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 21:56 < nilss> the compressed rom still doesnt decompress :/ 21:56 < nilss> phildev: a binary? 21:56 < phildev> yes, I want it, i'll work all my night if necessary 21:56 < nilss> i haven't even dumped the whole rom into a wav 21:57 < BleuLlama> you should dump a known binary through your clicker to make sure your decoding routines are working correctly. start with a text file, then .gz file, etc. 21:57 < phildev> great idea 21:58 < phildev> I'm working on the serial way 21:58 < Wammy> how can i check if my wireless card is supported by linux? 22:00 -!- Wammy [Wammy@ip68-6-141-203.sd.sd.cox.net] has quit [Read error: 104 (Connection reset by peer)] 22:00 < Wammy|LapTop> bargh 22:00 < nilss> BleuLlama: yea, you're right... 22:01 < Thijs> Wammy|LapTop: ifconfig 22:01 < Thijs> iwconfig 22:02 < davidc__> nilss: Can you send me the first few megs of the audio file? 22:03 -!- Jack_MD [~Jack_MD@pD95322AA.dip.t-dialin.net] has joined #ipodlinux 22:03 -!- Jack_MD [~Jack_MD@pD95322AA.dip.t-dialin.net] has quit [Client Quit] 22:04 < courtc> haha dammit 22:04 < davidc__> ? 22:04 < courtc> I needed to talk to him 22:05 < Thijs> [22:58:11] [phildev]: I'm working on the serial way ( whats ur progress ) 22:06 < davidc__> nills... you there? 22:06 < Wammy|LapTop> hmm 22:06 * davidc__ prods nilss 22:06 < Wammy|LapTop> Athlon Xp 3000+ is supposed to run at what 'CPU Host Frequency' ? 22:06 < davidc__> 6000mhz 22:06 < Wammy|LapTop> heh 22:07 < Wammy|LapTop> no, seriously 22:07 < nilss> davidc__: yea i'm uploading a file 22:07 < davidc__> try it! 22:07 < davidc__> I guarentee exciting results 22:07 < Wammy|LapTop> doesnt let me go that hihg :P 22:07 < phildev> It seems to not have the same result on each try. Parity error or not the good spped ? 22:07 < nilss> 0000000: 0600 00ea feff ffea feff ffea feff ffea ................ 22:07 < nilss> that's the binary 22:07 < nilss> 0000000: 0600 00ea feff ff00 feff ff00 feff ff00 ................ 22:07 < nilss> that's the decoded audio 22:07 < davidc__> ok 22:08 < davidc__> if you could send me the audio, I'll try and fix it up 22:08 < davidc__> I have a few ideas about where the problem might be 22:08 < nilss> http://wonderwallfriends.de/misc/dump.wav.bz2 22:08 < davidc__> what dump is this? 22:08 < nilss> this is the dump of the dumping code itself 22:09 < davidc__> ok 22:09 < davidc__> can you send me the dumping code as well? 22:09 < davidc__> in binary form? 22:09 < davidc__> so I can compare? 22:09 < nilss> http://nilss.prout.be/files/ipodlinux/g4_dump.bin 22:10 -!- Jack_MD [~Jack_MD@pD95322AA.dip.t-dialin.net] has joined #ipodlinux 22:11 -!- Jack_MD [~Jack_MD@pD95322AA.dip.t-dialin.net] has left #ipodlinux [] 22:16 < davidc__> I'm gonna modify it so it prints binary and hex above the data 22:16 < nilss> k 22:26 -!- Jonas_NZ [~Jonas_NZ@210-55-35-61.dialup.xtra.co.nz] has quit [Remote closed the connection] 22:26 < tlg> nilss: here it looks like the first line you send 22:26 < tlg> 0000000: 0600 00ea feff ffea feff ffea feff ffea ................ 22:27 < nilss> yea 22:28 < nilss> and the second should be 0000010: feff ffea 0000 a0e1 feff ffea feff ffea ................ 22:29 -!- Wammy [Wammy@ip68-6-141-203.sd.sd.cox.net] has joined #ipodlinux 22:29 < tlg> 0000010: feff ffea 0100 40e1 fbff ffd5 fbff ffab ......@......... 22:29 < tlg> no 22:29 < tlg> wrong 22:30 -!- DJFire [Ryan@653231hfc222.tampabay.rr.com] has joined #ipodlinux 22:31 < tlg> if you listen at the wave around 5secs there is some external noise 22:31 < tlg> that can be it 22:31 < nilss> hmm 22:32 -!- Hostile [~lanteau@cblmdm207-12-170-65.buckeye-express.com] has joined #ipodlinux 22:32 < nilss> hmm yea 22:32 -!- tnt [~tnt@21-222.243.81.adsl.skynet.be] has joined #ipodlinux 22:32 < nilss> i'll dump it again 22:32 < tlg> k 22:35 < nilss> lol? 22:35 < nilss> i dumped it again and the noise it at the same location 22:36 < tlg> weird 22:36 < nilss> maybe it's the harddisk 22:36 < Hostile> my new iPod battery r0x 22:36 < davidc__> found the problem 22:36 < tlg> ok may be just a special sequence of 0's and 1's ;) 22:36 < davidc__> some 0's and 1's run together 22:37 < davidc__> like /|^.... 22:37 < davidc__> its missing the break 22:37 < davidc__> and thinking its one long bit 22:37 < davidc__> working on detect code to detect if a bit is too long 22:37 < nilss> oh i saw that but i just thought the green line is painted above the red 22:37 < davidc__> not that case 22:38 < davidc__> that happens 22:38 < davidc__> but where it turns into 40 instead of A0 22:38 < davidc__> the waves look like /;^\.. which its interpreting as one big 0 22:38 < davidc__> rather than a 1 and a 0 22:39 < nilss> oh 22:39 < davidc__> I'm gonna try reducing the smoothing period a bit 22:39 < nilss> yea 22:39 < davidc__> hmm 22:39 < davidc__> now to understand the smoothing code 22:39 < davidc__> is there an easy way? 22:39 < nilss> actually it's not really smoothing but making 1byte out of 96 22:39 < davidc__> yeah 22:39 < davidc__> I figured 22:40 < davidc__> so, maybe make it 1 byte out of 60 ish? 22:40 < nilss> yea 22:40 < nilss> and then you have to change 48 to 30, too 22:40 < davidc__> yeah 22:40 < nilss> cause the overlap is then 30 22:40 < davidc__> I got both 22:40 < davidc__> yeah 22:41 < nilss> tlg: it's the hd... 22:42 < tlg> k 22:42 < davidc__> gah.. now it tends to interpret tiny blips as noise 22:42 < davidc__> I'm gonna add a lower bounds check 22:42 < davidc__> so it will discard noise 22:44 < nilss> tlg: i added some seconds silence 22:45 < tlg> good idea (it seems to do it only once) 22:45 < nilss> yea 22:46 < nilss> cause the hd never spins up during dumping 22:47 < nilss> mhm now i have some noise i can feed the noise remover with :) 22:47 < nilss> so we should get even better results 22:53 < BleuLlama> didn't you read her LJ? 22:53 < BleuLlama> op 22:55 < macPod> death to lj! :P 22:55 < DJFire> lol 22:56 < nilss> davidc__: mhm maybe we should do it with fft? 22:56 < davidc__> yeah 22:56 < davidc__> I'm thinking that 22:56 < tlg> and code correction 22:56 < tlg> constant bitrate 22:56 < davidc__> I'm having to add all sorts of stuff to deal with pulses getting mashed together 22:57 < tnt> a quick fft in matlab shows more than 2 dominant frequency 22:57 < davidc__> maybe adding a tiny pause between a 10 would help 22:57 < nilss> http://www.wonderwallfriends.de/misc/dumpb.jpg 22:57 < davidc__> I see then getting mashed together a lot 22:57 < nilss> hmm 22:57 < Thijs> maybe add a clock pulse like LOW, CLOCK, LOW, CLOCK, HIGH, CLOCK, LOW, CLOCK, HIGH 22:58 < nilss> then we'd have to detect the clock 22:58 < Thijs> yes 22:58 < davidc__> just a sec 22:58 < tnt> Having regular "sync" pattern could be useful 22:58 < davidc__> I'm gonna try and see if I can fix the too long bit problem 22:58 < tlg> I think you just need to have high and lows to be the same length 22:58 < Thijs> but the clock pulses have a static time between each clock 22:59 < davidc__> the code should make them the same length 22:59 < davidc__> the code should make them the same lengthhowever 22:59 < davidc__> err 22:59 < Thijs> so u know what bits are between them 22:59 < davidc__> however, something weird happens 23:00 < davidc__> I think I can solve it 23:01 < Thijs> hmm 23:01 < Thijs> i got another idea 23:01 < Thijs> maybe not just change the frequency, but change the time 23:01 < Thijs> like LONG LONG SHORT LONG SHORT 23:01 < nilss> the times are already different 23:02 < Thijs> make the difference bigger 23:02 < tlg> nilss: I think it might be easier if they were not 23:02 < Thijs> or is that taking too much time to record 23:02 < nilss> davidc__: there are 0.035secs pauses after 1s 23:02 < nilss> +now 23:03 < davidc__> ok 23:03 < davidc__> but I think I can solve it 23:03 < nilss> yeah if you can that'd be better cause we could transfer data faster 23:03 < davidc__> also, another thing that would help would be to run a rather heavy handed fft eq on it beforehand 23:03 < Thijs> hehe.. back to wartime here... morse code :) 23:04 < davidc__> to chop out all non -signal frequency bands 23:04 < tlg> nilss: what frequecies do you have 23:05 < Thijs> davidc__: cooledit can do that 23:05 < tlg> 'cos they seem to nearly overlap (in their harmonics) 23:05 < veteran> is this hillarious to anyone else? 23:06 < Thijs> [00:04:52] [tlg]: nilss: what frequecies do you have 23:06 < davidc__> nilss: I'm just gonna start ramping up the min0 threshold starting after about 12 samples 23:07 < tlg> I mean what are the different frequencies the piezzo can output 23:07 < nilss> Thijs: i'll analyze the file with baudline 23:07 < tlg> ;) 23:08 * tlg google the frequencies of german people ... ;) 23:08 < Thijs> htp://www.thijsje.nl/ipod/filter.jpg 23:08 < Thijs> http://www.thijsje.nl/ipod/filter.jpg ( http ) 23:10 < nilss> 1: 2282hz + 3400hz + 4478hz 23:10 < nilss> 0: 1894hz + 3788hz 23:11 < jintonic> dtmf as binary code? sounds... weird, to me at least 23:11 < nilss> hmm a highpass at 2khz removes most of the noise 23:12 < nilss> 1852..4910 is the data 23:13 < Thijs> heh 23:15 < nilss> 640d6129c9c538be6d1f8620436648d5 md5sum of the decoded audio 23:15 < BleuLlama> what use is that? 23:16 < nilss> 640d6129c9c538be6d1f8620436648d5 md5 of the first 4*0x10 bytes of the binary 23:16 < BleuLlama> aaah. 23:16 < BleuLlama> sweet! 23:16 < tlg> good ! 23:16 < Thijs> http://www.thijsje.nl/ipod/filter2.jpg << Quite amazed how good a filter can act ! 23:16 < davidc__> ah 23:16 < davidc__> so the filter cleaned it up? 23:16 < Thijs> mine does 23:16 < nilss> Thijs: how did you clean that up? 23:17 < Thijs> Cooledit 23:17 < Thijs> FFT Filter 23:17 < nilss> i mean what filters did you use? 23:17 < nilss> i'm sure i can do that with sox somehow ;) 23:17 < Thijs> http://www.thijsje.nl/ipod/filter.jpg 23:17 < Thijs> [nilss]: 1: 2282hz + 3400hz + 4478hz 0: 1894hz + 3788hz 23:17 < Thijs> these values i used 23:17 < jintonic> holy crap, yeah, that's a damn good filter! 23:18 < Thijs> can i convert a audio file for u ppl 23:18 < Thijs> with my filter 23:19 < nilss> you used an eq, right? 23:19 < jintonic> hmm... seems too perfect though... like it might be close to the real data but with some inconsistencies because the filter considered a 0 or 1 to look more like a 1 or 0 23:20 < Thijs> i didnt filtered it yet 23:20 < davidc__> filter only takes away noise 23:20 < davidc__> then we run thru converter 23:20 < Thijs> but the '1' ones soudns more higher frequency 23:20 < davidc__> and? 23:20 < Thijs> davidc__: nilss: can i convert an audio file for u 23:20 < Thijs> with my filter 23:20 < davidc__> Thijs: hmm? 23:21 < davidc__> it can create 1's and 0's 23:21 < davidc__> depending on the height? 23:21 < Thijs> no 23:21 < davidc__> err.. frequency? 23:21 < Thijs> it cant, but i can clean up ur file 23:21 < Thijs> for decoding 23:21 < fre_ber> I have to agree with veteran, this is hilarious. Soon we really do need to add TeX support on the Wiki, any time these people are going to add serious signal analysis math to the 4g page... 23:21 < davidc__> yea.. then we run it thru the converter [decoder] :) 23:21 < Thijs> yes 23:22 < veteran> haha fre_ber 23:22 < davidc__> Thijs: the only problem is the audio file is a couple 100 megs 23:22 < Thijs> heh 23:22 < Thijs> http://wonderwallfriends.de/misc/dump.wav.bz2 this one 23:22 < Thijs> or 23:22 < tlg> davidc__: fft should probably be in the decoder 23:23 < nilss> hmm i think my dumping code now works good enough 23:23 < veteran> i was seriously joking when i said morse code earlier... 23:23 < veteran> haha but it looks like it's working... you guys are a bit too creative ;) 23:25 * nilss now dumps the compressed flash again 23:26 < tlg> 35 minutes to wait ... 23:26 < nilss> no, more this time 23:26 < tlg> 10 hours ... ;) 23:27 < davidc__> nilss... I've got major mods to the dumping code 23:27 < davidc__> err 23:27 < davidc__> decoding code 23:27 < nilss> 0.63 second/byte 23:27 < davidc__> it should help 23:27 < tlg> it be good if you do a small one first to see if it looks right 23:27 < nilss> yea 23:27 < nilss> i'll dump only 8kb 23:28 < tlg> an hour and a half 23:28 < nilss> yea 23:28 < nilss> but it's compressed 23:28 < nilss> to about 4600byte 23:29 < nilss> still ~50mins 23:29 < tlg> 50 mins 23:29 < tlg> yeah 23:29 < tlg> but you can test the first let say 64 bytes 23:29 < tlg> to see how it looks 23:29 < tlg> you can copy the wav on the fly ? 23:30 < tlg> from the recording 23:30 < nilss> yea 23:31 < nilss> 0000000: 789c bd59 7b70 14f7 7dff eeed dee9 749c x..Y{p..}.....t. 23:31 < nilss> 0000010: a53d 9d64 cbb2 8257 0f12 0102 1f46 cc30 .=.d...W.....F.0 23:31 < Thijs> nills: ive filtered ur file also, but that file is already quit clear 23:31 < tlg> that looks like a compressed file ;) 23:31 < tlg> 789c 23:31 < nilss> yea but would i decompress? 23:31 < tlg> yeah ;) 23:32 < tlg> I'm sure you would 23:32 < nilss> i have 0x190 bytes 23:33 < nilss> it does :)) 23:33 < nilss> nils@witchcraft ~ % perl -e 'use Compress::Zlib;while(!eof(stdin)) {$data .= getc(stdin);} { ($d, $status) = inflateInit(); ($out, $status) = $d->inflate($data);print $out;}' < dump.bin|xxd 23:33 < nilss> using that code 23:35 < davidc__> ok 23:36 < tlg> good ;) 23:36 < courtc> :) 23:36 < tlg> so doest it look encode or not ? 23:36 < nilss> now i could start dumping the whole code, right? 23:36 < nilss> tlg: ?? 23:37 < tlg> yes 23:37 < nilss> how much should i dump? 23:37 < tlg> but I'ld check time to time if you can uncompress the data 23:37 < nilss> i'll start at 0x0 cause the 0s will get compressed 23:38 < nilss> well, its 00:37 and i thought aboud sleeping while the ipod is dumps the code 23:38 < nilss> about* 23:38 < tlg> yes time to sleep here as well 23:40 -!- Jonas_NZ [~Jonas_NZ@210-55-35-97.dialup.xtra.co.nz] has joined #ipodlinux 23:41 < davidc__> ok.. I'll keep enhancing the signal enhancer 23:41 < Jonas_NZ> nilss: are you almost there 23:41 < nilss> davidc__: i dont think thatÄs needed. 23:41 < nilss> Jonas_NZ: 23:41 < nilss> yea ;) 23:41 < Jonas_NZ> cos i can record a dump if you want 23:42 < nilss> i'll dump it myself this night 23:42 < nilss> it'll take 11 about 11 hours i think 23:42 < Thijs> nills: can u sleep with thar bird alike squeeks 23:42 < Thijs> ah 23:42 < nilss> Thijs: i'll put my laptop and the ipod in the living room 23:43 < Thijs> heh 23:43 < Thijs> hope u dont have a dog barking to the ipod 23:43 < nilss> nope 23:44 < nilss> it'll be completely quiet in that room i hope 23:44 < Thijs> heh 23:44 < Thijs> too bad i cant convert my audio to raw data 23:44 < nilss> so, now, how much should i dump? 23:45 < Thijs> dump till ur ipods batteries are empty 23:45 < Thijs> or ur laptop is getting in standby mode 23:45 < Thijs> like mine does :( 23:45 < nilss> the ipod get's charged through usb, right? 23:45 < Thijs> yes 23:45 < nilss> my laptop wont sleep till i tell him to ;) it's running linux :) 23:45 < Thijs> mine too 23:46 < tlg> Id be carefull with my laptop .... 23:46 < tlg> The bending forces generated by converse piezoelectricity are extremely high, of the order of tens of millions of pounds (tens of meganewtons), and usually cannot be constrained. The only reason the force is usually not noticed is because it causes a displacement of the order of one billionth of an inch (a few nanometres). 23:46 < Thijs> and it suddenly goes to sleep 23:46 < tlg> ;) 23:46 < Thijs> and when it sleeps it lost ipconfig, and samba 23:47 < nilss> i think i'll dump 128kb 23:47 < nilss> as the first 32kb are mostlike 0s we'll have ~100kb to dump 23:47 < tlg> that makes 1 millon clicks 23:47 < Thijs> LOL 23:48 < nilss> yea 23:48 < Thijs> nills 23:48 < nilss> compression is about 1.7 23:48 < nilss> so it 23:48 < Thijs> cant u just make a code that checks where are the most '0' 23:48 < nilss> 'll take 10.22096472164131162788 hours. 23:48 < Thijs> running on the ipod 23:48 < davidc__> nils.. start with something small 23:48 < davidc__> just do the 8k again 23:48 < davidc__> thats plenty to play with 23:48 < davidc__> and I'm worried about the poor piezo 23:49 < Thijs> poor piezo 23:49 < tlg> davidc__: they are very solid ;) 23:49 < nilss> well it survived the whole day... :) 23:49 < tlg> there is no moving parts 23:49 < Thijs> after this night your piezo is ### up 23:49 < davidc__> anyways, the new decoder code handles almost any contingency without the fft 23:49 < tlg> davidc__: almost is not enough ;) 23:50 < tlg> but I guess you mean that after the ftt it is perfect 23:50 < tlg> *fft 23:50 < davidc__> well, it decodes the test binary fine 23:52 < Thijs> too bad there arent cooledit plugins 23:52 < nilss> i'll try decoding the 40mb wav 23:52 < Jonas_NZ> Luke: what do you say to this, doing a stage 1 NPTL install on a stage 3 tarball ( NETWORKLESS ) 23:54 < nilss> it unzips 23:54 < nilss> 0000790: 7266 6c6f 7700 0000 496e 6578 6163 7420 rflow...Inexact 23:54 < nilss> 00007a0: 5265 7375 6c74 0000 3a20 4865 6170 206d Result..: Heap m 23:54 < nilss> 00007b0: 656d 6f72 7920 636f 7272 7570 7465 6400 emory corrupted. 23:54 < nilss> i think it works 23:54 < tlg> ;) 23:54 < Thijs> :) 23:55 < Thijs> great 23:55 < veteran> okay. this is definately the most amazing thing i've seen in a while. 23:55 < veteran> congrats =) 23:55 < Thijs> not only one typo in the decoded 23:55 < tlg> 3kb already ? 23:56 < nilss> yea 23:56 < Thijs> davidc/nilss: can i get the decoder 23:56 < Thijs> to decode my wave 23:57 < nilss> brb, putting the laptop and the ipod in the living room --- Log closed Sat Jan 08 00:00:00 2005