IRC Logs

30. 07 2008

2008 7
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:13:48] *** john has joined #zipit
[01:42:37] *** Switchcat has quit IRC
[01:56:55] *** unrest has joined #zipit
[02:35:44] <john> Good evening all.
[02:36:13] <john> I just picked up a zipit2 and am going to be getting an appropriate memory card tomorrow.
[02:37:30] <john> Am I safe going with microSD+miniSD adapter, or is the likelyhood of getting a miniSD card that doesn't support SPI mode high enough that I should go with miniSD?
[02:41:08] <ATravelingGeek> I'm using a microSD card with a miniSD card adapter
[02:48:11] <unrest> good mornin john
[02:48:30] <unrest> i'm using microSD+adapter, too
[02:48:56] <unrest> kingston didn't work for me though - it booted, but somehow was fucked
[02:49:16] <unrest> now i use the kingston's adapter with a sandisc microSD and it works like a charm
[02:49:35] <john> Hmm, vaguely ominous. I'll keep that one in mind when I'm picking one out.
[02:49:59] <john> But it sounds like microSD in general is safe enough. Many thanks.
[02:53:15] <john> I suspect that I'll be back here soon enough, once I've got the card in hand.
[02:53:40] <john> The default zipit image is seriously miserable; but the hardware seems pretty neat.
[02:56:28] *** Switchcat has joined #zipit
[03:12:13] *** Switchcat has quit IRC
[03:12:51] <crazymonkeypants> The hardware definitely has promise
[04:35:02] *** Switchcat has joined #ZipIt
[05:10:37] *** john has quit IRC
[05:39:20] <unrest> did anyone yet manage to really log into the system from gpe-login?
[07:29:26] *** g1powermac has joined #zipit
[08:04:25] *** jhaluska has joined #zipit
[08:12:23] <unrest> to whom it may interest: if you run xterm in Xfbdev the maximal terminal size is 52x18
[08:41:26] *** g1powermac_PB has joined #zipit
[08:42:32] *** GPSFan has joined #zipit
[09:33:51] *** asantoni__ is now known as asantoni
[09:53:58] *** g1powermac_PB has quit IRC
[10:02:37] *** drmikecrowe has joined #zipit
[11:57:28] *** Mathman952 has joined #zipit
[12:12:35] *** Limp_Trizkit has quit IRC
[12:12:35] *** Mathman952 is now known as Limp_Trizkit
[13:03:44] *** asantoni has quit IRC
[13:08:25] *** asantoni has joined #zipit
[14:16:18] *** Magon has joined #zipit
[14:16:20] *** Mathiasdm has joined #zipit
[14:17:12] <crazymonkeypants> Woot
[14:17:18] <crazymonkeypants> I have GPIO logs up through the app starting
[14:18:57] <unrest> and what do they tell you?
[14:19:14] <crazymonkeypants> Still working on that
[14:19:30] <crazymonkeypants> I'm fairly close to having a reasonable map of what GPIOs are in use
[14:19:42] <crazymonkeypants> I found the backlight and the I2S that talks to the LPC915
[14:19:48] <crazymonkeypants> which gives you battery levels
[14:33:14] <Magon> isnt there GPIO map on site?
[14:35:31] <crazymonkeypants> Not that I'm aware of
[14:35:36] <crazymonkeypants> If there is, I'm all ears
[14:35:48] <crazymonkeypants> Just going over the I2C transactions
[14:36:02] <crazymonkeypants> Lots of these:
[14:36:02] <crazymonkeypants> | | set SCL 1 bit 6 = 1, #address 0x55
[14:36:02] <crazymonkeypants> | | set SCL 1 bit 7 = 0, #write data 0x02
[14:36:02] <crazymonkeypants> | | set SCL 1 bit 6 = 1, #address 0x55
[14:36:02] <crazymonkeypants> | | set SCL 1 bit 7 = 1, #read data 0x7b
[14:36:15] <crazymonkeypants> (ignore the stuff on the left, that's just my protocol decoder)
[14:36:41] <crazymonkeypants> Which matches up perfectly with the zipit-peeks-pokes document's description of reading the battery voltage from the LPC915
[14:36:56] <crazymonkeypants> There's the Wolfson setup, which is unsurprising
[14:37:16] <crazymonkeypants> There are a bunch of attempts to talk to address 0x50, which doesn't respond
[14:38:06] <crazymonkeypants> But there's also a long write to the LPC915 that I'm not making any sense of yet
[14:50:00] *** g1powermac_PB has joined #zipit
[14:56:48] <crazymonkeypants> g1powermac: did you get the link to the TI battery charger IC datasheet?
[15:02:34] <g1powermac_PB> umm, don't remember :-)
[15:02:53] <g1powermac_PB> http://zipit2system.sourceforge.net/board.html
[15:02:55] <g1powermac_PB> yup
[15:03:14] <crazymonkeypants> Hm, no, you didn't
[15:03:30] <crazymonkeypants> This thing "ANA TI 68k A3RF" is a TI battery charger chip
[15:03:49] <g1powermac_PB> oh
[15:04:39] <g1powermac_PB> hmm, don't have it then
[15:04:42] <crazymonkeypants> Just looking; I thought I downloaded the datasheet
[15:04:48] <crazymonkeypants> It's in the logs
[15:06:20] <g1powermac_PB> cool, got the link?
[15:07:14] <crazymonkeypants> There we go. BQ2403x, http://focus.ti.com/docs/prod/folders/print/bq24030.htm
[15:07:38] <g1powermac_PB> that link is dead
[15:08:03] <crazymonkeypants> There's an 'l' missing off the end, sorry
[15:08:30] <g1powermac_PB> ahh
[15:09:48] <crazymonkeypants> Here is today's Mystery Question
[15:10:38] <crazymonkeypants> The Zipit app writes to address 0x83 in the LPC915, and it sends these 32 bytes:
[15:10:43] <crazymonkeypants> 60 dc a3 36 3e 3a 4c 85 - 50 2e 9c db e8 f3 8b b0
[15:10:43] <crazymonkeypants> b6 65 fe c6 9e ea 49 b9 - f9 56 7d d6 29 94 1d 01
[15:10:48] <crazymonkeypants> What Are They?
[15:11:29] <g1powermac_PB> interesting
[15:16:33] <crazymonkeypants> They don't seem to decode to sensible 8051 opcodes. They're not obviously text to me.
[15:16:49] <crazymonkeypants> They're too dense to be preferenes, and there's a prefs xml file anyway
[15:17:06] <crazymonkeypants> They don't plot to a curve or look anything like battery calibration data that I know of
[15:17:24] * g1powermac_PB needs to crack open my new zipit, see if its the new board or the old one
[15:17:39] <crazymonkeypants> The 0x01 at the end is a bit suspicious, but I tried a few quick calculations and I couldn't find a checksum or a length indicator in there
[15:19:28] <crazymonkeypants> It never read from there, only wrote
[15:19:55] <g1powermac_PB> hmm
[15:22:23] <Switchcat> whats the differences in the boards with the z2?
[15:23:24] <g1powermac_PB> from what I know, the new version just has all the fixes built into the board
[15:23:29] <g1powermac_PB> everything else is the same
[15:26:12] <Switchcat> oh I thought those 'fixes' (you mean the wires?) were things with the original z1 not the z2
[15:26:56] <g1powermac_PB> nope
[15:27:07] <g1powermac_PB> the wires are from the original z2 boards
[15:27:49] <Switchcat> geez this sourceforge thing... a GSM module? someone is trying to turn this thing into a phone or use the cellular data network?
[15:32:31] *** asantoni has quit IRC
[15:33:29] <crazymonkeypants> What is the right-hand LED on the front of the unit called?
[15:36:37] <g1powermac_PB> Switchcat: yup, thats me :-)
[15:53:44] *** Mathiasdm has quit IRC
[15:55:51] <crazymonkeypants> I found the power button GPIO, the LED and the charger control
[15:55:59] <crazymonkeypants> But no luck with the keyboard backlight yet
[15:57:01] <g1powermac_PB> nice
[15:57:35] <g1powermac_PB> any info you guys find, if you want, just shoot me an email to g1powermac@yahoo.com and I'll post it up on the sf page
[15:57:53] <g1powermac_PB> I'll be putting up the jtag info soon
[15:58:49] <crazymonkeypants> I'm going to write an expect script to watch the GPIOs so that I can fool around
[15:59:05] <g1powermac_PB> cool
[15:59:17] <crazymonkeypants> That should get me a few more things, then I'll pastebin my working document
[15:59:28] <g1powermac_PB> awesome
[15:59:59] <crazymonkeypants> I need to get GPSfan to build me a new gpio driver with some modified logging; the current spew is hard to wade through
[16:01:08] * g1powermac_PB will be working on doing up usb device stuff
[16:01:23] <g1powermac_PB> so I can then work on replacing the wifi driver with an open source one
[16:01:36] <g1powermac_PB> which will then let us upgrade the kernel
[16:03:34] * g1powermac_PB wonders why my zipit sf page never shows up in google searches. . .
[16:07:53] <crazymonkeypants> Who links to it?
[16:08:05] <g1powermac_PB> currently it seems just irc loggers
[16:09:14] <crazymonkeypants> g1: what's the USB stuff required for?
[16:09:36] <g1powermac_PB> so you can do usb gadget ethernet
[16:09:55] <g1powermac_PB> so you can still ssh into the zipit but bypass the wireless allowing you to work on the wireless stuff
[16:10:45] <crazymonkeypants> Got it; without requiring hacking the unit apart for serial
[16:10:52] <g1powermac_PB> yea
[16:11:00] <crazymonkeypants> That means that folks will need to make a cable, but that's not too bad
[16:11:02] <g1powermac_PB> though I'll be doing that to get the usb gadget stuff to work :-)
[16:11:25] <g1powermac_PB> yea, once I get the usb gadget stuff working, all you need is the cable and a replacement kernel
[16:11:41] <g1powermac_PB> which can easily be done I think from the sd card directly
[16:12:59] <crazymonkeypants> You could write a z2script that updated the mtd, I'm sure.
[16:13:16] <g1powermac_PB> yea, thats what I'm thinking
[16:41:01] <GPSFan> crazymonkeypants: if you have a patch against the gpio_driver.c I can build you a now module.
[16:41:47] <GPSFan> crazymonkeypants: or just edit the .c file, passtebin it and I'll build it from there.
[16:43:36] <crazymonkeypants> Wilco. I will probably do something disgusting so that I can binary patch it to get the filtering I want
[16:43:53] <crazymonkeypants> I'm using cut and paste to sniff the GPIOs
[16:44:06] <crazymonkeypants> Found most of the keyboard special buttons now
[16:45:33] <GPSFan> crazymonkeypants: the only gotcha is that you have to document what you are doing on either g1powermac's or the edev wiki.
[16:46:06] <crazymonkeypants> Sure; I just don't want to rush into print
[16:46:42] <crazymonkeypants> Here, let me pastebin the GPIO map I have
[16:46:45] <GPSFan> that's ok, bur some docs will be useful to others (like me)
[16:46:50] <GPSFan> swell
[16:47:40] <g1powermac> heh, yup
[16:47:48] * g1powermac wishes he could've setup a wiki on sf
[16:48:22] <crazymonkeypants> Merry Christmas
[16:49:09] <crazymonkeypants> I have a decoder for the I2S bitbang in the GPIO logs if you want it
[16:49:15] <crazymonkeypants> It's not quite perfect but it does a good enough job
[16:50:34] <GPSFan> swell
[17:05:57] <Switchcat> g1powermac - arn't you jumping ahead a bit? :P
[17:06:37] <crazymonkeypants> g1: so you don't have a wiki?
[17:06:55] <crazymonkeypants> I was a bit hesitant to put this up on the Aeronix wiki because I wasn't sure how they felt about having this sort of stuff there
[17:07:03] <crazymonkeypants> If they're cool with it, then I'm sure I could do something
[17:07:21] *** jhaluska has quit IRC
[17:10:50] <Switchcat> I thought ZipIt was spun off of aeronix
[17:11:31] <crazymonkeypants> It may be...
[17:11:42] <crazymonkeypants> In which case I'll call it the Zipit wiki 8)
[17:11:49] <crazymonkeypants> Hmm, some bugs in my GPIO table
[17:11:55] <crazymonkeypants> Nothing critical so far
[17:14:04] <crazymonkeypants> But no sign of the keyboard backlight
[17:16:39] <Switchcat> I'm wondering if anybody has spoken to/worked with the Angstrom folks on this
[17:18:21] <crazymonkeypants> Sneaky. Blob has already configured it for PWM
[17:18:52] <GPSFan> g1powermac: you get your z2 yet?
[17:23:41] <crazymonkeypants> Angstrom?
[17:24:00] <crazymonkeypants> I did spend a few minutes looking to see if Android existed in any publically buildable form, but the answer seems to be no
[17:29:59] <ATravelingGeek> People have gotten Android running on phones...
[17:30:45] <ATravelingGeek> So *somehow* or another it's buildable
[17:31:13] <Switchcat> www.angstrom-distribution.org
[17:33:35] *** Magon has quit IRC
[17:35:58] <crazymonkeypants> Interesting. The beagleboard is also a nifty thing
[17:36:18] <Switchcat> yeah it's an ARM based distro that seems to have brought together a number of groups
[17:37:31] <Switchcat> they seem to be recommending some rather expensive development hardware...
[17:39:56] <crazymonkeypants> Angstrom?
[17:40:55] <Switchcat> yes
[17:41:10] <crazymonkeypants> I'm not sure the beagleboard counts as expensiuve
[17:42:06] <crazymonkeypants> (I don't actually see anything about recommended hardware)
[17:46:20] <Switchcat> in comparison to a $36-$50 Z2, lots of stuff is expensive. :)
[17:48:07] <crazymonkeypants> mm, true
[17:48:55] <Switchcat> if we can get more people developing a unified distro with a z2 as a cheap entry point towards making it work, the better. :)
[17:52:46] <crazymonkeypants> 8)
[17:53:06] <crazymonkeypants> I found ethicalclone's keyboard driver sources. This makes more sense of a bunch of stuff. Yippee.
[17:53:08] *** aesonn has joined #zipit
[17:53:10] <unrest> which solar cell to buy? 1V 500mA or 5V 150mA?
[17:53:29] <unrest> (for a BEAM solar dancer)
[17:56:03] *** aesonn has left #zipit
[17:56:10] *** aesonn has joined #zipit
[17:56:13] <Switchcat> must spread the wisdom of the z2 to gain more developers and hackers.
[17:58:54] <ATravelingGeek> I found out about the z2 at HOPE, actually
[17:59:07] <ATravelingGeek> Someone mentioned it, I thought it was cool and ordered one
[18:14:59] *** unrest has quit IRC
[18:18:04] *** drmikecrowe has quit IRC
[18:18:06] *** [1]drmikecrowe has joined #zipit
[18:24:31] <[1]drmikecrowe> crazymonkeypants, can you post his keyboard sources on the wiki somewhere?
[18:35:50] <crazymonkeypants> DrMike: they are actually there already
[18:36:10] <crazymonkeypants> http://linux.zipitwireless.com/browser/openembedded/packages/linux/linux-zipit2/zipit2-keyboard.patch?rev=12
[18:37:11] <crazymonkeypants> Is there any chance of having a little information on the care and feeding of the AER915 ?
[18:37:41] <crazymonkeypants> If folks are going to roll their own kernels, it would be good to know what is smart and not smart to do
[18:48:27] <crazymonkeypants> New GPIO map on the pastebin, fixes many bugs
[18:53:24] *** Crofton has quit IRC
[19:03:59] <g1powermac> GPSFan, yup
[19:04:09] <g1powermac> crazymonkeypants, no, but I run the sf site
[19:04:17] <g1powermac> so I just add new stuff to it
[19:04:55] <GPSFan> g1powermac: is it the new rev board?
[19:05:35] <g1powermac> not sure, haven't opened it yet
[19:08:02] <GPSFan> ah, I haven't opened my second one either.
[19:16:51] *** Crofton has joined #zipit
[19:24:24] * g1powermac has been really busy these past two days
[19:24:33] <g1powermac> parents got me a dog for my birthday :-)
[19:37:57] <g1powermac> http://www.flickr.com/photos/77471288@N00/2717552193/
[20:12:16] <ATravelingGeek> Is there any way to not need to do ipkg install [packages] at every boot?
[20:19:43] <ATravelingGeek> never mind... it does that anyways
[20:53:53] *** Crofton has quit IRC
[21:07:47] *** Crofton has joined #zipit
[21:49:41] *** FireEgl has quit IRC
[21:56:11] <[1]drmikecrowe> crazymonkeypants, missed that, thanks.
[21:57:56] *** g1powermac_PB has quit IRC
[21:58:21] *** g1powermac has quit IRC
[22:04:01] *** FireEgl has joined #ZipIt
[22:11:38] *** aesonn has quit IRC
[22:16:38] *** aesonn has joined #zipit
[22:37:11] *** aesonn has quit IRC
[23:13:39] *** asantoni has joined #zipit
[23:52:36] *** crazymonkeypants has quit IRC
[23:54:35] *** GPSFan has quit IRC