IRC Logs

29. 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:22:06] <Limp_Trizkit> Switchcat: I bought a microsd card with the mini and normal adapters
[00:22:16] <Limp_Trizkit> i figure if you ever get bored
[00:22:22] <Limp_Trizkit> you don't waste the card and it's usable in something else
[00:22:42] <Limp_Trizkit> (i think this is the only device i've ever touched with a minisd slot)
[00:29:22] <Switchcat> yeah I have a PDA (that wound up getting a cracked screen. :'( ) that has a minisd slot.. I probably already have a card from that but of course if I wind up gettign this, probably want to get a nice large one.
[00:42:04] <crazymonkeypants> LT: did your micro-SD end up supporting SPI mode?
[00:43:11] <Limp_Trizkit> oh was i supposed to be testing that?
[00:43:12] <Limp_Trizkit> lol
[00:43:18] <Limp_Trizkit> i'll make a note for tomorrow
[00:56:51] <crazymonkeypants> Well, it will only work in the Z2 if it does
[00:57:06] <crazymonkeypants> So if it works, that's interesting. I had heard that SPI mode was optional for microSD
[00:57:26] <crazymonkeypants> I had no idea whether "comes with an adapter" means that it does or not...
[00:57:48] <crazymonkeypants> hence I was curious 8)
[00:58:13] <Switchcat> SPI mode?
[01:00:27] <crazymonkeypants> You can talk SPI to SD cards
[01:00:35] <Limp_Trizkit> wtfWOOTOFF?
[01:00:42] <crazymonkeypants> I get the impression there's slightly less of the card services BS that way
[01:04:22] <ATravelingGeek> Limp_Trizkit: indeed there is one
[01:04:28] <Limp_Trizkit> yup
[01:04:34] <Limp_Trizkit> didn't i just tell you that?
[01:05:29] <ATravelingGeek> I already knew, but sure. It's not exactly unexpected either
[01:05:45] <Limp_Trizkit> but they only ever happen on thursdays
[01:05:46] <Limp_Trizkit> lol
[01:05:56] <ATravelingGeek> It's woot's birthday today
[01:05:57] <Limp_Trizkit> i.e. thursday into friday
[01:06:00] <Limp_Trizkit> today?
[01:06:09] <ATravelingGeek> Yup
[01:06:14] <ATravelingGeek> The newsletter hinted to it too
[01:06:29] <Limp_Trizkit> ah
[01:13:48] <Switchcat> what is SPI ?
[01:17:43] <Switchcat> oh, is this the same thing as SDIO?
[01:17:59] <Switchcat> as in, can it use SD cards other than memory cards?
[01:18:08] <Switchcat> or, minisd as the case may be
[01:37:11] <ATravelingGeek> (now for something not related to woot)
[01:37:30] <ATravelingGeek> Has anyone else had keys either be ignored or repeated while typing on the Z2 while in linux?
[01:37:36] <ATravelingGeek> (and related, is there a ctrl key?)
[01:45:40] <Switchcat> (isn't everything you do on the z2 done "while in linux"?)
[01:46:06] <ATravelingGeek> If the main OS runs nix, then I suppose so...
[01:46:21] <ATravelingGeek> I played with the main OS long enough to know it was going to run OE the rest of the time
[01:46:36] <Switchcat> heh
[01:46:40] <Switchcat> so what do you do with yours?
[01:46:58] <Switchcat> (I just found out about it and am interested in hearing what everybody has gotten it to do/finds it useful to do...)
[01:47:05] <ATravelingGeek> No idea... just seemed like a neat gadget that had wifi and ran linux :)
[01:47:16] <Switchcat> you have no idea what you do with yours?
[01:47:37] <ATravelingGeek> I got it a few days ago, and am at the point where OE runs
[01:47:44] <ATravelingGeek> I've done nothing since then
[01:48:14] <Switchcat> ah
[01:48:30] <Switchcat> I'm still wondering why there is no precompiled EL distro yet
[01:48:52] <Switchcat> for this device that is, there are plenty of existing starting points
[01:51:08] <crazymonkeypants> The slot is in theory capable of sdio
[01:51:27] <crazymonkeypants> but the only driver hooked up is the SPI one for memory cards
[01:52:36] <Switchcat> hooked up? you mean included in the native OS/kernel?
[01:53:17] <Switchcat> or is it a hardware issue with the actual chips (not the firmware/OS)
[01:54:54] <crazymonkeypants> I mean I don't think it's in the native OS/kernel
[01:55:28] <crazymonkeypants> I don't actually even know if there's a driver for the PXA SDIO or if there are issues with it
[01:55:35] <crazymonkeypants> DMA on the device is a bit exciting
[02:03:16] <Switchcat> whee
[02:03:20] <Switchcat> I think it's time to sleep
[02:04:30] *** unrest has joined #zipit
[02:08:04] <unrest> good morning
[02:42:28] *** Mathman952 has joined #zipit
[02:58:41] *** Limp_Trizkit has quit IRC
[02:58:42] *** Mathman952 is now known as Limp_Trizkit
[06:50:43] *** asantoni has joined #zipit
[07:08:19] *** g1powermac_PB has joined #zipit
[08:06:20] *** jhaluska has joined #zipit
[08:08:15] *** jhaluska has quit IRC
[08:08:44] *** jhaluska has joined #zipit
[08:50:46] *** GPSFan has joined #zipit
[09:20:32] *** Fire_Egl has quit IRC
[10:03:36] *** T0mW has joined #zipit
[10:03:42] <jhaluska> Hi Tom
[10:03:50] <T0mW> Good morning
[10:07:51] <jhaluska> T0mW: Done painting yet?
[10:56:02] *** aesonn has joined #zipit
[11:08:08] <T0mW> jhaluska: no, still ripping out carpet, pulling staples, cleaning, etc.
[11:35:27] *** T0mW has quit IRC
[11:48:32] *** aesonn has quit IRC
[12:44:25] *** aesonn has joined #zipit
[13:41:18] *** T0mW has joined #zipit
[14:11:46] *** aesonn has quit IRC
[14:41:57] *** Magon has joined #zipit
[14:49:05] *** T0mW has quit IRC
[15:38:59] *** Mathiasdm has joined #zipit
[16:16:18] *** asantoni has quit IRC
[16:16:39] *** asantoni has joined #zipit
[16:45:49] *** Magon has quit IRC
[16:48:30] *** Mathiasdm has quit IRC
[17:02:31] *** jhaluska has quit IRC
[17:36:31] *** g1powermac has joined #zipit
[17:36:40] <g1powermac> woot, I'm back in business
[17:36:47] <g1powermac> finally got my z2 replacement in today
[18:13:06] <unrest> congratz
[18:13:29] <unrest> my two spare miniSD cards are broken, so i'm not gonna be able to experiment with xorg and fluxbox until they are replaced... :7
[18:24:30] * g1powermac_PB will start playing with replacing the current linux build on the z2 itself
[18:27:31] <unrest> uh huh?
[18:27:33] <unrest> how so?
[18:27:36] <unrest> via a serial port?
[18:28:21] <g1powermac_PB> jtag
[18:28:27] <g1powermac_PB> and the serial port
[19:21:41] <crazymonkeypants> It might be a good idea to start by building a new blob
[19:22:03] <crazymonkeypants> if you get the USB device mode stuff to work, you can make a cable to talk to the expansion port
[19:22:40] <crazymonkeypants> I still can't get xdownload to work
[19:22:47] <crazymonkeypants> but I'm nearly done with my poke-based loader
[20:12:54] <ATravelingGeek> Is it possible to hit ctrl+c on the zipit?
[20:18:46] <bryguy[lap]> yes.
[20:19:00] <ATravelingGeek> How?
[20:19:10] <bryguy[lap]> ... + C
[20:19:23] <ATravelingGeek> awesome, thanks
[20:23:19] <ATravelingGeek> Also (I guess I should post this on the bug tracker) the prepSDcard.pl script won't complain if mkdosfs isn't present
[20:35:23] *** Limp_Trizkit has quit IRC
[20:37:33] *** Limp_Trizkit has joined #zipit
[20:42:20] *** unrest has quit IRC
[21:03:03] <Switchcat> broken miniSD cards? how did they 'break'?
[21:03:37] <crazymonkeypants> Woot
[21:03:40] <crazymonkeypants> The pokeloader works
[21:03:53] <crazymonkeypants> At least, the first stage does
[21:09:20] <Switchcat> so crazy, have I asked you yet what you use your zipit for/what you do with it?
[21:11:12] *** joejaxx has quit IRC
[21:26:53] <crazymonkeypants> You haven't
[21:26:59] <crazymonkeypants> I'm just tinkering with it as a toyu
[21:27:25] <crazymonkeypants> It's a fairly beefy ARM with a screen, wifi and reasonable documentation for most of the parts
[21:45:47] *** asantoni_ has joined #zipit
[21:49:49] <ATravelingGeek> Anyone else had an issue with the keyboard repeating/ignoring keys?
[21:49:55] <crazymonkeypants> Yes
[21:49:59] <g1powermac_PB> yup
[21:50:26] <crazymonkeypants> I'm not sure if it's the buttons on the debounce
[21:50:51] <crazymonkeypants> meh, debugging my s-record downloader by guesswork is too hard
[21:50:54] <crazymonkeypants> On to writing stuff in C
[21:51:01] <ATravelingGeek> Alright, as long as it's not me. Making entering commands a pain though
[21:51:38] <g1powermac_PB> yup
[21:52:12] <ATravelingGeek> Also, is it possible to query the battery status / turn on/off the keyboard backlight yet?
[21:55:51] <crazymonkeypants> I'm working on stuff related to that
[21:56:08] <crazymonkeypants> From the Z1 Y! group, I think you need to talk to the LPC915 to get battery voltage
[21:56:19] <crazymonkeypants> the backlight is probably a GPIO
[21:57:06] <crazymonkeypants> The Aeronix kernel patches include a GPIO driver
[21:57:23] <crazymonkeypants> And there is text in the Zipit2 app that mentions a bit-bang I2C driver
[21:57:35] <crazymonkeypants> Which makes not a lot of sense to me given the PXA270 has I2C built in
[21:58:13] <crazymonkeypants> So the long answer is "when I or someone else works out where the GPIOs are hooked up"
[21:58:23] <crazymonkeypants> Then you'll be able to write some code to talk to the LPC915
[21:58:41] <crazymonkeypants> If someone is building kernels, I'd love then to uncomment the printk's in the gpio driver and send us a log
[22:00:59] *** asantoni has quit IRC
[22:05:25] *** g1powermac_PB has quit IRC
[22:05:59] *** g1powermac has quit IRC
[22:06:20] *** asantoni__ has joined #zipit
[22:07:42] *** asantoni_ has quit IRC
[22:11:28] *** FireEgl has joined #ZipIt
[22:14:42] <ATravelingGeek> And apparently the screen goes all wonky after so many minutes of inactivity
[22:15:28] <crazymonkeypants> Yes; it's trying to turn it off
[22:15:48] <crazymonkeypants> If you have serial set up, you can see the printk out of the kernel as it does
[22:15:53] <GPSFan> crazymonkeypants: would you like a gpio_driver.ko with the printk's uncommented?
[22:16:11] <crazymonkeypants> GPSFan: If you could also add a couple more on the cases that don't have any, that would be great
[22:16:24] <crazymonkeypants> I have a diff around here somewhere that I made if you'd prefer to start with that
[22:16:37] <GPSFan> why don't we try what there is first then we can add some more. can you accept dcc?
[22:16:48] <crazymonkeypants> No idea; give it a try
[22:18:22] <GPSFan> looks like not... have anywhere I can put it?
[22:18:24] <crazymonkeypants> Bad config my end, try again
[22:18:51] <crazymonkeypants> Config still bad, one sec
[22:19:42] <crazymonkeypants> Ok, third time the charm
[22:19:45] <crazymonkeypants> See if I can type
[22:20:19] <crazymonkeypants> There we go. Many thanks.
[22:20:43] <GPSFan> bingo, give that a try see if it works, if it does then we can do more.
[22:21:34] <GPSFan> my recompiled kernel works with all the original z2 modules, so I think the module should work. YMMV
[22:23:06] <crazymonkeypants> I seem to recall one of their patches turning off the module compatibility checks...
[22:24:29] <GPSFan> config_modversions is not set
[22:28:27] <crazymonkeypants> insmod: cannot insert '/lib/gspi8686.ko': Operation not permitted (-1): Operation not permitted
[22:28:30] <crazymonkeypants> Interesting
[22:35:58] <crazymonkeypants> Is there somewhere I can put my working GPIO list? On the wiki? 8)
[22:37:38] <GPSFan> the gpio module is in the initramfs and loaded real early. it also seems to be tied into the wifi modules, so you may have to rmmod al the wifi modules before insmodding the new gpio module
[22:37:52] <crazymonkeypants> Actually, it's not
[22:38:00] <crazymonkeypants> The hook to run z2script is very early
[22:38:07] <crazymonkeypants> more early, even
[22:38:08] <GPSFan> oh
[22:38:13] <crazymonkeypants> so all you have to do is hijack it there
[22:38:23] <crazymonkeypants> There are two calls to z2script in the initramfs
[22:38:27] <crazymonkeypants> The second one is very misleading
[22:38:44] <crazymonkeypants> I am just working through the log from Zcovery
[22:39:09] <crazymonkeypants> Its a bit noisy; I expect that the bitbang I2C is going to result in a lot of chatter
[22:39:42] <crazymonkeypants> The only two other things it would be good to have logged are the IO_READ and IO_WRITE calls I think
[22:40:56] <GPSFan> ah, there it is, my bad It's been a while since I messed with the z2 startup hijack.
[22:41:21] <GPSFan> pastebin the log for now.
[22:41:24] <crazymonkeypants> No worries; sorry I didn't give you a success ack back - I got distracted with all the pretty numbers 8)
[22:42:12] <GPSFan> ah, so the module did load, I was thrown of by your insmod issue with the gspi8686.ko module
[22:43:08] <crazymonkeypants> That was just while I was messing around trying to work out how to get the unit to recognise the SD card
[22:43:28] <crazymonkeypants> I had it apart and the battery was disconnected
[22:43:54] <crazymonkeypants> It seems most reliable when the AC is not connected but the battery is
[22:43:57] <GPSFan> my microsd to minisd adapters are often flakey and I have to bend them a bit to get them to work
[22:46:10] <crazymonkeypants> Hm
[22:46:18] <crazymonkeypants> Is there a way to attach binaries to the pastbin?
[22:46:21] <crazymonkeypants> These logs are very large
[22:47:07] <crazymonkeypants> nvm
[22:47:29] <GPSFan> don't know. since it's a paste"BIN" I would think so.
[22:48:11] <crazymonkeypants> Sadly, no
[22:48:19] <crazymonkeypants> It will require a modicum of inventiveness to recover
[22:48:29] <GPSFan> ah, well....
[22:59:23] <crazymonkeypants> Found the backlight control, I think
[23:01:16] <GPSFan> do you have devmem2?
[23:01:39] <crazymonkeypants> Sadly, no idea what you're talking about
[23:02:19] <GPSFan> ah, devmem2 is a command line utility to read/write memory locations. very useful in figuring out gpio's
[23:02:33] <crazymonkeypants> Ah
[23:02:42] <crazymonkeypants> I was just going to write something and load it from blob
[23:02:52] <crazymonkeypants> But the backlight looks like it's on GPIO11
[23:02:55] <crazymonkeypants> aka PWM2
[23:03:23] <crazymonkeypants> And the bitbang I2C seems to be on 117/118, which is oddly enough where the hardware I2C is
[23:03:34] <GPSFan> use blob's peek & poke
[23:03:46] <crazymonkeypants> Much too slow
[23:03:58] <crazymonkeypants> Well, I guess I do have expect talking to blob
[23:04:02] <crazymonkeypants> That's gross, you know
[23:04:25] <GPSFan> too slow just to turn on a gpio?
[23:04:54] <GPSFan> oh, you were talking about I2C... ;>P
[23:07:20] <crazymonkeypants> Turning on/off is one thing
[23:07:24] <crazymonkeypants> I want to watch for things as well
[23:07:36] <crazymonkeypants> e.g. when I pull the battery, the TI battery chip changes a signal
[23:07:39] <crazymonkeypants> I want to see that happen in realtime
[23:07:46] <crazymonkeypants> Too slow to type lots of peek commands
[23:07:55] <crazymonkeypants> but I can easily talk to blob
[23:08:14] <GPSFan> yeah, you need a logic analyzer
[23:08:29] <crazymonkeypants> Not so much
[23:08:35] <crazymonkeypants> unless you mean one in software
[23:08:51] <crazymonkeypants> If I could build usermode binaries for the Z2 on my mac, I'd be set
[23:08:58] <crazymonkeypants> Since the gpio driver does the business
[23:09:56] <GPSFan> yeah, a software one, easier to setup and connect to then hardware.
[23:11:32] <crazymonkeypants> So it looks like the kernel tweaks a few GPIO settings
[23:11:37] <crazymonkeypants> Then Zcovery tweaks a bunch more
[23:11:41] <GPSFan> can't help you there, my wife has the MAC here and doesn't do low level development
[23:11:56] <crazymonkeypants> but the Zipit2 app doesn't do any more changes
[23:12:15] <GPSFan> what is Zcovery?
[23:12:25] <crazymonkeypants> There are two apps that run off the ffs
[23:12:32] <crazymonkeypants> Zcovery seems to be the updater app
[23:12:42] <crazymonkeypants> Zipit2 is the messenger app
[23:16:43] <GPSFan> gee, I don't see any Zcovery in my mtd.2 or in the files list I did. how strange....
[23:17:58] <crazymonkeypants> /mnt/ffs # ls -l
[23:17:58] <crazymonkeypants> -rw-r--r-- 1 root root 526 Jan 1 00:07 411.xml
[23:17:58] <crazymonkeypants> -rw-r--r-- 1 root root 105822 Jan 1 00:06 BlueGlow.jpg
[23:17:58] <crazymonkeypants> -rw-rw-r-- 2 root root 1519952 Jan 1 00:04 Resource.arl
[23:17:58] <crazymonkeypants> -rw-rw-r-- 2 root root 1519952 Jan 1 00:04 Resources.arl
[23:17:58] <crazymonkeypants> -rwxrwxr-x 1 root root 1292640 Mar 6 2008 Zcovery
[23:18:00] <crazymonkeypants> -rwxrwxr-x 1 root root 3578680 Jan 1 00:05 Zipit2
[23:18:02] <crazymonkeypants> -rw-r--r-- 1 root root 1707 Jan 1 00:00 properties.txt
[23:18:04] <crazymonkeypants> -rw-r--r-- 1 root root 3113 Jan 1 00:06 serversettings.xml
[23:18:06] <crazymonkeypants> -rw-r--r-- 1 root root 3113 Jan 1 00:06 serverstationz.xml
[23:18:08] <crazymonkeypants> -rwxrwxr-x 1 root root 560 Mar 3 2008 start.sh
[23:18:10] <crazymonkeypants> -rwxrwxr-x 1 root root 532 Mar 4 2008 versions.xml
[23:18:12] <crazymonkeypants> drwxr-xr-x 2 root root 0 Jan 1 00:00 wpa_supplicant
[23:19:03] <GPSFan> I copied these files out of the mtd.2 partition:
[23:19:05] <GPSFan> drwxr-xr-x 3 kenm kenm 4096 2008-01-01 09:15 .
[23:19:05] <GPSFan> drwxr-xr-x 32 kenm kenm 4096 2008-07-23 20:25 ..
[23:19:05] <GPSFan> -rw-r--r-- 1 root root 1202 1969-12-31 17:00 411.xml
[23:19:05] <GPSFan> -rw-r--r-- 1 root root 15383 1969-12-31 17:01 Free-GoldenHills.jpg
[23:19:05] <GPSFan> -rw-r--r-- 1 root root 734 1969-12-31 18:36 properties.txt
[23:19:08] <GPSFan> -rw-rw-r-- 1 503 501 1491136 2007-11-14 07:45 Resources.arl
[23:19:09] <GPSFan> -rw-r--r-- 1 root root 2025 1969-12-31 17:02 serversettings.xml
[23:19:11] <GPSFan> -rw-r--r-- 1 root root 2025 1969-12-31 17:02 serverstationz.xml
[23:19:13] <GPSFan> -rwxr-xr-x 1 503 501 510 1979-12-31 21:00 start.sh
[23:19:15] <GPSFan> drwxrwxr-x 2 503 501 4096 1969-12-31 17:00 wpa_supplicant
[23:19:17] <GPSFan> -rwxr-xr-x 1 root root 3466080 1969-12-31 17:09 Zipit2
[23:19:38] <crazymonkeypants> Did you ever let yours self-update?
[23:20:17] <crazymonkeypants> /mnt/ffs # cat versions.xml
[23:20:17] <crazymonkeypants> <versions>
[23:20:17] <crazymonkeypants> <application>
[23:20:17] <crazymonkeypants> <ver>1.13A</ver>
[23:20:18] <crazymonkeypants> ...
[23:20:54] <GPSFan> yeah, mine is at 1.13 IIRC. byt that was before the payfor change in the business plan.
[23:21:19] <GPSFan> it's never been self updated since the first time it went from 1.00 to 1.13
[23:22:30] <GPSFan> your Zipit2 app is a different size and Zcovery has a date of march 8.
[23:22:41] <GPSFan> March 6 that is.
[23:23:38] <crazymonkeypants> Wheras your dates are not to be trusted 8)
[23:23:55] <crazymonkeypants> Ok, so 117 and 118 are definitely SCL and SDA
[23:26:51] <GPSFan> you need to get a userland build environment going so you can run programs. lmsensors has some utilities for i2c that can use the bitbanged driver.
[23:27:46] <crazymonkeypants> Well
[23:27:56] <crazymonkeypants> The bitbang code is in the Aeronix apps
[23:28:04] <crazymonkeypants> But yes, I do
[23:28:07] <crazymonkeypants> Which I guess means a linux machine
[23:28:13] <GPSFan> or vmware
[23:28:28] <crazymonkeypants> Honestly I'm not sure which is worse 8)
[23:30:53] <GPSFan> gotta run, cul...
[23:31:41] <crazymonkeypants> enjoy!
[23:31:53] *** GPSFan has quit IRC