IRC Logs

01. 02 2010

2010 2
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
[00:04:12] <Mcavity[A]> bruce campbel vs frankenstine is next
[00:05:13] <ogmious09> they were supposed to throw him into the sequel to Freddy versus Jason
[00:05:25] <Mcavity[A]> ya
[00:06:48] <ogmious09> Seems like Sony is gonna reboot Spiderman now so Raimi and Toby aren't gonna be in. Might free Raimi up to do the fourth film
[00:07:54] <Mcavity[A]> one can dream lol
[00:10:14] <Mcavity[A]> ohh ong bak 3
[00:10:19] <Mcavity[A]> yay tony jaa
[00:10:29] <ogmious09> Maybe they can do a old ash passing the torch to a new Deadite Hunter story. Sure Shyla Le Buff or what's his shit would be a go for it
[00:12:13] <Mcavity[A]> i could see that.. though ghost busters 3 may be that way
[00:12:30] <ogmious09> Murray is gonna be dead
[00:12:56] <ogmious09> Hell Dimension New York
[00:13:11] <ogmious09> With Ben Stiller
[00:13:50] <ogmious09> got bad feeling Seth Rogen will work his Dork butt into it somehow too
[00:16:29] <ogmious09> man the Thousand Agent Smith Fight Scene from the Matrix gives me Gas
[00:17:57] <wicknix> jagsph_, you can see the fullscreen keybinding effect here: http://www.hostwork.com/users/matt/zipitz2/image/
[00:18:51] *** Mcavity[A] has quit IRC
[00:19:01] *** Mcavity[A] has joined #zipit
[00:19:10] <Mcavity[A]> ok back
[00:19:26] <ogmious09> Hey welcome back you
[00:19:40] <ogmious09> Don't ever leave me like that again
[00:19:51] <Mcavity[A]> lol
[00:20:47] <Mcavity[A]> i think i figured out what the problems were on the other card.. i had a tiny swap partion
[00:20:52] <Mcavity[A]> like 30 megs.
[00:21:05] <ogmious09> so what size you got now?
[00:21:14] <wicknix> yea, i found anything over 40mb is ok
[00:21:20] <wicknix> less=no good
[00:21:27] <Mcavity[A]> i think its 256 meg
[00:23:01] <ogmious09> So who is gonna figure out how to Overclock this thing?
[00:23:20] <Mcavity[A]> oalready been done i think
[00:24:51] <jagsph_> wicknix: how much overhead does the bar on the screen add?
[00:24:54] <ogmious09> wicknix overclock?
[00:25:16] <wicknix> jagsph_, not much
[00:25:35] <wicknix> i had to start it last though with sleep 7
[00:25:47] <wicknix> after matchbx-window-manager
[00:26:12] <wicknix> that way it loads just after the battery monitor
[00:26:34] <wicknix> otherwise it starts too fast and slows the loading of rox-filer
[00:27:05] <jagsph_> wicknix: i might experiment with it a bit, the *full screen* keybinding ise useful
[00:27:11] <wicknix> ogmious09, install cpufreqd and play around :)
[00:27:27] <jagsph_> thats one of the reasons i didnt include the bar
[00:27:30] <wicknix> yeah, it removes all taskbars/winborders :)
[00:27:48] <wicknix> nice having a cpu meter, wifi meter, menu etc etc
[00:28:29] <jagsph_> yeh, can you integrate the .apps to the menu
[00:28:38] <wicknix> i did :)
[00:29:23] <jagsph_> Now u have me wanting to add it
[00:29:26] <wicknix> cp them to /usr/share/applications and rename to .desktop
[00:29:29] <wicknix> heh
[00:29:52] <wicknix> and cp your icons over to /usr/share/pixmaps also
[00:30:03] <ogmious09> I swear I just hear my laptop speaker static fart
[00:30:12] <wicknix> then restart matchbox and bam, there ya go
[00:30:14] <ogmious09> did someone do something to make it makes a noise in here?
[00:30:45] <jagsph_> wicknix can u use matchbox-remote or some other method to make something launch full screen?
[00:30:51] <wicknix> jagsph_, you can also add those apps to the taskbar as quick launch icons, like i did for the task manager
[00:31:20] <wicknix> you might be able to use matchbox -remote .. i didnt think of that
[00:31:36] <wicknix> otherwise ctrl+f isnt much hassle
[00:32:25] <wicknix> i now you can minimze taskbar with matchbox -remote, but then you cant unhide it unless you do it through matchbox -remote :-/
[00:32:39] <wicknix> thats a hassle
[00:32:58] <jagsph_> wicknix: you can bind a key to executing a remote applications
[00:33:19] <jagsph_> - the s
[00:33:23] <wicknix> good thinking... but how many keys do we have left that arent already bound? lol
[00:33:35] <jagsph_> i dont know anymore
[00:33:41] <wicknix> heh
[00:33:58] <jagsph_> wicknix: have you got an xmessage from low battery yet?
[00:34:39] <jagsph_> i just see u are at 19% discharging .....
[00:35:01] <wicknix> no. thats the lowest ive ran it so far. just plugged it back in so i could shutdown and pull the card to upload those pics
[00:36:02] <jagsph_> its supposed to shutdown when /proc/apm shows 46
[00:36:29] <wicknix> % ?
[00:36:39] <jagsph_> note that the charge percent and /proc/apm are different numbers
[00:36:50] <jagsph_> /proc/apm reads between 40 and 90
[00:36:58] <jagsph_> 40 and 80 when on battery
[00:37:24] <wicknix> yeah i noticed that was funky as matchbox-panel-applet for the battery wigged out with no info
[00:37:54] <jagsph_> the binary battlevel shows the correct level....
[00:38:04] <jagsph_> although it wigs out a little too
[00:38:10] <wicknix> yes i know. i told you to use that :)
[00:38:19] <jagsph_> i did find a correct way of reading the battery level....
[00:38:23] <wicknix> stolen from angstrom userland :)
[00:38:25] <jagsph_> besides that from /sys
[00:39:03] <jagsph_> ./sys/devices/platform/z2-battery/power_supply/Z2/ voltage_max voltage_min and voltage_now
[00:39:11] <wicknix> yea, however prebuilt apps that read battery level like matchbox's dont read correctlt
[00:39:20] <wicknix> as they all look for /proc/apm
[00:39:41] <wicknix> i had the same issue on the mips netbooks
[00:39:59] <wicknix> the SoC's lack some things and they 'fake' things
[00:40:17] <jagsph_> submit upstream patches to read /proc/cpuinfo and if its running on a Z2 to read from a different location
[00:40:41] <jagsph_> then notify debian to update their squeeze repo
[00:40:58] <wicknix> yeah. a simple rebuilt of the panel applets (edit battery-applet code) and it's work fine
[00:41:07] <jagsph_> "simple"
[00:41:16] <wicknix> wtf. i make no sense tonight. cant type worth a damn today
[00:41:22] *** dTal has joined #zipit
[00:41:27] <jagsph_> i was just saying u make it sound easy
[00:41:44] <wicknix> it is really. just change the code a smidge.
[00:42:06] <jagsph_> for a programmer experienced with C
[00:42:08] <wicknix> change it to look for z2 battery output rather than /proc/apm
[00:42:21] <wicknix> thatd be like editing 2 lines of code. :)
[00:42:44] <jagsph_> for me i would be creating a bash script to read between 40-80 and base that on a percentage of charge
[00:42:58] *** FiftyOneFifty has quit IRC
[00:44:01] <jagsph_> wicknix: bugfix-workaround http://rootnexus.pastebin.com/f1f619776
[00:44:06] <wicknix> thatd probably work too
[00:44:46] <jagsph_> i dunno if u were here for it. i forgot to add some code to the power-management.sh script... so the key lights stay on when u startup until the lid is closed once
[00:45:08] <wicknix> ahh. really doesnt bother me. i prefer the kb lights on
[00:45:32] <jagsph_> ok :)
[00:45:38] <wicknix> i was over 4 hours when i hit that 19% charge
[00:45:44] <wicknix> thats plenty long enough
[00:45:54] <wicknix> prob wouldve lasted another hour yet
[00:46:10] <jagsph_> really... thats rather good....
[00:46:19] <wicknix> yea, not bad at all
[00:47:00] <wicknix> brb. smoke break.
[00:51:18] *** dTal has quit IRC
[00:52:34] <wicknix> i shoulda uploaded a pic of my menu...
[00:52:41] <wicknix> next boot i'll do that
[00:55:02] <wicknix> exec matchbox-window-manager -theme z2 & sleep 7 exec matchbox-panel $@
[00:55:12] <wicknix> those are the last 3 lines in my .xinitrc
[00:57:41] <jagsph_> lol i just telnetted to my gfs laptop
[00:57:57] <jagsph_> export DISPLAY=:0 $ stacey@ubuntu:~$ while true ; do gxmessage -buttons "Yes":Yes,"No":No "Stop showing this message?"; done
[00:58:12] <jagsph_> either way shes stuck with it
[00:58:12] <wicknix> lol
[00:58:46] <wicknix> nah, xkill or killall will get rid of it :)
[00:58:55] <jagsph_> u think she knows that?
[00:59:02] <jagsph_> actually it wont..
[00:59:07] <jagsph_> it will kill the program not bash
[00:59:08] <wicknix> well, she isnt a windoze user
[00:59:21] <wicknix> so maybe
[01:00:23] <jagsph_> stacey@ubuntu:~$ xlinks2 http://www.lglan.net/vbdump/dan/3267_goatse.cx-pumpkin.jpg
[01:00:27] <jagsph_> LOL
[01:01:01] <wicknix> do you want a breakup or something? lol
[01:01:13] <Foxx> sorry everyone....
[01:01:24] <Foxx> Leapfrog Didj on www.woot.com for $25 shipped
[01:01:38] <Foxx> any of you serious embedded linux hackers out there, id suggect getting one!
[01:02:04] <jagsph_> $ xlinks2 http://www.zentastic.com/iamimport/2001/12/warning-goatsecx-closeup-1.jpg
[01:02:06] <jagsph_> lol
[01:02:09] <jagsph_> shes getting mad
[01:02:16] <Foxx> 400Mhz ARM CPU with onboard OpenGL 1.1 support, decent screen, 2Gb of onbard flashrom, with external carts
[01:02:34] <Foxx> ive got one myself, its very nice, although the hacking/homebrew is still in early stages
[01:03:06] <Foxx> one of the guys that developed the kernel for this thing is also hacking homebrew for it
[01:03:17] <Foxx> its pretty much a GPX Wiz
[01:03:19] <Foxx> same CPU and all
[01:03:43] <jagsph_> Does that mean you can put gpx wiz software on it and have a $20 gpx... literally
[01:04:32] <Foxx> not sure... but possibly with some cross compiling
[01:04:39] <Foxx> it has the same CPU, just relabeled
[01:04:44] <Foxx> google Didj Hacking
[01:05:04] <Foxx> http://blogs.distant-earth.com/wp/?p=64
[01:05:16] <Foxx> http://andrey.thedotcommune.com/2008/11/didj-hacking.html
[01:05:58] <Foxx> http://sites.google.com/site/claudeschwarz/didjhacking2
[01:06:17] <Foxx> last site has info on making your own flash cart
[01:06:26] *** wicknix has quit IRC
[01:06:32] <Foxx> so you can load your code onto an SD card
[01:06:44] <Foxx> the whole kernel is GPL
[01:06:47] <Foxx> source and all
[01:06:56] <ogmious09> OMG!!!! jagsph_
[01:07:01] <Foxx> im sure many of you here which are into this would enjoy this platform
[01:07:49] <ogmious09> Foxx
[01:07:50] <jagsph_> i might enjoy it. i will have to read more.
[01:07:58] <jagsph_> ..... omg?
[01:08:05] <ogmious09> New Project for you. We did USB Host on the Zipit
[01:08:10] *** dTal has joined #zipit
[01:08:24] <ogmious09> We all pulled straws, I pulled in your abscence, you lost
[01:08:35] <ogmious09> Well I lost but I am a dumbshit so you lost by proxy
[01:08:57] <jagsph_> no, because u dont speak through me. send me all of your zipits and ill consider it
[01:09:04] <Foxx> im a crappy embedded linux hacker, but for $25 shipped, new in box, I cant bitch about the didj
[01:09:05] <Mcavity[A]> usb host on zipit?
[01:09:11] <Foxx> plus it is a great console for the kids
[01:09:16] <Foxx> ok, back on topic
[01:09:20] <Foxx> USB Host for the Z2!?
[01:09:26] <ogmious09> jagsph_: that was some serious sick crap
[01:09:57] <Foxx> is there any public info about this yet?
[01:10:05] <Foxx> id like to see whats involved to get this working
[01:10:22] <ogmious09> Looks like a Poor man's dingoo Foxx
[01:10:38] <Foxx> ??
[01:10:52] <jagsph_> ogmious09: goatse.cx
[01:11:16] <ogmious09> The didj Foxx looks like a poor man's dingoo
[01:11:27] <Foxx> whats a dingoo?
[01:11:42] <Foxx> this thing doesnt look too hard to make games for in general, all the tools are GPL
[01:12:02] <ogmious09> You dont know what a dingoo is? Dude you're gonna nutt
[01:12:02] <Foxx> someone already has a new bootloader running
[01:12:17] <ogmious09> http://en.wikipedia.org/wiki/Dingoo
[01:12:25] <ogmious09> Poor man's PSP
[01:12:27] <Foxx> im busting a nut over the USB Host on the Z2! any info on that?
[01:12:40] <ogmious09> No, it was a request not a report
[01:12:46] <Foxx> Oh, sorrt
[01:12:49] <Foxx> sorry*
[01:12:54] <Foxx> got kinda hyped up for a second
[01:13:09] <Foxx> Yah ive seen this dingoo before, not sure if it was for me though
[01:13:12] <Foxx> cause im a shitty coder
[01:13:21] <Foxx> I still struggle with the Z2
[01:13:24] <Foxx> but im learning!
[01:13:26] <ogmious09> http://www.dealextreme.com/details.dx/sku.20217
[01:13:57] <ogmious09> The Dingoo is a emulator machine like the GPX but cheap and actually can kinda do PS1 fairly
[01:14:05] <ogmious09> already have a linux for it called dingux
[01:14:16] <Foxx> im gonna keep my eye on this one
[01:14:18] *** wicknix has joined #zipit
[01:14:28] <Foxx> im just not familliar with MIPS
[01:14:41] <Foxx> im still dealing with cross compiling for ARM
[01:14:46] <Foxx> and getting my ass kicked
[01:14:49] <wicknix> its more of a challenge, thats why i prefer it
[01:15:05] <wicknix> arm has gotten to be boring over the years
[01:15:06] <jagsph_> ogmious09 the didji has more ram
[01:15:23] <Foxx> i think the Didj has DDR too
[01:15:46] <ogmious09> wow for only 20 bucks, pretty amazing
[01:15:55] <ogmious09> wonder if it would be a good emu machine
[01:15:57] <Foxx> $25 shipped
[01:16:01] <Foxx> oh hells yeah!
[01:16:06] <Foxx> it has onboard OpenGL
[01:16:15] <Foxx> 390Mhz or so
[01:16:18] <Foxx> plenty of RAM
[01:16:26] <ogmious09> course the buttons limit the heck our of it
[01:16:32] <jagsph_> if the z2 had that ram and opengl support it would be perfect.
[01:16:34] <Foxx> it has shoulde rbuttons
[01:16:39] <Foxx> shoulder*
[01:16:41] <jagsph_> also if it didnt use minisd
[01:16:52] <Foxx> it actually has more, but not in the A-B-X-Y locations
[01:17:03] <ogmious09> brb, thanks for the lookout Foxx
[01:17:06] <Foxx> it has 2 buttons above the D-Pad
[01:17:12] *** dTal has quit IRC
[01:17:25] <Foxx> with a wee bit of hardware hacking you can probably make an ABXY style
[01:17:43] <Foxx> id be happy with NES emulation
[01:17:51] <Foxx> the source and compilers are GPL
[01:17:53] <Foxx> all the tools are
[01:18:06] <Foxx> the source that leapfrog released has a build for mplayer
[01:18:17] <Foxx> someone got it working pretty ok, but with some issues
[01:18:30] <Foxx> another guy replaced the bootloader, and that caused some issues
[01:19:19] <Foxx> the didj isnt small either, so I can actually play it!
[01:19:26] <Foxx> unlike most handhelds, they hurt my hands
[01:20:44] <jagsph_> maybe someone wants to put the z2 keyboard on the didji make a custom case and have a decent netbook for $60
[01:21:16] <Foxx> once I take mine apart, if I find the USB Host pads (unlikely) id be up for the task
[01:21:46] <Foxx> I can do CAD work, going to build a vacuform machine, one friend has a 3D extrustion printer, I have access to a laser cutter, and CNC milling
[01:22:30] <Mcavity[A]> from my understanding there is usb support directly on the cpu
[01:22:36] <Foxx> there is
[01:22:46] <Foxx> but weather there are pads for it on the PCB is to be determined
[01:23:02] <Foxx> and I dont want to pull off my CPU to find out
[01:23:14] <Foxx> there is no chance of me getting the CPU back on
[01:23:17] <Foxx> same for my Z2
[01:23:52] <Foxx> if someone sent me a fried Z2 I could pull all the BGA stuff off and probe it
[01:24:11] <Foxx> and the screen on the Didj is REALLY nice!
[01:27:18] <jagsph_> how much do u want to bet people get paid to stop working on them
[01:40:24] <jagsph_> Would anyone be interested in quake1 for Z2?
[01:43:45] *** dTal has joined #zipit
[01:44:52] <wicknix> jagsph_, http://www.hostwork.com/users/matt/zipitz2/image/z2-menu.png
[01:46:11] <Mcavity[A]> cute how much memory are you useing?
[01:46:48] <wicknix> not much more than it was without panel
[01:47:07] <Mcavity[A]> sweet
[01:47:32] <wicknix> i'll have to do tests to get accurate measurements by disabling the panel, then reenabling it
[01:47:48] <wicknix> but from memory i didnt notice much difference
[01:49:16] <wicknix> then with the fullscreen keybinding it removes the win borders and panel
[01:49:25] <wicknix> http://www.hostwork.com/users/matt/zipitz2/image/z2-browser-fscreen.png
[01:49:29] <wicknix> :)
[01:49:34] <jagsph_> wicknix: im bitbaking quake
[01:49:44] <Mcavity[A]> hehe
[01:50:01] <wicknix> might be somewhat slow
[01:50:19] <wicknix> quake1 runs on the mips netbooks fair
[01:50:32] <wicknix> prboom however runs nice on zipit :)
[01:51:03] <jagsph_> wicknix quake is bitbaked :)
[01:51:04] <wicknix> you should try building duke nukem 3d (eduke3d)
[01:51:18] <wicknix> shoudl also run nice
[01:51:26] <jagsph_> wicknix: do u want an ipk?
[01:51:39] <Mcavity[A]> have you considered alt tab to swich windows?
[01:52:00] <wicknix> jagsph_, heh no thanks :)
[01:52:05] <jagsph_> oops too late heh
[01:52:26] <wicknix> dont think my network will allow dcc anyway
[01:52:53] <wicknix> Mcavity[A], i set mine to ctrl+n (next) and ctrl+p (previous)
[01:53:54] <Mcavity[A]> i will have to find that setting
[01:54:20] <jagsph_> mcavity: ~/.matchbox/kbdconfig
[01:54:20] <Mcavity[A]> i just figure alt tab is tandard and easy on the zipit kb
[01:54:25] <Mcavity[A]> cool
[01:54:31] <jagsph_> Mcavity: ctrl+z switches windows
[01:54:53] <wicknix> Mcavity[A], the problem with the zipit is alt and ctrl are used too much for the funky keymapping
[01:55:59] <Mcavity[A]> yea limited keys
[01:56:34] <wicknix> Mcavity[A], add <ctrl>f=fullscreen while you're at it :)
[01:57:01] <Mcavity[A]> humm now shy can i not ssh in..
[01:57:11] <Mcavity[A]> is it not running?
[01:57:19] <wicknix> telnet is, not ssh
[01:58:49] <Mcavity[A]> telnetd: /usr/lib/telnetlogin: Permission denied
[01:58:52] <Mcavity[A]> doh!
[01:59:08] <jagsph_> i dont know why you are having that problem
[01:59:23] <Mcavity[A]> im useing putty
[01:59:35] <jagsph_> chmod 755 /usr/lib/telnetlogin ?
[02:00:18] *** dTal has quit IRC
[02:00:49] <jagsph_> im getting irritated my router keeps dropping the z2 from wireless
[02:03:12] <Mcavity[A]> well ftp seems to work
[02:03:51] *** dTal has joined #zipit
[02:04:19] <Mcavity[A]> but yea telnet so far is a no go
[02:05:04] <jagsph_> mcavity do this
[02:05:05] <jagsph_> op shell
[02:05:23] <jagsph_> chmod 4755 /usr/lib/telnetlogin
[02:05:29] <jagsph_> chown root:telnetd /usr/lib/telnetlogin
[02:05:46] <jagsph_> then try again
[02:05:56] <jagsph_> -rwsr-xr-- 1 root telnetd 5948 Jul 22 2008 /usr/lib/telnetlogin
[02:06:36] <Mcavity[A]> ok just got to finish puting some real music on the drive =)
[02:07:39] <jagsph_> Mcavity: did you extract your files to SDcard as root?
[02:07:49] <Mcavity[A]> yes
[02:08:06] <jagsph_> that error makes no sense to me
[02:09:15] <jagsph_> Mcavity: might tryin apt-get remove telnetd; apt-get install telnetd if what i said doesnt work.
[02:09:31] <Mcavity[A]> ok
[02:09:44] <Mcavity[A]> yea im just getting denied
[02:10:41] <Mcavity[A]> might try dropbear as that worked
[02:10:55] <Mcavity[A]> [in the past]
[02:18:40] <jagsph_> ok quake 1 is working on the z2 :)
[02:18:47] <jagsph_> very fast too
[02:21:43] <Mcavity[A]> sweet!
[02:22:22] <Mcavity[A]> hows it look?
[02:22:32] <jagsph_> just like it used to :)
[02:22:41] <wicknix> lol
[02:22:46] <Mcavity[A]> lol
[02:23:04] <wicknix> alright. nite guys. i hate when the weekend ends. *poof*
[02:23:09] <jagsph_> if you want i can post a copy
[02:23:26] <Mcavity[A]> please do =)
[02:23:31] *** dTal has quit IRC
[02:23:37] <Mcavity[A]> night wicknix
[02:23:47] <wicknix> cya'z
[02:24:00] <Mcavity[A]> man doing apt-get update is taking a while
[02:24:02] <jagsph_> im just getting the control set up
[02:24:39] <Mcavity[A]> oh i told you why i think i was haveing problems on the other card
[02:24:40] *** dTal has joined #zipit
[02:24:56] <Mcavity[A]> my swap partion was to small.
[02:29:10] <jagsph_> mcavity. i havent optimally configured the keys but i can post it online now... it works you get to be the 2nd person in the world to play quake on a z2
[02:29:25] <Mcavity[A]> sure =)
[02:29:38] <jagsph_> 3rd person to see it
[02:29:58] <Mcavity[A]> i think i was the first to play doom on a debian z2 [somone else did a oe build]
[02:30:56] <Mcavity[A]> man this thing is still updateing lol
[02:35:06] <jagsph_> well no worries im uploading the file still
[02:36:05] <jagsph_> http://rapidshare.com/files/344211388/quake-z2.tgz.html
[02:36:05] <jagsph_> MD5: 8C563D13D4D317A8C38737C0EC80EEEA
[02:36:44] <Mcavity[A]> heh rapidshare
[02:37:20] <jagsph_> my server is "out of space" until tomorrow
[02:37:45] <Mcavity[A]> its on get 47
[02:37:51] <Mcavity[A]> how many gets does it have?
[02:38:03] <jagsph_> ?
[02:38:10] <Mcavity[A]> apt-get update
[02:39:45] *** ziptnix has joined #zipit
[02:40:38] <Mcavity[A]> GET:50 https://http.us.debian.org /unstable/main 2010-01-31-2109.08.pdiff [24.3kB]
[02:41:03] <Mcavity[A]> its been working away on that for a while
[02:43:01] <Mcavity[A]> heh i should probably set the date
[02:43:37] <jagsph_> mcavity: if i played u on this u wouldnt know i was using the z2 i got side stepping and all the goodies working
[02:43:51] <Mcavity[A]> hehe sweet
[02:45:11] <Mcavity[A]> some point we have got to figure how to get a mouse onto this thing lol
[02:45:31] <jagsph_> mcavity: it works really good with the mouse emulator
[02:45:39] <jagsph_> u dont even need to disable it to play
[02:46:30] <Mcavity[A]> well i should be ready to ftp it on to my zipit in about 5 min
[02:49:12] <Mcavity[A]> ftping now
[02:50:36] <Mcavity[A]> tar xvjf quake-z2.tgz ?
[02:50:55] <Mcavity[A]> where should i put it?
[02:51:20] <jagsph_> anywhere..... its not set up to be installed
[02:51:38] <Mcavity[A]> oh so i can make a folder
[02:52:07] <jagsph_> you can put it in $HOME... tar xvzf it... makes a folder called quake...
[02:52:18] <jagsph_> open terminal go in there type ./runquake or bash runquake....
[02:53:07] <jagsph_> you can also create a custom desktop file in the apps folder for it... but you will need to modify the runquake script to cd $HOME/quake
[02:54:29] <jagsph_> After i can upload again ill package it for installation into the userland
[02:55:02] <Mcavity[A]> i put it in home/user
[02:55:37] *** dTal has quit IRC
[02:56:07] <Mcavity[A]> humm
[02:56:15] <Mcavity[A]> that.. did not work
[02:56:18] <Mcavity[A]> bad video
[02:56:28] <jagsph_> use the runquake script
[02:56:30] *** dTal has joined #zipit
[02:56:41] <jagsph_> or ./sdlquake -winsize 320 225
[02:57:31] <Mcavity[A]> whats that display command again?
[02:57:56] <jagsph_> DISPLAY=:0
[02:59:02] <Mcavity[A]> runquake gets me sideways with corrupted colors
[02:59:46] <jagsph_> its fitting the screen perfectly on mine........
[03:00:39] <Mcavity[A]> its on my end
[03:00:48] <Mcavity[A]> gime a sec think i got out of x
[03:01:55] <Mcavity[A]> i just hard reboot
[03:02:26] <Mcavity[A]> something went wonky on mine when i was doing the apt updae i think
[03:03:00] <Mcavity[A]> it was running i could tell. just in the wrong fb mode
[03:03:12] <Mcavity[A]> i have seen the same thing with doom
[03:03:43] <jagsph_> it runs good in xorg
[03:05:29] <Mcavity[A]> there we go
[03:06:48] <Mcavity[A]> now thats fairly impressive
[03:08:29] <Mcavity[A]> hell of a job jagsph_
[03:12:34] <jagsph_> that was extremely easy. btw
[03:12:49] <Mcavity[A]> now do quake 3 lol [seen it on the iphone!]
[03:13:01] <jagsph_> does quake3 have a software mode?
[03:13:30] <Mcavity[A]> i think its ogl
[03:13:54] <jagsph_> quake2 will work
[03:15:32] <jagsph_> http://www.youtube.com/watch?v=U9dj6wzCs1E
[03:15:36] <jagsph_> made a video for fun :)
[03:16:04] <Mcavity[A]> i had to crank up the bright too
[03:16:38] <jagsph_> yeh the brightness is way down in the z2 for battery saving purposes
[03:19:39] <ogmious09> how the heck are you looking up and down on the Zipit?
[03:19:42] <Mcavity[A]> yes and general thats a good thing =)
[03:19:46] <Mcavity[A]> dont need a flashlight
[03:20:09] <jagsph_> ogmious09 +mlook
[03:21:10] <ogmious09> Hmmmmmmm,...............dilemma, Should I pretend I know what that means or not? Think Think Think
[03:21:20] <Mcavity[A]> fail
[03:21:22] <Mcavity[A]> lol
[03:21:23] <jagsph_> quake1 has a feature called +mlook
[03:21:26] <jagsph_> for mouse look
[03:21:35] <jagsph_> also u can bind it to a key
[03:22:00] <ogmious09> So what keys do you have the look keys binded too?
[03:22:05] <jagsph_> Right now im trying to bitbake a few things, if it works out ill suspend development on the debian build and use OE
[03:22:15] <jagsph_> ogmious09: none now, i was just testing them and playing around.
[03:22:49] <jagsph_> It seems everytime i bitbake something it runs faster than the prebuilt binarys
[03:24:18] <Mcavity[A]> sometime im going to have to figure out how to do that
[03:24:36] <Mcavity[A]> but im such a linux noob
[03:24:49] <Mcavity[A]> i playwith it but i dont realy know it
[03:25:57] <Mcavity[A]> copying a music video mpg format 320x240 x25fps
[03:26:01] <Mcavity[A]> lsts see how it works
[03:26:58] <Mcavity[A]> i did find the ftp works better if i am on the network
[03:28:57] <jagsph_> Mcavity: should i record one... Z2 streaming porn live from redtube.com?
[03:29:34] <Mcavity[A]> lol
[03:29:36] <Mcavity[A]> nooo
[03:30:12] <ogmious09> man I want one of those Mech suits like in the Matrix
[03:31:00] <Mcavity[A]> ok well 25 fps may be a bit much
[03:31:12] <ogmious09> go 15
[03:31:29] <jagsph_> Mcavity: convert to 3gp ;)
[03:31:43] <ogmious09> usually what most encoders will throw the frames at for a device like this
[03:32:29] <jagsph_> Mcavity: try mplayer -zoom -ao oss -framedrop -vfm ffmpeg file.name.mpg
[03:34:34] <ogmious09> I have a problem with how those little squid things from the matrix move. No visible signs of propulsion
[03:35:00] <Mcavity[A]> ummm they use the earths magnetic field.. yea..
[03:35:16] <ogmious09> they move like thier full of helium
[03:37:58] <jagsph_> Mcavity: i bitbaked quake2....
[03:41:18] <Mcavity[A]> hehe
[03:41:30] <Mcavity[A]> whats the key map for )
[03:41:31] <Mcavity[A]> ?
[03:42:44] <jagsph_> ?
[03:42:53] *** Pabilo has joined #zipit
[03:43:00] <Pabilo> hi there
[03:43:06] <jagsph_> hi
[03:43:15] <Pabilo> i think i found a solution about the time and date problem
[03:43:28] <Mcavity[A]> ")" on the zipit.. not "]"
[03:43:42] <Mcavity[A]> oh?
[03:43:43] <ogmious09> lets hear it Pabilo
[03:43:51] <Pabilo> it;s not the perfect solution but very easy
[03:43:52] <jagsph_> i dont know right off hand
[03:44:11] <Pabilo> apt-get install ntpdate
[03:44:26] <Pabilo> ntpdate.pool.ntp.org
[03:44:30] <Pabilo> in the startup
[03:44:59] <Pabilo> but there has to be an internet connection
[03:45:19] <Pabilo> just use an ntp server
[03:45:57] <ogmious09> hmmmm
[03:46:49] <jagsph_> If you want to do that call it from one of the netconfig applets, use a bash script to grep and awk the inet addr after :. then use an if then statement and if its greater than for instance on then it could assume its online and run the command....
[03:47:07] <jagsph_> on=one
[03:47:42] <ogmious09> short of a manual setup each and everytime
[03:48:04] <Pabilo> i have used the script from the nexus wifi finder and when there is an wifi connection the ntp rule is added
[03:50:38] <Pabilo> in the trac i did see this http://www.hostwork.com/users/matt/zipitz2/image/z2-menu.png
[03:50:45] <Pabilo> who has made this ?
[03:51:09] <ogmious09> either jagsph_ or wicknix
[03:51:20] <jagsph_> Pabilo: thats my latest release with matchbox panel in it
[03:51:31] <jagsph_> wicknix added the matchbox-panel to it
[03:51:40] <jagsph_> you can do it with apt-get
[03:51:46] <Pabilo> i love it !!!
[03:52:06] <jagsph_> http://zipit.rootnexus.org/ if u want the rootfs its there...
[03:53:00] <Pabilo> downloading now
[03:58:25] <Pabilo> rootfs hmm i don't have a linux machine over here :( i'm at work ( sorry windows crap around here)
[03:59:44] <jagsph_> try wubi
[04:00:08] <Pabilo> what is that
[04:00:44] <jagsph_> http://wubi-installer.org/
[04:00:59] <Pabilo> ohh hmm can't install have to ask my sysadmin for permission haha
[04:01:16] <jagsph_> haha... oh find a good livecd then
[04:01:54] <Pabilo> hear this
[04:02:13] <Pabilo> my sysadmin, ehm paul what the heck is that, are you folling around
[04:02:31] <Pabilo> do i need to reformat your system
[04:02:33] <Pabilo> haha
[04:05:05] <Pabilo> i'm downloading a iso from ubuntu
[04:05:31] <jagsph_> what didnt make sense
[04:05:39] <Mcavity[A]> bla still haveing trouble with video. ill have to figure that out later
[04:08:49] <Mcavity[A]> probably the files im useing
[04:11:21] <jagsph_> Mcavity: dont worry ill have something even better soon...
[04:12:15] <Mcavity[A]> heh i belive you!
[04:12:27] <Mcavity[A]> i just know it can do it.. becouse i did it before.
[04:12:48] <Mcavity[A]> transfering one of the files i used in the past
[04:16:27] <Mcavity[A]> but i think i did it from console
[04:17:52] <Pabilo> wicknix how did you install the matchbox panel to look like that ? do you have an config file or howto ?
[04:19:17] <jagsph_> he said he changed the last line in .xinitrc
[04:19:19] <jagsph_> exec matchbox-window-manager -theme z2 & sleep 7 exec matchbox-panel $@
[04:19:27] <Mcavity[A]> ok file i did before works
[04:19:38] <Mcavity[A]> just need to find those settings
[04:19:48] <jagsph_> of course he apt-get installed matchbox-panel first
[04:20:24] <Pabilo> thats all ?
[04:22:29] <jagsph_> yeh he also had to copy my ~/.apps and ~/.icons to another place to get those in the menu...
[04:24:45] <Pabilo> cool will try that tonight, because my system doesn't boot from usb or dvd. damm sysadmin......
[04:26:22] <Mcavity[A]> lets see how this goes
[04:27:23] <Mcavity[A]> ok thats better.. just need to figure how to up quality
[04:28:16] <jagsph_> Mcavity: when you figure out the right conversion method let me know
[04:29:10] <Mcavity[A]> ok i have something you can see in about 5 min
[04:31:38] <jagsph_> im bitbaking bits and pieces of the system
[04:31:54] <jagsph_> so ill be around for a bit longer
[04:34:33] <Mcavity[A]> http://rapidshare.com/files/344247590/bigM3.avi.html
[04:34:52] <Mcavity[A]> thes a video file i did a while back
[04:47:08] <jagsph_> whats that from
[04:47:53] <Mcavity[A]> its from an open source animation group
[04:48:15] <ogmious09> Isn't that Big Buck Bunny?
[04:48:15] <Mcavity[A]> http://www.bigbuckbunny.org/
[04:48:21] <Mcavity[A]> yup
[04:49:52] <Mcavity[A]> its funny
[04:50:15] <jagsph_> you can stream that on your z2.... mplayer `youtube-dl -m -g http://youtube.com/watch?v=YE7VzlLtp-4`
[04:50:54] <Mcavity[A]> not when i made it lol
[05:06:49] <Mcavity[A]> but still playing with bit rates. see what it can handle
[05:07:32] *** _del has joined #zipit
[05:08:07] <jagsph_> theres _del. the creator of the Z2
[05:08:29] <_del> i am your god
[05:08:44] <_del> now hack my z2 that i provided u kiddies with
[05:10:42] <Mcavity[A]> lol
[05:14:26] <jagsph_> _del: when are you getting your Z2 so you can play an evenly matched game of quake against me
[05:14:59] <Mcavity[A]> grins
[05:15:08] <jagsph_> Mcavity will play you
[05:15:34] <_del> lets play now i will use my laptop and touch pad and still win
[05:15:37] <jagsph_> And you can stop being a pussy and get ubuntu 9.10 for your amd64
[05:15:52] <jagsph_> del: i only play openarena
[05:15:52] <_del> i run ubuntu
[05:15:53] <_del> on this
[05:16:14] <jagsph_> Ubuntu version Windows 6.1 ?....
[05:16:28] <_del> i'm not running it right now
[05:16:34] <_del> my wifi drivers still don't work
[05:16:36] <jagsph_> on a 1.99ghz compiled for "i586"
[05:16:44] <_del> wanna help me fix that?
[05:16:47] <jagsph_> _del: you never told me what you had
[05:17:02] <_del> broadcomm
[05:17:10] <_del> pretty sure i told u
[05:17:18] <jagsph_> i think i recall....
[05:17:20] <_del> and u gave me a link and i still couldn't get it to work
[05:17:22] <jagsph_> broadcom works but it sucks
[05:17:30] <jagsph_> want a quick fix?
[05:17:34] <_del> yeh but it never worked at all
[05:17:36] <jagsph_> under $10...
[05:17:58] <_del> why would i spend money when i already have wireless built in
[05:18:23] <Mcavity[A]> does it work?
[05:18:24] <jagsph_> because its like $5
[05:18:30] <_del> https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
[05:18:32] <jagsph_> http://shop.ebay.com/?_from=R40&_trksid=m38&_nkw=dwl+g120&_sacat=See-All-Categories get a revision B
[05:18:38] <_del> i'm using it right now in windows
[05:18:44] <_del> i just need the driver to work in linux
[05:19:17] <jagsph_> that is a very high end usb adapter that uses prism54
[05:19:27] <jagsph_> works perfectly in 9.10
[05:20:39] <ogmious09> Or just update the OS and then enable non free drivers
[05:20:39] <jagsph_> http://cgi.ebay.com/DELL-TrueMobile-1300-USB-2-0-Wireless-Adapter-802-11b-g_W0QQitemZ110486587866QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item19b98389da
[05:20:46] <jagsph_> this is a prism54 adapter also
[05:21:04] <ogmious09> Got Broadcom working fine in Ubuntu
[05:21:31] <jagsph_> He should install ubuntu 9.10 and read help.ubuntu.com. It does work but the signal strength is weak
[05:21:57] <_del> i'll just plug in w/ a cable and update like u said
[05:22:16] <ogmious09> Enable the backports and other sources first
[05:22:23] <_del> ok thx
[05:22:41] *** _del has quit IRC
[05:23:14] <Mcavity[A]> ok will have anoter video up shortly. im using a windows program to convert.. mediacell
[05:23:16] <jagsph_> ogmious09: the broadcomm drivers really are poor quality. i was barely able to get signal from 20 feet away
[05:23:30] *** zmj|zipit has quit IRC
[05:23:53] <ogmious09> Been using broadcoms in the last two laptops with ubuntu 7.10 and up
[05:24:09] <ogmious09> had to use madwifi with the first one and worked like a champ
[05:24:09] <jagsph_> Hopefully you have had better luck
[05:24:11] <Mcavity[A]> video bitrate 750 audio 64 fps 12.5 [still looks good]
[05:24:54] <ogmious09> pretty high video bitrate
[05:25:04] <ogmious09> for this thing I would think 256 max
[05:25:18] <Mcavity[A]> seems to work ok
[05:25:32] <ogmious09> more powerful that I thought then
[05:25:43] <Mcavity[A]> hell it plays quake =)
[05:25:45] <jagsph_> ogmious09: did you see the video of it running quake?
[05:25:54] <ogmious09> yeah, looked pretty lean
[05:26:00] <Mcavity[A]> how did quake 2 do jagsph_ ?
[05:26:23] <jagsph_> havent tested yet... i just downloaded quake2 shareware
[05:26:30] <Mcavity[A]> not ogl quake.. somehow i think mesa will kill it lol
[05:26:42] <Mcavity[A]> http://rapidshare.com/files/344265445/holmes-full12fps.mp4.html
[05:26:48] <jagsph_> Mcavity: ive tried mesa... its slow
[05:26:52] <jagsph_> :)
[05:26:57] <Mcavity[A]> i figured lol
[05:27:04] <ogmious09> I'd love to see Dungeon Keeper on this thing
[05:27:25] <Mcavity[A]> laughs
[05:27:32] <jagsph_> ogmious09: im working on an oe rootfs...
[05:27:32] <Mcavity[A]> wine? lol
[05:27:51] <ogmious09> That's why you're the man
[05:27:57] <Mcavity[A]> if he gets everything going it shoudl be prety quick
[05:28:28] <ogmious09> What little I know OE runs faster, so that would be Kick Ass to cin aphrase
[05:28:35] <ogmious09> *coin
[05:29:30] <jagsph_> ogmious09: portage works better than oe... btw..
[05:29:43] <jagsph_> takes a little longer building directly on the device..
[05:30:14] <ogmious09> Well, you're the man. I am gonna by whatever you say. Working pure magic on this thing already
[05:32:05] <Mcavity[A]> ok food times
[05:32:43] <jagsph_> Mcavity: i have a feeling quake2 will do very well...
[05:34:40] <Mcavity[A]> woo i hope
[05:35:31] <Mcavity[A]> so sad we cant make ad hoc networks with it
[05:35:40] <Mcavity[A]> i have 3 zipits..
[05:35:50] *** _del has joined #zipit
[05:36:05] <jagsph_> Mcavity: have you tried even though rkdavis says its not possible...
[05:36:20] <Mcavity[A]> um nope i have not
[05:36:31] <_del> updating
[05:37:05] <jagsph_> Mcavity: i would try anyway.... just to see what happens
[05:38:07] <_del> brb
[05:38:10] *** _del has quit IRC
[05:38:20] <ogmious09> jagsph get Dungeon Keeper working on this thing
[05:38:35] <ogmious09> have a feeling it running in dosbox would chug it
[05:39:22] <Mcavity[A]> installing dropbear
[05:39:32] <ogmious09> required a pentium I 90 Mhz, not sure what the emulated speed on this thing would be for dosbox
[05:40:33] <jagsph_> probably would do fine, the only thing holding this back is the graphics being in an fb
[05:42:02] <ogmious09> required SVGA, that's a step up from cvga, I think it should be able to handle it
[05:42:19] <ogmious09> know I am gonna give it a shot, that would be trick
[05:42:21] <jagsph_> quake1 requires svga
[05:42:38] <ogmious09> cga
[05:43:17] <ogmious09> well quake is running good, this should as well. Is your quake running in dosbox of nix port?
[05:43:21] <jagsph_> cga=4colors ega=16colors vga=256 colors mvga=256colors tandy=high res 16 colors
[05:43:23] <jagsph_> sdlquake
[05:44:13] <ogmious09> Hmmm, that's a native port, bit of a difference
[05:44:23] <ogmious09> well, won't hurt to try
[05:44:40] <ogmious09> has to wait till tomorrow, think my mem cards are at the shop
[05:45:34] <Mcavity[A]> dropbear worked
[05:45:44] <Mcavity[A]> yay ssh
[05:45:50] <ogmious09> giggity
[05:46:36] <Mcavity[A]> now for htop and mc
[05:46:47] *** _del has joined #zipit
[05:46:57] <_del> it was already installed
[05:47:01] <_del> i had to udo modprobe b43 to get it to work
[05:47:06] <_del> *sudo
[05:48:05] <ogmious09> why do you want mc when you got rox?
[05:48:54] <Mcavity[A]> mc is great for console
[05:49:11] <Mcavity[A]> and some things are easyer for me
[05:49:13] <ogmious09> use to have to do that to my old acer and broadcom in 8.04 _del
[05:49:44] <ogmious09> think I ended up using Madwifi to stop from havign to do that
[05:49:56] <jagsph_> _del: put b43 into your /etc/modules
[05:50:32] <ogmious09> or you could ask someone more knowledge than me
[05:50:47] <ogmious09> *with
[05:50:57] <Mcavity[A]> heh
[05:51:10] <Mcavity[A]> date is 2012010
[05:51:38] <ogmious09> man I gotta get some sleep
[05:51:44] <Mcavity[A]> go sleep
[05:51:59] <ogmious09> thought I was for awhile there
[05:52:22] <Mcavity[A]> the diji is beeing hacked right?
[05:53:11] <ogmious09> FoXX is on it. Seems like there hasn't been much going on with it for about a year now though
[05:53:37] <jagsph_> quake2 is running.........
[05:53:53] <Mcavity[A]> nice?
[05:54:02] <ogmious09> gonna post a vid?
[05:54:08] <jagsph_> well i just got it to run its going a little slow... it feels like 15fps
[05:54:18] <jagsph_> im trying to change some settings
[05:54:45] <Mcavity[A]> woot has the didj for 20.00
[05:54:53] <_del> lol put it on lowest settings
[05:54:58] <jagsph_> its not doing too bad
[05:55:22] <_del> lol solder in some more ram
[05:55:29] <Mcavity[A]> well cool =)
[05:55:41] <jagsph_> _del it doesnt have video acceleration
[05:55:45] <jagsph_> its using a direct frame buffer
[05:56:03] <_del> i said ram not vram
[05:56:39] <jagsph_> and i said it has no video acceleration which is why its going slow
[05:57:47] <Mcavity[A]> humm i wonder
[05:58:51] <jagsph_> it doesnt have a fbdev driver... its running it through sdl...
[05:59:57] <jagsph_> testing some more stuff...
[06:09:13] <jagsph_> quake2 is about 10fps
[06:09:39] <Mcavity[A]> humm well may have to work on that =)
[06:09:57] <jagsph_> drops to 5 in large areas
[06:14:31] <_del> do timerefresh
[06:14:36] <_del> in console
[06:15:56] <jagsph_> if i knew how to use the ~ on the keymap...
[06:16:27] <jagsph_> im not even working directly on the device its so slow im doing it from telnet
[06:16:58] <jagsph_> if it only had hardware accelerated video
[06:17:53] <_del> i want to run sli pci express cards in my new box
[06:18:02] <Mcavity[A]> xmame or xmame - sdl
[06:20:11] <jagsph_> http://jdolan.dyndns.org/trac/wiki/Quetoo
[06:20:17] <jagsph_> thats next on my list
[06:20:37] <jagsph_> Quetoo is up to 140% faster than stock Quake2.
[06:20:54] <Mcavity[A]> that coulddo it
[06:29:06] <jagsph_> http://rapidshare.com/files/344287453/video-2010-02-01-03-21-22.3gp.html test of playing quake2
[06:30:17] <Mcavity[A]> trying to install sdl mame
[06:43:16] <jagsph_> building quetoo...
[06:43:28] <jagsph_> so far so good...
[06:43:43] <jagsph_> it failed the md5 for some reason...
[06:44:34] <jagsph_> looks like it will be a successful build
[06:48:45] <Mcavity[A]> waits
[06:54:19] <jagsph_> have to build an older version its opengl only
[06:54:24] <jagsph_> he removed the software renderer
[06:54:32] <jagsph_> its never easy
[06:54:44] <_del> lol
[06:54:57] <_del> i can't get aircrack to inject
[06:54:58] <_del> ioctl(SIOCSIWMODE) failed: Device or resource busy
[06:55:46] <_del> ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
[06:55:46] <_del> ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
[06:55:46] <_del> sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
[06:55:46] <_del> Sysfs injection support was not found either.
[06:55:58] <jagsph_> cause u r lame
[06:56:01] <jagsph_> :)
[06:56:17] <_del> oh well i'm too tired to deal with it now
[06:57:05] <jagsph_> _del just injected ezoons into the file
[06:57:51] <_del> ...::: ezs :::...
[07:00:17] <_del> [RESOLVED] Trojan.Ezoons.D repair tool
[07:01:38] <jagsph_> $ bitbake ezoons
[07:01:38] <jagsph_> NOTE: Handling LotsOfMens Anus: \ (7977/7977) [100 %]
[07:01:38] <jagsph_> NOTE: Raping finished. 7338 cached, 312 parsed, 327 skipped, 2 masked.
[07:02:26] <_del> An art form of speach
[07:02:26] <_del> "mushashahsashhashas lol@fuck suck mushashi mushooooooooooshi!"
[07:02:34] <_del> mushooooooooooooshi
[07:02:56] <jagsph_> all this is being logged at linux.zipitwireless.com
[07:03:10] <jagsph_> :) HEH
[07:04:25] <_del> *waves*
[07:04:38] <jagsph_> ok so Mcavity
[07:04:58] <jagsph_> I got 0.5.0 built... so if this works im testing uploading and going to sleep
[07:05:02] <Mcavity[A]> ok
[07:05:16] <Mcavity[A]> quetoo?
[07:05:19] <jagsph_> yeh
[07:05:23] <Mcavity[A]> ok
[07:05:36] <jagsph_> search youtube for quetoo u can see it on some embedded devices
[07:07:04] <Mcavity[A]> nifty
[07:13:20] <Mcavity[A]> how can i figure out whre xmame installed to?
[07:15:39] *** nebukan has quit IRC
[07:17:33] <jagsph_> which xmame
[07:17:42] <jagsph_> ls /usr/share/ | grep xmame
[07:17:44] <jagsph_> ls /usr/share/ | grep mame
[07:17:55] <jagsph_> cd /usr/share/docs/*mame* ; ls
[07:17:57] *** nebukan has joined #zipit
[07:18:07] <Mcavity[A]> should be xmame
[07:18:41] <Mcavity[A]> but i cant seem to get it to launch
[07:24:03] *** zmj|zipit has joined #zipit
[07:32:59] <Mcavity[A]> drat looks liek mame doesent work
[07:33:01] <jagsph_> ok the moment of truth
[07:33:13] <jagsph_> # quetoo +set vid_width 320 +set vid_height 225 +set vid_ref softsdl +set snd_ref sdl +send snd sdl +set vid_fullscreen 0 +game baseq2 +map base1
[07:33:31] <jagsph_> what a load of crap it is to type that out
[07:35:46] <Mcavity[A]> lol
[07:46:41] <Mcavity[A]> so?
[07:49:14] <jagsph_> shareware doesnt load automatically cause it doesnt recognize the map
[07:49:16] <jagsph_> its loading now
[07:49:33] <Mcavity[A]> ahh
[07:49:48] <jagsph_> i had to find a utility called par to figure out what the demo maps were called
[07:50:07] <jagsph_> its loading a little slow..... so who knows how this will go
[07:50:11] <Mcavity[A]> doh
[07:51:00] <jagsph_> i think its low on memory......
[07:51:19] <Mcavity[A]> im going to do a time test for the battery
[07:51:31] <jagsph_> -/+ buffers/cache: 21 7
[07:51:31] <jagsph_> Swap: 203 43 160
[07:55:37] <jagsph_> how the hell does this run on a nokia tablet phone
[07:55:44] <Mcavity[A]> currently using 3 megs of swap
[07:56:00] <jagsph_> 42
[07:56:52] <Mcavity[A]> umm dunno?
[07:56:53] <Mcavity[A]> lol
[07:57:52] <jagsph_> ill have to try it with retail quake later...
[07:58:16] <Mcavity[A]> ok
[08:02:23] <Mcavity[A]> see you later.. get some sleep lol
[08:09:18] *** Adnyxo has joined #zipit
[08:21:08] <mozzwald> jagsph: cat /dev/input/event1 is the lid switch. If you can decode the keypress, maybe it tells if it's closed or open.
[08:22:14] <rkdavis> oooo mozzwald actually that might work in X -- it might give an event when running xev
[08:22:48] <rkdavis> forgot all about events in X and xev
[08:23:04] <mozzwald> i tried with showkeys, but got nothing
[08:25:14] <jagsph_> gl_sdl.c:565: undefined reference to `SDL_FreeSurface'
[08:25:14] <jagsph_> *sigh*
[08:25:26] <rkdavis> yup showkeys isn't great for much other than standard keys
[08:26:01] *** des has quit IRC
[08:26:05] <mozzwald> is there a trick to getting xev to work? when I press a key, nothing happens
[08:26:26] *** des has joined #zipit
[08:28:04] <rkdavis> yes the mouse has to be on the window
[08:28:23] *** user has joined #zipit
[08:28:29] *** user is now known as Guest30072
[08:28:43] <jagsph_> mozzwald, rkdavis: reading the count works for the display
[08:28:44] <rkdavis> it puts up a little square and the mouse/focus has to be on it for the event to show
[08:29:05] <jagsph_> why make it more complicated than it has to be. mozzwald already got it.
[08:29:12] <rkdavis> jagsph_: yes and works well but it's a bit of a /hack/ it'd be nice to know how to do it properly
[08:29:49] <mozzwald> also, if it turns on in my pocket I'm screwed
[08:29:52] <rkdavis> i don't mind hacks but i also like to know the /correct/ way to do things i'm stubborn that way
[08:30:13] *** Guest30072 is now known as mcavity-zippy
[08:30:16] <mozzwald> when I open, it will turn off the screen
[08:30:48] <rkdavis> mozzwald: well you could run something to a script that says "am i powering on and the lid closed then turn off"
[08:31:06] <jagsph_> rkdavis: i see your point but i have a philosophy and everytime i break it something happens and makes more work, if it isnt broken dont fix it....so this works fine http://zipit.pastebin.com/f5434896a
[08:31:08] <rkdavis> that is basically what the stock app does but it does it with gpio's
[08:31:59] <rkdavis> jagsph_: not saying fix it just saying be nice to know how to do it properly but it's not a biggy just be nice to know
[08:32:14] <jagsph_> rkdavis: how could you decode that, it doesnt print a constant
[08:32:51] <rkdavis> somewhere in the booting procedure put in a test for the lid closed
[08:33:39] <mozzwald> but how would you tell if it's closed? the count only shows if the switch has been triggered?
[08:33:41] <rkdavis> obviously after the /proc is mounted
[08:34:25] <rkdavis> mozzwald: details details there is bound to be a way
[08:34:41] <mcavity-zippy> you say with faith
[08:34:47] <rkdavis> not sure yet but there will be a way
[08:34:49] <mozzwald> that's what I was hoping /dev/input would output something usable
[08:34:54] <jagsph_> ok rkdavis here is how you do it
[08:35:41] <jagsph_> actually nevermind it would be doing the same thing i did but in a more complex way :)
[08:36:44] <rkdavis> :)
[08:37:13] <jagsph_> it makes no sense, but if you figure it out tell me
[08:37:32] <rkdavis> pity it isn't within the range that that can be set with setkeycodes
[08:39:23] <jagsph_> �m8�
[08:39:36] <jagsph_> ��m8)V��m8UV��m8�?��m@^C
[08:39:46] <mcavity-zippy> uhh
[08:40:08] <jagsph_> exactly
[08:40:43] <mozzwald> can you tell cat to output hex instead of ascii?
[08:40:52] <mcavity-zippy> i got mame to install.. but i dosent seem to work
[08:41:41] <jagsph_> # od -x /dev/input/event1
[08:41:41] <jagsph_> 0000000 df24 386d 62cf 0008 0005 0000 0000 0000
[08:41:41] <jagsph_> 0000020 df24 386d 62fc 0008 0000 0000 0000 0000
[08:41:51] <jagsph_> and close
[08:41:54] <jagsph_> 0000040 df30 386d a7d1 0003 0005 0000 0001 0000
[08:41:54] <jagsph_> 0000060 df30 386d a800 0003 0000 0000 0000 0000
[08:42:17] <mozzwald> yay
[08:42:23] <jagsph_> bad news though
[08:42:30] <jagsph_> open again
[08:42:33] <jagsph_> 0000100 df4f 386d 333f 000c 0005 0000 0000 0000
[08:42:33] <jagsph_> 0000120 df4f 386d 336a 000c 0000 0000 0000 0000
[08:42:36] <mozzwald> oh
[08:42:41] <jagsph_> 0000140 df61 386d e0f3 000d 0005 0000 0001 0000
[08:42:41] <jagsph_> 0000160 df61 386d e11e 000d 0000 0000 0000 0000
[08:42:43] <jagsph_> close
[08:42:50] <mozzwald> hmm
[08:43:14] <jagsph_> its just counting
[08:43:25] <jagsph_> NO!
[08:43:27] <jagsph_> i found it
[08:43:36] <jagsph_> last from the end
[08:43:40] <jagsph_> shows a 1 or a 0
[08:43:54] <jagsph_> open is 0 closed is 1
[08:44:01] <jagsph_> 1st line....
[08:44:12] <jagsph_> its a constant...no matter how many times i open and close it
[08:44:22] <mcavity-zippy> yay
[08:44:28] <jagsph_> so is the 5
[08:44:52] <jagsph_> the 1 changes :) heh ignore the 5
[08:45:23] <jagsph_> octal dump without the hex option shows it also
[08:45:59] <jagsph_> good idea i would have never thought of that.... you figured it out again mozzwald
[08:46:08] <jagsph_> you are just the source of all ideas...
[08:46:31] <mcavity-zippy> mozz the muse
[08:46:34] <mcavity-zippy> lol
[08:51:56] <jagsph_> mcavity go write a driver for it.
[08:54:19] <mcavity-zippy> 10 if x = 1 then lightsout
[08:54:22] <mcavity-zippy> lol
[08:55:18] <mcavity-zippy> wonder if i can get lost orc to kill the timestamp
[08:55:24] <mcavity-zippy> irc
[08:55:41] <jagsph_> mcavity od -x /dev/urandom
[08:57:22] <mcavity-zippy> is random
[09:01:48] <jagsph_> so is rkdavis making a utility to constantly read it in hex format and check for that one change?
[09:02:28] <rkdavis> actually trying something else but i need one piece of info
[09:02:40] <rkdavis> but i think it would work
[09:02:55] <jagsph_> making it harder again...
[09:03:08] <rkdavis> nope doing it /properly/
[09:03:27] <jagsph_> rkdavis: how can tell what its doing without a constant variable
[09:03:53] <jagsph_> thats the only way that i would understand how to read that device...
[09:04:16] <rkdavis> what about a small app that returns 1 or 0 if the lid is open closed?
[09:04:37] <rkdavis> that would work for you too but i need to findout WHERE the gpio's are in the memory map
[09:04:58] <rkdavis> and then use mmap to set/read the gpio
[09:05:00] <jagsph_> rkdavis: that is beyond me.... but that device already outputs 1 and 0
[09:05:12] <jagsph_> rkdavis: mmap--- lost me there too :)
[09:05:38] <mozzwald> sweet. progress. :) I gotta head to work. later
[09:05:47] <rkdavis> int main (void)
[09:05:47] <rkdavis> {
[09:05:47] <rkdavis> unsigned char *gpio;
[09:05:47] <rkdavis> int fd;
[09:05:47] <rkdavis> fd = open("/dev/mem", O_RDWR);
[09:05:47] <rkdavis> if (fd < 0)
[09:05:47] <rkdavis> {
[09:05:48] <rkdavis> perror("Failed to open /dev/mem");
[09:05:48] <rkdavis> return fd;
[09:05:49] <rkdavis> }
[09:05:49] <rkdavis> gpio = mmap(0, getpagesize(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, GPIO_BASE);
[09:05:50] <rkdavis> PEDR = (unsigned int *)(gpio + 0x20);
[09:05:50] <rkdavis> PEDDR = (unsigned int *)(gpio + 0x24);
[09:05:52] <rkdavis> something like that
[09:06:00] *** mozzwald has quit IRC
[09:07:03] <jagsph_> i saved that into a text document so i can make an attempt to understand how it works
[09:07:16] <jagsph_> rkdavis: why cant I tail this device?
[09:07:31] <jagsph_> and why cant i pipe the output from cat... ?
[09:07:34] <rkdavis> can't think of any reason at all
[09:07:57] <rkdavis> unless it's because /proc is "special"
[09:08:34] <jagsph_> If i cant tail it, and I cant pipe the device to anything i cant write a script for it, and it needs to be done in C
[09:09:53] <rkdavis> hold on testing something
[09:10:51] <rkdavis> what do you mean you can't cat and pipe it
[09:11:04] <jagsph_> i cant use redirects either
[09:11:11] <rkdavis> i just did
[09:11:21] <jagsph_> i cant cat /dev/input/event1 > fuke
[09:11:24] <jagsph_> err file
[09:11:50] <rkdavis> let me try that then coz i redirected cpuinfo
[09:12:19] <rkdavis> oh it's in /dev
[09:13:05] <rkdavis> i don't have /dev/input on this zipit let me boot the other
[09:13:17] *** dTal has quit IRC
[09:13:47] <jagsph_> i think awk wont work on this application od -x /dev/input/event1 | awk '{ print $8 }'
[09:13:54] <jagsph_> because the file is never ending
[09:14:06] *** dTal has joined #zipit
[09:14:49] <rkdavis> yup
[09:14:55] *** GPSFan has joined #zipit
[09:15:03] <rkdavis> although you shoudl be able to get parts of it
[09:15:12] <jagsph_> the only way i can do this is run cat for a second, redirect it to a file, kill cat... awk the file...
[09:16:02] <jagsph_> i cant put it in a variable because the file is always open....
[09:16:36] <rkdavis> ah ha
[09:17:08] <jagsph_> i can write to /dev/shm...
[09:17:09] <rkdavis> on my zipit showkey on the lid sends 0,1,78
[09:18:07] <jagsph_> ....?
[09:18:23] <jagsph_> rkdavis, is "od" anyhelp?
[09:18:57] <rkdavis> just ran showkey on my .30 zipit and showkey displays 0 press, 1 release 78 release when closing and opening the lid
[09:19:32] <jagsph_> rkdavis: what does this mean....
[09:19:43] <jagsph_> you can use a program to watch the keycodes?
[09:20:11] <rkdavis> possibly or maybe reprogram it to give a /real/ keypress that i can then use
[09:20:59] <rkdavis> needs some research of course and why doesn't it happen on your .29 kernel i.e. what modules or settings do i have different or does it work on .29
[09:21:15] <jagsph_> rkdavis: so whats the right way to do it.... so far i have 3 ways...
[09:21:38] <rkdavis> gpio is the "right" way
[09:21:57] <rkdavis> but the key thing would be second best and less prone to breaking
[09:22:50] <rkdavis> ok on my zipit showkey -s gives 0xe0 0xaf for lid closed and 0xe0 0x2f for opening the lid after closing
[09:23:39] <rkdavis> but it needs trying in X too but idon't have X on here
[09:23:44] <jagsph_> so i could technically use showkey to write a script and that would be a "right way"
[09:24:22] <rkdavis> it would be a "rightish" way as i said the "right" way would be gpio because that's what they are there for
[09:24:48] <rkdavis> but aany way that works is the right way just sime are "righter" than others
[09:26:43] <rkdavis> ok works in .30 kernel but not in stock
[09:26:51] <jagsph_> r u sure
[09:27:02] <jagsph_> im installing console-tools right now
[09:27:14] <rkdavis> so it's a module or kernel setting (or version of showkey) that is in my .30 but not stock
[09:27:30] <rkdavis> but i only have busybox showkey on the stock zipit
[09:29:31] <jagsph_> ok so what do i do rkdavis i ran showkey -s and opened and closed it
[09:29:34] <jagsph_> nothing showed up
[09:29:43] <SDuensin> Blah.
[09:29:43] <jagsph_> but then again i ran it from telnet
[09:30:07] <rkdavis> you need to run showkey from the zipit itself not remotly
[09:30:20] <jagsph_> its not showing anything in x
[09:30:39] <rkdavis> ok the docs say that is possible because X gets in the way
[09:30:49] <rkdavis> ok so that won't work for you then
[09:31:13] <jagsph_> it says 0x9c and then ... only once.... then i close it and open it i get nothing
[09:32:02] <rkdavis> yup that's the same thing that happens on my stock zipit
[09:32:23] <rkdavis> so it mist be something in the .30 kernel that isn't in the <= .29
[09:32:33] <jagsph_> shm extensions
[09:32:50] <jagsph_> ok im really just bitching about that...
[09:35:16] <rkdavis> jagsph_: don't worry about it your existing method works for you and if one of the guru's knws the info i require then we can /upgrade/ the method sometime in the future
[09:35:48] <rkdavis> oooo i think i possibly know a way to get the info i need but it'll take soem time to setup
[09:37:12] <jagsph_> im trying to see if theres some way i can script this into an array o
[09:40:33] <GPSFan> rkdavis, do you know where sweetlilmarie put all the kernel stuff he did for 2.6.31?
[09:41:46] <rkdavis> GPSFan: if it's not in the svn then it's in his study thatis buried under about 4 foot of rubble
[09:42:06] <rkdavis> but woohoo just the person who might know
[09:42:16] <GPSFan> ah, rubble...
[09:42:25] <rkdavis> GPSFan: i have been mucking aorund with gpio's using mmap
[09:42:26] <GPSFan> 42'
[09:42:36] <mcavity-zippy> rubble?
[09:42:41] <rkdavis> but i have hit a brick wall i don;t know the info to get through it
[09:43:18] <rkdavis> do you happen to know where the gpio's are in the memory map as the example i have that i am trying to use wants a memory offset for where they are in ram
[09:44:28] <GPSFan> rkdavis, here? http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/
[09:44:31] <rkdavis> i.e. gpio = mmap(0, getpagesize(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, GPIO_BASE); and i have no idea what value gpio_vase is
[09:45:09] <rkdavis> GPSFan: yup i think that was the last stuff sweetlilmre committed
[09:46:24] <GPSFan> rkdavis, you want to know where the gpio cntrol reg's are? ie GPDR, GPLR, etc?
[09:47:16] <rkdavis> well the example i have seems to use a memory location for the base of where the gpio's are in memory and then uses offsets to read/write them
[09:49:19] <GPSFan> the gpio's don't work that way, there are specific reg's to do read and different ones to do write. there are also the setup reg's to determine whether the gpio is an input, output, tri-state, pwm, interrupt source, etc.
[09:49:47] <rkdavis> oh ok , sweetlilmre said to use mmap so i was lookign for examples of how to do it
[09:50:01] <rkdavis> and all the examples i found seemed to follow the same format
[09:51:16] <rkdavis> ok then so back to the drawing board again and some more googling
[09:51:24] <GPSFan> I'm talking about direct hardware access, there may be some kind of gpio driver that abstracts the hardware so you can read/write to a mmaped location and have the driver fiddle the correct reg's for you.
[09:52:00] <rkdavis> yup i have seen drivers but i'm trying to do this on the stock zipit so trying to keep it as simple as possible
[09:52:10] <rkdavis> and the drivers look complicated :)
[09:53:09] <rkdavis> you have any sugegstions on doing this from userspace? i'm only trying to get access to 2 gpio's really -- the power button and the lid
[09:54:33] <jagsph_> rkdavis: im working on another way to read it.....
[09:54:45] <jagsph_> i found a way to get the data into a bash array
[09:55:09] <GPSFan> look ar devmem2 and the PXA ddoc's on the GPIO reg's.
[09:58:06] <rkdavis> GPSFan: yup looking at the devmem2 stuff in the svn
[09:58:26] <rkdavis> sweetlilmre is a bit stingy on the comment sthough :)
[09:58:56] <GPSFan> he didn't write devmem2. it's been around a while.
[09:59:12] <jagsph_> ohhh rkdavis....
[09:59:19] <jagsph_> may i take a minute of your time...
[09:59:27] <rkdavis> GPSFan: yup i know he did but he used it
[09:59:31] <jagsph_> while true ; do dd if=/dev/input/event1 bs=16 count=1 2>/dev/null | od -x | awk '{ print $8 }'; done
[09:59:39] <jagsph_> open and close your display with that running
[09:59:55] <rkdavis> on the .30 one?
[09:59:58] <jagsph_> on any
[10:00:14] <rkdavis> have to be the .30 then
[10:00:18] <jagsph_> thats fine it will work
[10:00:29] <rkdavis> takes a while to boot
[10:00:44] <GPSFan> the c code is only 3k so it's not rocket science.
[10:01:08] <rkdavis> :)
[10:01:32] <rkdavis> wanna bet -- i've gone passed my limits with BASIC :)
[10:01:35] <jagsph_> the bash code is probably less than 500 bytes ... im almost done here :) you can write the c code if u want to
[10:01:50] <rkdavis> oh why oh why can't we have peek and poke :)
[10:02:08] <mcavity-zippy> sounds kunky
[10:02:12] <mcavity-zippy> kinky
[10:02:17] <mcavity-zippy> lol
[10:02:18] *** ogmious09 has quit IRC
[10:02:26] <jagsph_> mcavity: do it on your zippit while true ; do dd if=/dev/input/event1 bs=16 count=1 2>/dev/null | od -x | awk '{ print $8 }'; done
[10:03:16] <mcavity-zippy> umm
[10:03:25] <jagsph_> and open and close your display.... thats reading from the input device converting it to hex code... printing the only constant variable showing if the display is open or closed....
[10:03:31] <mcavity-zippy> how?
[10:03:58] <jagsph_> type it in the terminal
[10:05:18] <rkdavis> not got a { on this key map atm
[10:05:21] <rkdavis> have to add it
[10:05:40] <mcavity-zippy> ok i cut n paste
[10:06:00] <jagsph_> rkdavis its printing the 0000 and 0001 everytime it opens and closes.... it makes a very simple script i can show u in a second
[10:06:30] <rkdavis> jagsph_: i really should put your rootfs on my .30 zipit, shoudl work
[10:06:50] <rkdavis> i am just too lazy to do it atm and i haven't got this sd casrd backed up
[10:07:06] <mcavity-zippy> humm
[10:07:17] <mcavity-zippy> how do i paste?
[10:07:33] <Adnyxo> ... v?
[10:07:49] <jagsph_> center button and square
[10:08:03] <Adnyxo> never mind
[10:11:36] <rkdavis> by the way is everyone aware that there is a zipit dev channel that was setup a while ago for development discussions rather than general discussions and other bits and pieces. it was setup when the channel started getting full of help requests and it's moderated if people want to use that as well
[10:12:45] <dTal> what is it?
[10:14:06] <rkdavis> #zipit-dev
[10:14:39] <rkdavis> we haven't used it for a while but it's got an op although we need to get a logging bot in there
[10:16:36] *** mcavity-zippy has quit IRC
[10:17:20] <jagsph_> rkdavis: this is the correct way to turn off and on the display
[10:17:21] <jagsph_> http://zipit.pastebin.com/f55fc11fa
[10:17:39] <jagsph_> rkdavis: it also adds no overhead of a loop to constantly check for the status
[10:17:59] <rkdavis> jagsph_: :) sod knows if it is the RIGHT way but as you said if it works don't knock it :)
[10:18:21] *** vod has joined #zipit
[10:18:43] <jagsph_> rkdavis: its reading from the proper location, its not creating overhead.... in linux everything is a file for a reason :)
[10:18:53] <rkdavis> but the /sys stuff is the way we have been doing it on .29/30+
[10:20:30] <jagsph_> rkdavis: do you really want to write a c program with confusing gpio and mmap functions and then bitbake it and then test it on the system.....
[10:20:57] <jagsph_> when you can have a 661 byte bash script that adds no overhead and works as fast as your program would in c
[10:21:01] <rkdavis> jagsph_: i don't WANT to but i need the info so i am going to try
[10:21:13] <jagsph_> :( ok... send me your code when you are done
[10:21:31] <rkdavis> jagsph_: rememebr i am working mostly with the stock so i don't have all the flashy stuff you do
[10:21:47] <jagsph_> rkdavis: you dont have dd, awk and od?
[10:21:57] <rkdavis> i don't have the stuff in /sys
[10:22:03] <rkdavis> and /proc
[10:22:20] <jagsph_> rkdavis: this script i just made is reading /dev/input/event1
[10:22:29] <rkdavis> i don't have that either
[10:22:34] <rkdavis> :)
[10:22:37] <vod> dd <3
[10:22:40] <jagsph_> rkdavis: what do you have?
[10:22:53] <rkdavis> sweet f.a.
[10:23:17] <rkdavis> i have fb0 :)
[10:24:20] <des> "it also adds no overhead of a loop to constantly check for the status"? That's exactly what it does!
[10:24:36] <rkdavis> mompls just need to send an email
[10:25:56] <des> I don't know about pxa but if the gpio generates an interrupt THAT would be the no overhead, and RIGHT way to sende open/close lid
[10:26:04] <des> s/sende/sense/
[10:27:18] *** mcavity-zippy has joined #zipit
[10:28:05] <jagsph_> des: it doesnt add a constant overhead
[10:28:21] <jagsph_> if you look at the script or test it you will see that it sits in the background waiting for a change.....
[10:28:33] <rkdavis> des: there is a gpio that senses the lid i just don't know how to do gpio's (yet)
[10:28:51] <jagsph_> once a change occurs it immediately runs your scripted arguments, in this case changing the brightness then goes back and sits and waits again
[10:29:06] <mcavity-zippy> well that was fun
[10:29:11] <jagsph_> overhead would be constantly reading a file like i had been doing... just to see if the count had change from an even to odd number
[10:29:33] <jagsph_> des: it doesnt add CPU overhead.... would be a better way of putting it to be technical.
[10:29:38] <mcavity-zippy> didnt get the past to work but opened up about 15 volume controls
[10:29:58] <jagsph_> des: also there is no delay as you would have when constantly polling a file every 2 seconds...
[10:30:12] <des> it's still a loop, a blocking one, yes
[10:30:25] <des> sure, polling sucks
[10:30:53] <jagsph_> des: its the simplest way to implement the feature without knowing how to use gpio and mmap which i will openly admit i am not a programmer and have no idea how to do.
[10:31:17] <des> anyway I understand (and support) rkdavis with his idea of doing this from a gpio/interrupt way, as is more generic and will surely give access to other stuff
[10:31:18] <jagsph_> des: which is also why i asked rkdavis to send me his code because i am interested in learning
[10:31:39] <rkdavis> jagsph_: and if i ever find out how to do it i'll let you know
[10:32:01] <rkdavis> des: and if you know how to deal with gpio's i would love to know
[10:32:05] <jagsph_> rkdavis: thanks.
[10:32:13] <des> also, are you sure nothing else goes to event1 that could trigger your lid code? I'm thinking on the other non-key keys (power, et al)
[10:32:53] <rkdavis> jagsph_: oh yes check to see if the power button puts anything there too, that would be handy too
[10:32:54] <jagsph_> des: the power button does trigger it, but it triggers a repeat
[10:32:55] <des> rkdavis: I know of some code that did that for a pxa270 in the toshiba e770 port, you might find some clue there
[10:33:11] <rkdavis> des: that would be great, gotta url?
[10:33:12] <jagsph_> so its a press and depress of the power button
[10:33:24] <des> rkdavis: google should help
[10:33:32] <des> sorry, but it's crazy day at work
[10:33:41] <des> ergo the short intromission :)
[10:33:47] <rkdavis> des: no probs i'll google
[10:33:56] <jagsph_> rkdavis: power button gives me a 0001 when i let up it gives me a 0000
[10:34:02] <des> (datacenter powercycle 20 production servers, yey!)
[10:34:30] <rkdavis> des: pity they are not windows boxes you could move house by the time they had rebooted :)
[10:35:24] <des> and I wouldn't be in charge of them :)
[10:35:51] <jagsph_> rkdavis: i think i can implement the power button also
[10:39:26] *** rossimo has joined #zipit
[10:40:14] <rkdavis> jagsph_: morning rossimo
[10:40:46] <rossimo> hey
[10:41:24] <rkdavis> ugh i got sidetracked as typing to jagsph_
[10:41:29] <rkdavis> jagsph_: that's great
[10:44:35] <rkdavis> yay my hoster has installed php-imap and php-curl now i can continue on my little side project :)
[10:46:22] <mcavity-zippy> what are you up to
[10:48:10] <rkdavis> mcavity just playing with dumping images to the zipit fram buffer that my server creates on the fly
[10:48:23] <rkdavis> have yahoo news, a clock, twitter atm, now to add email
[10:49:09] <mcavity-zippy> ahhh
[10:49:15] <mcavity-zippy> nifty
[10:50:37] <rkdavis> you can see what the clock looks like by hitting http://russelldavis.org/DPF-Z2/Z2DPF.php?driver=browser
[10:50:44] <rkdavis> and refresh a few times
[10:54:16] <mcavity-zippy> neat
[10:56:32] <mcavity-zippy> i so wish there was a light opra we could use
[10:58:31] *** des has quit IRC
[10:58:51] *** des has joined #zipit
[11:02:09] *** owrflow has joined #zipit
[11:02:53] <mcavity-zippy> my batt must be getting low
[11:03:28] <mcavity-zippy> wats the shortcut for desktop?
[11:03:36] <owrflow> anyone who can help me on how to take the z2 apart?
[11:05:36] <mcavity-zippy> batt at 34 percent it says
[11:05:59] <mcavity-zippy> owrflow i think someone posted a how too
[11:06:11] <owrflow> link?
[11:07:32] <mcavity-zippy> dunno offhand
[11:08:30] <mcavity-zippy> id google but its a bit tricky when im on the zippit
[11:10:36] <mcavity-zippy> but i think google will help
[11:11:06] <owrflow> lol i see. im searching but havent found it yet
[11:12:48] <mcavity-zippy> ahh
[11:13:03] <mcavity-zippy> im running a power test
[11:13:14] <jagsph_> rkdavis: are you there?
[11:13:27] <jagsph_> http://zipit.pastebin.com/f7a460a11
[11:14:47] <mcavity-zippy> right at about the 3.5 hour mark
[11:14:58] <jagsph_> Ok anyone who cares, this script reads the lid switch and turns the display on and off based on the status of the switch. The lid switch event device is integrated with the power button device. This allows you to set a command for the power button... such as op shutdown.
[11:16:01] <jagsph_> This does not add any CPU overhead because of the way its designed. It will add the memory overhead of running bash. It will not use any cpu unless the lid is opened or closed or the power button is pressed.
[11:16:03] <mcavity-zippy> cool jagsph_
[11:17:31] <mcavity-zippy> i figure if i get another hour out of this im doing good. i hav ket the display on
[11:17:47] <mcavity-zippy> next time ill run a tst with lid closed
[11:18:35] <jagsph_> Im going to put this into the power-management script since rkdavis wont have the proper gpio method for some time
[11:18:53] <rkdavis> like maybe by the end of the mayan calendar
[11:19:03] <mcavity-zippy> heh
[11:19:20] <jagsph_> rkdavis: you should really test this latest script. boot up your z2
[11:19:54] <mcavity-zippy> and improve the bootloader while your at it lol
[11:20:21] <jagsph_> 1171 bytes
[11:21:26] <jagsph_> Im being serious. Its a definate good workable solution
[11:21:50] <mcavity-zippy> yay
[11:22:34] <mcavity-zippy> the problem beein the lid power off script could get out of sync?
[11:23:19] <jagsph_> mcavity: the one i wrote before using polling make an assumption based on an even or odd number.... by polling i mean it has to read a file every 2 seconds to determine if the display has been closed...
[11:23:43] <mcavity-zippy> ahh
[11:23:49] <mcavity-zippy> cpu cycles
[11:24:02] <jagsph_> yes. a waste of them
[11:24:36] <mcavity-zippy> is the file writen to the sd card?
[11:25:15] <jagsph_> This one will just sit and wait until it receives data from the actual device. So you drop the cpu cycles there. It also does not make an assumption based on an even or odd number. Its reading hex code and basing the findings on a constant integer value.
[11:25:56] <jagsph_> mcavity-zippy the old script is all intertwined with the power-management script and a battery stat utility...
[11:27:41] <mcavity-zippy> sounds like a big improvement
[11:28:19] <jagsph_> mcavity: if you want you can make it play a sound when you open the lid that talks to you... says something like "hi mcavity" in a womans voice...
[11:28:41] <mcavity-zippy> grin
[11:28:45] <jagsph_> it would be a theft deterrent
[11:31:19] <rkdavis> brb
[11:31:48] <mcavity-zippy> well i gota say this zipit is getting to be more fun and more usefull every day
[11:32:57] <mcavity-zippy> i need to see if i cant get rdp or vnc working next
[11:34:39] <mcavity-zippy> i had started playing with it..then stoped
[11:36:50] <mcavity-zippy> i know..im a sick puppy
[11:47:34] *** Pabilo has left #zipit
[11:56:36] *** owrflow has quit IRC
[12:05:26] <mcavity-zippy> do de doo
[12:05:45] <mcavity-zippy> i should do plumbing
[12:06:52] <mcavity-zippy> stupid dripping sinc
[12:07:50] <mcavity-zippy> sink
[12:25:42] <jagsph_> mcavity: i now have the shutdown command popping up when you push the power button... and its not being called by an xorg key-bind
[12:26:15] <mcavity-zippy> cool
[12:26:34] <jagsph_> im doing a complete rewrite of the power management script
[12:26:54] <mcavity-zippy> heh this is getting to be a real os vs a series of hacks
[12:26:55] <mcavity-zippy> lol
[12:27:33] <jagsph_> as soon as my oe build is complete it will be
[12:28:05] <mcavity-zippy> heh
[12:28:06] *** des has quit IRC
[12:28:26] *** des has joined #zipit
[12:29:23] <mcavity-zippy> i just worry about limiting app options
[12:29:49] <jagsph_> mcavity: oe is binary compatible with armel debs. you can still extract them and use them
[12:30:19] <jagsph_> you can extract a .deb like this if you ever need to know: $ ar x file.deb ; tar xvzf data.tar.gz
[12:30:32] <mcavity-zippy> what about the dependancys?
[12:30:52] <jagsph_> you have to either have them or go find them...
[12:31:04] <jagsph_> it will tell you what you are missing....
[12:31:22] <mcavity-zippy> fun lol
[12:33:20] *** dunz0r has left #zipit
[12:42:05] *** T7g has quit IRC
[12:42:12] <jagsph_> mcavity-zippy: i found a couple of errors on the new z2 release that will speed it up if you correct them.
[12:44:10] <mcavity-zippy> batt level between 22 to 30 percent
[12:44:18] <mcavity-zippy> oh whats that
[12:44:19] <jagsph_> how many hours
[12:45:05] <mcavity-zippy> just about 5
[12:45:24] <mcavity-zippy> 4 hours 55 min
[12:45:35] <jagsph_> remove /bin/bash /usr/local/bin/battery-daemon.sh &>/dev/null &
[12:45:35] <jagsph_> from your .xinitrc
[12:46:14] <jagsph_> change ~/.bin/bat-applet to
[12:46:15] <jagsph_> #!/bin/bash
[12:46:16] <jagsph_> sleep 20;nice -n 20 conky
[12:46:40] <jagsph_> added the nice to give conky low priority.... thats your battery status meter...
[12:46:54] <jagsph_> and ill have a new power-management.sh for you soon
[12:47:28] <mcavity-zippy> heh maybe i should wait for image 3 lol
[12:47:52] <jagsph_> your call it wont be for a while......
[12:48:06] <jagsph_> i need major changes before i release another :)
[12:48:47] <mcavity-zippy> ok well i figured new power stuff might have done it.
[12:48:57] <jagsph_> I could always just hack in the panel bar and the scripts and change the wallpaper and say its a new release...
[12:49:03] <jagsph_> add in quake remove the britney spears mp3
[12:49:10] <mcavity-zippy> ill scroll back and do your sugjstion after
[12:49:21] <mcavity-zippy> put in real music?
[12:49:25] <mcavity-zippy> lol
[12:52:29] <jagsph_> maybe
[12:52:30] <mcavity-zippy> sounds cool
[12:52:41] <jagsph_> also replace /etc/power-management.sh with this new one http://zipit.pastebin.com/f6ddc6303
[12:52:56] <jagsph_> thats the one im using currently which removes a huge chunk of cpu overhead
[12:53:14] <jagsph_> it also has the auto-shutdown disabled until i can better test it.
[12:53:16] *** ogmious09 has joined #zipit
[12:53:37] <mcavity-zippy> big buck bunny or the holms sample?
[12:54:21] <jagsph_> mcavity: careful or ill put in tokio hotel
[12:54:30] <mcavity-zippy> i should have 20-40 min left i expect.
[12:54:39] <jagsph_> 5 hours huh
[12:54:42] <mcavity-zippy> tokio hotel?
[12:55:03] *** T7g has joined #zipit
[12:55:08] <jagsph_> tokio hotel: german band the lead singer looks like a tranny, hes probably hotter than rkdavis's wife :(
[12:55:18] <deki> omg
[12:55:23] <mcavity-zippy> lol
[12:56:03] <jagsph_> go to the youtube and search tokio hotel scream
[12:56:04] <ogmious09> Dems fighting words
[12:56:21] <rkdavis> jagsph_: depends on how much beer you have drunk
[12:56:31] <ogmious09> The guy with Dreads is his brother, so it's not like he can't look normal. It's a choice
[12:57:12] <mcavity-zippy> lol
[12:57:16] <jagsph_> to me it looks like they are all looking for an anal ramuschtafen
[12:58:19] <Gnuet> oh god, tokio hotel is awful.
[12:58:31] <jagsph_> rkdavis: with the alcohol are we talking about your wife or the lead from tokio hotel?
[12:58:45] <mcavity-zippy> so wrong
[12:59:52] <jagsph_> mcavity: without that polling to see if the lid s open or closed my youtube videos are going faster heh
[13:00:07] <mcavity-zippy> cool
[13:00:10] <mcavity-zippy> humm
[13:00:14] <rkdavis> jagsph_: either
[13:00:35] <mcavity-zippy> havent tried since i got biger swap
[13:00:37] <jagsph_> rkdavis: hey i havent even seen your wife. you married her im sure shes got attractive qualities .......
[13:00:57] <rkdavis> nope she has none -- she's american
[13:01:04] <jagsph_> so shes fat?
[13:01:24] <Gnuet> x)
[13:01:33] <rkdavis> no she's american. it doesn't matter what her other qualities are she's a yank so all bets are off
[13:01:37] <mcavity-zippy> youtube dr tran
[13:01:39] <mcavity-zippy> hehe
[13:01:54] <ogmious09> getting nasty in here
[13:02:04] <rkdavis> nope just anti-yank :)
[13:02:27] <rkdavis> and they started it. bloody cheats hiding behind trees and wearing green in the revolutionary war
[13:02:34] <rkdavis> just not cricket
[13:02:34] <jagsph_> haha when i think of american i think of fat. although im american and not fat
[13:02:35] <Gnuet> ^^
[13:02:52] <Gnuet> bloody yanks <3
[13:02:56] <jagsph_> rkdavis: this is who my Z2 userland is for... http://c4.ac-images.myspacecdn.com/images02/75/l_f48813b862bd48c89d26999560369a4f.jpg
[13:03:12] <jagsph_> the fire crotch yank
[13:03:17] <Gnuet> jagsph_: naaw how nice of you.
[13:03:27] <rkdavis> http://www.emmaclarke.com/media/7142/a-reminder-for-american-tourists.mp3
[13:03:50] <rkdavis> she's not only american but ginger too
[13:04:09] <jagsph_> ginger yank commie
[13:04:23] <Gnuet> damn commies.
[13:04:42] <jagsph_> at least i couldnt add coon to that sentence
[13:05:23] <ogmious09> She looks like one of those Pencil Trolls you'd spin around and her hair would stick out
[13:05:31] <rkdavis> heh
[13:05:36] <ogmious09> I kid I kid
[13:05:46] <Gnuet> xcept shes spinning on something else?
[13:05:48] <jagsph_> haha im gonna tell her. i forget what u called those
[13:06:00] <jagsph_> i hated those things
[13:06:00] <mcavity-zippy> is so staying out of this
[13:06:03] <Gnuet> naughty ogmious09 x)
[13:06:06] <rkdavis> gem trolls or summit
[13:06:33] <Mcavity[A]> http://www.greenbaypressgazette.com/ic/blogs/channelsurfing/uploaded_images/trolls-doll-red-hair-700670.jpg
[13:06:36] <jagsph_> horrible little things
[13:07:01] <Gnuet> indeed. one of the worst thing to come out of denmark.
[13:07:49] <Gnuet> the worst, ofcourse beeing their delicious cakes and pastry that you just can't resist ^^
[13:07:50] <jagsph_> Nothing good came from denmark
[13:08:00] <jagsph_> swastikas, hairy pasty white women...
[13:08:07] <jagsph_> those creatures with the big noses and lots of money
[13:08:38] <Gnuet> oliphaunts?
[13:08:54] <jagsph_> ill let you get what you want out of that comment
[13:09:00] <ogmious09> Interesting thing about Denmark is that was the final destination of the Tribe Dan one of the 12 original Tribes of Israel from the Old Testament
[13:09:33] <rkdavis> anyway i have housework to do and dinner to start preparing bbiab unless i have sliced my wrists over gpio's
[13:09:49] <Gnuet> beeing a swede, i love the danes. our friendly neighbour ´to the south :)
[13:09:51] <ogmious09> Lol, exit stage right huh
[13:09:57] <jagsph_> rkdavis: i wrote the c program to do gpios
[13:10:09] <jagsph_> i got bored and read c+ coding for retards
[13:10:14] <rkdavis> does it work? :)
[13:10:25] <jagsph_> yes, i would send it to you, but then you wouldnt have to work for it.
[13:10:48] <jagsph_> so ill give it to you once i have usb, a mouse, and a whole bitbaked world
[13:11:00] <jagsph_> i have other demands ill think of while u are getting those.
[13:11:25] <Gnuet> todays dinner was: breaded plaice with roasted potatoes and remoulade.
[13:11:54] <jagsph_> or rkdavis, you can use my example.
[13:13:14] <rkdavis> jagsph_: heh, well i am still seeing if i can build a module i think will expose the gpio's into the sysfs
[13:13:36] <rkdavis> have to resetup buildroot for that though
[13:14:20] <jagsph_> i wish you luck with that haha
[13:14:57] <jagsph_> rkdavis: dont worry i actually believe you can do it, i didnt think i could do it the way i did :) it looked impossible
[13:15:45] <jagsph_> too bad you dont have those fancy commands like dd awk grep and od arent .... you really should just try it and see how well it works for fun..
[13:16:30] <rkdavis> i have awk, dd, grep...... what i don't have is the gpio's in /sys or /proc
[13:16:40] <rkdavis> that is the big thing i have everything else
[13:17:18] <rkdavis> it's easy if you have sysfs or proc but i don't so i have to do it this way
[13:20:52] *** mozzwald has joined #zipit
[13:24:22] <mcavity-zippy> .low power warnings
[13:24:50] <mcavity-zippy> at 5 hour 33
[13:24:54] <mcavity-zippy> min
[13:25:04] <jagsph_> jesus
[13:25:08] <jagsph_> So the popups work?
[13:25:14] <mcavity-zippy> yup
[13:25:26] <jagsph_> Heh. I disabled them in the current script.... Ill have to re-enable them...
[13:25:29] <mcavity-zippy> save your work now!
[13:26:01] <ogmious09> Pretty sure it was mcavity not jesus that said that
[13:26:19] *** mcavity-zippy has quit IRC
[13:26:36] <ogmious09> lol, guess it did not warn him soon enough
[13:26:40] <jagsph_> ogmious09: i know what city you live in based on your hostname
[13:26:43] <jagsph_> :)
[13:26:47] <Mcavity[A]> and its done
[13:27:05] <Mcavity[A]> 5 hours 35 min and 47 seconds
[13:27:11] <ogmious09> System shutting down....NOW!
[13:27:37] <mozzwald> that's a long time
[13:27:43] <Mcavity[A]> no to shabby
[13:27:57] <Mcavity[A]> and it was in use screen light most of the time
[13:28:16] <mozzwald> what was the brightness setting?
[13:28:43] <jagsph_> mcavity: you probably have about 15% battery left correct?
[13:28:43] <Mcavity[A]> default for current image.. i expect about 500
[13:28:52] <jagsph_> mozzwald: yeh 500
[13:28:57] <Mcavity[A]> jag unknown
[13:29:04] <Mcavity[A]> thats close to what i got before
[13:29:13] <Mcavity[A]> give or take 10-15 min
[13:29:23] <ogmious09> How's the weather in Corvallis, OR?
[13:29:29] <jagsph_> it shuts down when apm hits 46 out of 40 minium 90 maximum
[13:30:13] <Mcavity[A]> bat charge says 50%-32%
[13:30:50] <Mcavity[A]> its just bounceing right now.. shutting it down to recharge
[13:31:23] <jagsph_> mcavity cat /proc/apm
[13:31:33] <jagsph_> what percentage is it
[13:31:40] <mozzwald> anything come out of the /dev/input/event1 ?
[13:32:17] <jagsph_> yes mozzwald
[13:32:20] <Mcavity[A]> umm its already down
[13:32:21] <jagsph_> for me anyway
[13:32:22] <Mcavity[A]> gime a sec
[13:32:42] <jagsph_> http://zipit.pastebin.com/f55fc11fa
[13:33:17] <Mcavity[A]> lol
[13:33:20] <jagsph_> mozzwald: als http://zipit.pastebin.com/f6ddc6303 integrating it into the power-management script
[13:33:27] <Mcavity[A]> ctrl c did not drop me to console
[13:33:52] <jagsph_> mozzwald: the first one shows how i used it to graph the keys with the hex conversion
[13:34:27] <jagsph_> i was able to grab both lid close and open and power button press and depress..... and in the power management script i bound the power button to opening the shutdown menu
[13:35:01] <Mcavity[A]> says 67%
[13:35:02] <jagsph_> it has very low overhead because it doesnt poll for a status on the device like i did with the count odd even variable. and the display on and off change is instant
[13:35:14] <jagsph_> mcavity: u may get more than 6 hours
[13:35:19] <jagsph_> cat it again
[13:35:39] <Mcavity[A]> 68%
[13:35:45] <Mcavity[A]> 67
[13:35:47] <jagsph_> its charging now?
[13:35:49] <Mcavity[A]> 67
[13:35:51] <Mcavity[A]> yes
[13:36:02] <jagsph_> ok well thats why the apm doesnt report very accurately
[13:36:09] <mozzwald> awesome work on the script.
[13:36:22] <Mcavity[A]> yea honestly i think 6 hours is the limit
[13:36:51] <Mcavity[A]> still thats not bad at all. 5.5 hours of real use. [thugh not video or sound] is not bad at all
[13:37:24] <jagsph_> mozzwald if you try it out in the terminal it will print the output of hex and what its doing and receiving http://zipit.pastebin.com/f55fc11fa if u see anything wrong let me know.
[13:37:42] <jagsph_> mcavity find a laptop that does 6 hours
[13:38:28] <jagsph_> mozzwald: sorry wrong one http://zipit.pastebin.com/f7a460a11
[13:38:49] <jagsph_> thats the updated one with the power button
[13:41:29] <Mcavity[A]> umm.. well if its in the last 2 years not to hard.. but before that.. yea
[13:42:01] <jagsph_> most get about 2-3 from my usage experience
[13:44:00] <jagsph_> mozzwald: if you find any other funky devices to access let me know ill come up with a way to do it ;)
[13:44:03] <Mcavity[A]> yea but the current crop is a lot better.. the big battery on a standard dell laptop can get 8 hours..
[13:44:32] <jagsph_> mcavity: wait until u try the pegatron arm laptop
[13:44:37] <jagsph_> supposed to get 10 hours
[13:45:10] <Mcavity[A]> yea i belive it
[13:45:21] <Mcavity[A]> systems area a lot better about power these days
[13:45:29] <mozzwald> hehe. excellent.
[13:48:12] <jagsph_> mozzwald: rkdavis is still working on his gpio mmap method :)
[13:48:57] <mozzwald> that's coo too. maybe he can get us access to the other gpios
[13:49:02] <jagsph_> he said it will be done by the time the z3 is released
[13:49:33] <jagsph_> mozzwald: yeh i wish i had the knowledge to help him
[13:49:43] <mozzwald> agreed
[13:51:06] <jagsph_> then i wont have to invent crazy ways of reading functions
[13:51:28] <jagsph_> if it wasnt for you mentioning reading that in hex i would never have been able to do that
[13:51:44] <jagsph_> you always end up pointing me in the right direction or coming up with a good solution
[13:52:27] <ogmious09> Always nice to see two people find eachother online
[13:52:39] <jagsph_> ogmious09: will you sleep with me?
[13:53:22] <ogmious09> Not a red haired twirling troll pencil topper. You sure I do it for yeah
[13:53:44] <jagsph_> actually changed my mind, i only like trolls.
[13:53:45] <ogmious09> Notice I said pencil topper stud
[13:53:55] <ogmious09> PENCIL
[13:54:01] <ogmious09> Just throwing that out there
[13:54:07] <jagsph_> oh, you are hitting on me.
[13:54:15] <ogmious09> Sure it'll stick on something
[13:54:30] <jagsph_> You want to fill my void()?
[13:54:30] <ogmious09> Am I embeleshing?
[13:54:34] <Mcavity[A]> ok not to happy with pluming problem at house. will have to wait as the under sink pipes are gona be ugly to deal with.. [copper no flex. hard to get to. ]
[13:54:37] <ogmious09> *embeleshing
[13:54:56] <jagsph_> ogmious09.... mm copper piping flex
[13:54:59] <ogmious09> I think Mcavity[A] is coming on to both of us now
[13:55:18] <ogmious09> Wants help with his hard to get to plumming problem
[13:55:20] <jagsph_> Want to fix his "plumbing" problem?
[13:55:40] <ogmious09> Gonna answer the door in a nightie?
[13:55:58] <jagsph_> Maybe you can use your snake in his pipes, get them cleaned out for him.
[13:56:23] <ogmious09> well can't have him unhappy
[13:56:38] <jagsph_> Hes got a "BIG" clog and he needs YOU to fix it.
[13:56:59] <ogmious09> Pretty sure he was looking for two Plumbers to wring that clog out
[13:57:11] <jagsph_> Why do you think hes called mcCAVITY
[13:57:35] <ogmious09> Hello ello llo lo o .....
[13:58:01] <jagsph_> ogmious09, you know what the [A] is for right?
[13:58:21] *** des has quit IRC
[13:58:23] <jagsph_> When you get their to fix his plumbing he will show you.
[13:58:26] <ogmious09> miimum hiegth for him to ride the ride?
[13:58:27] *** des has joined #zipit
[13:58:37] <jagsph_> 2 Red Bull test
[13:58:46] *** vod has quit IRC
[13:58:51] <jagsph_> Double Stacker or nothing
[13:59:38] <jagsph_> Do you measure up to the height ogmious09?
[13:59:48] <jagsph_> Line them up.
[13:59:49] <ogmious09> nope
[14:00:01] <jagsph_> 2 Red bulls short of a full stuff?
[14:00:18] <ogmious09> more like a case on Monster
[14:00:46] <jagsph_> Has there been any comment for the past 30 lines without some sort of innuendo?
[14:00:50] <mozzwald> wow, i leave for 5 minutes and things get weird :)
[14:01:11] <mozzwald> back to work for me.. laters
[14:01:20] *** mozzwald has quit IRC
[14:01:23] <ogmious09> scaring the kids away
[14:01:31] <jagsph_> Keep the monsters zipped up
[14:01:53] <ogmious09> well I gotta get heading into work myself
[14:02:14] <jagsph_> Good idea, maybe on your way you can grab another "can" from mcavity
[14:03:24] <jagsph_> ogmious09: you make things awkward
[14:03:50] <ogmious09> grabbing the can FOR him
[14:05:21] <jagsph_> stacker
[14:05:42] <ogmious09> I make things awkard? You got like two Modes. Geek and instant on 70's handle bad mustache fruit porn
[14:06:13] <ogmious09> *bad=bar
[14:07:01] <jagsph_> Whatever fits the moment
[14:13:34] <ogmious09> well off to work dudes. chat with you later
[14:15:02] *** ogmious09 has quit IRC
[14:15:23] *** user___ has joined #zipit
[14:16:41] *** user___ is now known as jagsph-z2
[14:23:20] <jagsph-z2> rkdavis what is dev input mouse0
[14:23:32] <jagsph-z2> is that the emulation app
[14:27:12] <deki> cat it, press the mousebuttons and you will see it :)
[14:27:29] *** jagsph-z2 has quit IRC
[14:32:31] *** jagsph-z2_ has joined #zipit
[15:09:57] * dTal wants a blackberry style trackball
[15:28:56] *** des has quit IRC
[15:29:13] *** des has joined #zipit
[15:48:28] <rkdavis> bwahahahhahahahahahahaha i think i have found the bits to tell whether the lid is open or closed
[15:49:37] <rkdavis> devmem 0x40e00100 gives 0x??????81 for closed and 0x??????85 for open
[15:49:44] <rkdavis> and you could mask the 8 too
[15:58:08] *** des has quit IRC
[15:58:34] *** des has joined #zipit
[16:12:04] <rkdavis> and the bottom nybble of 0x40e00000 gives you the power button and ac power
[16:33:17] *** ogmious09 has joined #zipit
[16:58:05] *** des has quit IRC
[16:58:26] *** des has joined #zipit
[17:47:38] *** rossimo has quit IRC
[17:58:34] <dTal> things quite unstable on this userland
[17:58:41] <dTal> lotta segfaults
[17:59:32] <dTal> every now and again graphical apps vanish too, and though I can't see the error messages I suspect it's the same thing
[18:00:03] <dTal> I suspect memory requests are timing out before the swap on the sd card can respond
[18:00:50] *** _del has quit IRC
[18:01:25] <dTal> it only happens when apps need more memory, or occasionally on task switches I think
[18:02:32] <dTal> for instance aptitude consistantly segfaulted around 50 percent until I ran apt-get update
[18:03:39] <dTal> (50 percent progress of 'building dependency tree' that is)
[18:06:21] *** jagsph-z2_ has left #zipit
[18:15:22] *** _del has joined #zipit
[18:32:53] <nebukan> anyone know how to turn of screen with /sys/ or /proc/ on a tty
[18:35:11] *** _del has quit IRC
[18:46:51] *** dTal has quit IRC
[18:47:58] *** dTal has joined #zipit
[18:58:35] <netbook> if i was to use aliosa image and i don't have the wireless firmware files am i screwed for wifi?
[19:00:52] <dTal> In theory, but I guess you could always ask someone for them
[19:01:06] *** Malwyn has quit IRC
[19:01:15] <netbook> just checked and they are in the rootfs image
[19:01:42] <netbook> i want to try to setup my zipit as just a server with ssh or perhaps apache
[19:02:09] <netbook> trying to make a drop box clone http://fak3r.com/2009/09/14/howto-build-your-own-open-source-dropbox-clone/
[19:02:34] *** Malwyn has joined #zipit
[19:05:51] *** _del has joined #zipit
[19:07:04] *** mozzwald has joined #zipit
[19:08:14] *** mozzwald_ has joined #zipit
[19:09:27] <rkdavis> hi mozzwald
[19:10:19] <mozzwald_> heya
[19:10:54] *** dTal has quit IRC
[19:11:40] <rkdavis> i found a way to test for lid, power button and ac plugled in now
[19:12:21] <rkdavis> devmem2 0x40e00000 give ????????85 if open, 81 if closed
[19:12:40] *** mozzwald has quit IRC
[19:12:59] <rkdavis> /mnt/sd0/home # ./devmem2 0x40e00100 b
[19:12:59] <rkdavis> /dev/mem opened.
[19:12:59] <rkdavis> Memory mapped at address 0x40000000.
[19:12:59] <rkdavis> Value at address 0x40E00100 (0x40000100): 0x85
[19:12:59] <rkdavis> == open
[19:13:01] <_del> strange. my IL cable internet isn't working correctly either
[19:13:32] <rkdavis> /mnt/sd0/home # ./devmem2 0x40e00100 b
[19:13:32] <rkdavis> /dev/mem opened.
[19:13:32] <rkdavis> Memory mapped at address 0x40000000.
[19:13:32] <rkdavis> Value at address 0x40E00100 (0x40000100): 0x81
[19:13:32] <rkdavis> == closed
[19:34:30] <ogmious09> brilliant
[19:36:44] <mozzwald_> is that the c program you were working on?
[19:39:01] *** T7g has quit IRC
[19:43:04] <rkdavis> nope not the c prog but now i know it is possible to do it by checking memory locations i can do a C prog to either poll it when run of put it in a loop and run in background
[19:43:19] <rkdavis> looking to see if there are any other gpio worth reading before i do that
[19:43:27] <rkdavis> and thne onto the ones we can write to
[19:43:55] <rkdavis> devmem/devmem2 are /standard/ linux tools
[19:45:41] <mozzwald_> just looked up devmem2. looks like a goldmine. :) how did you determine which mem address to look at?
[19:45:58] <rkdavis> i read 1200 pages of technical doc :)
[19:46:30] <rkdavis> and then tested -- but i googled to find that RTFM'ing would help
[19:47:00] <mozzwald_> damn
[19:47:32] <rkdavis> taken a week of googling to find i had the info already and actually knew how to do it
[19:48:15] <mozzwald_> sometimes things are right under our noses :)
[19:48:27] <rkdavis> still not the /right/ way to do it but with the kernel i am running it's the best i can do atm
[19:48:57] <mozzwald_> is the memory address going to be the same regardless of kernel?
[19:49:35] <rkdavis> should be
[19:49:44] <mozzwald_> and I assume the "right" way is to have a kernel module do what we want
[19:49:57] <rkdavis> as unless i am completly misunderstandong it it's where the processor has it
[19:50:13] <rkdavis> yup kernel module and export to sysfs
[19:50:41] <rkdavis> .29+ kernels should be able to do that as that became possible in .36 kernel from what i read
[19:51:41] <rkdavis> .26 kernals i mean
[19:51:49] *** T7g has joined #zipit
[19:57:03] <mozzwald_> rkdavis: did you see jagsph's new script that reads from /dev/input ?
[19:57:46] *** mozzwald__ has joined #zipit
[19:59:46] <rkdavis> yup
[20:02:04] *** mozzwald_ has quit IRC
[20:04:52] <mozzwald__> an acceptable temporary solution?
[20:06:40] *** mozzwald__ is now known as mozzwald
[20:07:00] *** _del has quit IRC
[20:08:02] <rkdavis> either will work for jag, unfortunatly the devmem method is all have in stock atm
[20:12:01] <mozzwald> are there problems that could arise from doing it his way?
[20:17:43] <rkdavis> not that i can think of
[20:18:22] <rkdavis> i just wanted to learn the proper way to do it for my own interest and as i'm running stock i also have to find other ways
[20:27:13] *** mozzwald_ has joined #zipit
[20:31:01] *** mozzwald has quit IRC
[20:36:54] *** drmikecrowe has joined #zipit
[20:42:46] <rkdavis> yo drmikecrowe
[21:08:48] *** mozzwald has joined #zipit
[21:08:48] *** mozzwald_ has quit IRC
[21:44:28] *** Aelius has joined #zipit
[21:44:40] <Aelius> hey, I'd like to report a bug, lol
[21:44:56] <Aelius> you probably are aware of it, you were talking of this before you released it
[21:45:26] <Aelius> My friend managed to make it so the screen turned on when you close it, and off when you open :)
[21:46:10] <Aelius> not sure how the script works exactly, but would having the OS freeze, then closing it, then having it unfreeze do the trick?
[22:07:30] <Adnyxo> hello
[22:07:36] <Adnyxo> rkdavis, i have linux problem
[22:07:57] <Adnyxo> i cant read the archive of the hurricane release
[22:08:12] <mozzwald> Aelius: We have found a work around for that problem
[22:08:44] <Aelius> ok, it wasn't really a hindering issue
[22:09:07] <Aelius> but it also wasn't a solid system; I just didn't know if you were aware
[22:10:10] <mozzwald> no, but my zipit would always turn on in my pocket and I knew that would be an issue. the new script will check if the lid is closed or open, not just if the switch has been pressed
[22:10:11] <rkdavis> Adnyxo: mompls
[22:11:31] <Adnyxo> ?
[22:11:43] <rkdavis> Adnyxo: what's the problem
[22:12:03] <Adnyxo> ill have to try again and see the error message, hang on
[22:12:08] <rkdavis> k
[22:12:41] <Adnyxo> i love my 100 kpbs transfer speeds on my class 6 sdhc card
[22:12:52] <rkdavis> :)
[22:13:12] <Aelius> can the power saving scripts be set to autorun from the terminal (^C before X starts up)
[22:13:36] <Adnyxo> ah screw this, ark just froze
[22:13:41] <Adnyxo> ill try again in the morning
[22:13:47] <Adnyxo> gnite everyone
[22:13:51] <rkdavis> k
[22:14:03] *** Adnyxo has quit IRC
[22:15:39] <Aelius> and also, is there a wifi scanner that reports the dB? that'd be nice to have
[22:18:24] <wicknix> use matchbox-panel and the wifi utility on the taskbar will show that
[22:18:37] <wicknix> http://www.hostwork.com/users/matt/zipitz2/image/z2-menu.png
[22:18:46] <wicknix> look next to clock
[22:18:58] <wicknix> if you click on it it pops up a window with wireles info
[22:19:26] <Aelius> ok thanks; I was thinking about the dB of each scanned access point, but this is nice too
[22:19:33] <Aelius> how do I enable this?
[22:20:36] <wicknix> change ~.xinitrc last 3 lines to this:
[22:20:57] <wicknix> exec matchbox-window-manager -theme z2 &
[22:21:00] <wicknix> sleep 7
[22:21:11] <wicknix> exec matchbox-panel $@
[22:21:18] <wicknix> reboot
[22:21:47] <wicknix> then left click on the taskbar to bring up the applet menu to add them to taskbar
[22:22:13] <Aelius> k thanks
[22:22:29] <wicknix> populating the menu is a bit more difficult since jag put all icons and app shortcuts in /home/user
[22:22:46] <Aelius> I've forgotten to look at the xinitrc... but then again, I'm primarily a freebsd user with wmii
[22:22:59] <wicknix> you have to cp those all to /usr/share/applications and /usr/share/icons
[22:23:51] <Aelius> ok
[22:23:53] <wicknix> there is a nice console app that does what you want also, i just forget its name
[22:24:03] <Aelius> yeah console would be good
[22:24:35] <wicknix> there is kismet which is nice
[22:25:43] <wicknix> or wavemon gives detailed info about scanned ap's
[22:26:21] <Aelius> lastly; keyboard shortcuts. they don't seem to work when you set them via right click; is there a keyboardshortcut to bring up the app menu I shall install, and am I able to map programs to keyboard shortcuts?
[22:27:07] <Aelius> for the record, I understand the mechanics (learning a little still) of unix, and linux by extension, but I do not know of any apps :(
[22:27:14] <wicknix> yes. check ~/.matchbox/kbdconfig
[22:27:21] <Aelius> windows user trying to branch out
[22:28:08] <wicknix> and a quick google search of matchbox will give you loads of keybindings
[22:28:15] <Aelius> k
[22:28:38] <wicknix> i just use <ctrl> instead of <alt> because of the wacky zipit keymap/keyboard
[22:29:01] <wicknix> <ctrl>m=!menu (menu)
[22:29:03] <Aelius> oh also, I noticed screen is prepackaged... but the key bindings don't seem to work. do I need to set a custom config?
[22:29:08] <wicknix> <ctrl>f=fulscreen
[22:29:19] <wicknix> <ctrl>n=next (next window)
[22:29:27] <wicknix> <ctrl>p=previous
[22:29:29] <wicknix> etc etc
[22:29:36] <Aelius> k
[22:29:48] <wicknix> really? screen works fine here
[22:29:58] <wicknix> the ctrl key is the .... key on zipit
[22:30:02] <Aelius> yes
[22:30:10] <Aelius> well I was only testing in in irssi
[22:30:23] <Aelius> which captured ^C literally
[22:30:44] <Aelius> it might be done charging by now, I'll get it in a few minutes
[22:31:23] <wicknix> check the matchbox keybindings... i forgot what jag has by default. i changed mine.
[22:31:39] <wicknix> because he had <ctrl>x=close which broke nano
[22:32:09] <Aelius> nano?
[22:32:17] <wicknix> nano text editor
[22:32:19] <Aelius> k
[22:32:24] <wicknix> nice console editor
[22:32:38] <wicknix> but it uses ctrl+key for everything
[22:32:41] <Aelius> yeah I either need to switch away from vim or learn to use it properly
[22:33:30] <wicknix> i actualy prefer midnight commander as my editor/ftp client/file manager/ and archiver
[22:33:37] <wicknix> alot of goddies in one app
[22:33:42] <wicknix> goodies*
[22:34:44] <Aelius> hmm, I havent tried it
[22:35:20] <wicknix> similar in looks and functionality of the old dos nortan commander
[22:35:29] <wicknix> i'm lost w/out it
[22:35:50] <Aelius> in vim, I know how to navigate, type stuff, and save. But I can't delete the last letter in a line, or undo an action... both of which come up often
[22:35:53] <Aelius> haha
[22:36:00] <wicknix> heh
[22:36:25] <wicknix> i never understood vi/vim. too many damn key combos to remember
[22:36:30] <Aelius> yeah
[22:37:29] <Aelius> doesnt really make sense; you can scroll through all the letters, except you cant scroll to after the last one. that would be fine, normally, except if you hit delete, it capitalizes the letter before the deletion
[22:37:47] <wicknix> heh
[22:39:20] <Aelius> would implementing a custom WM to the zipit be too much work for someone of my level of understanding, or would it be straightforward like a normal install?
[22:39:45] <Aelius> and I think jag said the other day that gba works and would be included with the next install
[22:40:07] <wicknix> as in just changing it to something else? pretty straight forward.
[22:40:17] <Aelius> it seems to have a hard time with gbc, so I'm not sure if he really meant it (also wasnt packaged with the latest release)
[22:41:11] <wicknix> depends how good the code is. scummvm runs full speed, doom runs full speed.
[22:41:41] <wicknix> some emu's just arent coded al that well
[22:42:10] <wicknix> well that speaks for most any application i guess.. heh
[22:42:26] <Aelius> ok. I installed dosbox with apt-get install dosbox, but in the terminal it just had a fit
[22:42:37] <Aelius> I remember that happenining in freebsd actually
[22:42:48] <Aelius> seemed to open up with horrible proportions under x
[23:24:22] *** GPSFan has quit IRC
[23:45:13] *** Malwyn has quit IRC
[23:58:44] *** drmikecrowe has quit IRC