**** BEGIN LOGGING AT Sat Nov 08 03:00:02 2008 Nov 08 03:29:27 flyback: you'll need a kernel that's been patched to divert USB client signals to USB host Nov 08 03:29:56 flyback: see: http://hhtinker.blogspot.com/2008/11/kernel-changes-for-usb-host.html Nov 08 03:30:34 flyback: you won't need to change your roofs (unless you need some tools to work with wahtever device you attach, like iwconfig or whatever) Nov 08 03:32:23 thx Nov 08 03:32:36 ugh Nov 08 03:32:43 looks like I won't be able to play with this for a while Nov 08 03:34:55 no where to build it Nov 08 03:34:57 oh well Nov 08 03:39:28 always a catch Nov 08 03:39:31 pretty much my entire life Nov 08 12:43:13 hallo? Nov 08 12:47:24 echo! Nov 08 13:11:02 hello! Nov 08 13:11:16 =___= Nov 08 13:12:15 echo! Nov 08 13:13:58 Which package do I download for my Palm T|X? the 324*484 package or the 320*480 one? Nov 08 13:16:58 |miska|: ? ^ Nov 08 13:17:34 enthdegree: does your display support both? Nov 08 13:17:45 http://atrey.karlin.mff.cuni.cz/~miska/ is what I'm using. I'm just gonna download the 320*480 package to be safe. Nov 08 13:18:02 <|miska|> Sleep_Walker: hi Nov 08 13:18:24 I didn't know that my screen was 324*484. Nov 08 13:18:31 <|miska|> enthdegree: We didn't found anyone with display which doesn't support 324x484 Nov 08 13:18:52 |miska|: gm :) Nov 08 13:18:58 <|miska|> You know that white border around your screen in PalmOS? Nov 08 13:19:17 Yes. It's incredibly annoying I removed it with an app I found. Nov 08 13:19:19 <|miska|> In Linux, we can use it and it gives you that extra 4 pixels ;-) Nov 08 13:19:52 Cool. Thanks for the help! Nov 08 13:20:09 <|miska|> np Nov 08 13:20:36 |miska|, or you can use hardware color switch for that border and have it eg. red ;-B Nov 08 13:20:37 <|miska|> Sleep_Walker: I'm awake quite some time, I even went out! Nov 08 13:21:07 <|miska|> hardware? Nov 08 13:21:27 |miska|, sure, recall those two gpios ? Nov 08 13:22:13 <|miska|> To make it hardware you have to be really fast with your hardware switch, don't you? Nov 08 13:22:56 <|miska|> I thought that interval need was something less then second, wasn't it? Nov 08 13:23:26 <|miska|> To swith it with hardware swith in less than second... Nov 08 13:23:32 <|miska|> Too complicated ;-) Nov 08 13:23:38 yea, that's not really an issue though Nov 08 13:25:01 Is there any way to Nov 08 13:25:35 'semi-permanently' install an operating system onto a device? Nov 08 13:26:23 Or even permanently install ? Nov 08 13:29:12 <|miska|> semi-premanently - you can set cocoboot to boot linux without asking and use something in PalmOS to run cocoboot after each reset Nov 08 13:30:20 Oh ok. Nov 08 13:30:58 Backing up my pda right now. Nov 08 13:31:44 Oh yeah: Will angstrom have the same screen whine as Palm OS? Nov 08 13:35:10 enthdegree, angstrom - no idea, pxafb - no Nov 08 13:35:56 enthdegree: its just kernel dependant Nov 08 13:39:05 Ok thanks for everything. I appreciate you all taking the time to answer. Bye! (c: Nov 08 13:39:43 good luck Nov 08 17:46:00 hey Nov 08 17:46:15 any quick and dirty ways to get a build host up to play with palm usb host mode code Nov 08 17:46:40 hey |miska| ltns :) Nov 08 17:46:47 thx for keeping up the t5 builds Nov 08 17:47:53 * flyback ponders qemu Nov 08 18:02:30 Hi again! I just got this running on my T|X with OPIE, and I think it's too cool for words. (: Nov 08 18:03:35 congratulations Nov 08 18:04:54 Thanks. Can I get GPE working on it as well, or is that just for Familiar? Nov 08 18:05:39 what running? Nov 08 18:05:42 just linux or something else? Nov 08 18:06:00 I have Angstrom running on a Palm T|X Nov 08 18:06:25 ah I have had it runnong on my t5 for a while Nov 08 18:06:32 most of the time I sitll leave it in palm os but not much longer Nov 08 18:06:37 espically if this usb hack works Nov 08 18:06:44 Cool. What is the most stable enviroment? Nov 08 18:06:54 dunno Nov 08 18:07:01 oh you mean linux vs palm os Nov 08 18:07:07 dos > more stable than palm os Nov 08 18:07:23 win95 > more stable than palm os Nov 08 18:07:29 chicken shit > more stable than palm os Nov 08 18:07:31 lol Nov 08 18:07:47 <|miska|> enthdegree: I've tried GPE recently, but it's really slow :-( Nov 08 18:07:52 they never updated the os for when they switched to a cpu (arm) with a mmu Nov 08 18:07:56 oh. )c: Nov 08 18:07:58 so no memory protection Nov 08 18:08:11 any app can piss all over any other app or the os kernel itself Nov 08 18:08:18 yik. Ok so I definitely don't wanna use that right now. Nov 08 18:08:26 i'd like to play with that enlightenment enviorment Nov 08 18:08:30 that is supposted to run well on 32 Nov 08 18:08:36 which is what we both have Nov 08 18:08:40 for real ram Nov 08 18:09:09 I just solder repaired my usb sync cable so I can play with usb host Nov 08 18:09:16 but I have to compile a special kernel first Nov 08 18:09:17 Using just terminal would def. bump up the geek factor ++ Nov 08 18:09:35 might use my laptop with qemu to install a arm linux distro so I can build Nov 08 18:09:40 turns out Nov 08 18:09:56 palm treo, the new treo replacement, tx, t5 and lifedrive Nov 08 18:10:09 the intel pxa27x cpu soc has a usb host mode not just client Nov 08 18:10:22 so basically you can plugin any usb device and use it as long as linux has a driver for it Nov 08 18:10:44 Wow. Nov 08 18:11:11 the only catch is for now it's a unofficial patch Nov 08 18:11:21 oh. :p Nov 08 18:11:26 and you need a POWERED usb hub because the palm can't suplly power Nov 08 18:11:32 but powered usb hubs are easy to get Nov 08 18:11:42 also need a little male-male usb coupler Nov 08 18:12:02 Orly? I didn't know that the PALM usbs didnt supply power. Even when not plugged in? Nov 08 18:13:00 no dude supply power to a usb device Nov 08 18:13:03 it can take power for charge Nov 08 18:13:49 Oops silly me. :p Nov 08 18:13:57 What is the most stable palm linux enviroment? Nov 08 18:14:34 I really don't know I have had some problesm with whatever the one miska builds is Nov 08 18:14:39 but I think it was cause I didn't have swap Nov 08 18:14:44 and it's possible I Have a slow sd cardf Nov 08 18:14:44 <|miska|> Maybe pure terminal? Nov 08 18:15:37 I would use pure terminal, but if i have to type everything in with the weenie keyboard from opie, it doesn't seem to have very much practical use, unless there is some other way of imput... Nov 08 18:15:53 <|miska|> enthdegree: But opie is quite good - it doesn't need so much RAM and it's faster then GPE Nov 08 18:16:04 what's the one in your rootfs miska Nov 08 18:16:06 I forget Nov 08 18:16:28 <|miska|> enthdegree: You can connect external keynboard and use your palm without opie :-D Nov 08 18:16:41 not without the patch :P Nov 08 18:16:58 and he needs powered usb hub Nov 08 18:17:03 <|miska|> Without any other patch :-P Nov 08 18:17:12 uh since when? Nov 08 18:17:13 Oh cool! there are drivers for the universal wireless keyboard? Nov 08 18:17:15 <|miska|> He can use IR keyboard ;-) Nov 08 18:17:25 well yeah there is that Nov 08 18:17:30 hey Nov 08 18:17:37 would a serial keyboard have a linux driver Nov 08 18:17:48 <|miska|> Yes, you just need uncoment settings in /etc/kbdd.conf Nov 08 18:17:49 I could convert a rs232 back to ttl serial and tap the serial pins on the t5 Nov 08 18:18:06 Yeha. I don't think ill switch to GPE. Is there any way to keep OPIE from crashing? Nov 08 18:18:11 I have a keyboard for a palm IIIxe Nov 08 18:18:36 <|miska|> I think there is only few apps which are crashing... Nov 08 18:18:58 I need a plucker replacement Nov 08 18:19:04 <|miska|> Well, everything starts to crash once you don't have enough RAM Nov 08 18:19:09 also xmms has gotten better but still seems to really drag the sd card Nov 08 18:19:55 <|miska|> But if use ext2 partition on your card and add some swap partition, it should be faster and more stable Nov 08 18:19:58 I have only spent around 10 minutes with it so i havent gotten into the 'nitty-gritty' with it, but it hangs (i think?) when I launch keyboard config Nov 08 18:20:32 <|miska|> I think that's one of the apps that hangs :-D Nov 08 18:20:51 miska listen Nov 08 18:20:54 oh im using an un-custom partition'd card. If I put this all on an ext2 partition would that make it more stable? I downloaded the ext2 version. Nov 08 18:20:58 <|miska|> I'll check it, but probably not during next week Nov 08 18:21:00 you have done a good job thx for maintaining the builds Nov 08 18:21:03 we appreciate it Nov 08 18:21:40 <|miska|> enthdegree: It wouldn't help you with keyboard config, but it may be faster Nov 08 18:21:55 Yes thank you. Nov 08 18:22:18 Oh ok. I'll do it. Nov 08 18:22:25 Thanks! Nov 08 18:22:33 <|miska|> np Nov 08 18:23:21 <|miska|> Using files is sometimes good, cause it's easy to reinstall and you can have several different enviroments... Nov 08 18:24:09 so you are saying Nov 08 18:24:13 format a sd card ext2? Nov 08 18:24:43 I assume you have to put the bootloader and kernel on fat for palm os to load Nov 08 18:25:13 mabye I should make swap partition as well Nov 08 18:31:20 <|miska|> You can repartition you card, let the first partiotion be FAT so PalmOS wouldn't have any problems and then you can add ext2 partition and swap. It's faster if you are accessing card directly instead of through the loop Nov 08 18:34:52 ok thx :) Nov 08 18:35:00 I wish I could use > 2 gig :/ Nov 08 18:35:22 or the onboard 256/160meg disk on chip, mabye eventually Nov 08 18:38:19 * flyback bbl Nov 08 19:06:46 http://www.youtube.com/watch?v=4rN4yDNj5ME&feature=related# <---- YES THERE IS A GOD! Nov 08 20:42:24 anyone have a guide Nov 08 20:42:32 to what brands and model sd cards are the fastest Nov 08 20:42:49 and what the fastest sd speed is that palm t5/tx/lifedrive/tro/centro support? Nov 09 02:15:07 BobOfDoom: I added pwm_bl modification, but I'm quite confused by all that branches :b Nov 09 02:15:50 hey Sleep_Walker Nov 09 02:15:56 what do you use for build env Nov 09 02:15:57 hi Nov 09 02:16:05 ? Nov 09 02:16:08 OE? Nov 09 02:16:09 i'm thinking of using qemu and a arm linux distro Nov 09 02:16:13 yeah to build it Nov 09 02:16:16 like the kernel etc Nov 09 02:17:17 toolchain built with OE Nov 09 02:17:29 ? Nov 09 02:17:34 * flyback confused Nov 09 02:17:37 I have pc's here Nov 09 02:17:50 what do I use os, tools etc to build all the shit for a palm Nov 09 02:18:29 I use /OE/tmp/cross/armv5te/bin/arm-angstrom-linux-gnueabi-* Nov 09 02:19:42 BobOfDoom: please test my last commit, I'm going to push it higher :b Nov 09 02:20:00 (all please test it :b ) Nov 09 02:26:12 Sleep_Walker, just by looking at it it doesnt seem correct to me Nov 09 02:26:27 marex: it's too simple to be wrong :) Nov 09 02:26:57 but I'd love to hear that anyone tried it with different device Nov 09 02:28:02 marex: where is the problem? Nov 09 02:29:10 you belongs to 'operator? haters'? :b Nov 09 02:30:47 nah, I like that one as well as comma, but (pb->inverted ? (1/period) : period) might be more correct in this case Nov 09 02:31:18 :O Nov 09 02:31:19 maybe not ... dunno Nov 09 02:31:21 Im too sleepy Nov 09 02:31:42 run it through lakml and see the outcome, gnight Nov 09 02:32:06 there was 0 before Nov 09 02:32:16 so you're probably too sleepy :) Nov 09 02:33:08 but if you meant the second line - I'd like to let it have linear Nov 09 02:33:10 gn Nov 09 02:36:08 Sleep_Walker, check the logic in arch-arm/pwm.c:pwm_config Nov 09 02:36:19 you might be able to see something there as well Nov 09 02:37:00 I know pwm and pwm_bl quite well know Nov 09 02:37:07 including PWM doc Nov 09 02:37:38 I spent day and half for this 4 line patch :) Nov 09 02:37:55 because I was looking for problem of that values Nov 09 02:38:03 and there was not :b Nov 09 02:38:46 ok ... I spend today practicing for calculus test Nov 09 02:39:09 :D Nov 09 02:39:14 sounds like fun :b Nov 09 02:39:40 well it is Nov 09 02:40:12 you dont seriously think I'd do something that isnt fun, do you ... Nov 09 02:40:48 let me think... Nov 09 02:40:50 ... Nov 09 02:40:54 C#? :D Nov 09 02:40:58 ... Nov 09 02:41:01 Java? Nov 09 02:41:10 ... Nov 09 02:41:10 dunno anything from it yet Nov 09 02:41:24 Zaklady pocitacu? :D Nov 09 02:41:26 as for c-hash ... that's already buried Nov 09 02:41:34 huh ? Nov 09 02:41:46 or it was Principy pocitacu? Nov 09 02:41:59 yea ... that was quite nice Nov 09 02:42:01 some quite stupid lesson Nov 09 02:42:10 ah, I see Nov 09 02:42:23 you have fun with everything Nov 09 02:42:36 * flyback still doesn't understand what he needs to do to compile code Nov 09 02:42:49 no way I can get you to compile me a t5 kernel with the usb host patch by chance? Nov 09 02:42:49 who said I listened to that lesson anyway ... Nov 09 02:43:35 flyback: there is some chance ;D Nov 09 02:43:50 * flyback begs Nov 09 02:43:55 T5 kernel, USB host AND MY SHINY NEW PWM patch :D Nov 09 02:44:44 Sleep_Walker, you changed the api ... have you updated all the platforms that will be affected by your change ? Nov 09 02:45:06 marex: nope Nov 09 02:45:20 you know what will happen, right ? Nov 09 02:45:23 * flyback puts the usb powered hub on "preheat" Nov 09 02:45:33 but it seems very interesting that non-defined structure member is always set 0 :) Nov 09 02:45:49 Sleep_Walker, are you really sure ? Nov 09 02:45:49 which will cause that it magically works Nov 09 02:45:54 nope :D Nov 09 02:46:05 that is the reason to review and test it Nov 09 02:46:24 you are not guarantied that the memory area you will get will be zeroed out Nov 09 02:46:27 marex: but it has to work this way Nov 09 02:46:45 no it wont work ... if you have some random value there, then what ? Nov 09 02:46:54 marex is right Nov 09 02:46:57 even I understand this Nov 09 02:47:03 it's a lesson m$ learned the hard way Nov 09 02:47:04 and still is Nov 09 02:47:06 flyback, shut up, noone asked you Nov 09 02:47:09 you're not defining all function pointers, right? Nov 09 02:47:23 (into structure) Nov 09 02:47:36 flyback, shut up, noone asked you <-- wow marex has been a virgin longer than I have Nov 09 02:48:01 it would be really interesting jump with random (non-NULL) value Nov 09 02:48:31 Sleep_Walker, well when you allocate that structure, you should memset it ... check if it really is, if not, patch it Nov 09 02:49:57 pb = kzalloc(sizeof(*pb), GFP_KERNEL); Nov 09 02:50:04 this line is relevant Nov 09 02:50:04 ok, pb is kzalloced and initialized ... right Nov 09 02:50:13 so ? Nov 09 02:50:14 fine Nov 09 02:50:24 kzalloc does zero it out ? Nov 09 02:51:06 include/linux/slab.h: * kzalloc - allocate memory. The memory is set to zero. Nov 09 02:51:29 good old kzalloc Nov 09 02:51:33 flyback: :b Nov 09 02:51:47 Sleep_Walker, ok, you won Nov 09 02:51:53 YES! Nov 09 02:52:01 gn :) Nov 09 02:52:14 you going to bed? Nov 09 02:52:23 I'm already in bed Nov 09 02:52:27 oh Nov 09 02:52:29 I'm going to sleep Nov 09 02:52:32 ok Nov 09 02:52:39 but this was toward Marex :) Nov 09 02:58:23 flyback: do you have some t5 kernel config? Nov 09 02:58:42 use the one on miska's page han gon lemme get url **** ENDING LOGGING AT Sun Nov 09 02:59:57 2008