irclog2html for #htc-linux on 20060512

00:07.34amgadguys, anybody here?
01:17.36eXii am
01:24.44amgadhi eXi , i wanna ask bout couple of stuff
01:25.20amgadi have an sd-card running gpe now,
01:26.18amgadbut when i remove the card and restart the phone, its hard resets.. is this normal, or can it be avoided??
01:33.55amgadeXi, hello ???
06:26.01awelux_amgad, I think yes. The windows on the ram is overwritten by linux
07:16.14*** join/#htc-linux awelux_ (n=awelux__@dslb-084-058-173-093.pools.arcor-ip.net)
09:06.40*** join/#htc-linux i386 (n=james@CPE-139-168-81-84.nsw.bigpond.net.au)
09:07.02i386awelux_! just the man I want to talk to!
09:07.33i386awelux_: how goes the magician port?
09:34.23*** join/#htc-linux geers_ (n=DevzMan@c51008F31.inet.catch.no)
10:00.42*** join/#htc-linux lukeross (n=lukeross@194.201.216.74)
10:10.51*** join/#htc-linux rob_w (n=bob@p213.54.218.125.tisdip.tiscali.de)
11:36.22*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-11983.bb.online.no)
13:19.19i386awelux_: ping
13:28.12lukerossdoes suspend work on the BA?
13:41.48*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-11983.bb.online.no)
13:44.12*** join/#htc-linux goxboxlive_ (n=goxboxli@ti500710a080-11983.bb.online.no)
13:48.54m1ndlukeross: not for me... but I have a pretty old image.. I don't know if its working...
13:49.47m1ndAnd of, I'm also running the Opie image.. I would guess the GPE is a bit more updated..
13:52.45lukerossok, i was reading the logs and the newer images of both are supposed to suspens. im about to give it a try
13:53.15m1ndgreat ;) would you let me know how it went?
13:53.22lukerosswill do
13:53.29lukerossi've only just started playing with linux on BA, but so far am fairly impressed - calls and SMS worked well and no hassle
13:54.45m1ndyeah... gomunicator is pretty great ;)
13:55.39m1ndI'm actually working on a gsm comm library that will make it pretty easy making a phone app for Opie also.. or any other gsm enabled device ;)
13:56.41lukerosssounds good, but i bet the devil is in the detail
13:56.57lukerosseg. my network loves service numbers, where you get a text response
13:58.01*** join/#htc-linux rob_w (n=bob@p213.54.218.125.tisdip.tiscali.de)
14:00.24m1ndlukeross: hmm... well that depends to what degree I will support stuff like that...
14:01.11m1ndI guess I will eventually, but for now just plain calls and sms... standard AT stuff...
14:01.41lukerossyeh, makes sense
14:02.45m1ndI had another question since I'm babbeling away ;) anyone tried fitting a booting image into flash rom?
14:03.54m1ndI have no idea how it works, I just remeber I did it on a old ipaq I had...
14:04.13lukerossi'd have thought its a bit high risk, until there's a proper bootloader
14:04.26lukerossthe bootloader for the ipaq is quite clever
14:04.32lukerosswasnt it donated by compaq?
14:04.41m1ndnot sure...
14:05.24m1ndmakes sense to have a proper bootloader first, yeah ;)
14:05.32m1ndstill I'd like to see it eventually!
14:06.42lukerossso would I, but I'd guess it's a way down the list. i think full APM, followed by wifi seems to be on several peoples' minds
14:07.40lukerossi'd like to get the camera working too
14:10.28m1ndyeah... that would be nice!
14:10.33amgadabout gomunicator, i find it very annoying that its not communicating with contacts on gpe..
14:10.53m1ndamgad: implement it ;)
14:11.15amgadas soon as i finish my exams mon,
14:11.20m1nd;);)
14:11.56m1ndI've got my last exams 24 may... and a bachelor paper due 30 may :/
14:12.34amgadi'll finish at 26 may, and the graduation project at 20 june
14:12.36amgad:(
14:14.23amgadm1nd, does anyone run firefox on blueangel??
14:14.40amgadi tried to installed it but i had dependencies problems
14:15.21amgadi'd like to read some html docs offline, and i can't dow it with the mini browser thing in gpe
14:17.03lukerossgood news re suspend, it works on the newer images
14:17.17lukerossi had to merge two images though, to get a usable environment
14:19.51m1ndlukeross: hmm.. Opie or GPE?
14:20.05m1ndamgad: I've never heard of it.. what about using dillo or something
14:20.06m1nd?
14:20.19m1ndnever heard of anyone running firefox I mean...
14:20.27lukerossi use GPE. i unpacked the gpe-ba.tar.bz2, then unpacked the latest gpe-image-blueangel over the top
14:21.07m1ndok...
14:21.12amgadm1nd, i'll try dillo
14:21.17m1nddo that...
14:21.28lukerossthen there's a menu icon marked "suspend"
14:21.45lukerossand a script /usr/bin/suspend.sh
14:21.52m1ndlukeross: I don't think anyone has updated the Opie-image for quite a while.. so I'll try the new GPE Image myself...
14:22.23lukerossis http://hands.com/~lkcl/blueangel/opie-image-blueangel.rootfs.tar.bz2 no good?
14:22.32lukerossi believe the latest ones are supposed to be there
14:22.37amgadok, where do u get the gpe image from?
14:23.11lukerosssame directory, but for some reason it doesnt boot into GPE but instead drops to console. hence i unpacked the older image underneath it
14:24.02m1ndlukeross: yeah... same does the opie image there... it has not been updated since january :/
14:24.35m1ndI've got a booting Opie image (had to add some modules and stuff), but it has no suspend...
14:24.48m1ndI like Opie a bit better though... its faster.. I find GPE a bit slow...
14:27.39lukerossdoes it work if you expand the new image over the older image, so the graphical bits of the old are in there too?
14:28.51m1ndwell, is there a "new" opie image to do that with?
14:29.06m1ndI only see the one from january, and thats the one I've already got...
14:30.29lukerossoh right, sorry. theres an even older GPE image (Dec) which seems to have some bits the Jan images miss, but no images newer than Jan I'm aware of
14:30.39lukerosssuspend works in the Jan images for me
14:30.57m1ndok, cool... Does buttonpress also work?
14:31.03m1ndfor suspend I mean?
14:31.12lukerossnope
14:31.26m1ndhow do you un-suspend then?
14:32.04lukerosswhen in suspend, pressing the power button unsuspends it. but pressing it again doesnt re suspend
14:32.23m1ndok... that should not be to hard to implement though...
14:32.38m1ndhow about bluetooth? straight out of the box+
14:32.39m1nd?
14:33.12lukerossive no bluetooth devices to test it with
14:33.34m1ndheh ;) okthen... but I think it should work...
14:34.10lukerosshmmm. actually im not sure it behaves properly after it comes out of suspend
14:34.29m1ndhehe... typical ;)
14:34.30lukerossi can't seem to open any programs afterwards
14:34.40m1ndhmm now that sucks!
14:35.37m1ndwell... I gotta take a drive... I'll probably come haunt you later for more experience info about the new GPE image... So I know what I'm getting when I switch from Opie ;) ca guys...
14:36.05lukerossbye
14:42.50amgadlukeross, please, i find two kernel images, one is "zImage-2.6.12           11-Dec-2005 23:30  827K " at http://gnulinux.biz/files/blueangel/sd/linux/
14:43.01amgadwhich is advertised on this page
14:43.32amgadand another "http://wiki.xda-developers.com/uploads/zImage-2.6.12-hh2"
14:43.41amgadwhich one is latest?
14:49.39lukerossnot sure. i think the latest readily available one is http://hands.com/~lkcl/blueangel/zImage-2.6.12 - dated 14 January
14:50.31amgadmm
15:23.58*** join/#htc-linux lukeross (n=lukeross@194.201.216.74)
16:11.43rob_wive done a image a week ago but the kernel is not usabel
16:45.37awelux_i386, hi, are you still around ?
16:49.41*** join/#htc-linux rmoravcik (n=rmoravci@icm2-orange.orange.sk)
17:16.43*** part/#htc-linux rmoravcik (n=rmoravci@icm2-orange.orange.sk)
17:49.08awelux_sourceforge cvs seams to be down?
18:59.16*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-11983.bb.online.no)
19:55.55*** join/#htc-linux amgad (n=amgad@82.201.238.191)
20:44.05goxboxliveHi Awwlux, did you solve anything yesterday,m thinking about the htcuniversal touchscreen driver?
20:46.50*** join/#htc-linux mrevil (n=mike@port-83-236-11-83.dynamic.qsc.de)
20:47.44mrevilHello
20:48.18goxboxlivehi mrevli
20:48.47awelux_hi goxboxlive
20:49.17awelux_I think you should try out different combinations for the last three bit of the driver.
20:49.22mrevili think i've got an easy question
20:49.31awelux_compile it as a module and start trying goxboxlive
20:50.00goxboxliveYes i can i can try that.
20:50.03awelux_While I tried some combinations I saw distortions very similar to the ones of the universal
20:50.16awelux_So I'm pretty sure that it's possible.
20:50.26goxboxliveok i c.
20:50.29mrevili know, everything is really beta but i just want to see a little enguin on my magician, where can i find a (somehow) running kernel?
20:50.39awelux_For example: Try to swap the 3 and 2 for the X and Y axis
20:50.53goxboxliveok
20:51.03awelux_mrevil, right place. right time :)
20:51.11mrevil:-)
20:51.50awelux_The very first step is to create a full backup.
20:52.03mrevili should be working on my exams, but i'm so curious
20:52.05awelux_Because you will have to do a hard reset.
20:52.20awelux_Linux will overwrite the wince in the ram
20:52.33mreviloh, that's always a good idea while running wince, too.
20:52.38awelux_:)
20:52.54awelux_Do you have a SD card you could reformat?
20:53.01mrevilyes, i have
20:53.05awelux_An SD card is needed if you want to run opie
20:53.53mrevilok, just for the beginners: what is opie? i played around with haret a little bit..
20:53.59awelux_If you want to compile the kernel yourself you could get it from cvs
20:54.27awelux_Ah. opie is a graphical user interface based on qtembedded. like kde for pda's
20:54.40mrevili'd like to try the stony way ;) where can i find it?
20:54.50awelux_hehe. good.
20:55.07awelux_You will also need a gcc crosscompiler.
20:55.14mreviloh, you are really as far as running a GUI on it?
20:55.19awelux_yes.
20:55.28mrevilwow :)
20:55.47awelux_GUI, TS, SD card, and network over USB.
20:55.53awelux_TS=Touchscreen
20:56.06awelux_keys don't work yet but they should be quite simple
20:56.28mrevili've just downloaded a toolchain a few days before...
20:56.34awelux_since yesturday evening the TS is working flawless :)
20:56.55awelux_mrevil, wow. I will dig up the line to checkout the cvs tree
20:57.08mrevilpretty hard work i assume..
20:57.19mrevilthat would be nice
20:58.54awelux_hmm.I'm having trouble accessing SF cvs...
21:00.06mrevilhmm, when SF works again, which is the name of the project?
21:01.10awelux_K2-6-12-hh2-xda0-un0
21:01.23awelux_the magician shares the tree with universal and others
21:02.12mrevilis this the kernel, lying in the handhelds.org cvs?
21:03.38awelux_yes.
21:04.52mrevili think i checked out something form there but was not able to configure it.. result was a red line in the middle of my screen
21:06.18awelux_is there a magician_defconfig in arch/arm/configs ?
21:08.01mrevilno, i don't see it. i see a himalaya_defconfig and a xda_defconfig but none for the magician
21:09.16awelux_that is strange. I thought I checked it in. I'm fighting a bit with cvs
21:09.51mrevilhmm, perhaps i should simply "cvs update"
21:11.41awelux_I'm just checking it out myself.
21:12.54mrevili checked out cvs.sourceforge.net/cvsroot/xanadux, linux-2.6-xda
21:13.17mrevilwrong thing?
21:14.02awelux_Actually I'm confused myself right now. give me a few minutes to sort it out. Probably something changed on the server.
21:14.20mrevilOK, thanks for your help anyway!
21:17.22awelux_Worst case I will send you a tarball.
21:18.14mrevilwould be great!
21:32.11awelux_let's see how long this will take.
21:32.39mrevili hope xchat does like transfers :)
21:33.03awelux_usually yes. But your firewall must forwarrd connections
21:33.23mrevilah.. which ports?
21:34.20awelux_usually you have to forward a few ports to your system and then tell xchat which ports are forwarded.
21:34.29mrevilsorry, kindof new to irc
21:34.40mrevili'll take a look
21:34.54awelux_It's in preferences. Netzwerk, Dateitransfers, Netzwerkeinstellungen
21:36.09mrevilDCC IP should point to the external IP?
21:38.26awelux_yes. When I request to send a file to you your client is expected to answer with an ip address and port where I should send it to.
21:38.57awelux_but you can check the box. get my ip from server
21:39.09awelux_then you just need to enter a port range
21:39.33awelux_I suggest some ports above 1024 and below 32000
21:39.49awelux_one port should be enough.
21:40.01awelux_but two or three can't hurt.
21:40.18mrevili'm just fighting with my firewall...
21:41.48mrevilok, port forwarding should work now
21:43.57awelux_I think you will have to click accept in the window/tab that popped up.
21:44.38mrevilhmm, there didn't pop up anything
21:44.56awelux_hmm. maybe I mixed up mthe port stuff
21:45.26awelux_ohh
21:45.28awelux_ic
21:46.06mreviljippie :) it is working
21:46.36aweluxthis will take a while. Can't be helped.
21:47.55mrevilthanks a lot! might i steal a few more minutes of your time?
21:48.07mrevilabout installing opie?
21:57.44aweluxI've followed the great example here: http://wiki.xda-developers.com/index.php?pagename=UniversalProgress
21:58.09aweluxyou will need the opie image
21:58.49mrevilwill the Universal one work?
21:59.50aweluxyes.
22:00.03aweluxThe arm binaries of opie are the same
22:01.41mrevilthat URL looks easy to understand. could become a long night :)
22:08.54aweluxhmm. It seams like sourceforge is slowly coming back. When I checkout using my user name I can see the files I checked in.
22:11.59mrevili'm not really in love with cvs..
22:12.28mrevilthe interesting thing is, anonymous cvs did work... but perhaps i used the wrong repository
22:14.27mrevilthanks for the kernel-tree :)
22:14.56aweluxI've tried anonymous as well and could not get the files.
22:16.42mrevilcvs update did work, but it included nothing about magician
22:17.08aweluxyes. Same here. I'm trying to figure that out
22:17.31mrevilyou mean the kernel inside the xanadux-project, don't you?
22:18.15aweluxyes. when 'I checked out the tag K2-6-12-hh2-xda0-un0 with my user it worked.
22:18.34aweluxBut with anonymous the files were missing.
22:18.56mrevilis it a bug or a feature? ;)
22:19.15aweluxmaybe a sf feature
22:20.15mrevildo they have their own cvs implementation?
22:20.47aweluxMaybe they serve the anonymous access from a different server
22:21.14aweluxIf you have some time you could request a user ID on sf
22:21.26aweluxand try to check out the files with that user id.
22:21.49aweluxBut the ones you got just now will work
22:22.32aweluxif you type arm-linux-gcc -v will that work ?
22:22.43mrevilnot the worst idea. i'll try for future. but now i just want to run the pengu..
22:23.24mrevili hope it will when i've set the right PATH
22:26.24mrevilOK, gcc version 3.4.1. is that OK?
22:26.31aweluxyes that's fine
22:27.10aweluxin the Makefile in the kernel root path you can edit the CROSSCOMPILE variable to point to your arm gcc
22:27.24aweluxif the above worked you need to change nothing
22:28.32aweluxjust type make magician_defconfig
22:28.48aweluxthat should configure the kernel for magician
22:28.57aweluxthere is probably still a .config file from me
22:30.31mrevilok, then make zImage?
22:31.28aweluxyes
22:32.05aweluxAnd then there are two little tricks. I think they are both still needed:
22:32.28mrevilwhich are?
22:32.46aweluxYou have to use the Image instead of the zImage and you must have phone flight mode off
22:33.18aweluxThere still seams to be some minor memory corruption which prevents the zImage from uncompressing
22:34.07mrevilbut what about the flight mode?
22:34.38aweluxAnd the flight mode, you don't have to enter your pin but the phone must be on.
22:35.02aweluxYou can also enter the pin. But when we select flight mode it simply doesn't boot.
22:35.15mrevilwhich means sim has to be inserted?
22:36.30mrevilok, compilation completed. i'll just take a last look on my contacts and hope all of data is synced..
22:37.26aweluxYes. sim has to be inserted
22:38.23mrevildo i need an initrd?
22:38.51aweluxhmm.
22:39.31aweluxyes
22:40.02mrevilwhat has to be inside?
22:40.26aweluxI'm using one but it's possible that you don't need mit anymore when you use the SDcard
22:40.46aweluxyou could try to boot the Image without the SD card prepared and the initrd
22:41.00aweluxYou should at least see the output to the screen
22:41.17mrevilmy first try will just try to start the kernel, system has to come later..
22:41.17aweluxwhile I try to boot without initrd
22:42.08aweluxset KERNEL "Image"
22:42.12aweluxset MTYPE 875
22:42.30aweluxboot2
22:42.38aweluxthat should boot the kernel from haret
22:42.52mrevilblank between boot and 2?
22:43.04aweluxno
22:43.36aweluxthere was a bootlinux command whichwas rewritten and in that period there were both bootlinux and boot2
22:43.47aweluxnow there is only boot2 in gnuharet
22:44.52mreviljippie :)))
22:45.55mrevilok, i did not build the system, so it gives up saying unable to mount root fs but not the worst sign
22:45.58aweluxsounds good :)
22:46.24aweluxI'm currentöy checking without initrd. I guess it will work
22:47.57aweluxyes. It's booting fine without initrd
22:48.14aweluxSo just prepare the SD card.
22:48.19mrevili'm looking forward to adjust my screen and move the "funny" dentist appointment...
22:48.43aweluxset CMDLINE "root=/dev/mmc/blk0/part2 init=/linuxrc console=tty0 mem=63M"
22:48.44mrevilyes, that will be my next step
22:51.56mrevilmy opie-image doesn't want to unzip.. next try
22:55.46aweluxdid you try tar xfj universal_rootfs_060312.tar.bz2
22:56.29mrevilyes, but i think the download was not OK. now everything is unzipped
22:56.44aweluxdo you have a card reader available on your main pc and linux?
22:56.58mrevilyes i have
22:57.19aweluxthen you can use this to prepare the SD card.
22:57.37aweluxThat's much easier than trying to do it on the device.
22:57.41mrevilpartitioned my sd card and but the files on the second partition (ext2)
22:57.51aweluxok.
22:57.54aweluxgood
22:58.14aweluxopen the linuxrc file in the root of the fs
22:59.19mrevili cannot find a linuxrc
22:59.36aweluxah.
22:59.59mrevildo i have to create one?
23:00.41aweluxThe initrd used the linuxrc to setup some basic stuff
23:01.05aweluxit's easier to do it there than in an init script
23:01.39mrevilthanks
23:02.14mrevildo i have to modify it?
23:03.01aweluxin this file you will find the ip address under which you can reach the magician
23:03.10aweluxit's set to 192.168.2.206 currently
23:03.34aweluxthat's probably fine for you too
23:04.06mrevilok, how will i communicate with it? with synce-serial ?
23:04.41aweluxlater if the device booted you can pull and replug the usb cable and then your linux pc should recognise the device as an usb net device.
23:04.50aweluxyou just type ifconfig usb0 192.168.2.205
23:04.53aweluxon your pc
23:05.00mreviloh - mom - some drunken ... under my window...
23:05.17aweluxand you can ssh 192.168.2.206 into your device
23:06.45mrevilok, back again, thought i had to call an ambulance
23:06.56mrevilis it ready to boot now?
23:07.50aweluxhehe.
23:07.57aweluxyes it is ready to boot now.
23:08.47aweluxwith the above line you will start linuxrc first and linuxrc calls init after doing some stuff.
23:11.41mrevil...the big moment...
23:13.45mrevilcannot find root-fs. perhaps i made a typo
23:15.04aweluxhmm. maybe. can you see something on the screen related to finding the sd card?
23:15.13aweluxlike the size of the card?
23:15.54aweluxand replug the usb andway and check with dmesg on your pc what is detected.
23:16.11mrevilyes, "host does not support read-only switch, assuming write-enable",
23:16.21mrevilunrecognised SCR structure
23:16.30mrevilversion 1
23:17.27mrevildo you now what that means?
23:18.29aweluxI've not had this message. Sounds like there is a problem with the partition of the SD card.
23:19.03mrevilok, i'll try to partition ot step-by step as told on the website..
23:20.03mrevilbut networking seems to be working
23:21.16mrevil..not really, transmit timed out.
23:21.28aweluxno wonder
23:21.36aweluxsince the linuxrc was not executed
23:21.40aweluxit's on the sd card
23:21.53aweluxso no ip is assigned to the usb net of the pda yet
23:22.06mrevilyes. but nice to see, the kernel recognises the usb-connection
23:22.07aweluxyou could try to boot with an initrd
23:22.34mrevilhow do i create a fitting one?
23:22.54aweluxIt's probably best to reuse an existing one again.
23:24.05mrevilwhere can i find one?
23:25.13aweluxas usual I used the one from universal.
23:25.23aweluxcr2 did a great job on that.
23:28.40mrevilare that two devices that similar?
23:28.56aweluxyes. They use the same cpu
23:29.01mreviloof course, same binaries...
23:29.19aweluxnot just that
23:29.30aweluxyou can use the same binaries for all arm cpus
23:29.53aweluxbut for embedded devices there are a lot of peripherals included in the cpu
23:30.15aweluxand since the magician and the universal use the same cpu almost all peripherals are the same too
23:32.21mrevilmy machine wants to reboot. i'll be back..
23:37.13*** join/#htc-linux mrevil (n=mike@port-83-236-11-83.dynamic.qsc.de)
23:37.31mrevilback again
23:38.18aweluxkernel ops because of usb?
23:38.52mrevilno, no really - my cardreader didn't work anymore
23:39.21mrevildidn't give my access to the card anymore
23:40.54mrevilformated my card again
23:41.25aweluxyou should have waited 1 minute more :)
23:41.59mrevilargh... i forgot it
23:43.08aweluxnp. I'm surprised it didn't resume
23:45.05mrevilone silly question: do you know a method not to enjoy the winCE-tutorial after a hard reset?
23:46.00aweluxgood question.
23:46.01aweluxyes
23:46.36aweluxa little script doing all the synce-pcp
23:46.46aweluxand then  synce-prun "My Documents/gnuharet.exe"
23:47.05aweluxand I've a startup.txt with the haret commands
23:47.28mrevilthat might be helpful
23:48.48mrevildo i have to put the rd into the linux partition?
23:50.22aweluxno
23:50.26aweluxthe rd is the initrd
23:50.56aweluxyou could mount it with mount rd.loop /mnt -o loop
23:51.16aweluxjust copy the rd, the Image and gnuharet to your magician my documents
23:51.44aweluxin haret you use these lines:
23:51.46aweluxset INITRD "rd"
23:51.48mrevilnot onto the sd-card?
23:51.57awelux#set CMDLINE "loglevel=9 root=/dev/ram0 init=/linuxrc ramdisk_size=16336 keepinitrd"
23:52.09aweluxno the sd card didn't work yet.
23:52.25mrevilah, now i understand
23:52.27aweluxwithout the # of course
23:52.49aweluxI recommend to create a default.txt file with the haret commands
23:53.01aweluxand copy it to the device as well each time.
23:53.19aweluxKeep in mind that the newlines in the default.txt must be windows newlines
23:54.15mrevilwhich commands are that?
23:55.56aweluxset KERNEL "Image"
23:55.56aweluxset MTYPE 875    set INITRD "rd"
23:55.56awelux<PROTECTED>
23:56.09mrevilok, a misunderstanding
23:56.56mrevili was thinking you meant the way to prevent winCE from introducing itself
23:57.21aweluxIch muss dringend mal ein fenster öffnen. Ich habe gerade eben einen maggie suppenwürfel verbrannt.
23:58.20aweluxwell. that's almost the same. It's convenient to use a default.txt for haret.
23:58.20mrevilhmm - sounds like smelling delicious ;)
23:58.57mrevilis there a difference between default.txt and startup.txt?
23:59.04aweluxAnd if you want to start haret while the pda still shows the welcome screen you would rename the default.txt as startup.txt
23:59.25aweluxjust that haret looks for startup.txt when it's started.
23:59.45aweluxAnd default.txt is the default file for the run button.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.