IRC Logs

14. 10 2008

2008 10
Mo Tu We Th Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
[04:39:56] *** switchcat has quit IRC
[04:45:50] *** switchcat has joined #zipit
[04:49:37] *** FireEgl has quit IRC
[04:59:56] *** FireEgl has joined #zipit
[06:08:55] *** g1powermac_PB has joined #zipit
[08:27:12] *** drmikecrowe has joined #zipit
[08:36:44] *** jhaluska has joined #zipit
[11:46:23] *** g1powermac_PB has quit IRC
[12:29:33] *** c0deman has joined #zipit
[16:46:53] *** T0mW has joined #zipit
[17:05:50] *** jhaluska has quit IRC
[17:15:56] <echelon> T0mW: should we use OE's stable branch from openzipit, or the dev branch from linux.zipitiwireless?
[17:17:49] *** eibmoz_ has joined #zipit
[17:49:17] *** eibmoz_ has quit IRC
[18:08:56] <T0mW> echelon: definately use the stable branch, the dev branch has very sharp edges (bleeding edge) and breaks often.
[18:09:38] <echelon> T0mW: i haven't been able to gnu classpath :(
[18:09:47] <echelon> i need it to port j2me/midp
[18:27:56] *** mycroftxxx has joined #zipit
[18:28:18] <mycroftxxx> Is anyone playing around with the GPE-minimal image right now? I am a linux newb who is working with a much more experienced friend.
[18:29:47] <mycroftxxx> On our OE-base-install card, we eventually got Xterm running, and from there played around with a few things, including managing to get a .FLV downloaded from youtube to play (sans sound)
[18:37:16] *** GPSFan has joined #zipit
[18:44:45] <echelon> mycroftxxx: you got audio to work??
[18:44:47] <echelon> oh
[18:44:51] <echelon> without sound :P
[18:45:27] <echelon> there's no audio driver available yet
[18:45:36] <echelon> if you can write your own the register info is available on linux.zipitwireless.com
[18:47:29] *** c0deman has quit IRC
[18:47:30] <mycroftxxx> My roommate is considering it. I'm take it there are no driver-writers in the community right now?
[18:47:41] <mycroftxxx> And we can't get anything like a driver from the manufacturer or from Aeronix?
[18:47:43] <echelon> i'm sure there are, it's just been really slow lately
[18:48:02] <mycroftxxx> Oh, I have a dumb question - is there any way to get a good keymap diagram for the shell?
[18:48:17] <echelon> i don't know a bunch of them myself
[18:48:21] <echelon> i can do ctrl and stuff
[18:48:39] <mycroftxxx> Cntrl is the key above ALT, right? (the "... [x]" one)
[18:48:47] <echelon> http://linux.zipitwireless.com/wiki/Z2Shell#KeyboardMap
[18:48:49] <echelon> yeah
[18:49:05] <echelon> so the both of you have a z2?
[18:49:34] <mycroftxxx> Nope. We're just using mine until we have a system that meets our goals.
[18:49:49] <mycroftxxx> I'm aiming for something like this: http://www.instructables.com/id/Wikipedia-in-your-pocket/
[18:50:02] <echelon> right now i'm just working on porting j2me/midp so you can run java applets on it.. the ones you can run on your phone
[18:55:04] <mycroftxxx> Though, I'm hoping to get media playing and the ability to grab and play some video from the web as well.
[18:55:24] <mycroftxxx> J2me? Kickass!
[18:55:30] <echelon> i don't who's working on audio.. i think it was me ^_-
[18:55:32] <mycroftxxx> heh.
[18:55:32] <echelon> *don't know
[18:55:46] <mycroftxxx> My rommmate think he's about 12 man-hours out from having something. I know he's done some driver work before, so he may in-fact know what he's getting into.
[18:55:50] <echelon> someone told me you could run opera mini on it
[18:56:00] <echelon> but they weren't using a z2, just based on OE
[18:56:05] <mycroftxxx> Opera Mini isn't bad as a browser, and should be really fast - but fennec/minimo should also work.
[18:57:08] <mycroftxxx> I cannot wait until the day I can walk outside with a graphical browser on my z2. I have done some browsing with links, that took me back to 1993.
[18:57:14] <echelon> heh
[18:57:47] <echelon> hopefully by that time 802.11b/g doesn't become obsolete
[18:57:59] <mycroftxxx> It won't be.
[18:58:04] <echelon> ^_^
[18:58:11] <echelon> would be nice if the card could do monitor mode as well
[18:58:15] <mycroftxxx> How many million iphones and G1's will there be in a year?
[18:58:24] <echelon> (shrugs).. i'm not in the apple crowd
[18:58:58] <mycroftxxx> Oh, that reminds me. Possibly stupid question, but has anyone gotten a python interpreter running on their Z2? I had an amusing hack idea for the Defcon Wall of Sheep.
[18:59:09] <echelon> did you try to build python?
[18:59:13] <mycroftxxx> I haven't yet.
[18:59:15] <echelon> it should work
[18:59:16] <mycroftxxx> might do when I get home.
[18:59:28] <echelon> you have the dev or stable branch?
[18:59:34] <mycroftxxx> I believe we have stable
[19:05:39] <echelon> from openzipit?
[19:05:41] <mycroftxxx> Yes.
[19:05:44] <echelon> kk
[19:06:19] <mycroftxxx> I really don't know that much - as I said, I am a severe linux newb. I considered it a major victory when I figured out how to get matchbox built and installed on the Z2. My latest victory was following directions and google to get the Minimal-GPE build on a second card without much help.
[19:06:30] <echelon> heh
[19:07:23] <mycroftxxx> Acutally, one thing I have been thinking about that one or more of the real hacker-types could do and add to the wiki would be figuring out how to detect the magnetic switch and activating the keyboard LEDs.
[19:07:24] <echelon> i'm guessing you don't have a working mouse either?
[19:07:28] <mycroftxxx> Nope.
[19:07:34] <mycroftxxx> Does anyone have a working keymouse yet?
[19:07:37] <echelon> yeah, kdrive doesn't have mousekey support
[19:07:40] <echelon> someone was close to getting it to work
[19:07:50] <mycroftxxx> is kdrive used in GPE?
[19:07:58] <echelon> yeah, didn't you bitbake xserver-kdrive?
[19:08:22] <mycroftxxx> Quite a while back.
[19:08:40] <mycroftxxx> The roommate had asked me to mess with getting the GPE image up for playing with because he thought it might be easier to get mousekeys working.
[19:08:43] <mycroftxxx> I will have to let him know.
[19:09:51] <echelon> no, GPE is just a window manager, the X server is the one that handles mouse events
[19:15:25] <mycroftxxx> Yay for not understanding the underlying structure.
[19:15:35] * mycroftxxx googles Kdrive
[19:16:21] <mycroftxxx> Ok, so Kdrive is a small/embedded X-server. Are there any other pieces of software we could replace it with?
[19:16:41] <echelon> yeah, xorg
[19:16:51] <echelon> but it'll use up a lot more resources
[19:18:43] <mycroftxxx> Meh. Someone has to have figured this out before...
[19:19:50] <mycroftxxx> What about xrmouse?
[19:26:50] <mycroftxxx> On, nevermind. it's just a program for remapping mouse-buttons.
[19:26:53] * mycroftxxx headdesks
[19:28:08] <echelon> someone sent me a link to a softmouse for kdrive here, i'll have to look it up in the logs
[19:28:15] <echelon> well, it was just a document
[19:29:45] *** Mathman952 has joined #zipit
[19:36:30] <mycroftxxx> I think I found it - http://karosium.com/index.php?serendipity%5Baction%5D=search&serendipity%5BsearchTerm%5D=softmouse
[19:46:09] <mycroftxxx> That was about getting ViewML on the Z1, though - and there's not much about softmouse-ery except that there's a need for some.
[19:47:30] <mycroftxxx> You know, I bet we could get something else running, like joymouse or the like - as kludgy as it is, is there a good bit of code for turning keyboard events into joystick events?
[19:48:40] <switchcat> is there any way to get it to tell you the (i assume ascii) code it receives when you press the button?
[19:49:29] <echelon> yeah
[19:56:28] *** Mathman952 has quit IRC
[19:57:37] <mycroftxxx> Heading out. It was good talking to you guys. I'll try to be back later after talking to my roomie
[19:57:39] *** mycroftxxx has quit IRC
[19:58:21] <echelon> switchcat: xev
[19:58:59] <switchcat> hmm I was assuming that the mouse button puts out an "event"
[19:59:02] <switchcat> whether or not in a graphical interface
[19:59:30] <echelon> it doesn't?
[20:06:21] <switchcat> are you asking or telling?
[20:06:31] <echelon> xev didn't work?
[20:06:46] <switchcat> uhm, I wouldnt know
[20:06:49] <switchcat> I am not doing development work
[20:06:55] <echelon> you just need to enter xev
[20:07:04] <switchcat> I was just saying, if you know what code the button is putting out, you can figure out how to feed that data into a program to interpret it
[20:07:10] <echelon> yeah
[22:38:33] *** Mathman952 has joined #zipit
[22:56:58] *** dtpoirot has joined #zipit
[22:57:10] <dtpoirot> T0mW?
[22:57:16] <dtpoirot> echelon?
[22:57:22] <echelon> allo
[22:57:24] <dtpoirot> I am back to messing with the X server...
[22:57:33] <dtpoirot> I can build 'base-image' and add in the wireless tools...
[22:57:45] <dtpoirot> If I try the same bits with the X server, I can't connect with SSH...
[22:58:00] <echelon> if you run the X server you can't connect to the z2?
[22:58:04] <dtpoirot> ...anyone using SSH to start an X client on the screen?
[22:58:14] <dtpoirot> nope... no TELNET, no SSH, no SCP, nothing...
[22:58:26] <dtpoirot> PTY allocation request failed on channel 0
[22:58:46] <echelon> did you set the DISPLAY?
[22:59:09] <dtpoirot> I want to build an X app for the z2, displaying on the z2 but started from SSH
[22:59:27] <dtpoirot> export DISPLAY=0.0 should work locally...
[22:59:28] <echelon> you mean you want to see the graphics on X from ssh?
[22:59:49] <dtpoirot> nope... I want to use the development host to build an app. I want to use SCP to send the app to the z2. I want the app to write to the local screen on the z2...
[23:05:02] <dtpoirot> ...I REALLY don't want to use the local keyboard to try and start the app.
[23:05:32] <echelon> i've been able to do it before
[23:05:48] <echelon> just make sure the DISPLAY is set to 0.0 before launching
[23:06:05] <dtpoirot> hum... I like the little script on the linux.zipitwireless.com OE page...
[23:06:16] <dtpoirot> this looks interesting: <http://platonic.techfiz.info/2008/10/13/pty-allocation-request-failed-on-channel-0/#more-1057>
[23:07:02] <dtpoirot> do you build a full-up image from a .bb file?
[23:07:08] <echelon> yeah
[23:08:08] <dtpoirot> I have just been adding bits to the 'base-image.bb' file.
[23:08:42] <dtpoirot> the really agrivating bit is that the TI Beagleboard uses OE and I don't have any trouble with it...
[23:08:58] <echelon> what did you add to them?
[23:18:38] <switchcat> dtpoirot - you mean you want to use the zipit as an xterminal?
[23:18:47] <dtpoirot> yup...
[23:19:16] <dtpoirot> I added 'wireless-tools', 'wpa-supplicant' and 'task-xterminal' to 'base-image.bb' to get the image that I am working on...
[23:19:45] <switchcat> does this mean people got the wireless working fine on OE?
[23:19:50] <switchcat> or are people using the zipit shell hack?
[23:24:42] <echelon> your problem is that you use wpa
[23:24:44] <dtpoirot> I never had a problem with wireless... It comes up, uses DHCP to ask for an address and is off and running...
[23:25:31] <dtpoirot> I never did anything with wpa but I can take it out of the .bb file...
[23:25:43] <switchcat> hmmm uses DHCP.. speaking of which I need to configure my shellhack for my network.. I wish it would give you this option at startup, cause it hangs otherwise
[23:26:26] <echelon> switchcat: i thought you use wpa?
[23:27:17] <switchcat> I dont currently believe so.. my network is open I think
[23:29:19] <switchcat> but my real point is.. is that you need more options if you want to keep different things on your memory card...
[23:29:30] *** dtpoirot has quit IRC
[23:29:33] <switchcat> and if I go somewhere, I want to be able to log onto their network and use the shell no matter where I am
[23:37:31] <echelon> what?
[23:37:52] <echelon> all you have to do is iwlist eth0 scan, then iwconfig essid <ssid name>, then udhcpc -i eth0
[23:44:59] <switchcat> yeah I will have to do that once I remember where I put my zipit
[23:46:07] <echelon> lol
[23:47:55] <switchcat> hey at least it's harder to lose than my microSD card or USB microSD card adapter
[23:57:29] <echelon> :)
[23:58:33] <switchcat> you think the microsd cards are small, but the usb microsd card adapter is about half the size of my pinky