IRC Logs

13. 01 2008

2008 1
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      
[00:24:09] *** GPSFan has quit IRC
[01:02:42] *** yellowcap has quit IRC
[01:15:57] *** yellowcap has joined #zipit
[04:38:03] *** Magon has joined #zipit
[07:54:41] *** drmikecrowe has joined #zipit
[09:43:44] *** redhomey has joined #zipit
[09:44:51] *** GPSFan has joined #zipit
[10:03:13] *** redhomey_ has joined #zipit
[10:11:48] <ethicalclone> I got the keyboard interface figured out.
[10:12:03] <ethicalclone> and started on a driver
[10:13:11] *** redhomey has quit IRC
[10:21:52] <redhomey_> #
[10:22:27] <GPSFan> ethicalclone: how is the keyboard hooked up to the cpu? how did you figure it out?
[10:23:02] <ethicalclone> using a verbose version of the gpio_driver module
[10:23:27] <ethicalclone> The keyboard is hooked to some gpio pins in a matrix.
[10:23:28] <GPSFan> ah, so the key matrix is hooked up to gpio's. Can each keypress generate an interrupt?
[10:23:51] <ethicalclone> I dont think it does, because the Zipit2 app looked like it was polling the pins.
[10:24:26] <GPSFan> ok, well the Z1 keyboard driver worked ok as a polled driver, so with the faster processor it should be ok too.
[10:24:33] <ethicalclone> The driver I am working on uses the pxa270 built-in controller to control the scanning and uses interrupts.
[10:24:43] <GPSFan> ;>)
[10:33:07] <ethicalclone> Did you want the gpio pins the keyboard uses?
[10:33:20] <GPSFan> sure, thanks.,
[10:33:36] <ethicalclone> Col: 103,104,105,106,107,108,35,41 Row: 100,101,102,34,38,16
[10:33:57] <ethicalclone> The col pins are outputs, and the row pins are inputs
[10:34:03] <GPSFan> gpio #'s or ball #'s ?
[10:34:09] <ethicalclone> gpio pins
[10:34:18] <GPSFan> have you mapped out the matrix yet?
[10:34:46] <ethicalclone> some of it, the Q key is 104, 101
[10:39:58] <GPSFan> does it seem like the lid switch is part of the keyboard matrix? it was in the Z1.
[10:41:20] <ethicalclone> I did not check that, the +/- keys on the side and the power button are not part of the matrix.
[10:42:08] <GPSFan> np, it will all come out in time. nice work.
[10:42:47] *** Rossimo has joined #zipit
[11:12:40] *** redhomey_ has left #zipit
[11:13:29] *** drmikecrowe has quit IRC
[11:22:10] <ethicalclone> I found the +/- buttons, there is another row pin, 17
[11:22:46] <ethicalclone> and the lid switch is on the keyboard matrix
[11:23:30] <ethicalclone> oops, when the lid was closed it was hitting the options key
[12:59:03] <GPSFan> reading through the gpio_driver.c code, one wonders whether the Z2 was originally supposed to have a built-in video/still camera. Or maybe some of the pins on the connector are meant to support an external camera.
[12:59:24] <Magon> GPSFan: are in the gpio code some hints for that?
[12:59:32] <Magon> i have examp term => i am out for next month or so
[13:09:44] <GPSFan> Magon: good luck on your exams, yes there is some code that plays with the "Quick Capture" interface registers. and seems to be able to transfer data to a users buffer from the CIBRx register.
[13:10:54] <Magon> btw: have any of you heard of Faculty of Mathematics and Physics Charles University (www.mff.cuni.cz)
[13:11:01] <GPSFan> since that driver was written by Aeronix, they probably had some use for the camera interface in mind, either for this product (Z2), maybe some future product, or some non connected product that they re-used the code from.
[13:11:26] <GPSFan> Magon: sorry my knowledge of European educational institutions is almost non-existant.
[13:11:39] <ethicalclone> I have pasted the keymap to: http://zipit.pastebin.com/m4eb07acb
[13:11:54] * GPSFan looks
[13:11:54] <Magon> GPSFan: i am student of that(not interresting) but it is said to be quite well know faculty here
[13:13:06] <Magon> and i also know nearly nothing of US universities
[13:23:10] <Magon> GPSFan: i still cannot open Z2...i cannot get it ripped on sides
[13:23:59] <GPSFan> Magon: sorry I don't know what's the problem, mine came apart without any major problems. If I get a chance later today I'll try toopen mine up again and take some pictures.
[13:29:24] <Magon> that would be great
[13:29:29] <Magon> the area around +/- was ok?
[15:29:38] *** drmikecrowe has joined #zipit
[16:02:05] *** redhomey_ has joined #zipit
[16:04:54] *** Magon has quit IRC
[16:11:18] *** Magon has joined #zipit
[16:11:45] *** Magon has quit IRC
[16:31:26] <ethicalclone> I have a working keyboard driver.
[16:31:57] <GPSFan> ethicalclone: hey, that's progress for you!!
[16:32:23] <ethicalclone> any ideas for where I should upload it?
[16:32:49] <GPSFan> ethicalclone: the Yahoo group files section.
[16:34:27] <ethicalclone> I'll make a new zip file first, then upload a patch later.
[16:52:21] *** Rossimo has quit IRC
[16:52:24] *** nhoman has joined #zipit
[16:54:33] *** redhomey_ has quit IRC
[17:09:44] <ethicalclone> the yahoo upload keeps timing out :(
[17:14:17] <GPSFan> that's odd, can you dcc the zip file to me?
[17:14:42] *** Rossimo has joined #zipit
[17:19:32] <GPSFan> ethicalclone: gotit.
[17:23:59] *** Magon has joined #zipit
[17:24:56] <GPSFan> ethicalclone: what is supposed to happen when you hit a key? I get interrupts logged in /proc/interrupts pxa27x-keyboard, but nothing appears on the screen after the "Daemonize" message.
[17:30:24] <GPSFan> ah I forgot to copy over some stuff. ;>P
[17:30:47] <ethicalclone> I added a program that attaches stdio to a tty, own-tty
[17:31:03] <GPSFan> indeed that's what I missed, it works!!
[17:31:07] <GPSFan> I'll put the script up on Yahoo if you like.
[17:31:22] <ethicalclone> sure
[17:32:01] <GPSFan> it's there.
[17:32:14] <Rossimo> what would be the proper way to shutdown the zipit?
[17:32:20] <Rossimo> if no one minds me asking
[17:32:33] <GPSFan> Rossimo: I just hit the reset button that shuts off power.
[17:32:37] <Rossimo> yeah, that's what i usually do, also
[17:32:40] <Rossimo> i didn't know if that would be "unsafe" or anything
[17:32:49] <GPSFan> everything is in ram and there are no current apps on it that write to the flash, so it "should" be safe.
[17:33:28] <ethicalclone> running: "poweroff" should be very safe
[17:33:37] <Rossimo> huh, cool
[17:33:46] <ethicalclone> or "reboot" to reboot it
[17:34:10] <GPSFan> ethicalclone: no alt functions yet I see, and typing many chars in a row sometimes results in missed chars.
[17:34:21] <Rossimo> is this "Startup.new.zip"?
[17:34:35] <GPSFan> Rossimo: no z2script.1.sh
[17:34:57] <GPSFan> I can activate autorepeat by typing the same char as fast as I can. wheee..
[17:44:51] <ethicalclone> GPSFan: alt should be sending a keycode, I'm not sure if a userland keymap is needed.
[17:46:32] <GPSFan> gotta run out for a while bbl..
[17:47:44] <nhoman> thanks again ethical ! (redhomey)
[17:47:50] <nhoman> is there an ssh client on there?
[17:47:53] <nhoman> can dropbear be used as a client
[17:48:10] <nhoman> keyboard works well!
[17:48:16] <Rossimo> ethicalclone: this is neat. awesome.
[17:49:45] <ethicalclone> nhoman: dbclient is a ssh client
[17:50:00] <nhoman> ethicalclone: brill - excuse my ignorance!
[17:57:32] <ethicalclone> I need to get the numbers and / working, its not very useful without them.
[18:08:26] <Rossimo> alright, got links running on it
[18:08:47] <Rossimo> that was easier than i thought it would be
[18:17:05] <Rossimo> mind if i upload it, ethicalclone?
[18:18:20] *** Magon has quit IRC
[18:18:54] <nhoman> Rossimo: i'll test it :-)
[18:18:58] <Rossimo> one sec
[18:18:59] <nhoman> Damn i just couldnt get my crosstool toolchain to build a working bianry yesterday.
[18:19:02] <nhoman> spent hours!
[18:19:42] <Rossimo> i'm using scratchbox
[18:19:45] * Rossimo is lazy
[18:19:52] <Rossimo> ok, it's "z2_links.zip" on the Yahoo group
[18:19:54] <nhoman> ive to try buildroot maybe tomorrow ... will have a look at scratchbox now...
[18:29:40] <nhoman> Works great, nice text browser, have used lynx before, using to look at scratchbox.org
[18:39:40] <nhoman> looks a little more complicated than crosstool - although if it works...
[18:44:01] <nhoman> this is a handy little browser
[20:12:19] *** yellowcap_ has joined #zipit
[20:20:44] *** yellowcap__ has joined #zipit
[20:20:48] <Rossimo> ah! clones!
[20:24:46] *** yellowcap has quit IRC
[20:34:28] *** yellowcap_ has quit IRC
[21:09:44] *** yellowcap___ has joined #zipit
[21:09:45] *** yellowcap___ is now known as yellowcap
[21:27:42] *** yellowcap__ has quit IRC
[21:27:49] *** Rossimo_mobile has joined #Zipit
[23:44:24] *** GPSFan has quit IRC