IRC log for #webos-internals on 20101125

00:00.58*** join/#webos-internals jrmuizel (~jrmuizel@CPE001f5be79d0f-CM0017ee62f8b0.cpe.net.cable.rogers.com)
00:10.14*** join/#webos-internals jelatta (~wircer@173.155.41.195)
00:13.52destinalbhern: ah, tool is now released -- http://omoco.de/firesheep/
00:14.08destinalit's node.js based...
00:14.38halfhaloah
00:14.48halfhalothat would esplain alot
00:15.27halfhaloand I think it would mess up alot on webos2.0 devices
00:16.22*** join/#webos-internals roxfan (dunno@91.180.39.96)
00:16.30destinalhalfhalo: what do you mean?  it would be designed for webos 2.0 devices...
00:17.13destinalrwhitby: he specifically mentions he built locally by installing gcc from preware..
00:19.32rwhitbyah, the omoco guy.  I know his work.
00:19.59rwhitbyhe knows enough to create a front-end too.
00:20.26halfhalodestinal: Because 2.0 devices ship with node, specifically v0.1.102, wheras he is building 0.2.4, which has api changes
00:21.00destinalhalfhalo: ah, I didn't realize he built it.
00:22.11halfhaloIt would run just fine on pre 1.4.5 devices, but would probably break every application with a node.js service on 2.0
00:23.30destinalrwhitby: what's the be_palm binary though?  no source code reference, is it something out of the box or new?
00:25.17halfhalogoes back to writing his node script
00:29.38rwhitbylooks new
00:30.57*** join/#webos-internals dgathright (~dgathrigh@c-67-162-176-224.hsd1.mo.comcast.net)
00:31.10rwhitbyit has libpcap.so.0.9 dependency
00:35.24*** join/#webos-internals BeeksElectric (~wircer@cpe-74-67-71-124.stny.res.rr.com)
00:40.46jhowircI'm wondering too
00:40.56*** join/#webos-internals lucasec (~wircer@225.sub-97-141-28.myvzw.com)
00:42.17*** part/#webos-internals lucasec (~wircer@225.sub-97-141-28.myvzw.com)
00:49.28*** join/#webos-internals sepi (~sepiultru@hcl-club.lu)
00:49.49*** join/#webos-internals rsanchez1 (~wircer@184-210-28-110.pools.spcsdns.net)
00:50.01rsanchez1hello
00:50.47*** join/#webos-internals nguarracino (~wircer@c-76-127-181-113.hsd1.ct.comcast.net)
00:51.47rsanchez1has anyone here tried the ubuntu netbook rootfs instead of the debian rootfs?
00:52.00rsanchez1on a pre
00:53.20rsanchez1link: https://wiki.ubuntu.com/ARM/RootfsFromScratch
00:54.00rsanchez1I'm intersted in trying the unity desktop on pre
01:00.03sepiIs it allowed for pdk apps to execv?
01:02.22*** join/#webos-internals Kyusaku (~natsumeky@pool-71-187-3-67.nwrknj.fios.verizon.net)
01:03.11rwhitbydestinal: be_palm seems to be a tcpdump-style exe
01:09.34*** join/#webos-internals Darkmagister (~Darkmagis@93-50-213-102.ip154.fastwebnet.it)
01:16.33sepirwhitby: is imposta a service for starting arbitrary system commands?
01:18.00sepiI'm just investigating a method to communicate between a js app and a native processes stdio
01:18.46sepiI've been planning to write a pdk app that does this and that exposes some functions to js for io with the process
01:20.21*** join/#webos-internals JAM (4ac57b9d@gateway/web/freenode/ip.74.197.123.157)
01:20.31rsanchez1I have a hybrid app that downloads a file and writes to disk using fwrite
01:20.41rsanchez1is that what you mean?
01:21.16rsanchez1the js side supplies the url
01:22.44rwhitbysepi: that's not what Impostah is
01:26.23*** join/#webos-internals playya_ (~playya@unaffiliated/playya)
01:27.16rsanchez1oh wait, you mean that you want the js side to take the plugin's stdout as input, for example?
01:27.45sepirwhitby: what is it supposed to do? And is there a solution allready to what I am trying to build?
01:28.14sepilike a general dbus service that can simply attach to a process' stdio and forward it
01:28.21rwhitbysepi: hybrid apps are what you need - see the PDK videos from the last two dev days on that subject
01:28.43rwhitbysepi: a service which started arbitrary system commands would be an enourmous security vulnerability
01:29.17rwhitbysince a mojo wallpaper app could then send your password database to a russian botnet
01:29.55sepirwhitby: ok, so my approach using fork/pipe/execlp should be ok
01:29.58sepi?
01:30.36rwhitbysepi: is your approach to write a hybrid app using the PDK?
01:31.14sepiwell actually I wanted to use the webosinternals pdk
01:31.40sepiafaik it's only a different builiding method
01:32.58*** join/#webos-internals egaudet (~egaudet@209-6-35-35.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com)
01:32.58*** mode/#webos-internals [+v egaudet] by ChanServ
01:33.40rsanchez1just follow the guide here: http://en.m.webos-internals.org/wiki/WebOS_Internals_PDK
01:33.45egaudetso definitely looks like the 1.4.5 pvr stuff had a different version of the ddk
01:34.42rsanchez1to build an plugin exe try the doom demo
01:34.44egaudetone of the ioctl's (getmiscinfo) is erroring because the destination buffer is null, which I'll bet is likely due to a change in the structure of the ioctl input parameter
01:35.38egaudetbut using the 2.0 /usr/bin/pvrsrvinit and libsrv_*.so libs gets further so I'll keep debugging with that
01:41.14sepibtw, is it normal that the bottom lines of terminal get covered when I have an icon in the lower border of my pre?
01:41.37rwhitbyyes
01:42.07rwhitbyjust booted uber-kernel-pre2
01:42.14sepi:)
01:42.36*** join/#webos-internals xkuang (~xkuang@60.247.97.98)
01:42.49sepiAny plans to port terminal over to widk?
01:42.56sepiand run it fullscreen
01:43.14sepior just run it fullscreen without porting if that ist possible
01:45.00destinalsepi: I'd like to do terminal as a hybrid app with mojo rendering, but it could also be done as a graphical hybrid app like the spinning shape demo from palm
01:45.15destinalwith a mix of SDL + mojo
01:46.24rsanchez1rwhitby: you gonna overclock the pre2?
01:47.14rwhitbyrsanchez1: I'm sure someone is going to work on it eventually.  I'm focusing on the other aspects of UberKernel at the moment.
01:47.36sepirwhitby: so, how is the  pre2 hardware?
01:47.42sepibuilt quality
01:48.35rwhitbyMy Palm device build quality has always been good.
01:49.48destinalmine hasn't but only really bad on one device.  (where it had bright spots on the bottom of lcd and the volume button  broke)
01:52.12sepihmm, I recently hat a problem with the headphone jack switch bein strange. I now cleaned it and it's ok again
01:52.47sepiAnyway, I hope to be able to write a gnugo frontend in the next few days
01:52.57sepibut now I'll grab some sleep
01:53.06sepibye and thanks for your help
01:56.51rsanchez1I hope to get a pre2 soon
01:57.17rsanchez1couldn't go to dev day, so I have to wait over regular snail mail
01:59.34ShaikhGood evening folks, how goes the Frankenpre research? Broke down that new barrier yet?! :D!?
02:06.40*** join/#webos-internals raster (raster@enlightenment/developer/raster)
02:06.58destinalShaikh: the term is now ambiguous.  2.0 on castle or roadrunner on sprint?
02:07.38ShaikhCastle
02:07.52Shaikhand Roadrunner, I have a castle and my sister has a Roadrunner
02:07.57ShaikhNO wait
02:08.08destinalroadrunner = pre2
02:08.13Shaikhis roadprunner the pixi? lol
02:08.18Shaikhroadrunner*
02:08.19destinalpixie = pixi
02:08.24Shaikhhaha alright
02:08.28Shaikhthen just castle
02:08.42rwhitbydestinal: FrankenPre is 2.0 on castle.  Reverse-Half-FrankenPre is Sprint Pre 2.
02:08.59destinallol, ok, then I guess it's not ambiguous ;)
02:09.09ShaikhI need the FrankenPre for Castle
02:09.20Shaikhhaha
02:09.42destinalShaikh: egaudet  and others are trying it but the ddk we now have source code for doesn't seem to want to be happy on 1.4.5 or 2.0
02:10.08Shaikhhmmm, is it still powervr?
02:10.16destinalyeah, powervr
02:10.54Shaikhahhhh sigh
02:11.04Shaikhi was hoping for a thanksgiving Miracle... hehe
02:11.08egaudetI think the userspace tools of 1.4.5 use an older version of the ddk and thus the ioctl failure.  The 2.0 userspace tools are expecting SGX530 rev1.2.5, of which the Pre has SGX530 rev1.2.1
02:11.15Shaikhtoo bad not everyone in the world has Thanksgiving on the same day
02:11.31egaudetthat is my opinion on the matter after debugging
02:12.18rwhitbyegaudet: can we swap in the 1.4.5 userspace tools into the 2.0 image ?
02:12.22Shaikhcant you make it lie to the 2.0 userspace tools? lol
02:12.26egaudetI can bypass the versino check with the pre using 2.0 userspace tools and built ddk, but I get up to the following:
02:12.28egaudet[ 1969.730000] PVR_K:(Error): BridgedDispatchKM: PVRSRV_BRIDGE_GET_DEVMEM_HEAPINFO [3305, services4/srvkm/bridged/bridged_pvr_bridge.c]
02:12.28egaudet[ 1969.730000] PVR_K:(Error): GetHandleStructure: Handle index out of range (1628 >= 47) [401, services4/srvkm/common/handle.c]
02:12.28egaudet[ 1969.730000] PVR_K:(Error): PVRSRVLookupHandle: Error looking up handle (1) [1114, services4/srvkm/common/handle.c]
02:12.35destinalShaikh: lying doesn't seem to help
02:12.39egaudetsorry should have pastebin
02:13.06rwhitbydoesn't mind for small pioneering pastes
02:13.08egaudetrwhitby, you mean the 1.4.5 km?
02:14.09rwhitbyegaudet: I think I mean 1.4.5 userspace and older ddk version together with Pre SGX520 1.2.1
02:14.14rwhitby530
02:14.28rwhitbynot sure what that means for km
02:14.53egaudetwell we  have no source for older ddk, which just builds the km's (kernel modules)
02:15.39egaudetI -think- I tried the 2.0 image with 1.4.5 kernel, modules and userspace but maybe not
02:15.52*** join/#webos-internals oc80z (oc80z@blea.ch)
02:15.57egaudetwil try that again, I just wont be able to get any debugging info
02:16.05destinalegaudet: I did that too
02:16.14destinalwell maybe not the right pvr init binary
02:16.19destinalwhatever it is
02:16.57egaudetdestinal, yeah the libsrv*'s and pvrinit binary need to match the pvrsrvkm.ko module
02:17.03rwhitbyegaudet: yeah, that's what I'm suggesting: 1.4.5 everything, including 1.4.5 pvr init binary manually inserted into 2.0 rootfs
02:17.51*** join/#webos-internals muesli_ (~muesli@agsb-4d0400e3.pool.mediaWays.net)
02:25.44ShaikhDid it work?!
02:26.38destinalShaikh: I think he'd have to try it first :)
02:26.41egaudetit's trenchcoat flashing
02:27.05destinalegaudet: not worried about public indecency charges?
02:27.24egaudetoh I bet it is going to go wrong because 1.4.5 libsrv* doesn't have some symbols that other things like the QT libs need
02:27.27egaudetthat's my bet
02:27.29destinalegaudet: http://code.google.com/p/0xdroid/wiki/How_to_Integrate_with_SGX is somewhat interesting, made for the sgx android folks though
02:27.41egaudetdestinal, lol
02:28.10destinalhttp://code.google.com/p/rowboat/wiki/ConfigureAndBuild#Install_the_Android_Graphics_SGX_SDK_on_Host_Machine
02:28.47Shaikhin your expert opinion egaudet, do you see any other way other than putting the 1.4.5 stuff into 2.0?
02:29.49egaudetimo it's not going to happen until Palm releases 2.0 to the pre
02:31.34Shaikhsadness!
02:31.34egaudetunless there is code in the 2.0 stuff that can use the 1.2.1 rev that we don' tknow about yet
02:31.52Shaikhwell lets hope there is!
02:32.13egaudetassuming it's not too hard for Palm to support 1.2.1 and 1.2.5 at run time it may or may not already be there
02:32.14Shaikhso from everything that you have learned from doing all this, have you guys had any brilliant patch ideas?
02:32.42Shaikhohh
02:32.57*** part/#webos-internals nguarracino (~wircer@c-76-127-181-113.hsd1.ct.comcast.net)
02:33.06Shaikhwhy would Palm have to support both?
02:33.32Shaikhsorry if my questions are distracting you from your work haha
02:33.57egaudetthe pre2 has 1.2.5 and the pre has 1.2.1
02:34.09egaudetrevisions of the SGX530
02:34.50*** join/#webos-internals playya_ (~playya@unaffiliated/playya)
02:40.14Shaikhwell arent they supporting both 1.2.5 and 1.2.1 already?
02:40.54egaudetthey are with 2 different webOS versions currently
02:41.50egaudetthe libraries in the 2.5 rootfs seem to want to use 1.2.5, our only hope is if that is a runtime decision or something else that we can change IMO  Or I'm missing something else entirely
02:41.58egaudets/2.5 rootfs/2.0 rootfs/
02:45.16Shaikhwell hopefully its the best case scenario and Palm can support both revisions AND its only a runtime decision that can be changed!
02:45.37ShaikhI remember you saying we are very close
02:45.57Shaikhso do you think this will be the last of our troubles?
02:46.01rwhitbyI don't remember anyone saying we are very close
02:46.33rwhitbywe are as close as we have been at every stage, which is that there are an unknown number of hurdles between here and success.
02:47.09egaudet1 <= hurdle < infinity
02:47.33Shaikhahhh, that was just my wishful thinking then :( lol
02:48.46Shaikhbut thank you guys! you guys are awesome :) Other than "Boom, Action Time" have you guys made any new kickass patches specifically for 2.0?
02:50.00oillol
02:50.11*** join/#webos-internals rick-home (~rboatrigh@wsip-174-77-188-54.ks.ks.cox.net)
02:50.11*** mode/#webos-internals [+v rick-home] by ChanServ
02:50.17Shaikhoh! how about a patch that lets you edit the Boom, Action time to whatever you want! hah
02:50.22rwhitbyhey rick-home
02:50.27ashi_toddheh, that will be the first patch i add
02:50.45oilboom action time is just a joke :)
02:50.50rick-homehi ho
02:51.08oilhey rick
02:51.09ashi_toddi know, but a good joke
02:51.13rwhitby-> lunch
02:51.28rick-homeboom action time should have a settable parameter
02:52.28ShaikhHahaha Yes, it is a good joke :)
02:53.15Shaikhbut it would be nice to be able to edit it :) more customizability is what Homebrewing is all about :)
02:53.52scoutcamperrick-home, Shaikh http://www.webos-internals.org/wiki/Change_just_type
02:54.57ShaikhAwesome!
02:55.11ShaikhThats exactly what I was looking for haha
02:55.19scoutcamperthat is thanks to oil for discovering and me for documenting :D
02:57.11ShaikhYes! Thank you guys!
02:57.22oilgood luck making it configurable
02:57.40oili couldn't find the js responsible for just type in the card view
02:57.44oili suspect its not in js
02:57.47scoutcamperoil, i just provided it for those of us who want to make our own :D
02:57.55scoutcamperthanks to you :D
02:57.55oilwas only able to do it by changing the localization file
02:59.54scoutcamperoil, i still like mine, it says "Dont push my buttons"
03:00.43ashi_toddheehee
03:02.37bpadalinodestinal: so for this hidd stuff, you just want to be able to monitor the socket information and figure out what's being passed along ?
03:03.25destinalbpadalino: we need to figure out what is sent on both sockets as well as what to do with the plugintable function call
03:03.36*** join/#webos-internals noradtux_ (~quassel@f054121245.adsl.alicedsl.de)
03:04.02destinalI got a bit of info yesterday on that call
03:04.04destinalsec
03:04.06bpadalinosure
03:05.50scoutcamperPuffTheMagic, Ping!
03:06.39*** part/#webos-internals Templarian (~Templaria@adsl-69-208-88-187.dsl.klmzmi.ameritech.net)
03:08.07*** join/#webos-internals Templarian (~Templaria@adsl-69-208-88-187.dsl.klmzmi.ameritech.net)
03:08.07*** mode/#webos-internals [+v Templarian] by ChanServ
03:08.22destinalbpadalino: from what it looked like in IDA, PluginTable returns pointers to:
03:08.24destinalInit, Exit, Suspend, Resume, Poll
03:08.35scoutcamperrick-home, do the instructions on the http://www.webos-internals.org/wiki/Change_just_type page make sense?
03:08.37destinaland PluginTable is the export
03:08.54scoutcamperor anyone else?
03:09.15bpadalinoPluginTable .. okie dokie
03:10.03destinalI'd have to guess it returns a struct of 5 pointers since I was unfortunately looking at the ARM code
03:10.10destinallet me try the x86 which is a little more my speed
03:10.13bpadalinook
03:10.31bpadalinoi am bootig up the emu again .. so i can play around
03:11.20egaudetso for that test we get pretty far... luna gets ready to draw... and then
03:11.22destinalbpadalino: if you want to make a quick wrapper that dloads a plugin and calls that function with a declaration that it returns a pointer to a struct of 5 pointers, that would help
03:11.23egaudetQGLShader::compile: "Compile failed.
03:11.25egaudet"
03:11.25egaudetVertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
03:11.25egaudetQGLShader::link: "Link Error: Vertex shader is missing.
03:11.51egaudetalso for shader blitShaderProg
03:12.22scoutcamperegaudet, is there a way to see the webos 2.0 boot up on like rwhitby or oil s pre 2 to see where we are in terms of hurdles to cross?
03:12.58scoutcamperi would but i dont have my cable with me :(
03:13.05bpadalinodestinal: i am trying to stop hidd in the middle of execution and print out some info..
03:14.27destinalscoutcamper: you don't make any sense..
03:14.38egaudetscoutcamper, not sure what else I could gain from a pre2 with regards to this
03:14.54scoutcamperegaudet, you are freezing at a boot up process right?
03:15.15egaudetit's crashing after luna boots and tries to draw
03:15.17destinalegaudet: I guess it may be interesting to try palm's kernel and ddk on a pre2  just to see if it works there
03:15.30destinallike whether palm gave us something that doesn't match what they use
03:15.35egaudetdestinal, yeah that I want to see for sure
03:15.55egaudetwe have dspbridge driver too
03:16.11egaudetwhat else would we need to go to a newer kernel?
03:17.27scoutcamperegaudet, just for a "how far away are we" could you get a boot-up log from a Pre 2 to see what else is left after it draws luna, what else does the kernel do before webos loads to the ui and launcher etc.
03:18.57scoutcamperdoes that make sense or am i insane?
03:20.04destinalegaudet: by a newer kernel what do you mean..
03:20.23egaudet2.6.36
03:20.52egaudetI don't know why but
03:20.57destinalegaudet: hmm, don't know
03:26.19*** join/#webos-internals JD82 (~josh@75-173-168-216.dvnp.qwest.net)
03:28.53*** join/#webos-internals playya_ (~playya@unaffiliated/playya)
03:34.33*** join/#webos-internals Quad (~chatzilla@c-65-34-237-36.hsd1.fl.comcast.net)
03:38.14oilcan get whatever log is needed
03:47.17destinalbpadalino: anything interesting?
03:48.08bpadalinonothing yet .. just frustration
03:51.15halfhalowill donate a box of cookies to the first person to do whatever it is you are trying to do to work
03:51.26oillol
03:52.08Quadhey oil
03:52.12oilhey
03:52.15halfhalois not kidding
03:53.26ka6soxlooks thru 3714 pages of doco to find 1 number :P
03:54.03halfhalohah
03:54.04Quadsure your probably busy with getting thins working in 2.0, bu how goes your xbox app?
03:54.13Quadthings*
03:54.15oilhavent touched it since i left for devdays
03:54.20scoutcamperhalfhalo, would that include diagnosing my christmas display? bcuz i just did that :D
03:54.29halfhalono
03:54.29*** join/#webos-internals dgathright (~dgathrigh@c-67-162-176-224.hsd1.mo.comcast.net)
03:54.34scoutcamper:(
03:54.58scoutcamperi do christmas lights to music, i am trying to write a remote-access app for the program we use
03:56.29oiloh, you're one of "those" people
03:57.01halfhaloThe type that put up the lights in june?
03:57.09oiland put them to music
03:57.17oilso their neighbors get no sleep with all the flashing lights
03:57.28halfhaloHAH
03:57.41halfhalobreak out the bb gun!
03:58.16oilwell, they just gotta sneak over and take one bulb
03:58.19oilthen the whole thing goes dark
03:58.20oilhahaha
03:58.29halfhalonot the new strands... :(
03:59.32halfhalothey work even when there are missing bulbs...
03:59.42halfhaloBUT you take out the fuse?  GOLDEN
04:00.30halfhaloholycrap90dollarsfor8GBram
04:00.36scoutcamperhalfhalo, oil i do displays and populate strands bulb by bulb, and i dont use GFI's, so if it rains, thats my "security system"
04:00.39scoutcamper:D
04:00.58*** join/#webos-internals dgathright (~dgathrigh@c-67-162-176-224.hsd1.mo.comcast.net)
04:01.01halfhalohas wire cutters
04:01.49scoutcamperhas a soldering iron, and isnt afraid to use it :D
04:02.10halfhalohas crowbar
04:02.40oilah, you could just wait him out
04:02.52oilhis electric bill will give him a heart attack
04:02.57scoutcamperhad someone cut his lights last year, so he put about 6 mile sof fishing line up as a trip system, you would have had to cut every piece of wire to get through :D
04:03.28halfhalohas bolt cutters as well as a chainsaw
04:03.35halfhaloelectric chainsaw as well, so quite
04:03.48scoutcamperoil, you would be suprised, if you think about it, lights to music, the lights are off 99.9% of the time, the electric bill is about the same as if i were using the ac
04:04.06oilwould plug his lights into scoutcampers house
04:04.20scoutcamperhalfhalo, i have a police station that loves my display
04:04.35halfhaloso?
04:04.38halfhalo:p
04:04.46scoutcampervandal!
04:05.00halfhalotell me something I don't know...
04:06.45scoutcamperthe police love my display, so i have them station a gaurd 24/7 :D
04:07.00halfhalotranq gun
04:07.00scoutcamperhas police arrest halfhalo :D
04:07.06scoutcampertazer
04:07.28oilwould pay to see halfhalo get tazed
04:07.32halfhalois immune from the ravenges of a tazer due to his... incidents with his desktop
04:07.39scoutcamperlol
04:07.42halfhalowould pay to see that as well actually
04:08.12oilits settled then
04:08.12scoutcamperi have 220 ac electrical cords with no ends, ie liove 220 wires that can be un-taped asily and appliaed to an assailent :D
04:08.16oilrecord it, and sell tickets
04:08.29halfhalohas a squirt gun.
04:08.49scoutcamperthinks a squirt gun does nothing to 220Volt AC
04:08.49halfhaloand/or a hose
04:08.58scoutcamperhose, maybe
04:09.12scoutcamperalso has shotgun :d
04:09.39halfhalohas a reckless disregard for human life
04:09.40halfhaloWIN
04:10.07scoutcampergives halfhalo the win on that
04:10.40scoutcamperand, i didnt put my lights up till haloween, and finished them today :D
04:11.41halfhalohah
04:11.46scoutcamperwith 8 people helping every day i worked
04:11.46halfhalogoes back to his node stuff
04:12.05scoutcampergoes back to programming his app
04:12.29scoutcamperis anyone here familiar with visual basic? specifically visual basic and com ports?
04:12.42Quadif you need a good laugh http://sendables.jibjab.com/view/OuMxyVbkzA2FM0DX
04:13.14bpadalinodestinal: so if you were to write a plugin, you think Init which returns a pointer to the table for Suspend, Resume, Exit, Poll ?
04:13.22scoutcamperQuad, LOL!
04:13.48QuadI almost fell out fo my chair
04:14.22scoutcamperthat needs front page precentral :D
04:14.56Quadlol
04:15.20ashi_toddheehee
04:17.27destinalbpadalino: no, I think PluginTable() returns a pointer to a struct of pointers for callback to Init()  Suspend()  Resume()  Exit()  Poll()
04:18.15destinalbpadalino: but we should test out this theory by making our own binary that dynamically loads a plugin and calls its symbol PluginTable and see if we get reasonable pointers for the five
04:18.36bpadalinothat's what you want to do? hrm .. ok ..
04:18.52bpadalinoi was going to suggest trying to write a silly plugin
04:19.03bpadalinobut i guess being able to load it and ask for stuff is good too
04:19.25destinaleither way would work
04:19.51bpadalinoi saw there was some work done on the wiki already
04:20.07bpadalinohidTest.c there
04:20.28destinalyeah, hidTest calls hidd the userland way, we could see if hidd will in turn read from us
04:20.52bpadalinohow do you want to do it ?
04:21.31destinalbpadalino: I'm not that familiar with writing shared libs, I was hoping you might be :)
04:21.47bpadalinoha, never .. lets figure it out
04:23.08destinalok lemme grab emulator
04:27.14destinalbpadalino: there's an example of dynamic load on the web somewhere I found that was good
04:27.59destinalbpadalino: http://www.ibm.com/developerworks/library/l-shobj/
04:28.01destinaleasy enough
04:28.23*** join/#webos-internals Lumiere (~jstraw@pool-173-66-110-225.washdc.fios.verizon.net)
04:28.53destinalhmm those are linked though, sec
04:30.49destinalbpadalino: ah, there  -- http://tldp.org/HOWTO/Program-Library-HOWTO/dl-libraries.html
04:30.50*** join/#webos-internals playya_ (~playya@unaffiliated/playya)
04:31.05destinalso we need dlopen to load the lib and dlsym to map the symbol
04:31.13egaudetyou could just link it
04:31.48destinalegaudet: could, hidd doesn't, but we could..
04:32.03destinalfor now dlopen works
04:32.28egaudetyeah well hidd has to open multiple plugins, for your case linking is quickest/easiest unless you already coded it
04:33.44destinaltrue, I haven't yet ..  I guess I'll try that
04:33.49bpadalinohrm ..
04:34.30bpadalinoi used this: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html - section 3.4 .. to compile a shared library .. it would be interesting to get it to load and call Init()
04:35.07destinalbpadalino: but Init's not the exported symbol, we need to call PluginTable if I read the libraries right
04:35.15bpadalinoright
04:35.27bpadalinoso get PluginTable figured out so it can call Init() appropriately ..
04:38.24egaudetalright well I'm giving up for a couple of days
04:39.22oillol
04:39.50bpadalinookie dokie
04:42.14*** join/#webos-internals jacques (~fontenot@h194.20.185.173.dynamic.ip.windstream.net)
04:42.14*** join/#webos-internals jacques (~fontenot@nslu2-linux/jacques)
04:42.14*** mode/#webos-internals [+v jacques] by ChanServ
04:51.11*** join/#webos-internals lemonade` (~lemonade`@pool-71-178-182-211.washdc.fios.verizon.net)
04:52.49bpadalinodestinal: so when taking a look at libhidkeypad.so ..
04:52.58bpadalinoit looks like the PluginTable is as follows ..
04:53.43bpadalinohttp://pastie.textmate.org/private/nd5zyy6jdn7yry10jb6kvg
04:53.56bpadalinoso GetEventCallBack, Init, Exit, Suspend, Resume and Poll ..
04:54.07bpadalinolet me take a gander at another plugin ..
04:54.10bpadalinoone with more pointers
04:54.57bpadalinooh nevemrind .. they're all the same
04:56.13destinalah so I missed GetEventCallback previously
04:58.00bpadalinoso i don't know what each of those return ..
04:58.01bpadalinoif anything ..
04:58.30*** join/#webos-internals SineOt (~Sine@cpe-76-173-38-34.socal.res.rr.com)
04:58.34*** join/#webos-internals dgathright (~dgathrigh@c-67-162-176-224.hsd1.mo.comcast.net)
05:00.01bpadalinoi have no idea what GetEventCallback does .. but its super tiny
05:00.46*** join/#webos-internals ACap (~wircer@c-24-118-8-160.hsd1.mn.comcast.net)
05:02.07destinalreturn yet more callbacks?  not sure why if I was right and we already have 6 of which it is one
05:04.27bpadalinoany idea what __i686.get_pc_thunk.cx is ?
05:04.59bpadalinohttp://pastie.textmate.org/private/jmg3iipbnblm9b2mht1gxa
05:09.14destinal"Return values are usually returned in EAX as specified by the ABI, but other values of interest may be returned implic- itly in other registers, such as the pointer implicitly returned in register EBX by the get pc thunk bx function."
05:10.00destinalobscure reference in http://dspace.sunyconnect.suny.edu/bitstream/1951/44615/1/105522902.sbu.pdf
05:10.26*** join/#webos-internals egaudet (~egaudet@209-6-35-35.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com)
05:10.26*** mode/#webos-internals [+v egaudet] by ChanServ
05:11.04destinalbpadalino: more  http://zation99.spaces.live.com/blog/cns!FBB24DF09D1B595A!1754.entry
05:11.48bpadalinoyeah i found a definition ..
05:11.57bpadalinolooks like it just puts the current program counter into cx
05:12.18bpadalinoso stuff is returned in eax
05:12.32destinal"x86 doesn't have PC-relative addressing modes so x86 compilers have to use some tricks to copy the value of %eip into a general purpose register,which is necessary for finding the address of the GOT (Global Offset Table)"
05:14.15bpadalinoit looks like it's doing a table lookup ..
05:14.25bpadalinobut i can't figure out the table or what it's passing back
05:15.06*** join/#webos-internals playya_ (~playya@unaffiliated/playya)
05:17.27destinalbpadalino: the aforementioned global offset table?
05:19.24destinalData references from position-independent code are usually made indirectly, through global offset tables (GOTs), which store the addresses of all accessed global variables.
05:19.38destinal^wikipedia position independent code :)
05:19.38*** join/#webos-internals fprimex (~fprimex@fl-67-233-199-28.dhcp.embarqhsd.net)
05:19.49fprimexhey folks, kind of have a big problem here
05:20.05bpadalinoyes
05:20.08bpadalinoit points to the got!
05:20.24fprimexdecided to repartition the pre and it crashed in the midst of resize2fs
05:20.39destinalfprimex: heh, doctor?
05:20.43fprimexwebosdr is refusing to work
05:20.43bpadalinointeresting .. and those addresses end up being: pLsHandle, gHidAvrcpInfo (for the avrcp plugin) and pMainLoop
05:20.54fprimexdestinal: tired, no dice :/
05:20.57destinalfprimex: which partition were you resizing?
05:21.09fprimexI was resizing var
05:21.29fprimexand I had commented media/internal from fstab for the recreation part
05:21.37fprimexso... yeah
05:21.49rwhitbydo you need any data off the device?
05:21.57fprimexis there a 'repartiton nuke' function?
05:21.58fprimexnope
05:22.02fprimexwipe away
05:22.11rwhitbydd some zeros into the LVM partition
05:22.19rwhitbythen doctor
05:22.40fprimexhow would I go about the dd? quickinstall linux console?
05:22.49destinalrwhitby: yeah, I've done that succesfully before too
05:22.59rwhitbyfprimex: recovery mode memboot
05:23.09destinalfprimex: you need to boot the installer image
05:23.13rwhitbyquickinstall is not a recovery tool
05:23.14bpadalinodestinal: looks like the GetEventCallback returns some Info thinger ..
05:23.21fprimexrwhitby: not familiar with that
05:23.45destinalfprimex: http://www.webos-internals.org/wiki/Last_Resort_Emergency_BootLoader_Recovery
05:23.52destinalskip down to "alternative recovery"
05:24.30fprimexok, I will have a look
05:24.33destinaldo the first few steps and stop before the Next, mount all disks steps
05:24.55*** join/#webos-internals popppeye (~wircer@c-71-225-98-73.hsd1.pa.comcast.net)
05:25.14destinalbpadalino: info thinger eh:?
05:25.47bpadalinoinfo thinger ..
05:25.54bpadalinosize is apparently 0x18 as well ..
05:25.57bpadalinosame as PluginTable ..
05:26.06*** join/#webos-internals ItsMarc (~wircer@cpe-173-172-42-97.tx.res.rr.com)
05:26.14bpadalinoso maybe it's just a way to return the same structure that is built up ?
05:27.19destinalpossible.. hmmm
05:27.23bpadalinoit's in .bss instead of .data
05:27.49bpadalinoso maybe it's assigned after it's loaded or something
05:29.49destinalbpadalino: did you look at export symbols, want to make sure I was reading it right that there's only the one
05:30.05bpadalinoi didn't ..
05:30.15bpadalinowhere do i look at the exported symbols ?
05:30.44destinalI was using IDA but I remember there's a way with the standard object tools
05:30.50bpadalinonm seems to list things ..
05:30.53destinaljust not what that way is
05:30.54bpadalinobut ineed to figure out the codes
05:32.07bpadalinowhat was the method you thought was exported ?
05:33.44*** part/#webos-internals ACap (~wircer@c-24-118-8-160.hsd1.mn.comcast.net)
05:34.04bpadalinoah yes - PluginTable was the only thing exported it looks like when i do nm -D
05:34.53destinalok, cool
05:35.24bpadalinoso PluginTable is exported and has a method to return the info which i believe is also the PluginTable .. again ?
05:35.38bpadalinoit does look like it's just those methods .. function pointers ..
05:35.43bpadalinonot sure of the arguments or anything ..
05:36.04destinalyeah, with any luck most of them don't have any but we can disassemble them and figure that out easily enough
05:36.14*** part/#webos-internals ItsMarc (~wircer@cpe-173-172-42-97.tx.res.rr.com)
05:36.17bpadalinoyeah
05:36.41destinalalso what they return
05:36.50*** join/#webos-internals dgathright (~dgathrigh@c-67-162-176-224.hsd1.mo.comcast.net)
05:36.57bpadalinothe only other thing i know is to compile a shared lib ..
05:37.24bpadalino$ gcc -fPIC -shared -Wl,-soname,libhidsilly -o libhidsilly.so libhidsilly.c .. assuming libhidsilly is what you were compiling ..
05:38.28destinalwant to make one that just does printfs for each with void returns and no params and see what happens? :)
05:38.57destinalobviously we'll fail for the sockets part but we can see if we can get loaded and called
05:39.37*** join/#webos-internals Shaikh (4c7d57ee@gateway/web/freenode/ip.76.125.87.238)
05:47.09destinalbpadalino: perhaps we can just export the struct directly, I don't even really know if it's supposed to be a function or how we tell
05:47.22destinalI suppose seeing if there's code there would do it
05:47.25bpadalinoit's just data ..
05:47.27bpadalinonot a function
05:47.32bpadalinoit's a structure of pointers ..
05:47.35destinalok, cool, so it's just a struct of the pointers
05:48.15bpadalinoyeah, let me get something going .. maybe you can work on it more .. i have to go to bed soon
05:54.27*** join/#webos-internals torchie (~torchie@adsl-32-158-30.mia.bellsouth.net)
06:04.42fprimexok, I have a root prompt through novaterm
06:05.09fprimexrwhitby: which device should I dd and does it matter how much?
06:05.17rwhitbyone second
06:06.08destinalrwhitby: p3 and a few megs would probably be overkill?  but double check me :)
06:06.51rwhitbydd if=/dev/zero of=/dev/mmcblk0p3 bs=1024k count=1
06:06.54fprimexalways does count=1 bs=512 for MBRs
06:07.04fprimexk
06:07.07rwhitbyyou don't want to overwrite this MBR
06:07.15fprimexno sir, I do not
06:07.17fprimex:)
06:07.25rwhitbyp3 is the big LVM partition
06:07.29destinalfprimex: yeah p0 has tokens in it that if you don't have backed up, you're not getting back
06:07.32destinalstay far away
06:07.37destinalerr p1
06:07.48fprimexgotcha
06:08.00fprimexI should back those up at some point, probably
06:08.33rwhitbyhmm - I should make save/restore back up that partition
06:08.34destinalyeah I usually just dd the first 10 megs of /dev/mmcblk0  off to somewhere, just make sure you don't fat finger if/of  ;)
06:09.12destinalyou can't easily do it now because you'd need to mount a filesystem to store it in usually
06:09.25fprimexmmkie dokie, zeros in, zeros out
06:09.29fprimexwebosdr again?
06:09.29rwhitbydestinal: you can stream it off using novacom and tar
06:09.51rwhitbygoes to add that to the metadoctor backup target
06:09.57rwhitbyfprimex: yep, normal doctor
06:10.11fprimexk
06:10.16destinalrwhitby: good point, I rarely use more than get put or tty
06:11.07destinalrwhitby: I say 10m, I think geist once said 8m, but basically nvram area plus bootie for ease
06:12.07destinalif you wanted in save/restore you could just copy off tokens, the rest technically can be rebuilt, we just don't have good docs currently on how
06:12.21destinalI imagine trenchcoat would do the job
06:12.44ka6soxdoes trenchcoat read the tokens?
06:13.16destinalit doesn't read in a human readable way afaik,  you can use /sbin/tokens to get output.
06:14.08destinalI suspect that the in house version of the tokens binary can edit based on the help text but it looks like the release version has that removed
06:14.17rwhitbybash-3.2$ novacom -w run file://bin/dd -- if=/dev/mmcblk0p1 > nvram.bin
06:14.17rwhitby8192+0 records in
06:14.17rwhitby8192+0 records out
06:16.27destinalnice, are we sure there's nothing before start of p1 that we can't afford to lose?
06:16.46destinal8 megs sounds like exactly what geist said so that makes sense.
06:17.38rwhitbydestinal: I believe trenchcoat will recreate the MBR
06:18.37destinalso, theoretically fdisk, restore p1, amd doctor.  even on a totally blank disk that should work with omap3 usb boot
06:18.47destinals/amd/and/
06:19.10scoutcamperdestinal, why does the s/ stuff work for you and not me?
06:19.18destinal~botsnack
06:19.18infobotthanks, destinal
06:19.25destinalscoutcamper: because infobot likes me
06:19.30ka6sox-away~lart infobot
06:19.30infobotchops ka6sox-away in half with a free Solaris 7 CD
06:19.32scoutcamper~s/work/works
06:20.06destinalit's not so hard to do if you're friends with the bot
06:20.10destinals/o/0/g
06:20.15scoutcamperdestinal, do i have to have voice or something?(voice is the + sign or something
06:20.29scoutcamperdestinal, how do i friend infobot?
06:20.40destinalscoutcamper: it can only be the last line you type and you have to properly terminate your expression
06:20.58destinals/ion/ion./
06:21.02destinalnote the trailing slash
06:21.24scoutcampers/infobot/infobot1/
06:21.25ka6soxlearned something tonight
06:21.31scoutcamperooh
06:21.35scoutcampercool :D
06:23.03scoutcamper~botsnack
06:23.03infobotscoutcamper: :)
06:23.18scoutcamper~lart infobot
06:23.18infobotwhacks scoutcamper upside the head
06:23.32halfhalo~botsnack
06:23.32infobot:), halfhalo
06:23.48ka6sox~oil
06:23.48infobotextra, extra, read all about it, oil is the breaker of wirc
06:23.58ka6soxstupid...needs fixing
06:24.10oillol
06:24.15halfhalo~halfhalo
06:24.15infoboti guess halfhalo is a web programmer specializing in ruby on rails and node.js server side applications, and also is dabbling in sysadmin work as well.  He is also insane in the membrane, and drives way to fast on the streets.
06:24.30ka6sox~infobot no oil is the best!
06:24.30infobotokay, ka6sox
06:24.30oilpretty easy to tell who set their own response, eh?
06:24.59scoutcamper!halfhalo1
06:25.04scoutcamper~halfhalo1
06:25.05infobothalfhalo1 is, like, a maniac killer
06:25.28ka6soxis afraid to see what infobot thinks of him.
06:25.30halfhaloI... possibly
06:25.49scoutcamper~ka6sox
06:25.49infobotit has been said that ka6sox is Chief Server Infrastructure Architect and Sys-Admin Team Lead(aka BOFH), Work Time:High Power RF,  VHDL/Verilog Design, Play Time: Dabble with Kernel development.
06:25.51destinal~halfhalo is also four-eights-halo.
06:25.51infobotokay, destinal
06:26.12destinalgrr missed a t there somewhere
06:26.50destinalor h. or whatever.  coffee or sleep needed
06:27.03ka6soxvotes for sleep
06:27.12oilif i remember correctly, puffys response is funny
06:27.13scoutcamperdestinal, both, or mtn dew IV
06:27.21scoutcamper~PuffTheMagic
06:27.22infobotwell, puffthemagic is a dragon, or by the river, or out of puff, or the terminus ENFORCER..  RAAAGGE  Puff the magic but don't choke on it. ;)
06:27.25*** join/#webos-internals Ice8lue (~Ice8lue@camo159-49.hrz.tu-chemnitz.de)
06:27.38ka6soxoh my
06:27.41oillol
06:27.41Ice8luemorning!
06:27.50ka6soxmorgan
06:28.15ka6sox~ut5
06:28.21ka6sox~ugt
06:28.21infoboti heard ugt is Universal Greeting Time. Created in #mipslinux, it is a rule that states that whenever somebody enters an IRC channel it is always morning, and it is always late when the person leaves. The local time of any other people in the channel, including the greeter, is irrelevant. http://www.total-knowledge.com/~ilya/mips/ugt.html
06:28.42fprimexoi, still got 'We were unable to reset your phone' :(
06:29.00destinalthe funny thing is I think PuffTheMagic used to change nicks a lot before webos-internals and PuffTheMagic is just the one he used when he started here.  Since then though every time he's tried to change it everyone gets confused or makes fun of him :)
06:29.13oillol
06:29.16oilyeah
06:29.46oilnow hes stuck
06:30.15halfhalounless he goes /nick <newnick>
06:31.33destinalI occasionally think of switching to my real name except this nick is kind of comfortable
06:32.10*** join/#webos-internals Ice8lue_ (~Ice8lue@camo159-49.hrz.tu-chemnitz.de)
06:32.15oillol
06:32.22oilfeels weird using his real nameon the interwebs
06:32.46rick-homeI've always used mine, since the 1980's.
06:32.53halfhaloFor most things I use my First name on the interwebs, but for most stuff that I don't use that I use halfhalo
06:33.28halfhalomost stuffs in google related to halfhalo are me
06:33.42oilmy internet name is impossible to search for, lol
06:33.58halfhalotakes that as a challenge
06:34.00scoutcamperoil, what about your twitter?
06:34.08oiloil was taken
06:34.13oilso i wasn't going to signup
06:34.19oilbut swisstomcat cheated
06:34.19destinaloil: lol, like having a nick of "the" or "and" or "google" :)
06:34.50scoutcamperoil, how did he cheat?
06:34.59oilasked for my email under falze pretenses
06:35.10oiland the next email i got was "thanks for signing up for twitter!"
06:35.12halfhaloThose are the best pretenses
06:35.36scoutcamperoil, but now you have one :D
06:35.40oilyeah
06:35.48oiland 100 suckers
06:35.51oili mean, followers
06:36.09halfhaloNOT ANYMORE!
06:37.20oilmaybe i should post about what i eat more often they'll go away
06:37.36*** join/#webos-internals detroit1 (63cb71a1@gateway/web/freenode/ip.99.203.113.161)
06:37.37mugen-o\ everyone
06:37.48oilo\ to you too
06:37.53scoutcamperoil, just say you eat oil :D
06:37.56mugen-:P
06:38.07scoutcamperand only post links to oil in saudi arabia
06:39.23oiloh, now 101, great
06:39.30rwhitbypost about BP propaganda
06:39.39oil"we're sorry"
06:39.42oil"sorry..."
06:39.52rwhitby"so sorry about the birds"
06:40.02rwhitby"apologising about the fish"
06:40.03oilstops with the southpark reference nobody got
06:40.11rwhitbyyou could go on for days
06:40.17halfhalo"It was the french!  We swear!"
06:40.24scoutcamperoil, just talk about dead fish
06:40.29scoutcamperdead fish 1
06:40.30scoutcamperdead fish 2
06:40.32scoutcamperdead fish 3
06:40.34scoutcamperetc
06:40.39oilill post pictures of animals covered in chocholate!
06:40.44scoutcamper:D
06:40.50oilhttp://www.youtube.com/watch?v=tCL1svBhVgk
06:41.09scoutcamperoil, to cariboo, oil tastes like chocolate milk, thus we can drill in alaska
06:41.12destinal~palm
06:41.12infobotpalm 1z 0wned by d4 ip4q (ph33r)
06:41.28destinallmao
06:45.12scoutcamper~hp
06:45.12infoboti guess hp is The best company known to man. or SkyNet of the future.
06:45.19scoutcamper~skynet
06:45.19infobotsomebody said skynet was HP based on http://www.webos-internals.org/wiki/Application:SkyNet
06:45.29scoutcamperlol
06:45.37scoutcamperset those :D
06:46.16rwhitby~skynet
06:46.22oillol
06:46.28scoutcamper:(
06:47.48destinalrwhitby: is it me or is virtualbox a lot better than vmware fusion on OSX?
06:47.52*** join/#webos-internals cnegrete (~cnegrete@189.245.69.5)
06:47.52destinalperformance wise
06:48.19rwhitbydestinal: dunno
06:48.32destinalrwhitby: do you use both or only vbox?
06:48.51rwhitbydestinal: I use vbox for emulators and vmware for linux
06:48.59ka6sox-awaysame here
06:49.16rwhitbyvirtualbox networking kept dropping NFS on me.  vmware networking has been rock solid
06:49.58ka6sox-awayrouted or bridged?
06:50.06rwhitbyNAT
06:50.20rwhitbyguest NFS mounting from the host
06:52.15NuttyBunnyMorning! ;)
06:56.05NuttyBunny'Nite!
06:56.40mugen-i'm going to be an uncle!!! :D
06:58.07*** join/#webos-internals phb (~phb@h21n2c1o1037.bredband.skanova.com)
06:58.14oilwhat, right now?
06:58.27halfhaloIf so, pretty sudden!
06:59.05ka6soxinstant uncle?
06:59.30oillike popcorn?
06:59.51oillol
06:59.51oilhttp://cargocollective.com/4thamendment
07:00.32oilif its not cleared up by the next time i fly, im definitely going to order one :)
07:01.18destinalbpadalino: so, I know you're sleeping, but we have a working hidd plugin (with nothing but printf's) but it runs!
07:01.21destinalhttp://pastie.textmate.org/1324933\
07:01.25destinalhttp://pastie.textmate.org/1324933
07:03.07destinalI suppose linking to the generic init, suspend, resume functions would be the next step and then actually making something readable from it
07:03.55*** join/#webos-internals PullingJ (~Skuzz@c-71-227-130-87.hsd1.wa.comcast.net)
07:06.59destinalI suspect to actually add additional keybaords we'd have to wrap the current plugin in another plugin that returns its events and our own though by the fact that we don't get polled and names probably have to be unique
07:15.34destinalbpadalino: ok, updated on wiki now that it works.   http://www.webos-internals.org/wiki/Hidd
07:15.43destinalmust go pass out now
07:15.49oilnight night
07:16.42destinaloil: nite
07:17.16oilis about to finish off another box of kleenex ;(
07:17.29destinal-sleepoil: you know, you could have said it at any time, we definitely should have done that plugin a year ago :)
07:17.35destinal-sleepreally goes away now
07:17.45oilwhat plugin?
07:18.02oilis lost
07:18.03destinaloil: sample hidd plugin that does nothing but does load and gets called
07:18.23oildoesn't believe it was his idea :)
07:18.44destinalno, but I mean, we had a wiki article a year ago and this was only a few hours of work
07:18.58oiloh, lol
07:20.01destinaloh well, definitely exciting at any rate
07:20.20oillol, later
07:25.53*** join/#webos-internals swisstomcat (~tomcat@gw.ptr-80-238-175-207.customer.ch.netstream.com)
07:25.53*** mode/#webos-internals [+v swisstomcat] by ChanServ
07:25.57swisstomcatmorning
07:32.34*** join/#webos-internals PunkiBastardo (~Miranda@80.38.90.122)
07:36.38hapeswisstomcat: Morning, did your Navit test on the Pre 2 worked?
07:37.33*** join/#webos-internals Ice8lue (~Ice8lue@camo159-49.hrz.tu-chemnitz.de)
07:38.25*** part/#webos-internals lemonade` (~lemonade`@pool-71-178-182-211.washdc.fios.verizon.net)
07:38.37swisstomcatmorning hape
07:38.41swisstomcatit doesn't seem to work
07:38.47swisstomcatit doesn't display the map
07:38.51swisstomcatthe rest seems to work
07:38.58Ice8luemorning swisstomcat
07:39.13swisstomcatmorning ice8lue
07:41.05Ice8luedid u think about the pre?
07:41.19hapeswisstomcat: What is the value behind R: in the right top line? If you have a good GPS signal it should be 6 with no GPS data at all it will be 0.0000
07:41.31swisstomcatlet me check
07:41.55swisstomcat0.0
07:42.07swisstomcatR:0,000000m
07:42.10hapeSo no GPS signal
07:42.27swisstomcatlet me start bfg maps
07:42.43hapeif you go into the menu ans selcet action=> city. Do it find a city and can yopu select show in map
07:43.01hapeI expect this to work. So map is fine.
07:43.01swisstomcatyeah, that worked .. even streets .. so the map data seems to work
07:43.07hapeok
07:43.41hapeNext one there is a navit.log in the folder where you put the map. Can you pastbin me the contend
07:43.56swisstomcatk
07:44.42swisstomcathttp://pastebin.com/S66GvgwT
07:49.22swisstomcatmaybe a problem getting the gps data
07:49.23hapevehicle_webos:vehicle_webos_open:PDL_ServiceCallWithCallback failed
07:49.33hapejup exactliy that
07:49.38swisstomcataha
07:49.42swisstomcatwhich call is that?
07:49.54hapeWe had that on some other Pres to but never was able to track down the problem.
07:50.20swisstomcatwhat call are you using? pdl?
07:50.30hapeI will forword the information to noradtux_ who is doling the C coding
07:50.46swisstomcatallright, he can ask me if he needs help or testing
07:52.28hapehttp://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/navit/patches/navit__vehicle__webos__vehicle_webos.c
07:52.44hapeI expect that the call in line 120 fails for whatevere resion
07:52.58hapes/resion/reason/
07:54.00swisstomcati see
07:54.10swisstomcatyeah, that seems like a standard call
07:54.22swisstomcatare there other service calls in the code?
07:54.46swisstomcator can we get the value of the error?
07:55.06swisstomcatto see if it's a generic service call problem or a problem with just this call
07:55.54hapeWe do not have any other service calls. I expect that noradtux has to add some debug code and send you a special version or you compile your own test version
07:56.14swisstomcati see .. i have no cross-compiling setup tho
07:56.22swisstomcati only do mojo stuff
07:56.45hapeok, I send the info to noradtux. I expect he will contact you here
07:59.30hapeswisstomcat: Thanks for the testing. Good to see that it is running on WebOS2 without bigger problems
08:01.01*** join/#webos-internals xkuang (~xkuang@60.247.97.98)
08:01.20swisstomcathape: sure
08:03.50*** join/#webos-internals oc80z (oc80z@blea.ch)
08:04.11*** join/#webos-internals Shaikh (4c7d57ee@gateway/web/freenode/ip.76.125.87.238)
08:04.16ShaikhHey guys
08:04.52ShaikhI have a problem, my preware gets stuck at "completed" with the progress circle spinning
08:05.12ShaikhI doctored it and it worked fine... until i restored it using save/restore
08:05.38Shaikhand now its doing the stuck on completed again
08:06.17Shaikhaww man everyone is asleep! hehe I am gonna go post this on precentral now :) Goodnight!
08:06.33*** join/#webos-internals un1corn (~un1corn@lojander.csbnet.se)
08:10.36*** join/#webos-internals hotdp (~hotdp@cpe.ge-0-2-0-917.odnqu2.customer.tele.dk)
08:13.16*** join/#webos-internals muesli (~muesli@amarok/developer/muesli)
08:31.24*** join/#webos-internals acydlord (~xopher@ip70-190-128-157.ph.ph.cox.net)
08:51.38*** join/#webos-internals phb (~phb@194.236.60.54)
08:52.54*** join/#webos-internals ka6sox (~ka6sox@nslu2-linux/ka6sox)
08:52.54*** mode/#webos-internals [+v ka6sox] by ChanServ
09:06.58*** part/#webos-internals swisstomcat (~tomcat@gw.ptr-80-238-175-207.customer.ch.netstream.com)
09:42.24*** join/#webos-internals roxfan (~dunno@91.180.19.230)
09:56.39*** join/#webos-internals torchie (~torchie@adsl-32-158-30.mia.bellsouth.net)
10:04.23*** join/#webos-internals raster (raster@enlightenment2.osuosl.org)
10:04.23*** join/#webos-internals raster (raster@enlightenment/developer/raster)
10:43.46*** join/#webos-internals Ice8lue (~Ice8lue@p5DF2ECD0.dip.t-dialin.net)
10:44.00Ice8luehey
11:00.38*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
11:18.51*** join/#webos-internals xbonesx (~xbonesx@unaffiliated/xbonesx)
11:19.03xbonesxHi, I had problems with my browser yesterday, I've come to realize that not only were my bookmarks deleted somehow, it won't let me add more bookmarks or keep a history of were I've been???
11:33.29*** join/#webos-internals acydlord (~xopher@ip70-190-128-157.ph.ph.cox.net)
11:49.44*** join/#webos-internals PC_Analog (~wircer@ip72-219-157-212.oc.oc.cox.net)
11:50.57*** part/#webos-internals PC_Analog (~wircer@ip72-219-157-212.oc.oc.cox.net)
12:09.52*** part/#webos-internals popppeye (~wircer@c-71-225-98-73.hsd1.pa.comcast.net)
12:23.38*** join/#webos-internals Darkmagister (~Darkmagis@93-50-213-102.ip154.fastwebnet.it)
13:35.39*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
13:36.47NuttyBunnyGreetings everyone :)
13:40.14*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
13:42.32NuttyBunnylooks around and sees everyone asleep, drooling on they keyboards... hope they have some kleenex handy for the mess :D
13:47.31hotdphey NuttyBunny
13:53.54PuffTheMagicscoutcamper: we found out the quit message issue
13:56.15NuttyBunnyquit:false? :D
14:01.13PuffTheMagicya
14:05.21NuttyBunnyCool puffthemagic, I have another wirc issue tho, whenever I close it by swiping up the main card, it auto swipes the othercards, but if I try to run it again it displays the splash andnever runs (times out eventually and disappears)... has this been repo
14:05.22NuttyBunnyrted?
14:06.02PuffTheMagicyaa
14:06.05PuffTheMagicwebos bug
14:06.11PuffTheMagicdont swipe the main card first
14:06.16PuffTheMagicor use jstop to kill the main app
14:06.33PuffTheMagicus jstop to kill the left over processes i mean
14:08.37*** join/#webos-internals bpadalino (~bpadalino@cpe-72-230-135-225.rochester.res.rr.com)
14:08.55NuttyBunnyOk, I will try it, because not even a java services restart work (didn't try Luna restart, only full restart, and that works) :D
14:09.59bpadalinodestinal-sleep: saw your message about the hidd plugin ..
14:10.01bpadalinoneat ..
14:10.46bpadalinonow to just understand how to communicate between those sockets and make something useful ..
14:11.30PuffTheMagicNuttyBunny: just find the wirc process in jstop and swipe it u will get an option to kill it
14:13.41NuttyBunnylet's see
14:16.52*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
14:18.00NuttyBunnyExcellent!! So this is the reason Palm said in the PDK docs that the cards shouldn't close themselves?
14:19.04NuttyBunnyAnother one!!  I have the option for joining my favorite channels (#webos and #webos-internals of course), but it doesn't join automatically
14:21.54PuffTheMagicno
14:21.57PuffTheMagicthis is just a bug
14:22.07PuffTheMagicthere is an option for that
14:22.24PuffTheMagicjoining channels
14:23.17NuttyBunnyOk, no prob, I just tap the menu - freenode - favoites - channel :D  Thanks!
14:23.36PuffTheMagicis your nick registered?
14:26.04NuttyBunnyyep, and I send the msg to nickserv, I found an option for running commands after connect :)
14:26.28NuttyBunnycan I use that for joining the channels also?
14:30.49*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
14:30.51*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
14:30.55PuffTheMagicno
14:31.08NuttyBunnyDamn Telcel :D
14:31.14PuffTheMagicnightburn: dont use on-connect commands to identify to freeenode
14:31.16PuffTheMagicremove that line
14:31.30PuffTheMagicput your ns password as your server password for freenode
14:31.40PuffTheMagicit will identify u automiacally
14:31.41PuffTheMagicand
14:31.48PuffTheMagicit will do it before u join any channels
14:32.04PuffTheMagicwhich is important if u have a cloak
14:32.07PuffTheMagicand dont want people sing your IP
14:32.10PuffTheMagicseeing
14:32.16NuttyBunnyah, great, let me do it :)
14:36.54*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
14:42.51*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
14:44.09NuttyBunnypuffthemagic: It still doesn't join automatically, I've tried using #webos-internals and webos-internals as the channel name and nothing :(
14:44.17*** part/#webos-internals hotdp (~hotdp@cpe.ge-0-2-0-917.odnqu2.customer.tele.dk)
14:44.24NuttyBunnyIt does authorize my nick tho :D
14:46.22PuffTheMagicare u using the favorite channel list or perform on connect
14:46.44PuffTheMagicbecause the fav chan list does not autojoin
14:46.48PuffTheMagicits like a bookmark i beleive
14:47.27PuffTheMagicbut it would be an easy feature to add
14:50.22*** join/#webos-internals NuttyBunny (~wircer@201.144.87.42)
15:02.38*** join/#webos-internals Davide-NYC (~Davide-NY@user-12ld9nk.cable.mindspring.com)
15:05.38*** join/#webos-internals NuttyBunny (~wircer@200.95.162.199)
15:06.55NuttyBunnypuffthemagic: The option in the advanced server prefs says"auto open favorites", so I thought it would join the channels :D
15:11.50Davide-NYCHas anyone successfully doctored a pre2 with a Sprint Comm Board?
15:13.46destinal-sleepbpadalino: hey
15:14.27ka6soxmorning
15:14.45Davide-NYChappy thxgivn.
15:15.24ka6soxyep, for those of us in the US.
15:15.28destinalka6sox: morning
15:15.43ka6soxhiya...need cofffee.
15:16.36destinalDavide-NYC: rwhitby did it at devdays in NYC, though he used a customized doctor
15:17.18bpadalinodestinal: hi
15:17.34destinalbpadalino: so, nice job on the plugin, did you see wiki?
15:17.57bpadalinoyeah i saw that you were able to load it and it called init
15:18.14bpadalinovery cool stuff
15:18.26bpadalinonow to figure out how the command and event sockets work ..
15:18.45destinalbpadalino: well, first we should link libhidd and call the generic init, suspend, resume, I think
15:18.51bpadalinookie dokie
15:18.52bpadalinogo for it
15:18.54destinalsince that's what most of the plugins seem to do
15:19.03destinalbut yeah, those sockets...
15:19.38bpadalinomaybe disassemble the Init() of one of those other plugins and see if it opens a socket in there ..
15:19.53bpadalinomaybe the socket name is passed in during init
15:20.15destinalbpadalino: I think the sockets may be between hidd and luna, I'm not sure the plugins use them
15:20.23bpadalinoah
15:20.25bpadalinogotcha
15:20.38bpadalinowell, i need to drive for a bit .. i'll be back later tonight ..
15:20.50destinalbut yeah let me disasm libhid too to see what the generic funcs do
15:21.04bpadalinogood luck and hopefully you can get something that simulates something cool
15:21.05bpadalino:)
15:21.09destinalthere's so little code in the keypad driver that they seem really simple
15:21.19bpadalinoyeah, i doubt they're doing a lot
15:23.53*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
15:24.53PuffTheMagicdestinal: what caused my nick switching habbits to come up last night?
15:25.16destinalPuffTheMagic: your infobot name definition had me thinking about it
15:25.27destinal~PuffTheMagic
15:25.27infobotextra, extra, read all about it, puffthemagic is a dragon, or by the river, or out of puff, or the terminus ENFORCER..  RAAAGGE  Puff the magic but don't choke on it. ;)
15:26.19PuffTheMagicwonders why my name in infobot came up
15:26.34ka6soxlook back up the logs
15:26.54destinalPuffTheMagic: people were playing with infobot, don't remember who now
15:26.55PuffTheMagici did that, didnt see a cause
15:27.14destinal~destinal
15:27.14infoboti guess destinal is just this guy, you know?
15:27.36PuffTheMagicwho the hell sets these things
15:27.37ka6soxprobably because people were checking out different things that infobot knew about different people?
15:28.09PuffTheMagici should make a wirc add on app that just queries infobot for people
15:28.41destinalPuffTheMagic: btw terminus apparently broken in 2.0 but I don't think we can test it without a 2.0 device
15:29.10destinalmaybe some things missing from the jails?
15:29.14PuffTheMagicprobably
15:29.22PuffTheMagichow do u know its broken on 2.0
15:29.24PuffTheMagicwho tried it
15:29.37destinalgot a report in #webos yesterday
15:29.51PuffTheMagicoh
15:29.55destinal[#WEBOS] destinal: terminus crashed phone. I just tried launching it again. Same thing.
15:29.56PuffTheMagicpeople are dying for a terminal
15:29.56destinal<rlopin_>[#WEBOS] destinal: just tried a 3rd time. This time I got a black screen and solid square cursor in upper left hand corner. But it is unresponsive to any typing.
15:30.02PuffTheMagici get a email a week about terminus
15:30.54*** part/#webos-internals ka6sox (~ka6sox@nslu2-linux/ka6sox)
15:32.17*** join/#webos-internals rsanchez (62b434d5@gateway/web/freenode/ip.98.180.52.213)
15:34.00rsanchezhello
15:34.19*** join/#webos-internals daltonj82 (~wircer@75-173-168-216.dvnp.qwest.net)
15:34.27rsanchezwondering if someone could help me set up networking on an ubuntu rootfs chrooted on pre
15:34.37rsanchezI set it up following the instructions here: https://wiki.ubuntu.com/ARM/RootfsFromScratch
15:34.45rsanchezbut I can't get the networking set up
15:35.36PuffTheMagicis /dev bind mounted to your chroot?
15:36.49daltonj82I was woundering if the sr71 blackbird kernel if I have it set to 500/1200 will it be on 1200 if my screen is off but have a app open like pandora or wIRC?
15:38.01ka6sox-awaydaltonj82, since the governor only cares about he screenstate its @ 500 afaik
15:38.13ka6sox-aways/he/the/
15:38.29daltonj82ok thanks
15:39.08rsanchezPuffTheMagic: I mounted it the same way I mounted the debian rootfs, the way described in the webos internals wiki
15:39.35PuffTheMagicthat didnt answer my question
15:39.55rsanchezmount --bind /dev /media/cf/dev
15:40.20PuffTheMagicdid u copy over /etc/resolv.conf?
15:40.30rsanchezno
15:40.50ka6sox-awayrsanchez, can you ping out of the chroot?
15:40.56ka6sox-awayan IP address.
15:40.56PuffTheMagicwont be able to use dns if u dont
15:41.07rsanchezalright I'll do that
15:41.15rsanchezcouldn't ping anything
15:41.28ka6sox-awayincluding an IP address (not a name)
15:42.04rsanchezyep
15:43.09ka6sox-awayokay so you have a more fundamental problem than DNS
15:43.21*** join/#webos-internals mpingu (~pingu@p4FEF4CD0.dip.t-dialin.net)
15:43.34ka6sox-awaywhich distro of ubuntu-arm?
15:43.40ka6sox-awaylucid? later?
15:44.01rsanchezlucid
15:45.04ka6sox-awaytries to remember if ubuntu-arm uses udev.
15:46.09rsanchezlooks like copying resolv.conf did it, I can ping google's ip address
15:46.19ka6sox-awaykewl.
15:46.30ka6sox-awayinteresting that it needed to do the lookup.
15:46.40ka6sox-awayusually its just slow.
15:46.46rsanchezpinging google.com works too
15:47.11rsanchezthanks PuffTheMagic, ka6sox
15:49.37PuffTheMagicdns on the pre is wonky
15:49.51PuffTheMagicif its not working right the device comes to a hault
15:50.01PuffTheMagici have this issue when trying to mess with freetether
15:56.12ka6sox-awayugh...requiring DNS to work before *anything* works...
15:56.23ka6sox-awayDNS will be the DEATH of the internet.
15:58.20PuffTheMagicwhen I was doing networking jobs, dns was the first thing i always checked when there was an issue ;)
15:58.24*** join/#webos-internals basotl (~basotl@cpe-76-175-208-112.socal.res.rr.com)
16:16.44*** join/#webos-internals Templarian (~Templaria@99.54.130.249)
16:16.44*** mode/#webos-internals [+v Templarian] by ChanServ
16:20.16*** part/#webos-internals daltonj82 (~wircer@75-173-168-216.dvnp.qwest.net)
16:24.08*** join/#webos-internals fprimex (~fprimex@fl-67-233-199-28.dhcp.embarqhsd.net)
16:29.32fprimexok, still having trouble since my partition resizing crash
16:29.48fprimexwebos doctor dies at 82% with unable to restore
16:30.53ka6sox-awayouch
16:31.34ka6sox-awayhave you looked at the log of the java as its going by?
16:31.43ka6sox-awayand seen what its dying on?
16:32.33fprimexnope
16:32.41fprimexwhat log am I looking for?
16:32.57ka6sox-awaywhat platform are you doctoring from?
16:33.57fprimexmac
16:34.31ka6sox-awayare you using terminal to java -jar webosdoctor* ?
16:35.47fprimexnope, double clicking the jar
16:35.57fprimexI will try it again from the terminal so I can see the output
16:36.00ka6sox-awaygo to terminal.
16:36.05ka6sox-awayya, that will help
16:36.55destinalfprimex: 82 is really far
16:37.12ka6sox-awayyep.
16:37.38destinallike, I wonder if it would boot, type far
16:38.03fprimexyeah, I've had it come on and start going through the motions
16:38.14fprimexbut there's still some problem with the partitions
16:38.27fprimexI've considered rebuilding them myself and then doing a reset on the handset
16:38.37fprimexbut I have a turkey dinner to get to ;)
16:38.48ka6sox-awayearly
16:38.55ka6sox-away(or youhave to drive)
16:39.24fprimex6 course italian meal
16:39.33fprimexprobably going to be there for lunch through dinner
16:39.55ka6sox-awaywhat? and you aren't starting @ 9pm?
16:40.30*** join/#webos-internals morphis (~morphis@brmn-4dbc852b.pool.mediaWays.net)
16:40.50fprimexstartin' around 1 I think
16:41.03ka6sox-awayfor Italians thats like...early
16:41.43fprimexhe's a transplant from new jersey
16:42.08fprimexI'm from NC, and we're in FL, so I really don't know what a right time would be :)
16:43.00ka6sox-awayfprimex, I would think that trenchcoat would see that the partitions are hozed and just nuke/pave
16:43.07ka6sox-awayif that were the issue.
16:43.29destinaland if it got to 82 it did that.  I wonder if there could be something wrong with p2
16:43.34destinalwhich is /boot
16:43.39fprimexI've dd'ed zeros onto the lvm device as suggested by rwhitby and also gone in and lvremoved them when that didn't work
16:43.50fprimexerrr?!
16:43.58fprimexjust saw 90 and 95% fly by
16:44.07ka6sox-awayhe he...
16:44.15ka6sox-awaymebbe this time is the ticket?
16:44.26fprimexI swear this is about the 5th or 6th time I've run it :|
16:45.03destinalfprimex: did it actually ever bomb out / give terminal failure before or just stall at 80?\
16:45.15fprimexbombed out with unable to restore at 82
16:45.31ka6sox-awaywe scared it by doing the command line
16:45.43*** join/#webos-internals jrmuizel (~jrmuizel@mozca02.ca.mozilla.com)
16:46.21fprimexah, I don't think the % at the terminal and % in the GUI are the same, maybe
16:46.30destinalno, they're not
16:46.47fprimexyeah, it's at 64% in the GUI - says "Reconnecting to modem" in terminal
16:47.08destinal# Around 72% the carrier apps are being installed
16:47.10destinal# Around 82% the ROM is being verified
16:47.11destinalfrom the wiki
16:48.00destinalfprimex: I wondered if rwhitby's dd was too little,  I usually dd about 10 megs
16:48.09destinalwhich is probably overkill but it worked for me
16:48.24ka6sox-awayya, hozing the partiton should have been enough
16:48.30fprimexI will try that next depending on what we have to go on after this
16:48.35ka6sox-awayand trenchcoat would cry UNCLE and nuke/pave
16:48.59destinalfprimex: at least this time hopefully you'll see the actual error
16:49.44destinalfprimex: this is an official palm doctor, not meta?
16:50.12fprimexdestinal: yeah, downloaded via the wiki links
16:51.02ka6sox-awaywhen does carrier check happen?
16:51.09fprimexINFO: ROM Verifyer: ./usr/share/systemsounds/shuffling_01-ondemand.pcm: FAILED
16:51.19fprimexcorrupt ROM file?
16:51.38ka6sox-awayor bad flash
16:51.51fprimexWARNING: Flash Failure
16:52.27fprimexWARNING: flashing failed, move to failed card
16:52.39fprimexhardware failure?
16:52.44destinalfprimex: probably try downloading the doctor again and md5sum both copies just to be sure
16:52.55destinalfprimex: see if your other was corrupted somehow
16:52.56ka6sox-awayya, thats what I"d do
16:53.07destinalalso try dding 10 megs over p3, what can it hurt
16:53.12fprimexk, I will try, but I've also downloaded it about 3 times
16:53.18ka6sox-awayand check palm's site for the md5sum
16:53.25fprimexyeah, will do that too
16:53.26fprimexok
16:54.04destinalka6sox-away: yeah I was thinking about it and we really need our own tool.   doctor is great but a tool with some advanced recovery options would be nice
16:54.30destinalplus one written in easily readable open source python or something we don't have to decompile and reverse :)
16:55.31ka6sox-awaywould need to work natively on all platforms...so python might be good.
16:55.43ka6sox-awaybut you still need novacom drivers
16:55.49fprimexis the "md5 fingerprint" in java security cert supposed to be the md5 sum?
16:56.00fprimexif so, then the official one I got from palm differs from the earlier download
16:56.14destinalka6sox-away: well we could integrate novacom drivers within the tool using libusb with pyusb
16:56.23destinalbut yeah we'd need to reimplement
16:57.16ka6sox-awaythinks about the windows users and pyusb drivers
16:57.30destinalka6sox-away: they tell me libusb will work under windows
16:57.57ka6sox-awayokay thats good then.
16:58.37destinalthough a novacom binary would be nice to make in C.. I need to work on my C  (and my python now it seems) :)
16:58.41ka6sox-awaya set of utils that would allow recovery from corrupted flash would help reduce return rates.
16:59.00destinalbpadalino did most of a novacom binary way back when, that could be enhanced
16:59.07destinalstill libusb tho
16:59.22*** join/#webos-internals Templarian (~Templaria@173-104-90-196.pools.spcsdns.net)
16:59.22*** mode/#webos-internals [+v Templarian] by ChanServ
17:05.28*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
17:06.43Kyusakuwirc + stacks = amazing
17:10.43ka6sox-awayfprimex, I don't know about java md5 stuff...but I would expect that palm should be able to provide the md5sums of the doctors (if we don't have that one the wiki)
17:10.50ka6sox-aways/one/on/
17:14.22fprimexdestinal: what is the lvm device again?
17:15.06fprimexn/m got it
17:15.52ka6sox-awayfprimex, good because he pinged out
17:18.50fprimexok, dd'ed 10MB to that... try again I guess
17:20.11ka6sox-awayagain I'd use terminal so you can watch whats happening
17:20.47fprimexI'm trying on the windows machine now, but I have java set to open the console on app start
17:20.58fprimexthis is the one downloaded from palm
17:27.09*** join/#webos-internals liquidsky42 (~jan@ip-62-143-4-113.unitymediagroup.de)
17:42.02fprimexbleh, 10MB to the lvm partition & redownloading from palm still isn't getting it :/
17:43.57ka6sox-awayfailing @ the same place?
17:44.03fprimexcomplete log: http://pastebin.com/XuAYNfP5
17:44.05fprimexyep
17:44.09fprimexflashing failure
17:45.45*** join/#webos-internals GNUtoo|laptop (~gnutoo@host31-144-dynamic.24-79-r.retail.telecomitalia.it)
17:47.19ka6sox-awayyep, thats UGLY.
17:47.41fprimexhmm :/
17:47.46fprimexphone still boots though
17:47.51ka6sox-awaypre? pre+?
17:48.10fprimexpre+
17:48.31ka6sox-awayI would say hardware flash failure
17:49.14ka6sox-awayI can't remember if bootie can do an fsck.
17:50.17fprimexI see that different files are failing the check now
17:50.44fprimexguess it's time to see if I can get a replacement
17:52.13ka6sox-awaylooks like the /usr partition is failing
17:52.48*** join/#webos-internals djk (~djk@ool-43509ce7.dyn.optonline.net)
17:55.06fprimexwell, thanks for everything ka6sox-away; I'm gonna go eat some turkey and play some donkey kong. I'll worry about this later
17:57.38*** join/#webos-internals Davide-NYC_ (~chatzilla@user-12ld9nk.cable.mindspring.com)
18:04.35*** join/#webos-internals destinal (~chatzilla@174-24-43-153.clsp.qwest.net)
18:04.35*** mode/#webos-internals [+v destinal] by ChanServ
18:07.38PuffTheMagicdestinal: what type of advanced recovery options
18:10.03destinalPuffTheMagic: things like nuking partitions or rebuilding the fat fs when people get corruption, this is the third person I've seen come in in about a week who needed to boot installer image and dd stuff
18:10.21destinalbackup and restore tokens would be nice also
18:10.27destinalor edit
18:10.29PuffTheMagicwe havea  token tool
18:10.39PuffTheMagicegaudet and I made it
18:10.41PuffTheMagic;)
18:10.54PuffTheMagici need to get my kexec bootloader running this weekend
18:10.59destinalPuffTheMagic: oh really?  is it in git?
18:11.03PuffTheMagicthat would help with all the frankenpre shit
18:11.10PuffTheMagicdestinal: ya its called bootie-config
18:11.14destinalnice
18:11.53destinalyeah mainly I'd like to see a lot more advanced capability preferably in a python based gui or something, so you can sa
18:12.06destinalsay, back up tokens, change them around, recalibrate the accelerometer, whatever
18:12.08PuffTheMagicwell that aint gonna happen
18:12.13PuffTheMagicnot python based at least
18:12.24destinalPC side I mean
18:12.28PuffTheMagicpygtk and/or pyqt are a pain to get on Macos
18:12.38PuffTheMagicit would be fine if it were just a windows/linux tool
18:12.48PuffTheMagicmaking people use darwinports to get pygtk would suck
18:12.54destinalhmm
18:13.03destinalCalibre seems to do find on mac
18:13.03PuffTheMagici guess we could make a app bundle
18:13.06PuffTheMagicthat is like
18:13.08PuffTheMagic30mb
18:13.09PuffTheMagic:)
18:13.12PuffTheMagicand inlucde it all
18:13.40PuffTheMagicdestinal: py2app works really nice
18:14.03PuffTheMagicso maybe users wont need to download anything
18:14.07PuffTheMagicif we make a univeral binary
18:14.10destinalyeah bundle  up pyqt into an app bundle like calibre does, should be fine
18:14.32PuffTheMagicexcept i would pygtk
18:14.41PuffTheMagicim afraid of qt
18:14.44halfhalowould use ruby and titanium
18:14.51PuffTheMagicbut mayve wrapped in python it owuldnt matter
18:15.04destinalheh,  with qt being in webos now we should probably get more familiar with it
18:15.19PuffTheMagicits a language in itself
18:15.25PuffTheMagicontop of C++
18:15.31PuffTheMagicwhich is gross in itself
18:16.06destinalsure but does it matter what you use if it's got python bindings?
18:16.13PuffTheMagicidk
18:16.16PuffTheMagicit might
18:16.32PuffTheMagicreally depends on who wrote the bindings
18:16.34PuffTheMagicfor example
18:16.42PuffTheMagicthere are like 15 lisp bindings for qt
18:16.45PuffTheMagicand they are all different
18:16.49PuffTheMagicsome very lispy
18:16.54PuffTheMagicsome basically C like
18:17.01PuffTheMagicsome use smoke
18:17.03PuffTheMagicsome dont
18:18.46destinalPuffTheMagic: i'd like to make a full fledged package manager, too, for the webos ipkg lib.   it would be nice to be able to do some of this frankendoctorish stuff without having to redoctor, just say, use version X of this package and version Y of that
18:19.15destinalI was mainly thinking on-pc with the rest of this because then it would work to fix things before ever booting
18:20.06PuffTheMagicpackage manager?
18:20.07destinalwould be nice if it could make requests to palm's update service using your pre's tokens too so you can choose what version you want from there, download and install
18:20.10PuffTheMagicin python
18:20.11PuffTheMagicu mean
18:20.12destinalone stop shopping
18:20.14PuffTheMagicinstall emerge?
18:20.19PuffTheMagicand portage
18:20.19PuffTheMagic?
18:20.21destinalno, talking an ipk frontent
18:20.25destinalfrontend
18:20.36PuffTheMagiclike preware?
18:20.47PuffTheMagicis so confused
18:20.48destinalexcept for the _palm_ library
18:20.59PuffTheMagicwhat is the _palm_ library
18:21.01destinalthe OS itself
18:21.05destinalnot apps
18:21.15PuffTheMagicidk what u mean
18:21.21destinalthere are two ipkg libs
18:21.28destinalone for webos itself, one for apps
18:21.43destinalwebos's one is /usr/lib/ipkg
18:21.45destinalIIRC
18:22.15PuffTheMagicthe feed that is used for OTA?
18:22.40destinalyeah that's the primary thing it's used for
18:23.05destinalthis way you could do OTA updates without using palm's updater for one
18:23.07PuffTheMagici dont see how that and frankendoctors are related
18:23.38PuffTheMagicnor do I see why you would want to not use their updater
18:23.59destinalPuffTheMagic: there are times when you need more flexibility
18:24.27destinalinstall a specific version of a specific package, or just update a specific package, and being able to do it from installer image would be handy
18:25.21destinaladmittedly the circumstances are fairly rare where would would need it but I've run into a few times where I wish I'd had one
18:26.06destinals/would/you/
18:27.14destinalit would be cool to be able to do the same for both ipkg libs.  then you could have functionality similar to wosqi to
18:27.15destinalo
18:29.16destinalbasically a framework where you could say, ok, just got a new pre3.14159, i'd like to back up its tokens, swap in package X, install preware and turn on dev mode, usbnet, and skip first use and activation,  all before I ever boot it
18:29.49destinalwithout needing to build special doctors
18:29.55*** join/#webos-internals rwhitby (~rwhitby@nslu2-linux/rwhitby)
18:29.55*** mode/#webos-internals [+v rwhitby] by ChanServ
18:30.25destinaloh and change its carrier customizations, etc
18:31.26*** join/#webos-internals PullingJ (~Skuzz@c-71-227-130-87.hsd1.wa.comcast.net)
18:31.38PuffTheMagicdestinal: im not really understanding how what u are describing is different than what metadoctor does
18:31.55destinalPuffTheMagic: similar goals, different approach
18:31.56PuffTheMagicor how it could even be done without metadoctor
18:32.17destinalPuffTheMagic: anything can be done by booting the installer image and talking to the device, that's what the doctor does
18:32.37destinalI'm just talking about eliminating the middleman
18:32.42marajin_Well I'm kinda annoyed at palm eurostore
18:33.00PuffTheMagicdestinal: seems like a different middle man
18:33.09destinalwrite, writing our own then
18:33.10PuffTheMagicnot no middleman
18:33.17destinals/write/right/
18:33.35destinalbut one with a lot more functionality along the lines of the things we want to do
18:33.47destinaland not something that necessarily HAS to blow away the device and take forever to run
18:33.51PuffTheMagici dont really get how what "we want to do" comes in here
18:33.58PuffTheMagicbut dont let me stop u from doing this
18:34.30destinalI want a tool that *can* restore / reinstall but also just twiddle things
18:34.32destinalfast
18:34.48ka6sox-away<PuffTheMagic>, It'll NEVER work! :D
18:34.53ka6sox-awayj/k
18:35.46ka6sox-awaybasic tools like lvm management and dd in the payload would take care of a lot.
18:36.10PuffTheMagicjust ignore me
18:36.43ka6sox-awaynot ignoring you...I see feature creep.
18:37.16PuffTheMagicnot from me
18:37.23PuffTheMagici dont even understand the purpose of this yet
18:37.33ka6sox-awaycorrect..not from you.
18:38.07destinalyeah, it's me, I see a lot of things this could do but I should probably try to keep the unix philosophy in mind
18:38.21destinalfeaturitis / bloat tends to be the other way
18:38.21ka6sox-awayPuffTheMagic, is your kexec going to be able to load a ramfs?
18:40.18PuffTheMagicof course, i plan on making a minimal uImage with a cpio built in that contains the kexec loader, that people can set to their "main" kernel
18:40.31PuffTheMagicso the kernel would have to have block support and ramfs
18:40.40PuffTheMagicif it is able to load anything else
18:41.44destinalPuffTheMagic: what's the advantage over just usb booting?
18:42.03PuffTheMagicgive me some context here?
18:42.14marajin_So huh.. I ordered a pre touchstone cover... and they charged me for it
18:42.17marajin_sent me an order confirm
18:42.20destinalPuffTheMagic: I mean maybe I don' understand what it's supposed to do
18:42.21marajin_and a shipping confirm
18:42.24marajin_but it never turned up
18:42.28marajin_and they refunded the charge
18:42.35marajin_but they won't answer their phone
18:42.37marajin_literally
18:42.38marajin_/ever/
18:42.43marajin_that's kinda irritating
18:42.49destinalmarajin_: who's they?
18:43.03marajin_and I can't log in to the site cause it just whines that my login details are wrong
18:43.08marajin_and offers me no way to reset them
18:43.10PuffTheMagicdestinal: the point is to have  real bootloader, so people can switch between different kernels easily
18:43.15marajin_destinal: Palm's official webstore
18:43.17PuffTheMagicor boot different userlands, etc
18:43.25PuffTheMagiclike grub
18:43.28PuffTheMagicbut not grub
18:43.42ka6sox-awayPuffTheMagic, so it should be easy to get it to load a ramfs then
18:43.45destinalPuffTheMagic: ah, something that can do a graphical menu, maybe navigate with volume buttons or keyboard?
18:43.54PuffTheMagicka6sox-away: yes of course
18:44.00PuffTheMagicdestinal: yes
18:44.02PuffTheMagicwell
18:44.03ka6sox-awayso that solves a bunch of problems
18:44.05PuffTheMagicits going to use the fb
18:44.08destinalsure
18:44.13PuffTheMagicbut its going to look more like curses
18:44.15PuffTheMagicthan gui
18:44.22ka6sox-awaywith HIDD or not?
18:44.26ka6sox-awayoh
18:44.28ka6sox-awayokay
18:44.36PuffTheMagicthe fso guys are doing a more elaborate one with evas/ecore
18:44.44PuffTheMagicmine already works
18:44.48PuffTheMagictheirs is a work in progress
18:44.51ka6sox-awaylets start with something simple
18:45.03ka6sox-awayand create a ramfs that has the tools we need
18:45.18destinalso is it a chainloader of sorts?  a linux kernel that can load in other kernels and ramfs's and start them
18:45.29PuffTheMagicdestinal: ya
18:45.37PuffTheMagickexec chainloaded bootloader
18:45.51destinalok, cool.  that's really awesome
18:46.11ka6sox-awaystarts making a list of utils to put in the ramfs.
18:46.41destinalfinally could do a rescue imagine on the device if you don't have a pc, boot multiple versions of webos, android, whatever
18:46.53destinals/imagine/image/
18:46.58destinalcan't type today
18:47.01PuffTheMagicdestinal: exactly
18:47.30PuffTheMagicinstalling kernels would be easier too since they dont have to muck with symlinks
18:47.34PuffTheMagicor renaming stuff
18:47.48destinalyeah kernel development where only one can be active is annoying
18:48.23destinalnot having to usb boot everything or swap links would be really nice.  so you say it actually works?
18:48.38PuffTheMagicdestinal: ya i tired getting this working a month or so ago but it didnt work cause kexec dont work on armv7's
18:48.39destinal?now
18:48.42PuffTheMagiceven in mainline
18:48.45PuffTheMagicbut someone fixed it
18:48.52PuffTheMagicand the fix is in the fso kernel git repo
18:48.56PuffTheMagicso i have to pull that out
18:49.27PuffTheMagicand build it
18:49.30PuffTheMagicthen we are good to go
18:49.30destinalPuffTheMagic: have you looked at it to know whether it's a trivial backport?
18:49.43PuffTheMagicthere is no backporting to do
18:49.47PuffTheMagicit was only fixed for .26
18:49.57destinaloh, ok.  nice.
18:49.59PuffTheMagici dont think they submited it to lkml for upstream
18:50.12PuffTheMagicthere was a similar fix for a different cpu
18:50.17PuffTheMagicthere was a similar fix for a different cpu
18:50.19PuffTheMagicand they just copied it for v7's
18:56.06ka6sox-away.26 is close enough
18:56.12destinalPuffTheMagic: you know what would be awesome but impractical?  pxe-style boot over usbnet or wifi
18:57.02destinalnot really much point though esp usbnet since you can already boot usb
18:57.52ka6sox-awaydestinal, TI does that already
18:58.15destinalka6sox-away: yeah, I've booted the omap3 directly with a tool I found source code for, it's liked on the wiki
18:58.32destinalif you mean the omap usb boot
18:58.49ka6sox-awayyes
18:59.08ka6sox-awaydid you try it with a pre?
18:59.16destinalka6sox-away: yup
18:59.30destinalka6sox-away: http://www.webos-internals.org/wiki/Last_Resort_Emergency_BootLoader_Recovery
18:59.40destinalunder OMAP boot Procedure
18:59.55ka6sox-awaykk...
19:00.25ka6sox-awayso we could create an image that uses OMAP boot+kexec+rootfs as a recovery tool?
19:00.39ka6sox-aways/rootfs/ramfs/
19:02.31destinalka6sox-away: well currently I've only tried booting bootie with the omap loader, it's the only boot loader we've got that works so far
19:02.42destinalwe haven't really tried porting uboot or whatever
19:03.36PuffTheMagici tried omap usb boot also
19:03.37PuffTheMagicit works
19:03.55*** join/#webos-internals SineOt (~Sine@cpe-76-173-38-34.socal.res.rr.com)
19:03.56destinalyou could omap usb boot bootie and usb load kexec / ramfs etc
19:04.22destinalwe could just try to port another boot loader but that seems like a lot of work
19:04.39PuffTheMagicwhy
19:04.46PuffTheMagicthat is way to much work
19:04.50PuffTheMagicbootie is fine
19:04.56SineOtquick question: I saw someone mention that the Pre2 was using the ondemandtcl governor... is there a way to get ondemandtcl on a 1.4.5 Pre? D:
19:04.57PuffTheMagickexec-loader is fine
19:05.26PuffTheMagicdestinal: the kernel init's in like 1 second
19:05.34PuffTheMagicthats not that long really
19:05.41PuffTheMagicto get from reboot to the loader
19:05.42*** join/#webos-internals swisstomcat (~tomcat@gw.ptr-80-238-175-207.customer.ch.netstream.com)
19:05.42*** mode/#webos-internals [+v swisstomcat] by ChanServ
19:05.53swisstomcatevening
19:06.14ka6sox-awayPuffTheMagic, you are assuming that bootie isn't corrupted
19:06.29PuffTheMagicwell that can be repaired with bootie-config
19:06.31destinalka6sox-away: you can always get bootie from the doctor
19:06.35PuffTheMagicand the image from the doctor
19:06.50destinalbut we can't distribute a tool with it included unfortunately
19:06.50PuffTheMagicive already tested this by wiping all my tokens
19:06.58ka6sox-awaydestinal, I thougth we were trying NOT to have to tear apart the doctor?
19:07.12PuffTheMagicright but
19:07.25PuffTheMagicwreaking your tokens really means u hosed your device some how
19:07.32PuffTheMagicso that is not a every day issue
19:07.50ka6sox-awayPuffTheMagic, I'm not talking about tokens...just bootie being hozed
19:07.57destinalka6sox-away: 99% of the recovery questions we see in here still have a working bootie so I'm ok with it for now
19:08.21destinaleventually we may want to try our hand at a bootloader but the investment isn't worth the benefit ATM IMO
19:08.21ka6sox-awayokay
19:08.55ka6sox-awayI mean...uboot works with an OMAP
19:09.15ka6sox-awayso its not that difficult
19:10.14PuffTheMagicuboot/uboot2 work
19:10.14PuffTheMagicBUT
19:10.21PuffTheMagicthey dont have fb support for our device
19:10.25PuffTheMagicso that would mean a lot of work
19:10.28destinalka6sox-away: maybe once I get my beagleboard I'll play with it a bit, it would be nice if the only option wasn't a binary only blob
19:10.30PuffTheMagicwhich i dont want to do
19:10.36PuffTheMagici've booted uboot
19:10.40PuffTheMagicits useless with out fb
19:11.06destinalPuffTheMagic: or USB
19:11.07ka6sox-awayPuffTheMagic, we should look @ what the beagleboard guys are doing.
19:12.11PuffTheMagicwhat they beagleboard guys are doing is sorta meaningless
19:12.17destinalka6sox-away: I wonder if the omap jtag over usb interface extends to giving some kind of simple serial access between boot loader and host
19:12.26PuffTheMagicwe would need to port the sirloin board stuff their setup
19:12.51ka6sox-awaydestinal, dunno.
19:12.55destinalwithout a full jtag implmentation preferably :)
19:13.37ka6sox-awayI need to look @ my beagleboard and see what can be done.
19:14.06ka6sox-awayPuffTheMagic, yes, the FB stuff would be a pain
19:14.31ka6sox-awayunless we can get emulator code for a PL2303 in uboot.
19:15.32ka6sox-awaythen we would have usb<>serial
19:16.23destinalka6sox-away: it's tempting to implement novacom  ;)
19:16.36PuffTheMagicwe dont need to distribute bootie to fix it
19:16.41PuffTheMagicjust create a backup image with dd
19:16.46PuffTheMagicthat can be restored
19:18.18ka6sox-awaydoes dd work on windows7?
19:18.30PuffTheMagicin cygwin
19:18.45PuffTheMagicim sure we can make a dd for windows
19:18.56PuffTheMagicwith mingw toolchain ot something
19:19.10ka6sox-awaythis makes too many assumptions..and relys on proprietary code
19:19.11PuffTheMagica special version for usb
19:19.30PuffTheMagicwhat are we talkling about that is propreitary?
19:19.36ka6sox-awaybootie
19:19.51PuffTheMagici would love to have a opensource bootloader
19:20.07PuffTheMagicbut i dont think its worth the time
19:20.08PuffTheMagicnot my time
19:20.28ka6sox-awaybootie works great...for what its intended for.
19:20.56PuffTheMagicwhat else would u want it to do
19:20.58ka6sox-awaybut what I would like is a solution that we can distribute, from end to end.
19:20.59PuffTheMagicthat is does not do
19:21.20ka6sox-awaydoesn't allow me to distribute it.
19:21.53PuffTheMagicwhat would having a distributable bootloader gain us?
19:23.21ka6sox-awaya solution that doesn't depend on the flash partitions being intact
19:23.50PuffTheMagicwe have like 10000 projects that have a better return that adding fb+sirloin support to uboot2
19:24.01PuffTheMagicbut if someone has the knowhow to do so then go for it
19:25.28destinalka6sox-away: dd is done on the device in a booted installer image btw, that we can automate in the other tool I was thinking of if bootie will start well enough to get into recovery
19:26.16ka6sox-awaydestinal: "if bootie will start well enough to get into recovery"
19:26.21ka6sox-awaythats why.
19:26.36PuffTheMagicbackup bootie!
19:26.51destinalwell actually it always should but you need the palm boot.bin from the doctor unfortunately.
19:26.52*** join/#webos-internals PullingJ_ (~Skuzz@c-71-227-130-87.hsd1.wa.comcast.net)
19:27.18PuffTheMagicboot.bin is just fwloader.bin from uboot i bet
19:27.37PuffTheMagicwe can replace bootie with out having fb
19:27.37destinalPuffTheMagic: nah, boot.bin is bootie and geist said it's not based on uboot
19:27.39PuffTheMagicthats pretty easy
19:27.56PuffTheMagicdestinal: yet it looks 99.9% like uboot, amazing
19:28.12PuffTheMagici've heard the claim too
19:28.21destinalPuffTheMagic: he said he used the commands he was familiar with and he knew uboot so, meh, maybe
19:28.39destinalmakes sense to me
19:28.54ka6sox-awayPuffTheMagic, "backup bootie" is NOT a solution when its already corrupt and you need it.
19:29.22destinalka6sox-away: doctor image has it so it's good enough for now for the user to provide it
19:30.06destinaleventually I'd like to do our own also
19:30.25destinalif nothing else for the learning experience
19:30.43*** join/#webos-internals bsm (~rob@port-92-196-52-98.dynamic.qsc.de)
19:30.45ka6sox-awaydestinal, okay for now.
19:31.21ka6sox-awaybut tearing a doctor apart is something more advanced...expecially for a windows7 user
19:31.45ka6sox-aways/expecially/especially/
19:32.02PuffTheMagicka6sox-away: sure thats not an option, but we can get people to back it up before starting stupid shit
19:32.06destinalnot so much, winrar, right click, extract, find a tar, right click, extract.  we've had them do it and we could automate it with a tool
19:32.09PuffTheMagicand that will solve most issues
19:32.25destinalPuffTheMagic: true, just back up the start of flash
19:32.32PuffTheMagicright
19:32.34PuffTheMagicthats all im saying
19:33.07PuffTheMagicwhats going to happen when the hose our custom bootloader
19:33.15PuffTheMagicthey are still going to need sometthing to start from
19:33.18PuffTheMagicjust as much work
19:33.31*** join/#webos-internals phb (~phb@h21n2c1o1037.bredband.skanova.com)
19:33.37destinalI'd like to eventually have more and more pieces of the stack open or replaceable by OSS components but that's not the first one on my list atm :)
19:33.41ka6sox-awayPuffTheMagic, its not a question about doing stupid sh*t...its a question of things breaking
19:33.52PuffTheMagicthings only break when u do stupid shit
19:34.02*** join/#webos-internals torchie (~torchie@adsl-32-158-30.mia.bellsouth.net)
19:34.13ka6sox-awayPuffTheMagic, FALSE
19:34.22*** join/#webos-internals ket (ket@gateway/shell/anapnea.net/x-lvsmdbylgmrhjutv)
19:34.29destinalwell we've seen catastrophic flash corruption without stupid things afaik but it was due to damage, write fatigue probably, and we couldn't get past it
19:34.38PuffTheMagicbootie does not get messed up from doing anything besides dd on your whole flash
19:34.39ketuser: k[t has ban?
19:35.05*** part/#webos-internals ket (ket@gateway/shell/anapnea.net/x-lvsmdbylgmrhjutv)
19:35.09PuffTheMagicdestinal: u sure they didnt do stupid shit, they could be lying
19:35.41destinaldunno, they could be pulling battery while it's on I guess, we're always warned that that's bad
19:35.51destinalthough I do it enough without issues so far
19:35.52PuffTheMagici do that all the time
19:35.56PuffTheMagicit shouldnt kill bootie
19:36.27PuffTheMagiconly time my bootie got messed was when i zeroed out my bootie area to see what would happen
19:36.30PuffTheMagicand lost my tokens
19:36.31destinalPuffTheMagic: I guess if you lose power to your device while doctoring and it's writing bootie, that's one in a million tho
19:36.53PuffTheMagicdestinal: that falls into the stupid shit category
19:37.35destinalat any rate, it's a closed piece of the stack, so on my list to get to eventually, but for now, hidd :)
19:38.42ka6sox-awayright, I am not saying it needs to be replaced NOW...it should just be on the radar.
19:39.07PuffTheMagicka6sox-away: its def on my radar
19:39.13PuffTheMagici've gone down this path a few times now
19:39.16ka6sox-awayfor now, your kext + ramfs
19:39.25PuffTheMagicits beyond solo skills
19:39.31PuffTheMagici would join in again if others helped
19:39.35ka6sox-awayPuffTheMagic, yep...
19:39.47ka6sox-awayI need to look @ uboot2 again.
19:39.55PuffTheMagicuboot2 is nicely organized
19:40.01PuffTheMagicwe just need to add our board to its setup
19:40.02ka6sox-awayvery
19:40.13ka6sox-awayright, that would need done
19:40.44*** join/#webos-internals NuttyBunny (~cnegrete@189.146.206.6)
19:40.55NuttyBunnyGreetings :)
19:40.59ka6sox-awayokay I gotta drive 3hrs...bbl
19:41.04ka6sox-awaygood ideas.
19:41.25PuffTheMagicso u should all switch to using gentoo
19:41.36PuffTheMagicmy 1 toolchain builds apps and kernels
19:41.44PuffTheMagiccause it has the right binutils/glibc combo
19:41.45ka6sox-awayand with that I'm outta here :D
19:41.47PuffTheMagicno need for multiple chains
19:41.49PuffTheMagic;)
19:41.53PuffTheMagicka6sox-away: latter happy t-day
19:41.53*** join/#webos-internals bsm (~rob@port-92-196-52-98.dynamic.qsc.de)
19:42.10ka6sox-awayPuffTheMagic, you too!
19:44.00destinalPuffTheMagic: yeah I think I will try gentoo actually
19:44.05destinalI haven't for years
19:44.37PuffTheMagicim starting my ovelray over
19:44.46destinalthough on OSX I can use the PDK too, need to play with that
19:44.50PuffTheMagicand going to be pushing sutff later tonight
19:45.03PuffTheMagicfor a cleaner setup
19:45.21PuffTheMagicglibc 2.6.1 and bintuls 2.19 is magic
19:45.38PuffTheMagicbut 2.6.1 isnt in the gentoo overlay any more
19:45.46PuffTheMagici had it pull it out from the depths of old cvs history
19:46.08PuffTheMagicand i had to add a patch to allow binutils 2.20 to build it
19:46.16PuffTheMagicstupid autotools fail
19:46.24PuffTheMagiclooked for 1.[3-9]
19:46.39PuffTheMagicor something like that
19:46.49PuffTheMagic2.[3-9]
19:46.57PuffTheMagicso 1.19 didnt match that
19:54.40*** join/#webos-internals MetaView (~MetaView@p57B90BE1.dip0.t-ipconnect.de)
20:26.35*** join/#webos-internals morphis (~morphis@p5489CAF4.dip.t-dialin.net)
20:29.19destinalok I think the silly hidd example is getting closer to proper
20:37.57*** join/#webos-internals bsm (~rob@port-92-196-52-98.dynamic.qsc.de)
20:38.31destinalhttp://www.webos-internals.org/wiki/Hidd
20:38.37destinalsample hidd plugin is coming along
20:48.10destinalbpadalino: whenever you get back from celebrations or whatever, check it out..
20:53.24*** join/#webos-internals un1corn (~un1corn@lojander.csbnet.se)
20:55.45bpadalinoback now ..
20:55.47bpadalinolooking now .
20:57.43bpadalinodestinal: hrm .. so what is the pointer that is passed in ?
20:57.48bpadalinoduring the geteventcallback ?
21:09.22*** join/#webos-internals rlopin (~rlopin@cpe-98-14-8-136.nyc.res.rr.com)
21:12.46swisstomcathi rlopin
21:21.35*** join/#webos-internals sirkuttin (48da4ccb@gateway/web/freenode/ip.72.218.76.203)
21:29.38*** join/#webos-internals morphis (~morphis@p5489CAF4.dip.t-dialin.net)
21:31.48*** join/#webos-internals xclint6x (47cff487@gateway/web/freenode/ip.71.207.244.135)
21:33.27*** part/#webos-internals swisstomcat (~tomcat@gw.ptr-80-238-175-207.customer.ch.netstream.com)
21:39.30*** join/#webos-internals acydlord (~xopher@ip70-190-128-157.ph.ph.cox.net)
21:40.02*** join/#webos-internals piso (~piso@dynamic-adsl-94-36-107-2.clienti.tiscali.it)
21:59.27destinalbpadalino: I'm not actually sure, but it does appear to be there from what i can see in IDA
21:59.48bpadalinointeresting
22:00.09*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
22:00.14destinalI'm not really sure what the rest of the bytes are either
22:00.49bpadalinohave you printed out the values ?
22:00.55bpadalinodo they look like addresses ?
22:01.18destinalnegative, I spent a little while getting the generic calls for libhid put in there and they *seem* to work so far
22:01.30*** join/#webos-internals playya__ (~playya@unaffiliated/playya)
22:01.35bpadalinoso at least it doesn't crash!
22:01.36destinalyou can see another init event in the hidd verbose output
22:01.46destinalwhich I assume is from generic
22:03.18bpadalinointeresting
22:05.52destinalbpadalino: let me try printing the contents of the pointer real quick
22:05.58bpadalinookie dokie ..
22:06.02bpadalinohow do you know the size of it ?
22:06.19*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
22:06.37destinalbpadalino: IDA guess. maybe not accurate but at least it doesn't crash :)
22:06.43bpadalinoheh
22:07.13bpadalinoi see gPluginPrvInfo in the libhidinputdev.so being 54 bytes ..
22:07.39bpadalinoand for libhidavrcp.so i see gHidAvrcpInfo being 0x8b4 bytes ..
22:07.43bpadalino0x54 bytes rather before
22:08.06bpadalinoso 0x54 correlates to 21 32-bit integers ..
22:08.18destinalah
22:08.38bpadalinobut i have no clue where that comes from :(
22:12.40*** join/#webos-internals Templarian (~Templaria@108.99.204.194)
22:12.41*** mode/#webos-internals [+v Templarian] by ChanServ
22:16.17*** join/#webos-internals Shaikh (4c7d57ee@gateway/web/freenode/ip.76.125.87.238)
22:18.07*** join/#webos-internals PullingJ (~Skuzz@c-71-227-130-87.hsd1.wa.comcast.net)
22:30.49destinalbpadalino: so sizeof(a1) with the callback returns 4, which would make sense if it was index 0 of 22 dwords in the IDA guess  -- can that be trusted?
22:32.09destinalseems to be reliably pointing at the same data across invocations also
22:32.13bpadalinoit's just a pointer ..
22:32.20*** join/#webos-internals rlopin (~rlopin@cpe-98-14-8-136.nyc.res.rr.com)
22:32.22bpadalinoso you'll get a sizeof being 4 no matter what
22:32.57bpadalinoprint out the contents going up to 21 ... 32 bits at a time ..
22:33.04bpadalinoi am curious if there are things that may look like sizes ..
22:33.07bpadalinoor just addresses in there
22:33.41*** join/#webos-internals ajay (~ajay@157.22.13.236)
22:34.01ajayhowdy folks!
22:34.54ajayAnyone know anything about what to do if the palm:// service stops running? i.e. how to fix it
22:35.41bpadalinopanic ..
22:35.43destinalajay: run.
22:35.55ajaydestinal: which direction?
22:35.56bpadalinoand watch for the zombies
22:36.03ajayuh huh
22:36.06rwhitbymorning
22:36.11bpadalinomorning rwhitby
22:36.12destinalajay: palm:// isn't a service
22:36.14ajaymornin!
22:36.16rwhitbypalm:// is not a single service
22:36.42rwhitbythere are a number of executables which contribute services to the palm:// bus
22:38.12bpadalinodestinal: get that printout of those values ?
22:38.14ajayrwhitby: Is there documentation online about this? I've been having trouble finding any
22:38.19*** mode/#webos-internals [+v bpadalino] by ChanServ
22:38.51ajayI don't know why all/most of the associated executables with palm:// (And today pulse) stopped running..
22:39.22bpadalinomaybe they're taking thanksgiving off ..
22:39.34*** join/#webos-internals rick-home (~rboatrigh@wsip-174-77-188-54.ks.ks.cox.net)
22:39.34*** mode/#webos-internals [+v rick-home] by ChanServ
22:40.04ajaybpadalino: palm:// stopped working wks ago actually
22:40.14destinalbpadalino: what's the best printf to get hex bytes for them?
22:40.19ajayplus I don't even celebrate thanksgiving
22:40.33bpadalino%8.8x
22:40.52bpadalinoajay: well i'm not jewish, but i can understand why some people are walking around on saturday!
22:40.56*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
22:41.35ajaybpadalino: I think that's a stretch
22:42.02destinalbpadalino: so..
22:42.03rwhitbyajay: there is not - it's an internal thing which Palm doesn't document.
22:42.06destinalint GetEventCallBack(int *a1) {
22:42.07bpadalinovery much so
22:42.08destinal<PROTECTED>
22:42.14bpadalinosure
22:42.15destinalor am I wrong?
22:42.17rwhitby2.0.1 doctor is out: http://palm.cdnetworks.net/rom/pre2/p201r0d11242010/wrep201rod/webosdoctorp102ueuna-wr.jar
22:42.23bpadalinomay want a \n in there
22:42.25bpadalinofor good measure
22:43.30ajayrwhitby: Okay. do you know which binaries are involved? I'd like to get them runnin again
22:43.38destinalbpadalino: http://webos.pastebin.com/mMHUKPDU
22:44.33rwhitbyajay: there are at least 20 binaries involved
22:44.44rwhitbylook in /usr/share/dbus-1/system-services/
22:45.24bpadalinodestinal: yeah doesn't make much sense to me .. :(
22:45.59ajayHmm.. I wonder if I'm looking at the right thing.
22:46.13ajayMy problem is I can't click links from emails, phone numbers from the web, and a few other quirks.
22:46.23destinalbpadalino: I rebooted and the result was identical so at least there's that
22:46.35ajayAt some point a program complained about palm:// but maybe that's just a piece of what's borked..
22:47.36bpadalinowell being the same is good ..
22:48.42ajayfor being linux, this phone really gets easily (And confusingly/non-auto-fixingly) screwed up when you fill up its partitions
22:49.43destinalajay: I've had some real production linux systems seriously lose it when / became full
22:50.16ajaydestinal: even post-space-freeing and reboot?
22:50.30destinaleh, true.  usually not
22:51.03bpadalinodestinal: wish i could help out with this private data stuff ..
22:51.06destinalajay: did something happen to the database files?
22:51.28bpadalinoare you sure returning 0 is right for GetEventCallBack ?
22:51.59destinalbpadalino: the example I disasm'd did
22:52.15ajaydestinal: A bunch of DBs were acting screwy for a minute, but (iirc) all my data came back/apps were acting normal again (post space-freeing)
22:52.29marajin_so what's the general opinion of 2.0.x ?
22:52.43destinalMarajin: most of us wish we had it
22:52.49Marajinheh
22:52.56Marajinno release outside the US or something?
22:52.59Marajinor Pre 2 only or what?
22:53.00ajayhaha.. i was about to say that, but sure that's not the answer marajin was lookin for
22:53.19destinalMarajin: pre2 only so far
22:53.49destinalbpadalino: you could help out, grab an emulator :)
22:53.58bpadalinotrue
22:54.04bpadalinoi have some people over ..
22:54.08bpadalinoi will bust it out soon enough i guess
22:54.09destinaloh well not now
22:54.18*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
22:54.26destinalsometime when you're not celebrating :)
22:54.33Marajinmeh
22:54.54ajayspeaking of 2.0, was there nothing (other than QuickOffice) folks were able to extract from 2.0? (I'm particularly curious about flash)
22:55.05destinalbpadalino: we're getting ready to go up to my mom's in a few
22:55.21destinalajay: I tried to get flash to work but it's complicated  :)
22:55.22Marajinis the pre 2 actually significantly better?
22:55.25bpadalinoshe's hacking up some webos hidd plugins too ?
22:55.26bpadalinonice
22:55.32Marajinslightly better camera and twice the storage is all I've heard about it
22:56.39bpadalino1GHz processor slipped by ?
22:56.45bpadalino3630 versus 3430 ?
22:57.04*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
22:58.10destinalbpadalino: anyway I have a feeling we'll get something useful working soon enough which is more than I could have said about hidd before
22:58.19Marajinmeh
22:58.33bpadalinookie dokie
22:59.20MarajinI'd have liked higher screen resolution over the CPU upgrade :P
22:59.21Marajinbut ok
22:59.23bpadalinomaybe this weekend we'll get some scriptable input events happening
22:59.28destinalbpadalino: I'm thinking about writing a wrapper for an existing plugin that proxies for it so we can trace more than hidd wants to give us
22:59.34rwhitbyajay: use the mime table reset utility
22:59.36bpadalinosounds good
22:59.38ajayhmm.. pulse's issue is trouble creating a directory.. maybe some perms got changed somewhere
23:00.23destinalbpadalino: also it's a good smoke test, if we're screwing anything up it should make the existing plugin fail, when it works reliably I guess we have the interface more or less correct
23:00.26ajayrwhitby: Is that diff from the files checkin util?
23:00.30ajaybecause I Ran that alread
23:00.41bpadalinoyeah i believe so
23:01.45destinalbpadalino: I have a deadline on this stuff now, I have a beagleboard on the way so once I get a kernel and luna working on it I'll need custom hidd plugins to get any useful input into it :)
23:01.47ajaydestinal: did you sing to flash? "Why ya gotta go and make things so complicated!" maybe extracting the browser from 2.0 as well would help?
23:01.48bpadalinothat's not too shabby of a plan anyway
23:02.52destinalajay: lol, yeah.  but it hated the song and the 2.0 browser hung.  well the browser hung anyway but I didn't actually sing.
23:03.49ajaydestinal: oh yeah you're on it.. :)
23:04.38destinalI tried just the plugin and it didn't render anything, I tried changing config settings in etc and it didn't do anything.  I figure there may be db settings needed to turn on flash and they're not there, so I pulled over 2.0 browser but needless to say the infrastructure it expects is much different so it fails
23:05.00ajayhuh. intense
23:05.19destinalI could play with it a lot more but I figure my time's better spent getting 2.0 working :)   (well and hidd which is important too for other reasons)
23:05.28ajayhidd?
23:05.50destinalhidd is the layer between the physical hardware / kernel modules and luna (the GUI)
23:06.06destinalit's also modular and uses a plugin for each type of device
23:06.18destinalaccelerometer, keypad, touchscreen, proximity sensor, etc etc
23:08.19destinalajay: basically if we want to add custom input devices (physical or virtual) hidd's the place to do it, but it's palm custom proprietary stuff and we don't have documentation or source code from palm, so we have to reverse engineer
23:08.41ajayhuh.. wonder if playing there would help the n900 folks play games better.. ;^)
23:08.58ajaydestinal: oh! very cool
23:09.15destinalnah SDL also talks to hidd afaik but it presents a standard SDL interface so they have that all abstracted for them
23:10.16ajaydestinal: I was thinking for maybe the gesture area (assuming accelorometer/etc work the same)
23:10.20*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
23:11.48destinalI think they just get events.  they've probably had some reverse engineering of there own or studying palm's patches to learn about the custom stuff palm's doing but I think the guy who started the webos games on n900 work is also the guy who did DrNokSnes, so I think it's in pretty capable hands :)
23:13.19destinalreally what they need most is fake multitouch.  beyond that they could use a way to legally buy webos games without buying pre's of their own but I think the catalog is pretty set on you having a palm profile with a device SN and possibly MEID
23:14.11ajayspeaking of I still want n900 skype.. ;^)
23:14.35destinalajay: I guess we're going to have skype soon anyway so we don't need to fake hildon which could be a huge pain
23:15.29*** join/#webos-internals linuxjacques (~fontenot@nslu2-linux/jacques)
23:15.29*** mode/#webos-internals [+v linuxjacques] by ChanServ
23:15.33ajaydestinal: I think we already had this discussion before, I thought I convinced you that there is a need.. ;^)
23:15.46linuxjacquesis the omaplfb module new to 2.0 ?
23:16.15destinalyeah, I like the idea but I don't know much about libx11 or the hildon extensions to it.  we may still want it for other apps later but skype is coming with verizon pre2's apparently
23:17.25ajaythat's the kicker - it's Verizon Data-only. no wifi, no worldwide
23:17.46destinalajay: and you really think that problem can't be solved?
23:18.08ajaydestinal: are you challenging yourself to solve it? :)
23:19.32destinalajay: *shrug*  - it would be an interesting challenge but i've got several of those more important ATM (IMO)
23:19.59*** join/#webos-internals QuadJunky (~wircer@173-107-83-12.pools.spcsdns.net)
23:20.03destinalI have a feeling skype will be pretty easy if people want it but I haven't seen it or anything
23:20.55*** part/#webos-internals QuadJunky (~wircer@173-107-83-12.pools.spcsdns.net)
23:21.22ajayi guess my point was more that there's no reason to poo-poo someone who wants to see it on the device via an alternate method. I agree -- spend your time on the more important projects
23:21.45*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
23:22.10*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
23:22.24destinalajay: oh, yeah, it would be cool, but I bet getting the webos skype working without restriction is way easier than the hildon and x layers, that's all
23:22.41destinalif someone wants to do it it would be awesome for all kinds of reasons
23:22.53rwhitbyI suspect skype will go through a dedicated verizon number, not over wifi.
23:23.21rwhitbythat's one way they could be guaranteed that people can only use it on verizon
23:23.33ajayrwhitby: Oh yeah I think I read that's how it works, it takes minutes, not over data
23:23.35destinaltrue
23:23.36rwhitbyand there is enough money involved that they will have smart people enforcing that guarantee
23:24.07*** join/#webos-internals azakus (~dfreedm2@chunk.sketchyplace.biz)
23:24.11rwhitbyso I suspect the best you'll get on another carrier is the IM and presence information, but not calls.
23:24.28destinalin that case maybe the n900 binary is the way (though straight SIP would be cool tbh, has anyone come up with a SIP softphone for webos yet?  oh right probably because no catalog for hybrid yet)
23:26.22ajayyeah I remember someone had ported a SIP client, but the desc made it sound a little unworkable. that'd be cool..
23:27.01destinalrunning asterisk on pre with pulse channels and IAX to a home PBX would be fun too
23:27.28destinalor SIP / IAX to a telco etc
23:27.35ajay(speaking of skype.. damned if I can login to ribbit anymore, grr..)
23:28.34ka6soxdestinal. want me tocreate a page 4 precovery?
23:28.34ajayI wonder if anyone ever tried to get android apps working outside of android..
23:28.52ajaymm.. asterisk
23:32.08destinalka6sox-away: eh?
23:33.21ajayooo permissions for /var were wrong, the plot thickens
23:34.16*** join/#webos-internals mrcesarmx (c9abc67f@gateway/web/freenode/ip.201.171.198.127)
23:38.46bpadalinohrmm
23:41.01ajayrunning ps I can't see any processes that should be running that aren't. :(
23:41.14bpadalino:(
23:42.09*** join/#webos-internals Tman (~tyler@unaffiliated/tman)
23:55.01*** join/#webos-internals summatusmentis (~summatusm@109.169.58.113)
23:55.19*** join/#webos-internals Kyusaku (~wircer@pool-71-187-3-67.nwrknj.fios.verizon.net)
23:57.10*** join/#webos-internals mpingu (~pingu@p4FEF4CD0.dip.t-dialin.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.