**** BEGIN LOGGING AT Thu Nov 03 02:59:59 2011 Nov 03 03:10:44 voxadam: craigslist it man, you might be able to do an even trade Nov 03 03:26:52 can someone explain something about patches. i'm having an issue with conflicting patches and I'm manually editing the patches to not conflict Nov 03 03:28:30 on the @@ -1,2 +1,5 @@ line of patch i understand that the first pair is the before and the second is the after. and i know the second value of the pair is the number of lines that exist but what is the first value of the pair? Nov 03 03:30:09 i thought it was the number of lines from the top of the file, but does it index at zero or 1? Nov 03 04:25:17 line 1 is 1, iirc Nov 03 04:25:27 and yes it's line # in the before/after Nov 03 11:36:01 anyone can help me to use jquery on a mojo app ??? i have added jquery on source.json, include it before mojo on index.html Nov 03 11:36:27 but i don't know where i have to put the var jQuery = var jQuery.noConflict(); Nov 03 13:11:10 Is there any way to remove all patches on the system, even when they aren't showing up in Preware? Nov 03 13:22:02 Nobody here, then? Nov 03 13:22:14 Eearslya: there are lots of people here. :) Nov 03 13:22:16 not rly Nov 03 13:23:28 Eearslya: I don't know if there's an easy way to do it, but perhaps investigate Emergency Patch Recovery (EPR) to see if it does what you nedd Nov 03 13:23:31 er need Nov 03 13:24:09 Alright, thanks. Maybe you can help me with this too: Where can I find the doctor for 2.1.0 on the pre plus? I did it a long time ago and have had 2.1.0 for a while, and when I got a new 2.1.0 doctor, it said my phone wasn't compatible, even though I still have 2.1.0 on it now. Nov 03 13:26:24 what provider? Nov 03 13:26:29 VZW. Nov 03 13:28:20 http://ws.hpwebos.com/webosdoctor/sorry.htm Nov 03 13:28:32 that help? Nov 03 13:30:37 Nope, because it asks for my serial number, then throws me a 1.4.5.1 doctor. Nov 03 13:30:56 oh... Nov 03 13:31:00 I see Nov 03 13:31:13 the wiki might have such links Nov 03 13:31:24 That's where I got the 2.1.0 doctor. Nov 03 13:33:59 http://www.webos-internals.org/wiki/WebOS_Doctor_Versions has 2.1.0 for non-VZW Pre Plus systems... Nov 03 13:35:51 Where? Nov 03 13:37:16 http://www.webos-internals.org/wiki/WebOS_Doctor_Versions#Pre_Plus and http://www.webos-internals.org/wiki/WebOS_Doctor_Versions#Pre_Plus_3 Nov 03 13:39:02 Ah. Nov 03 13:41:11 EPR did what I wanted, too. Thanks. Nov 03 13:41:57 So, one more thing. Ever since I doctored, there were a few apps that I canceled downloading. They still show up in the launcher, transparent with an empty download circle. How do I get rid of those? Nov 03 13:42:29 I have no idea. they are there because they are in the download list... Nov 03 13:42:44 maybe go delete/remove them in the catalog/update apps? Nov 03 13:44:30 Nope. I've gone into the software manager and done "Delete Paused Downloads". Nov 03 13:44:45 :( Nov 03 13:44:47 dunno then. Nov 03 13:44:59 orange-click doesnt let you remove either? Nov 03 13:45:30 No, just pauses there for a second, then the light goes away, no menu appears. Nov 03 13:46:09 But I can move them around all I like. Nov 03 14:02:27 Eearslya, http://www.webos-internals.org/wiki/WebOS_2_Upgrade Nov 03 14:02:35 you have to *make* a doctor Nov 03 15:12:47 preware on my touchpad is hanging on reading saved package list. What can I do to fix this? Nov 03 16:34:38 Hi, I have a homebrew question. Anyone around? Nov 03 16:39:50 ~asktoask Nov 03 16:39:50 This is IRC. Don't ask to ask a question. Just ask your question and if someone's around, they'll be glad to help. Nov 03 16:40:33 OK Nov 03 16:40:52 Has anything changed with regards to unjailing JS services in 3.0.4? My homebrew that worked prior to the update has all stopped working Nov 03 16:41:04 yes Nov 03 16:41:15 node.js was updated Nov 03 16:42:00 I'm using a script similar to the one found in Editah, that modifies the run-js-service script to turn the jail off. It seems when I run my apps that they're still jailed. Nov 03 16:42:04 How would the node update affect it? Nov 03 16:42:56 the installer could have overwritten the dbus files in /var/palm/ls2/services/pub|prv Nov 03 16:43:01 after the update, the existing homebrew installs were fine. It was only after I uninstalled and reinstalled one that it stopped working. Nov 03 16:43:16 I've hceked them and they're correctly replaced with the json in my service dir Nov 03 16:43:20 *checked Nov 03 16:43:31 As is the dbus file pointing to the custom run-js-service file Nov 03 16:43:46 so you checked the dbus files in the ls2 dir? Nov 03 16:43:51 yes Nov 03 16:44:02 priveliged with inbound * outbound * etc... Nov 03 16:44:07 *privileged Nov 03 16:44:57 the privs are the roles folder, but you definitely checked the services folders for the exec path? Nov 03 16:45:23 did you also look for dups? like com.myapp.service and com.myapp.service.service Nov 03 16:45:30 yeah Nov 03 16:45:42 uhoh Nov 03 16:45:43 there are dups Nov 03 16:45:47 yep... :) Nov 03 16:45:49 with only one "service" Nov 03 16:45:53 how did they get there?! Nov 03 16:46:02 the app when you re-installed it Nov 03 16:46:06 kill 'em Nov 03 16:46:39 rm the one with just ".service"? Nov 03 16:46:52 (instead of ".service.service" i mean Nov 03 16:46:56 yeah, then run " /usr/bin/luna-send -n 1 palm://${ID}/__quit '{}' " replacing ${ID} with the com notation of your service Nov 03 16:47:20 or set ID=com.YOURSERVICEHERE Nov 03 16:47:23 either works Nov 03 16:47:40 sod it, I'll luna restart ... Nov 03 16:48:02 thanks for the help, I never would have noticed that. Do I need to add something to my script to kill these extra files? Nov 03 16:48:26 is the app that you reinstalled a homebrew app that you wrote? Nov 03 16:49:35 yeah Nov 03 16:50:27 so I actually leave the dups on my system, but I overwrite them. I run through my pmPostInstall which writes the .service.service ones, then I run the ls-controll scan-services command, then I overwrite the dups with someting like Nov 03 16:50:27 /bin/cp -f $SERVICES_PATH/dbus /var/palm/ls2/services/pub/$ID Nov 03 16:50:27 /bin/cp -f $SERVICES_PATH/dbus /var/palm/ls2/services/prv/$ID Nov 03 16:51:11 ah so copy dbus over both versions with the scan in between Nov 03 16:51:18 yeah, that's what I did Nov 03 16:51:30 but you prob could just as easily rm them Nov 03 16:52:08 Seeing as it was recognising them over the .service.service ones, I'm thinking overwrite for now Nov 03 16:52:29 woo id=0 Nov 03 16:52:32 :) Nov 03 16:52:35 thanks! Nov 03 16:52:45 welcome. man this bug drove me nuts until I figured it out **** BEGIN LOGGING AT Thu Nov 03 21:40:16 2011 Nov 03 21:43:38 yes Nov 03 21:46:42 should be up now Nov 03 21:49:37 it is. got it Nov 03 21:53:37 Wanted to make sure if there was a veer update besides the default version Nov 03 21:53:49 Just got my Veer back and it's a brand new phone. Nov 03 22:01:31 Only 2.1.2 officially Nov 03 22:03:30 yup. so i've heard Nov 03 22:11:18 wrea: get your new veer yeT? Nov 03 22:11:47 Yeah, last Monday Nov 03 22:13:43 i'm back Nov 03 22:13:45 :) Nov 03 22:14:58 /media/internal/.palm has stuff in it... but after doing mountcfs -s /media/internal/.palm/.cryptofs -m /media/cryptofs -k /media/internal/.palm /media/cryptofs is still empty Nov 03 22:14:59 :-/ Nov 03 22:16:08 do a "ps -few | grep cryptofs" Nov 03 22:17:31 all i get back is the grep process Nov 03 22:17:33 root 6349 4659 0 16:17 pts/0 00:00:00 grep cryptofs Nov 03 22:19:41 humm, maybe do a "dmesg | tail" add if any errors regarding cryptofs is in there ... Nov 03 22:20:18 good idea Nov 03 22:22:44 actually, "dmesg | grep cryptofs" might be better Nov 03 22:22:55 [ 33.132215] /etc/init.d/mountall.sh: setup_cryptofs done <- is all thats in there Nov 03 22:23:02 root@HPTouchPad:/# dmesg|grep -i crypto Nov 03 22:23:04 [ 33.132215] /etc/init.d/mountall.sh: setup_cryptofs done Nov 03 22:24:04 humm, could look and see if any errors just before that "setup_cryptofs" line ... Nov 03 22:25:57 rwhitby: should the 'cryptofs' process be started by 'mountcfs'? Nov 03 22:26:41 jcsullins, doesn't mountall.sh do that? Nov 03 22:27:24 yeah, it seems that it should, but benklop is having trouble with it - trying to find cause ... Nov 03 22:27:51 you only ever want to run mountall.sh during boot. Nov 03 22:27:58 any other time it causes problems Nov 03 22:28:13 and crypto fs is then controlled by storage.d Nov 03 22:28:45 yeah - not running mountall.sh - just the mountcfs cmd (since doesn't seem to be mounting for him) Nov 03 22:29:48 is there a way to verify that the contents of .palm are valid? Nov 03 22:29:52 I don't remember if they add the fstab line or not. Nov 03 22:30:13 theres no line in fstab for cryptofs as far as I saw Nov 03 22:30:22 ka6sox-away: where would u suggest looking for errors regarding failed cryptofs mounting? Nov 03 22:30:45 syslog fairly early Nov 03 22:31:02 since mountall.sh is early in the process after pivotroot. Nov 03 22:31:16 just to verify, is /media/internal/.palm/=2ZCNHNPI=/=23SMXI===/=23GFWVIY=/=2ZCNHNIVQQZVSG3LSQCXQ====/=2ZKEHLYFKSVSSKAM7/=23KHWLOVQRJSAQJAD3VHQ====/=2ZCNHM===/=2YSCWFK5VSY======/=24STEI===/=25WHXNOVRUZRDMCIQ the sort of directory structure I should be seeing in .palm? Nov 03 22:31:35 tons of folders with names like that Nov 03 22:31:43 yeah, stuff like that is normal Nov 03 22:31:51 ok, good :) Nov 03 22:32:02 (it's encrypted) Nov 03 22:32:06 just verifying. I probably could have just checked on my pre Nov 03 22:34:06 2/join #mudlet Nov 03 22:46:16 jcsullins: on my touchpad, /media/internal/.palm/.cryptofs looks to be 0 size, on my pre, it is 80 bytes, contsains cipher info Nov 03 22:47:37 can anyone check the contents of this file on another touchpad? Nov 03 22:48:48 mine is 80 bytes too (on touchpad) Nov 03 22:49:34 ok, i'm assuming then it says cipher is blowfish, md=md5, blocksize 4096, salts 1 baseencodingversion 2 ? Nov 03 22:49:45 does it have an empty line at the top too? Nov 03 22:50:06 yes - I wonder if that file is only populated when the cryptofs is running correctly? Nov 03 22:50:37 mountcfs --help says that is the mountsrc Nov 03 22:51:16 \/media/cryptofs is the mountpt, and /media/internal/.palm is the keypath Nov 03 22:51:38 im gonna try filling it in and see what happens Nov 03 22:51:43 humm, that would suggest that it needs to be correct before mount, I guess -- could try putting that content in there and rebooting ... Nov 03 22:52:45 where is the config file for moboot? i'd like to make webos the default Nov 03 22:53:27 mount -o remount,rw /boot ; echo "webOS" >/boot/moboot.default Nov 03 22:53:52 thankya Nov 03 22:54:04 that did it Nov 03 22:54:12 filled that file, all is peachy Nov 03 22:54:15 got your apps back? Nov 03 22:54:17 cool Nov 03 22:54:41 that's odd that it'd disappear Nov 03 22:54:48 yes, it is Nov 03 22:54:53 might want to chkdsk that Nov 03 22:55:52 btw, where's the encryption key stored Nov 03 22:55:55 yeah, i would, but how do I boot a touchpad such that that partition is not in use so I can? Nov 03 22:56:07 i don't know how to enter single user mode :) Nov 03 22:56:16 put it in USB mode and check from a PC is probably simplest Nov 03 22:57:16 ok, that works Nov 03 22:57:23 so wierd that that file went away Nov 03 22:57:32 well it didnt even go away it was just empty Nov 03 23:01:18 running an fsck.vfat Nov 03 23:02:26 benklop, if you are an alpha tester tailor can do a lot of this. Nov 03 23:03:38 unfortunately i don't know what you mean, though i've been running the alpha build.. Nov 03 23:04:36 ~beta Nov 03 23:04:37 [BETA] Software undergoes beta testing shortly before it's released. Beta is Latin for "still doesn't work." When using beta software you should be aware its buggy and typically un-supported. you should read and understand how to identify bugs and how to file a proper bug report when using beta software Nov 03 23:04:43 bleh Nov 03 23:04:47 ~testing Nov 03 23:04:47 [testing] done - but yes, further excursions will take place elsewhere Nov 03 23:04:51 heh Nov 03 23:05:32 testing.preware.org Nov 03 23:09:06 ~testing-feeds Nov 03 23:09:07 [testing-feeds] a means of testing new WebOS Internals products, documented at http://testing.preware.org - always use that URL and never copy any of the instructions anywhere else. Nov 03 23:09:15 neato. i knew what the terms meant, but i wan't sure ehat you meant by being an alpha tester. do you mean one who installs alpha software then looks for issues that can be reported and fixed, not expecting software to be fully baked? if so then yes, if you mean a group of people specifically designated alpha testers, then no Nov 03 23:09:21 ~forget testing Nov 03 23:09:22 dwc-: i forgot testing Nov 03 23:10:40 alpha testing software on boxes I use for important stuff is my way of living life on the edge and being a daredevil. hang gliders and skydivers beware, I am just as extreme as you. Nov 03 23:11:40 Tailor is in the alpha-apps feed, and can unmount partitions and check them. Nov 03 23:16:40 cool, that sounds really awesome. I believe i do have those feeds, so neat. Nov 03 23:22:29 i really thought taylor was a person Nov 03 23:24:15 Tailor Nov 03 23:24:26 ok, that might help Nov 03 23:25:02 * ka6sox-away checks to see that he did not write taylor.... Nov 03 23:29:35 i read it wrong Nov 03 23:29:36 heh Nov 03 23:30:55 benklop, as tired as I am...I could have easily typed taylor Nov 03 23:31:19 i thought you were telling me basicvally "if you're part of the testing team then taylor will come down from wherever taylor's office is and fsck your partitions for you" in which case iwas thinking... huh. didn't know fsck was so hard, or that webos-internals could afford an underling to fsck for them... Nov 03 23:33:14 * rwhitby does his own fscking thank you Nov 03 23:33:57 benklop: Tailor is in early alpha testing, but the filesystem checking should be benign enough Nov 03 23:38:25 * Tibfib_ thought that was a typo. Nov 03 23:39:14 a typo for Tailah? Nov 03 23:40:04 * ka6sox-away lashes both dwc- and Tibfib_ with yesterday's spaghetti Nov 04 00:42:57 is it..possible....for my govanh profiles to have been backedup into my palm profile?! Nov 04 00:43:07 such that on my new pre3 i'm seeing the profiles i had on my veer... o_____O Nov 04 00:44:31 also, 'palm default' is not 800mhz on a pre3 :D Nov 04 01:12:50 is there a way to modify the amount of power my touhpad sucks up? Nov 04 01:13:02 friends wants to know, but for some reason got banned Nov 04 01:13:31 over USB? from what i could tell it draws as much as is supplied Nov 04 01:13:55 oh did you mean re:charging? i thought you mean from the battery, aka "how do i make the battery last longer" Nov 04 01:14:06 i think he means charging Nov 04 01:14:12 im not him though :) Nov 04 01:14:24 lemme ask him Nov 04 01:19:17 he said yep. he means charging Nov 04 01:20:26 friend said: --- I've got a supply that can supply 2.1a, touchpad wont take it, it'll take like, 900ma Nov 04 01:20:56 hmm, I thought they pulled 2.0a Nov 04 01:21:06 i thought so too Nov 04 01:21:11 if he's using the Pre wall outlet, then 1.0a Nov 04 01:21:13 they pull whatever they are given up to 2a Nov 04 01:21:35 halfhalo: ive seen the same from my tests Nov 04 01:22:10 oh sure, over USB forget it....it will only charge a trickle if the screen is off Nov 04 01:22:24 apparently my desktop will now spit out 2a from two ports... Nov 04 01:22:29 nice Nov 04 01:24:28 he said his wont pull 2a Nov 04 01:24:35 in webOS Nov 04 01:24:45 but when hes in android, it pulls it fine. same supply Nov 04 01:34:21 hrey Nov 04 01:34:35 touchpad wontncharge Nov 04 01:34:49 what charger are u trying to use? Nov 04 01:35:13 i.sound portable powermax Nov 04 01:35:28 16000mah 2a Nov 04 01:35:39 battery pack Nov 04 01:36:55 android takes it Nov 04 01:37:02 webOS does nt Nov 04 01:37:14 i dont think webOS takes any charger but its own Nov 04 01:37:40 no file mod? Nov 04 01:38:00 that i dont know Nov 04 01:45:25 well, /sys/devices/platform/max8903b_chg.0/currentlimit is set to none Nov 04 01:45:50 wonder what'd happened it you did echo 2000 > /sys/devices/platform/max8903b_chg.0/currentlimit Nov 04 01:55:24 first app finally approved and active in preware http://www.precentral.net/cyboot Nov 04 01:59:09 hiddenpremise: nice Nov 04 02:00:16 hiddenpremise: regarding the last two lines in your postinst script Nov 04 02:00:39 have you been able to identify what's causing that? Nov 04 02:01:08 i have not, was hoping to play with that this weekend Nov 04 02:01:34 cause we're seeing it on 3.0.4 on our other homebrew apps too Nov 04 02:01:53 yeah, I was talking to someone on my work nick (grep_awesome) about that earlier in the channel Nov 04 02:01:54 I want to determine whether it's a bug, or an intentional change by Palm Nov 04 02:02:07 it's obnoxious either way :) Nov 04 02:02:45 BTW, postinst and prerm go inside the CONTROL directory. pmP*.script stay at the top level Nov 04 02:02:54 and you only need one or the other Nov 04 02:03:02 use pmP* if you want palm-install to work Nov 04 02:03:21 use postinst and prerm if you want Preware to be able to see and report any output from those scripts back to the user in the ipkg log Nov 04 02:03:55 gotcha! that explains a lot. I had no clue really what the differences was, just kinda blindly threw them in there Nov 04 02:04:23 still trying to shake off the webos noobness :P Nov 04 02:04:48 regarding the duplicate dbus files though, I'm 70% sure that the ls-control scan-services command is involved Nov 04 02:05:42 my assumption has been that the configurator is doing something Nov 04 02:06:38 BTW, you may like to sanitize boot_data.*, otherwise apps may be able to use your service as a generic rootkit Nov 04 02:07:38 e.g. boot_data.nextBoot="';rm -rf/;echo Pwned!"; Nov 04 02:08:04 oh. oh gross. that's not good Nov 04 02:08:06 with an extra space between the f and / of course Nov 04 02:08:31 anyone know who wrote touchvol? Nov 04 02:08:58 thanks rwhitby. I'll get that patched up :) Nov 04 02:09:12 I'll be AFK for a bit, new episode of the office :D Nov 04 02:09:24 hiddenpremise: line 29 of http://git.webos-internals.org/applications/preware/tree/src/luna_methods.c is what we normally do Nov 04 02:10:02 (line 846 for where we check) Nov 04 02:10:14 should be easy to do something similar in node.js Nov 04 02:40:22 whats good Nov 04 02:50:41 Pho Nov 04 02:52:58 oc80z: Tailor **** ENDING LOGGING AT Fri Nov 04 02:59:57 2011