**** BEGIN LOGGING AT Sat Aug 08 02:59:57 2009 Aug 08 02:59:59 Decimation: do all of them just use their own feeds at the moment? Aug 08 03:00:05 search would be cool as well... Aug 08 03:00:37 i think he might actually just parse from the homebrew catalog precentral put up Aug 08 03:00:37 my favorite part is the shaking to erase the text or paste it Aug 08 03:00:44 that takes away a couple steps Aug 08 03:00:47 and i like that Aug 08 03:00:54 like an etch-a-sketch Aug 08 03:00:58 Decimation: yeah, filecoaster uses precentral's feed Aug 08 03:01:11 james_: you have the updated version with the homebrew catalog, right? Aug 08 03:01:42 who wrote filecoaster? Aug 08 03:01:45 Decimation, yes but i like to use it to download wallpapers too Aug 08 03:01:50 pregame i think? Aug 08 03:01:57 how 'bout some alphabetizing up in that? Aug 08 03:01:58 word Aug 08 03:01:59 pregame has made my two favorite apps Aug 08 03:02:06 filecoaster and flashlight Aug 08 03:02:09 james_: ahh, maybe he will add that in sometime. Aug 08 03:02:19 Decimation, add what? Aug 08 03:02:22 you can already shake it Aug 08 03:02:23 i want mytether 2.0 but i dont have money to give, it sucks :/ Aug 08 03:02:45 how much is it? Aug 08 03:02:48 no, add in the ability to browse through a category of wallpapers Aug 08 03:02:55 ah Aug 08 03:02:58 i think you have to give a ten dollar donation. Aug 08 03:02:58 yeah that'd be cool Aug 08 03:03:31 im looking at the video camera, it cant be hard to modify the camera app to allow you to press a button to record video Aug 08 03:03:42 like, just modify like they did with the shutter sound on/off Aug 08 03:03:45 someone else was looking at that as ell Aug 08 03:03:51 and instead of toggling the sound, start/stop the camera. Aug 08 03:04:19 I want to expand on the GPS tracking ability of the Pre. Knowing where your Pre is is most important :p Aug 08 03:04:22 gosh, im honestly way to lazy, i really need to learn my javascript soon. Aug 08 03:05:14 Decimation: http://www.webos-internals.org/wiki/VideoRecording Aug 08 03:05:28 looking at it already Aug 08 03:05:34 How would I create a ServiceMessage for the import package com.palm.luna.service.ServiceMessage? Aug 08 03:05:35 oh ok Aug 08 03:05:48 but i think im gonna expierement with adding a record button to the camera. Aug 08 03:05:56 Is there a place I can look to see the blueprint for a ServiceMessage object? Aug 08 03:06:46 bluetprint? Aug 08 03:06:53 like signature? Aug 08 03:06:59 Structure, etc.... Aug 08 03:07:03 you can get those with dbus introspection Aug 08 03:09:44 Okay, I don't know what that is, so let me explain. I'm trying to call a method luna-send and it wants a ServiceMessage for a parameter. Aug 08 03:10:08 A method of a service FROM luna-send is what I meant to say Aug 08 03:10:24 http://www.webos-internals.org/wiki/Luna_Send Aug 08 03:11:29 That doesn't seem to talk about accessing a services' methods Aug 08 03:11:43 that com.palm.whatever/methodname Aug 08 03:11:44 Well, it does but Aug 08 03:11:45 that's the method Aug 08 03:11:52 Not for a ServiceMethod object Aug 08 03:11:57 oh Aug 08 03:11:58 i love my phone Aug 08 03:12:11 I don't understand what to use as a parameter Aug 08 03:12:27 so you need the method parameters ? Aug 08 03:12:40 I need to know how to pass a ServiceMethod object to a method that asks for one Aug 08 03:13:11 good question Aug 08 03:13:26 rwhitby should know, he wrote the code Aug 08 03:13:40 he's a pretty smart guy Aug 08 03:13:53 http://webos.pastebin.com/m2adcb779 Aug 08 03:13:57 ultraBlack: which code? Aug 08 03:13:58 But he's not here Aug 08 03:14:02 destinal: http://webos.pastebin.com/m2adcb779 Aug 08 03:14:17 alright... i'm buying my tether Aug 08 03:14:20 :) Aug 08 03:15:59 ultraBlack: there's lots of examples of calling services in the mojo code that comes on the pre, just grep for palm:// Aug 08 03:16:08 but there's docs on palm's sdk site too Aug 08 03:16:09 http://developer.palm.com/index.php?view=article&id=1538 Aug 08 03:16:20 who else wanted my tether? Aug 08 03:16:25 i want to give the guy $20 Aug 08 03:16:56 i do Aug 08 03:17:04 Decimation: I will buy you my tether Aug 08 03:17:16 :O Aug 08 03:17:21 i will Aug 08 03:17:25 love you Aug 08 03:17:26 forever Aug 08 03:17:29 hah Aug 08 03:17:34 you dont have to though. Aug 08 03:17:36 sorry ultrablack, he mentioned it before Aug 08 03:17:42 its k Aug 08 03:17:48 i have work to do Aug 08 03:17:52 so how are we gonna do this Aug 08 03:17:59 want to give the guy $20, i would have raised the donation price, but i couldn't figure it out Aug 08 03:18:03 simple Aug 08 03:19:23 destinal: How would you write /usr/bin/luna-send -n 1 palm://org.webosinternals.optloopservice/ Aug 08 03:19:23 mount to get it to work with that pastebin Aug 08 03:19:52 that's /usr/bin/luna-send -n 1 palm://org.webosinternals.optloopservice/mount Aug 08 03:20:07 I'm just using luna send to test for now. Aug 08 03:20:14 ultraBlack: so it works in luna send? Aug 08 03:20:18 I'll use the this.controller.serviceRequest in my app Aug 08 03:20:31 destinal: that's what egaudet said Aug 08 03:20:58 destinal: edgaudet said to use luna-send to call the method Aug 08 03:24:30 http://www.webos-internals.org/wiki/Patch_Email_DeleteAll Aug 08 03:24:37 has anyone done that Aug 08 03:24:44 if so, can i see a screen shot of how it looks Aug 08 03:25:07 ultraBlack: I mean, where you able to get luna-send to mount and unmount as a test? Aug 08 03:25:17 s/whe/we/ Aug 08 03:25:17 destinal meant: ultraBlack: I mean, were you able to get luna-send to mount and unmount as a test? Aug 08 03:27:13 /usr/bin/luna-send -n 1 palm://org.webosinternals.optloopservice/mount {} Aug 08 03:27:16 as root Aug 08 03:27:19 destinal: No, for one, I wouldn't expect it to mount and unmount straight await, seeing as dropbear / openssh is running. But what it does do is go to what looks to be an infinite loop of nothingness, that is, the command is entered (i press enter), a new line shows up in the ssh terminal, and no messages are output, despite what parameter i give it (I tried with and without quotes) Aug 08 03:27:33 egaudet: that explains it. i need brackets. :o Aug 08 03:27:58 Actually... Aug 08 03:28:05 I did get an error message like this before Aug 08 03:28:09 This is what I'm getting now: Aug 08 03:28:10 ** Message: serviceResponse Handling: 2, {"returnValue":false,"errorCode":-1,"errorText":"Launch helper exited with unknown return code 0"} Aug 08 03:28:27 Could that be good, considering I don't expect it to succeed? Aug 08 03:28:42 does it return error right away or does it take a couple seconds Aug 08 03:28:43 odd, zero usually means success for most error codes Aug 08 03:28:47 The code isn't written for success yet. I need to have it kill processes running from the mount point Aug 08 03:29:02 egaudet: It takes a couple seconds Aug 08 03:29:23 egaudet: Like 10 or 15 Aug 08 03:29:29 or 20 Aug 08 03:30:22 Ok so that is good in the sense that it is running the service, so it's having trouble finding the method in the jar or the method is running but not doing what you want Aug 08 03:31:06 egaudet: It would make sense for the method to not do what I want, because it isn't written to do what the end user will want. Aug 08 03:31:10 egaudet: It's written to fail. Aug 08 03:31:45 egaudet: Dropbear/OpenSSH is running (in fact I'm executing luna-send from it) and is preventing the dismount. And if it's already mounted, it would probably give an error upon trying to remount. Aug 08 03:32:17 I can't see why it couldn't find the method in the .jar. I put it where you said to, and everything compiled smoothly earlier. Aug 08 03:32:32 what are you trying to dismount Aug 08 03:32:41 egaudet: /opt. Aug 08 03:32:54 egaudet: It's a virtual file system now. Aug 08 03:33:01 On loopback. Aug 08 03:33:06 why do you want to dismount?... anyway, what is the service file look like Aug 08 03:33:08 s/is/does Aug 08 03:33:32 [D-BUS Service] Aug 08 03:33:32 Name=org.webosinternals.optloopservice Aug 08 03:33:32 Exec=/usr/bin/luna-helper 'luna://com.palm.vm/launch' '{"serviceName":"org.webosinternals.optloopservice","className":"org.webosinternals.optloopservice.OptLoopService"}' Aug 08 03:33:38 and has one messed with the display services? Aug 08 03:33:58 Display services? Aug 08 03:34:05 who wrote novaterm? Aug 08 03:34:15 give me the source, i can't take it Aug 08 03:34:17 ok so you have org/webosinternals/optloopservice/OptLoopService.class jar'd up Aug 08 03:34:17 :D Aug 08 03:34:29 egaudet: yeah Aug 08 03:34:36 ultraBlack: if you saw earlier I fixed the tux template. Aug 08 03:34:45 Templarian: Fixed? Aug 08 03:34:50 Templarian: I fixed it last night Aug 08 03:35:02 for sanity reasons, i put a simple version() function in the java Aug 08 03:35:04 egaudet: Note: the vfs is in /media/internal Aug 08 03:35:13 so you can run the luna-send.... /version {} and see activity Aug 08 03:35:19 egaudet: yeah i'll do that, lol. Aug 08 03:35:28 ultraBlack: no you had a huge typo... in the template. Aug 08 03:35:35 templarian: :o Aug 08 03:35:58 It's okay no one noticed and I went through and added the tux template back into random pages. Aug 08 03:36:14 oh 64x64 Aug 08 03:36:18 sry Aug 08 03:36:22 wait what Aug 08 03:36:36 No you only copied part of the template when you pasted it. Aug 08 03:36:53 I'm supprised you didn't realise it when you tried to use it hehe. Aug 08 03:37:01 anyone know why i can't control the display (turn it on) from the shell Aug 08 03:37:08 anyone mess with the display services yet? Aug 08 03:37:26 Templarian: Is that why I was getting #icon php errors? Aug 08 03:37:47 (oh you saw those also hehe) Aug 08 03:38:46 I noticed the missing icons, but was too polite to mention :-) Aug 08 03:44:44 has anyone found the source for the display service com.palm.display Aug 08 03:46:33 egaudet: What should I put in version()? Would a system.out.println("you win"); do? Aug 08 03:47:26 i don't know about that, you can just return a JSON Aug 08 03:47:35 check version() from accelservice or ledservice Aug 08 03:48:16 for instance i return the JSON {version:0.0.3} which you see from the command line after running luna-send Aug 08 03:49:09 egaudet: Nope the version method did not work. I got the same long pause followed by the same error message. Aug 08 03:49:44 egaudet: I don't think I have either of those services on my pre yet Aug 08 03:49:53 did you rebuild, reinstall jar, reboot Aug 08 03:49:56 they're built in? Aug 08 03:50:00 i thought those were homebrew Aug 08 03:50:07 egaudet: yeah i did Aug 08 03:50:07 they are on the ipkg feed Aug 08 03:50:19 i guess i'll have to download & try them out Aug 08 03:50:26 you can use ipkg to install the services, then have to remount rw and run postinst script to get it linked in Aug 08 03:50:44 how do i run postinst? Aug 08 03:50:51 it's just a .sh? Aug 08 03:51:18 http://www.webos-internals.org/wiki/Application:AccelService Aug 08 03:51:22 yea it is just a .sh Aug 08 03:51:32 /bin/sh ../whatever/service.postinst Aug 08 03:51:44 you have to have / remounted as rw Aug 08 03:51:51 ipkg, or git? Aug 08 03:52:07 ipkg to install it on the pre Aug 08 03:52:12 ipkg -o /var update Aug 08 03:52:27 oh i was trying ipkg-opt Aug 08 03:52:30 ipkg -o /var install org.webosinternals.accelservice Aug 08 03:52:52 Cannot find package org.webosinternals.accelservice. Aug 08 03:53:07 did you run the previos steps from the wiki Aug 08 03:53:43 nope, those instructions are all new to me Aug 08 03:53:44 to get the preware feed visible to ipkg Aug 08 03:54:21 ok well do them, and in the future you can just use ipkg to install anything from preware feed Aug 08 03:54:47 sweet Aug 08 03:55:45 (hint: check the http directory one above the preware feeds for an easter egg) Aug 08 03:57:02 http://gitorious.org/webos-applications/? Aug 08 03:57:22 nope, the preware feed, not the git repo Aug 08 03:57:33 http://www.webos-internals.org/wiki/? Aug 08 03:57:43 ipkg.preware.org/feed Aug 08 03:57:46 What is preware! lol Aug 08 03:57:48 oh preware.org Aug 08 03:57:58 never been there Aug 08 03:58:34 ipkg.preware.org/feed Aug 08 03:58:47 i don't see the easter bunny Aug 08 03:59:13 ipkg.preware.org Aug 08 03:59:38 yeah, i get that Aug 08 03:59:53 Smooth as butter rolling ball into a hole labyrinth beginning game pushed Aug 08 03:59:57 i quit on graphics for today Aug 08 04:00:24 then maybe you can help me understand what's going on Aug 08 04:00:28 sure Aug 08 04:00:40 and hopefully I can find out how to unlock the power of the display dimm/off Aug 08 04:00:49 palm got some kind of protection on it Aug 08 04:01:57 look @ brightness unlinked? Aug 08 04:02:34 link Aug 08 04:02:39 sec Aug 08 04:03:02 egaudet: http://forums.precentral.net/homebrew-apps/196412-brightness-unlinked.html Aug 08 04:04:12 egaudet: luna-send -n 1 palm://org.webosinternals.accelservice/version {} does the same Aug 08 04:04:52 Actually maybe I need to reboot Aug 08 04:05:03 though, it seems fishy Aug 08 04:05:47 does onClick work for mojo Aug 08 04:05:47 services require pretty much a reboot when you change them Aug 08 04:05:48 or Aug 08 04:06:01 as a finger tap Aug 08 04:06:10 or do i have to use something else Aug 08 04:07:15 my code work in aptana using default Aug 08 04:07:27 but when i try in on the emulator or device it doesnt calculate Aug 08 04:07:45 sorry Aug 08 04:07:50 egaudet: new app? Aug 08 04:07:51 in wrong channel i see Aug 08 04:07:58 egaudet: want me to package it? Aug 08 04:08:03 hmmmmm so not all services accessible through dbus? Aug 08 04:08:07 luna-send? Aug 08 04:08:14 yea new app, don't package it yet Aug 08 04:08:15 it's very raw Aug 08 04:08:35 ok Aug 08 04:08:46 no graphics, no levels, but the ball rolls smooth with the accelerometer running at 1KHZ Aug 08 04:08:59 Alright, I got Aug 08 04:08:59 ** Message: serviceResponse Handling: 2, {version:"0.0.3"} Aug 08 04:08:59 from luna-send -n 1 palm://org.webosinternals.accelservice/version {} Aug 08 04:09:06 yea ultraBlack Aug 08 04:09:09 works Aug 08 04:09:16 Thought so myself. Aug 08 04:09:45 So...how does your version() work? Care to fill me in? Aug 08 04:09:49 Returns a JSONObject? Aug 08 04:12:01 I feel that my (rwhitby-written) service is misconfigured. Aug 08 04:12:25 ultraBlack: so learn some java and improve it! :) Aug 08 04:12:41 cpcrook: fios? Aug 08 04:12:43 * destinal is jealous Aug 08 04:12:45 indeed Aug 08 04:12:47 destinal: I don't think it's the java, though Aug 08 04:12:48 source is open, but yes it fills a JSON in and returns it Aug 08 04:12:57 overkill for IRC though ;) Aug 08 04:13:36 grrr why can't i use the display service with luna-send Aug 08 04:13:53 Launch helper exited with unknown return code ? I mean what does that mean Aug 08 04:14:19 egaudet: Does version() need a @LunaServiceThread.PublicMethod? Aug 08 04:14:29 egaudet: Or can it be public in .java Aug 08 04:14:38 yes, any service method must Aug 08 04:14:41 ok Aug 08 04:14:55 (i think) Aug 08 04:15:04 you can do a direct copy of my version into your java Aug 08 04:15:12 (don't forgot global myVersion string) Aug 08 04:15:19 and test your service Aug 08 04:36:50 egaudet: I copied the version() from your accelservice and I still get the same error. Aug 08 04:37:08 ** Message: serviceResponse Handling: 2, {"returnValue":false,"errorCode":-1,"errorText":"Launch helper exited with unknown return code 0"} Aug 08 04:37:23 rebooted? Aug 08 04:37:29 egaudet: Yup. Aug 08 04:38:01 how are you building it? Aug 08 04:38:20 javac -classpath json.jar;lunaservice.jar;serviceframework.jar;Utils.jar OptLoopService.java Aug 08 04:38:37 jar cf org.webosinternals.optloopservice.jar OptLoopService.class Aug 08 04:39:26 This is my .java file: http://webos.pastebin.com/m1933cc3f Aug 08 04:39:52 Hi all. Aug 08 04:40:31 My pre's screen has just cracked but have read tht its pprobably a defect. Aug 08 04:41:10 So going to send it in to palm. My question is... should i erase everything so they know i didnt root my pre? Aug 08 04:41:21 try using ant to build it? do you need OptLoopService() to be public Aug 08 04:41:38 imop45: My side's been cracked about an inch and diverted itself from the touchscreen. Been like that since a week after launch. Aug 08 04:42:17 Well, i cant use it. It dropped but not the high off the ground and ive never had a phone's screen break. Aug 08 04:42:29 imop45: mm.. Aug 08 04:42:41 i returned a pre with a broken volume switch and only did the full erase option (no webosdoc) Aug 08 04:42:49 I had a v3 razor drop off a 2 story building onto a parking lot and nothing. Aug 08 04:42:59 imop45: you should webos doctor it, for your own privacy's sake. Aug 08 04:43:01 egaudet: I don't know how to use Ant, but I know I can get it installed. I installed it just a few days ago and it seemed to work. What do you mean by having OptLoopService() public? Aug 08 04:43:24 i dont see myVersion declared Aug 08 04:43:26 Well, i was going to try the palm profile OTA erase feature. See how that works Aug 08 04:43:43 why do you need the constructor? Aug 08 04:43:44 egaudet: private String myVersion = "0.0.3"; towards the end Aug 08 04:43:45 i dont think they'll care about software modifications as long as your return reason isnt related to something that could have been caused by it (ie: burning out your flash by running the torch too long) Aug 08 04:43:46 imop45: palm already knows who has and hasn't installed dropbear on their pre, cause they get a ps listing every time one of your apps crash. Aug 08 04:43:54 egaudet: Right before DBUS Methods Aug 08 04:44:11 (along with the nearest wifi ssid's to you) Aug 08 04:44:18 rwhitby: Why do I need the constructor? Aug 08 04:44:28 oh yea sorry, lol it's getting lat Aug 08 04:44:30 late* Aug 08 04:44:54 I think it has to be build related (i.e. METAINF) Aug 08 04:44:56 Hmm, wow ok then. Does software mods void your warranty? As long as its reasonable mods? Aug 08 04:45:07 ultraBlack: don't ask me - I just search and replaced on PuffTheMagic's code. there is no reason to believe that optloopservice will do anything remotely functional. I just gave you a skeleton. Aug 08 04:45:15 what is meant by "mods" Aug 08 04:45:19 rwhitby: I see Aug 08 04:45:27 egaudet: Build related? Aug 08 04:45:31 imop45: if palm or sprint wanted to, they can make anything void your warranty. Aug 08 04:45:35 Just light things, like some patches and homebrew apps Aug 08 04:45:36 you have a root filesystem, which is actually a read write filesystem on an sd card Aug 08 04:45:38 what about me? Aug 08 04:45:42 egaudet: You think it needs the constructor? Aug 08 04:45:43 what did i miss? Aug 08 04:45:44 I originally had problems with mine, when I was javac'ing it Aug 08 04:45:49 rwhitby: So so true Aug 08 04:45:55 imop45: webos doctor it, and it's indistinguishable from factory fresh. Aug 08 04:46:14 yeah webosdoc will cover your ass no matter what ;) Aug 08 04:46:19 I don't know the details of java and jars so I'm just throwing that out there, I know it creates some META_INF direcotry Aug 08 04:46:25 s/direcotry/directory Aug 08 04:46:35 rwhitby: Actually, official updates stay installed, so it's like factory Brand New Aug 08 04:46:37 why did i get messaged? Aug 08 04:46:39 i was already in the store and they had units in stock to replace mine when i turned it in Aug 08 04:46:41 ok, now second q. What about rsync: does it copy EVERYTHING? So if/when i get a new pre i wont have to even move an icon around? Aug 08 04:46:45 mentioned Aug 08 04:47:02 PuffTheMagic: the /opt loopback thing. forget about it Aug 08 04:47:11 yes += Aug 08 04:47:13 ++ Aug 08 04:47:16 thanks Aug 08 04:47:19 resize ++ Aug 08 04:47:21 try the build.xml and ant to build Aug 08 04:47:25 PuffTheMagic: we were just wondering if you need a service constructor in the .java Aug 08 04:47:26 the java doesn't seem wrong Aug 08 04:47:33 nope Aug 08 04:47:40 PuffTheMagic: k, thanks. Aug 08 04:47:44 its not required Aug 08 04:47:51 unless you want to setup shit Aug 08 04:48:05 * ultraBlack is installing Ant. Aug 08 04:48:06 when the object is created Aug 08 04:48:07 cpcrook: does the palm profile OTA erase thing erase everything? its suppossed to be for corprate security. Aug 08 04:48:13 ultraBlack: u dont need ant Aug 08 04:48:28 it erases downloaded apps and personal data if im not mistaken Aug 08 04:48:39 but will not set your FS back to factory Aug 08 04:48:46 Destinal wiki * r4053 http://www.webos-internals.org/wiki/Luna_Debug_Switches - New page about luna UI debugging Aug 08 04:48:47 ie: if you've rooted Aug 08 04:48:55 and been dicking around with linux Aug 08 04:48:57 PuffTheMagic: Explain this? luna-send -n 1 palm://org.webosinternals.optloopserv Aug 08 04:48:57 ice/version {} Aug 08 04:48:57 ** Message: serviceResponse Handling: 2, {"returnValue":false,"errorCode":-1,"errorText":"Launch helper exited with unknown return code 0"} Aug 08 04:49:14 Hmm, ok. Anyone know if rsync will backup and restore everything, if icon placement in Launcher? Aug 08 04:49:29 ultraBlack: i dont know how you wrote your service Aug 08 04:49:30 what is your service file look like again ultraBlack Aug 08 04:49:36 do idont really know hwy you got that error Aug 08 04:49:46 i would have to see the code Aug 08 04:49:48 cpcrook: ill webos it then as long as rsync can do what i need to Aug 08 04:49:53 http://webos.pastebin.com/m1933cc3f Aug 08 04:49:53 PuffTheMagic, egaudet: [D-BUS Service] Aug 08 04:49:53 Name=org.webosinternals.optloopservice Aug 08 04:49:53 Exec=/usr/bin/luna-helper 'luna://com.palm.vm/launch' '{"serviceName":"org.webosinternals.optloopservice","className":"org.webosinternals.optloopservice.OptLoopService"}' Aug 08 04:49:54 which i am willing ot look at Aug 08 04:50:00 but i not nothing Aug 08 04:50:03 PuffTheMagic, that pastebin is his java Aug 08 04:50:12 cause i just got back form my grandpas 90th bd party Aug 08 04:50:15 and i drunk Aug 08 04:50:20 and i have family around Aug 08 04:50:30 and i dont feel like looking at java Aug 08 04:50:39 imop45: personally, I'd just webosdoc it. is moving icons really worth a potential warranty rejection? Aug 08 04:50:45 bit tomorrow i would do it if im free Aug 08 04:51:23 send me the jar ultraBlack Aug 08 04:51:46 cpcrook: eh ive done it 4 times already... Eh, i wonder what file saves there location. And no its not a risk im willing to take Aug 08 04:52:12 egaudet: Like that or do you want me to upload it somewhere Aug 08 04:52:26 hmm Aug 08 04:52:50 upload it somewhere Aug 08 04:52:59 i don't know any good places Aug 08 04:53:05 i never upload jars Aug 08 04:53:16 cpcrook: ive googled about rsync and i dont know what the answer would be Aug 08 04:53:36 copy it into an empty directory and jar -xvf it Aug 08 04:53:43 tell me everything you get out of it Aug 08 04:54:17 ultraBlack: did you model your service after my LEDService? Aug 08 04:54:24 i know that works Aug 08 04:54:34 where's the icon location save files in Launcher (if anyone knows) Aug 08 04:54:44 rwhitby: Did you model my service after PuffTheMagic's LEDService? Aug 08 04:55:13 This will be my 5th palm pre. Aug 08 04:55:22 imop45: unlucky Aug 08 04:55:27 very Aug 08 04:55:33 ultraBlack: i wrote LEDService and IPKGservice...i can only guaranteed LEDService works Aug 08 04:55:40 And eembarrassing. Aug 08 04:55:45 but someone else mased Acceleromter service Aug 08 04:55:52 and that was based on my LED service Aug 08 04:55:55 egaudet: created: META-INF/ Aug 08 04:55:55 inflated: META-INF/MANIFEST.MF Aug 08 04:55:55 inflated: OptLoopService.class Aug 08 04:56:15 so i am pretty sure i you know java and you model it after my service it will work Aug 08 04:56:22 it should have inflated org/webosinternals/optloopservice/OptLoopService.class Aug 08 04:56:39 not just OptLoopService.class? Aug 08 04:56:42 right Aug 08 04:56:45 It got placed in the wrong dir... Aug 08 04:56:48 wrong area Aug 08 04:56:56 your class (from your service file) is org.webosinternals.optloopservice.OptLoopService Aug 08 04:56:57 so. Aug 08 04:57:24 when the jar gets extracted it can't find org/webosinternals/optloopservice/OptLoopService and eventually times out Aug 08 04:57:30 what should i use for jar [options] [sourcefile] Aug 08 04:57:37 hence your "unknown error" problem Aug 08 04:57:52 ultraBlack: how are u making your jar? Aug 08 04:57:55 egaudet: Maybe I can use winrar to move it? Aug 08 04:58:26 ultraBlack: jar is like a tar.gz file Aug 08 04:58:28 :D Aug 08 04:58:36 I was doing jar cf org.webosinternals.optloopservice.jar OptLoopService.class Aug 08 04:58:56 OptLoopService.class should be in org/webosineternals/optloopservice dir then Aug 08 04:59:00 relative to where it is now Aug 08 04:59:03 yes Aug 08 04:59:06 and then when i jar it, i give the full path Aug 08 04:59:08 ultraBlack: install ant and use my build.xml file Aug 08 04:59:09 Alright! Aug 08 04:59:13 or use eclipse Aug 08 04:59:18 PuffTheMagic: I don't need Ant, remember :D Aug 08 04:59:19 and let it make the ar Aug 08 04:59:24 yea i like ant the best Aug 08 04:59:26 eclipse, maybe. Aug 08 04:59:28 ultraBlack: rember what Aug 08 04:59:30 i have eclipse already Aug 08 04:59:36 u sound like u fail at ant Aug 08 04:59:38 or jar Aug 08 04:59:42 so u need something Aug 08 04:59:43 i don't want to install ant Aug 08 04:59:46 right now Aug 08 04:59:50 http://www.webos-internals.org/wiki/Luna_Debug_Switches Aug 08 04:59:56 check it out just for the screenshot alone Aug 08 05:00:08 ultraBlack: so if u have eclispse Aug 08 05:00:09 destinal: yeah, that's nice Aug 08 05:00:13 export as a jar file Aug 08 05:00:17 destinal: looks like a .swf Aug 08 05:00:17 and it will be fine Aug 08 05:00:46 destinal: right click -> show redraw regions Aug 08 05:01:18 I need the eclipse plugin for webos though Aug 08 05:01:21 where do i get that Aug 08 05:01:29 ultraBlack: no u dont Aug 08 05:01:31 k Aug 08 05:01:34 its not that useful Aug 08 05:01:34 ultraBlack: developer.palm.com Aug 08 05:02:07 PuffTheMagic: one-click install+play is kind of nice Aug 08 05:02:13 yes Aug 08 05:02:16 kinda nice Aug 08 05:02:28 i have templarian's komodo toolbox Aug 08 05:02:33 it's pretty alright Aug 08 05:02:42 but its easy enought ot do ; palm-package .; palm-install Aug 08 05:02:55 eclipse ftw+ Aug 08 05:02:55 on windows its kind of a bitch Aug 08 05:03:03 windows sucks period Aug 08 05:03:06 it puts it in your user folder Aug 08 05:03:10 palm-package Aug 08 05:03:13 :/ idk Aug 08 05:03:34 * PuffTheMagic love how he hasnt usead windows in 10 years Aug 08 05:03:38 ultraBlack: don't worry about him, hes one of the few people that likes Eclipse for webOS dev. Aug 08 05:03:53 Templarian: i like eclipse for all my devel Aug 08 05:04:02 I've never even used Eclipse for anything Aug 08 05:04:03 its a very robust and free IDE Aug 08 05:04:07 SCiTE ftw Aug 08 05:04:18 ;o Aug 08 05:04:29 i've used lots of editors for coding Aug 08 05:04:31 and they all suck Aug 08 05:04:33 Komodo is nice to set up/build... gvim for the coding Aug 08 05:04:37 compared to eclipses features Aug 08 05:04:42 where's the best place to link this (http://www.webos-internals.org/wiki/Luna_Debug_Switches) under, I wonder.. research? Aug 08 05:04:55 actually i'm pretty much finishing up my escapade with scite and switching to komodo edit, despite how bloated it is Aug 08 05:04:56 its nice Aug 08 05:05:31 Templarian: idk what you haven against eclipse, unless you just hate jave apps Aug 08 05:05:50 cause eclipse is nice really Aug 08 05:05:51 PuffTheMagic: its very clucky to use imo for webOS work. Aug 08 05:05:51 ultraBlack, how is it going Aug 08 05:06:08 egaudet: i need to see how i can get eclipse to let me export to .jar Aug 08 05:06:17 It's one of those things use the better tool. I would use Komodo for C# etc. Aug 08 05:06:18 i guess it needs to be an eclipse project Aug 08 05:06:30 s/would/wouldn't Aug 08 05:06:43 just jar -cvf org/webosinternals/optloopservice/OptLoopService.class opt.webosinternals.optloopservice.jar Aug 08 05:06:51 no need fancy guis Aug 08 05:06:59 Templarian: why do u need to say for webos development... Aug 08 05:07:00 egaudet: yeah i know but i'm lazy and need to find some way to accelerate this process eventually Aug 08 05:07:08 build.xml / ant Aug 08 05:07:15 egaudet: :O NOOOOO Aug 08 05:07:21 fastest way possible Aug 08 05:07:25 egaudet: ant is weird i had enough confusion setting it up Aug 08 05:07:36 i'll install it after i test this version() method Aug 08 05:07:40 Templarian: do u install a seperate IDE for each language u program in? Aug 08 05:07:41 k? deal?lol Aug 08 05:07:45 once you have a build.xml you do "ant clean build jar" (clean build jar are 3 targets) Aug 08 05:07:56 anywho, jar it up and you are good Aug 08 05:08:03 PuffTheMagic: no I extend my editor how I see fit lol. I only use Visual Studio and Komodo though. Aug 08 05:08:03 egaudet: clean build jar eh Aug 08 05:08:15 Visual Studio Aug 08 05:08:18 yea assuming those 3 targets are in the build.xml Aug 08 05:08:27 * rwhitby uses emacs and make Aug 08 05:08:35 Templarian: that is bigger than eclipse Aug 08 05:08:41 * egaudet hi Aug 08 05:08:43 rwhitby: make is not a ide Aug 08 05:08:48 dont confuse things Aug 08 05:08:52 PuffTheMagic: ah, but emacs is :-) Aug 08 05:09:02 no its not its a text editor Aug 08 05:09:06 screw ide's! Aug 08 05:09:22 egaudet: right (also Komodo Edit is an editor) Aug 08 05:09:22 PuffTheMagic: if you think emacs is just a text editor, you're not using it right. Aug 08 05:09:25 egaudet: what does the v in -cvf do? Aug 08 05:09:30 verbose Aug 08 05:09:32 rwhitby: i dont use it ever Aug 08 05:09:38 its uglu Aug 08 05:09:41 ulgy Aug 08 05:09:57 Basing an editor off how it looks. lol. Aug 08 05:09:58 how can emacs in an ssh window be ugly? Aug 08 05:10:20 gui's are just ways to making it easy to organise multiple command line windows on a big screen ... Aug 08 05:10:23 Templarian: i do usabiliy for a profession Aug 08 05:10:32 what is beautiful is usabible Aug 08 05:10:47 * PuffTheMagic cant spell for shit Aug 08 05:11:04 isn't it the other way around. what is usable is beautiful (me says from the background) Aug 08 05:11:05 rwhitby: hehe so true. Aug 08 05:11:14 Templarian: i think its funny say eclipse is clunk and yet u use visual studio Aug 08 05:11:21 I'd say there are plenty of people in your country that think the usabible is a beautiful thing ... ;-) Aug 08 05:11:40 PuffTheMagic: It's the most powerful editor ever created. And it's actually very light weight for what it does. Aug 08 05:12:47 Templarian: it doesnt do code completion, it does not do code refactoring, it does not do templates, it does not have git integration Aug 08 05:13:08 PuffTheMagic: lol. It does all of that. Aug 08 05:13:24 Templarian: and i need to learn lisp to use it Aug 08 05:13:25 great Aug 08 05:13:27 can i guess your guys nationality? puffthemagic is either turkish or american and rwhitby is british/english Aug 08 05:13:54 * rwhitby is australian Aug 08 05:13:59 fair enough. Aug 08 05:14:10 mate Aug 08 05:14:19 ultraBlack: :P Aug 08 05:14:25 no wuckkas Aug 08 05:14:28 i really cant speak for all u windows users Aug 08 05:14:36 cause i am probably the only linux only user here Aug 08 05:14:43 but eclipse is great Aug 08 05:14:57 only linux user here ... pfft Aug 08 05:14:59 we dont have visual studio Aug 08 05:15:05 PuffTheMagic: Rule #1 no OS arguing, all tools supported by multiplatform. Aug 08 05:15:13 PuffTheMagic: you do have C# though. Aug 08 05:15:20 PuffTheMagic: I'm a Linux and eclipse user, you insensitive clod! Aug 08 05:15:39 Templarian: there is no visual studio for linux Aug 08 05:15:41 destinal: PuffTheMagic is the only *true* linux user here ... we're all just acolytes Aug 08 05:15:48 and u r the one who brought tha tup Aug 08 05:15:49 PuffTheMagic: You have other editors for Mono. Aug 08 05:16:08 Visual Studio is only for .NET mainly. Aug 08 05:16:11 rwhitby: lol Aug 08 05:16:11 Templarian: i wont tought mono with a 10 foot poll Aug 08 05:16:18 i hate interpreted languages Aug 08 05:16:20 Templarian: um, C/C++ ... Aug 08 05:16:36 i like java yes cause its easy Aug 08 05:16:39 rwhitby: oh yea lol. Aug 08 05:16:46 egaudet: when i do jar -cf org/webos Aug 08 05:16:46 internals/optloopservice/OptLoopService.class asdf.jar, why do I get asdf.jar : no such file or directory, so what? shouldn't it MAKE it Aug 08 05:16:54 but if my c/c++ was better i would always write in that Aug 08 05:17:06 rwhitby: well c++ can be .net too right, just as vb can Aug 08 05:17:09 rwhitby: My bro being a C++ guru would kill me for forgetting that. Aug 08 05:17:11 f' mono/.net Aug 08 05:17:18 .net is a framework, c# is a language Aug 08 05:17:37 hell, ironpython is .net too Aug 08 05:17:40 c# 3.5 is a beautiful syntax. Aug 08 05:17:48 destinal: i dont know any windows dev that says C# ever Aug 08 05:17:54 cause they dont use open compilers Aug 08 05:17:58 they use MS compilers Aug 08 05:18:04 so they have .net anyway Aug 08 05:18:12 and they refer to it as .net Aug 08 05:18:40 well that's like saying "PC" and meaning windows system. Aug 08 05:18:42 Really, .net means to many things. Aug 08 05:18:47 i had it backwards and so therefore you do too ultraBlack Aug 08 05:18:52 destinal: thats how windows users are ;) Aug 08 05:18:55 egaudet: oh, rite. Aug 08 05:18:57 it's jar -cvf blah.tar org/web... Aug 08 05:18:58 * PuffTheMagic hides Aug 08 05:19:02 s/tar/jar Aug 08 05:19:08 egaudet: shame on you Aug 08 05:19:23 Hey destinal my pc version is Vista is that good? Aug 08 05:19:23 lol forgive my sleepy mind :P Aug 08 05:19:28 no Aug 08 05:19:30 :P Aug 08 05:19:32 I HAVE VISTA X64 ULTIMATE Aug 08 05:19:39 fail Aug 08 05:19:42 throw it out your window! Aug 08 05:19:43 quick Aug 08 05:19:52 Just upgrade to 7 like every other person. Aug 08 05:19:53 but...but...my crysis and my 8gb ram Aug 08 05:19:57 LOL Aug 08 05:20:03 lol crysis Aug 08 05:20:06 i'm playing it right now you know guys. taking breaks in between listening to you bitch is great fun for me Aug 08 05:20:15 I am rocking windows 7 ultimate right now Aug 08 05:20:17 because i have my games Aug 08 05:20:20 i preordered Aug 08 05:20:21 technet ftw Aug 08 05:20:27 Everyone to #webos-watercooler now Aug 08 05:20:28 $50 for pro Aug 08 05:20:36 er, was it $100 Aug 08 05:20:46 who cares i gave my money to 'em Aug 08 05:20:57 ack invasion of watercooler mode Aug 08 05:20:59 one license Aug 08 05:21:32 BOOM HEADSHOT! Aug 08 05:21:34 lol ty Templarian for the shout-out Aug 08 05:21:42 lulllchannnel Aug 08 05:22:21 sup Aug 08 05:22:26 * ultraBlack plays sophisticated music. Classical. Bach. Aug 08 05:22:34 ha Aug 08 05:23:04 destinal: sorry to say i was the only linux user Aug 08 05:23:21 i dont really meet many people that dont use windows at all Aug 08 05:23:31 most people still have a windows install for fallback Aug 08 05:23:34 or games Aug 08 05:23:42 PuffTheMagic: there's always WINE Aug 08 05:23:54 PuffTheMagic: Need windows for crysis Aug 08 05:23:56 destinal: i have a ps3 Aug 08 05:24:00 i do my gaming on consoles Aug 08 05:24:19 destinal, what exactly is the org.webosinternals.ledservice? Aug 08 05:24:29 tlz: ask Puff, he wrote it :) Aug 08 05:24:36 puff! Aug 08 05:24:41 what is it! :) Aug 08 05:24:44 console gaming for fpses? Aug 08 05:24:47 get out Aug 08 05:24:59 tlz: it makes LEDs dance Aug 08 05:25:01 tlz: its a service to manipulate the led's on the pre Aug 08 05:25:15 tlz: since palm didnt give us access to them Aug 08 05:25:18 PuffTheMagic: So you really would prefer joysticks for aiming Aug 08 05:25:30 PuffTheMagic: You lika the auto-aim Aug 08 05:25:30 heh cool, is it going to be used in conjunction with another program? Aug 08 05:25:38 PuffTheMagic: i can use a mouse/keyboard on unreal for ps3 Aug 08 05:25:45 but i enjoy using gamempad too Aug 08 05:25:54 eww ps3 Aug 08 05:25:59 PuffTheMagic: true.. Aug 08 05:25:59 as long as i am not playing against people with a mouse/keybaord Aug 08 05:26:00 * Eguy loves my 360 Aug 08 05:26:16 yes mouse/keyboard is easier Aug 08 05:26:23 PuffTheMagic: But PS3's don't really have upgradable GPUs or CPUs Aug 08 05:26:33 so Aug 08 05:26:35 PuffTheMagic: Hence why the PC modding community thrives Aug 08 05:26:38 no Aug 08 05:26:43 thats not right Aug 08 05:27:02 PuffTheMagic: People like amazing next-gen graphics without having to wait for Nintendo to make a successor to the Wii. Aug 08 05:27:19 this is ALL watercooler conversation Aug 08 05:27:22 PC people need to upgrade their hardware all the time cause developers need to write code that works on 1000 different hardware Aug 08 05:27:26 yes it is Aug 08 05:27:27 and most devs suclk Aug 08 05:27:28 destinal: yep. Aug 08 05:27:29 suck Aug 08 05:27:30 when there is no room in watercooler, the spam will walk the -internals Aug 08 05:27:35 so their code is inefficient Aug 08 05:27:36 lol Aug 08 05:27:41 so that means u need to upgrade Aug 08 05:27:48 since every ps3 has the same hardware Aug 08 05:27:59 most console devs get better over time Aug 08 05:28:03 and write better coed Aug 08 05:28:06 code Aug 08 05:28:10 and better games Aug 08 05:28:18 and get more out of the system as time goes Aug 08 05:28:23 so we dont need to upgrade Aug 08 05:28:24 PuffTheMagic: I can't stand the CoD graphics. I'm sorry I'm a sucker for Crytek Aug 08 05:28:39 My rig ftw http://farm4.static.flickr.com/3637/3374378442_3f665c22e3_b.jpg :) Aug 08 05:28:43 we need an antidote. someone talk about the internals of webos, or something. Aug 08 05:28:43 i dont know what CoD an Crytek is Aug 08 05:29:05 call of duty; crytek makes Far Cry and Crysis Aug 08 05:29:10 * rwhitby bbl - kids bday party Aug 08 05:29:19 destinal: webos internals is like a 16 year old girl, cant touch it Aug 08 05:29:29 hows that Aug 08 05:29:39 pretty accurate Aug 08 05:30:23 that opens up sooo many bad jokes, I have to refuse Aug 08 05:30:30 :D Aug 08 05:30:31 you LOSE! good day sir! Aug 08 05:30:41 hahaha Aug 08 05:31:03 heh Aug 08 05:31:25 ask and ye shall recieve tlz eh? Aug 08 05:32:17 isn't this what watercooler is for? Aug 08 05:32:20 just sayin Aug 08 05:32:24 yes sir Aug 08 05:32:31 I made it for this reason LOL Aug 08 05:32:33 lolol Aug 08 05:32:41 rwhitby isn't around to kick ass and chew bubblegum? Aug 08 05:32:41 ultraBlack: ps2 came was out for like 10-11 years before ps3 came out... and the devs came out with better and better games even after the ps3 came out Aug 08 05:32:49 and that was cause the hw stayed the same Aug 08 05:32:59 and all devs had to write code for 1 system Aug 08 05:33:15 seriously, people read the logs of this channel for halfway useful ramblings. let's take the game talk to #webos-watercooler Aug 08 05:33:17 u dont see that with PCs cause there are so many hw combinations Aug 08 05:33:26 lol Aug 08 05:33:42 rwhitby is away at his kids birthday party Aug 08 05:33:47 offtopic is good Aug 08 05:33:48 AS Aug 08 05:33:59 we are all bored Aug 08 05:34:07 destinal: u rater it be dead in here Aug 08 05:34:11 ? Aug 08 05:34:12 yeah, the devs prefer offtopic in watercooler because this channel is logged Aug 08 05:34:27 and devs have to tear through molesting children when they're trying to review useful stuff Aug 08 05:34:36 AgentSmith: quote of the day, congrats Aug 08 05:34:39 who reads logs anyway Aug 08 05:34:45 yes that was pretty damn awesome Aug 08 05:34:46 lots are nice cause u can googe them Aug 08 05:34:48 thats about it Aug 08 05:35:04 thx dest Aug 08 05:35:07 I feel bad for the dev who read the logs cause there is a lot of crap on here sometimes lol Aug 08 05:35:09 Aw, you got googe all over my logs! Aug 08 05:35:38 s/lots/logs/ Aug 08 05:35:58 Lots of googe Aug 08 05:36:05 Eguy: everything that is usefull becomes code in a git repo Aug 08 05:36:10 this is serious watercoooler stuff but oh well Aug 08 05:36:16 Yes Aug 08 05:36:19 git-r-done Aug 08 05:36:21 the chan is for just this Aug 08 05:36:42 it's ok eguy, puff isn't cool enough to go where the REAL Fun is Aug 08 05:36:45 someone turn off the log ;) Aug 08 05:36:57 ~log Aug 08 05:36:58 AgentSmith: i have +u on freenode Aug 08 05:37:07 i can join unlimited channels Aug 08 05:37:14 and i already am in 50+ Aug 08 05:37:18 well ~50 Aug 08 05:37:19 Why Aug 08 05:37:21 i dont need another one Aug 08 05:37:24 sounds like you hit a 50 channel limit puff Aug 08 05:37:24 PuffTheMagic: dear gods that's insane Aug 08 05:37:30 gotta pay $300 to get 50 more Aug 08 05:37:35 i have a paypal account you can deposit it in Aug 08 05:37:42 me too Aug 08 05:37:44 destinal: i participate in lots of projects Aug 08 05:38:03 and you still have time for crappy webOS? :P Aug 08 05:38:14 that was a joke btw Aug 08 05:38:20 for the logs Aug 08 05:38:22 :P Aug 08 05:38:37 The almighty logs *bows to fallen trees* Aug 08 05:38:53 i need to start monitoring the power logs on my pre and do some tests Aug 08 05:38:54 fell trees Aug 08 05:38:59 friends have been saying theirs have been dying in less than a day on 1.1 Aug 08 05:39:11 friend had his charged up to full at 7am, by 11am it was down to 25% full today Aug 08 05:39:42 destinal: 6 gentoo channels, radeon, kde-devel, uclibc, bluez, git, ipw2100, olpc, sugar .... Aug 08 05:39:56 im in an irc channel for everuthing i use almost ;) Aug 08 05:40:03 buti contrbute to most Aug 08 05:40:06 i just dont lurk Aug 08 05:40:25 in fact the polar opposite of lurk Aug 08 05:40:30 which i believe is "durk" Aug 08 05:40:37 haha Aug 08 05:40:37 ok, so just for the fun of it, let's ltrace LunaSysMgr Aug 08 05:40:52 because I want to see just how fast I can scroll my terminal, fill up logs, etc Aug 08 05:41:05 is the patch in the kernel? Aug 08 05:41:13 * PuffTheMagic is gonna give you all some peice and quiet and go watch some tv before he passes out Aug 08 05:41:18 tmzt: which patch? Aug 08 05:41:26 actually, ti might be worth it to get a n upstream kernel working Aug 08 05:41:29 destinal: if u want to talk irc mojo tomorrow let me know Aug 08 05:41:32 egaudet: inflated: org/webosinternals/optloopservice/OptLoopService.class but we're still getting ** Message: serviceResponse Handling: 2, {"returnValue":false,"errorCode":-1,"errorText":"Launch helper exited with unknown return code 0"} Aug 08 05:41:38 ltrace Aug 08 05:41:41 PuffTheMagic: cool Aug 08 05:41:42 tmzt: i have plans for that Aug 08 05:41:52 tmzt: but palm is doing it already Aug 08 05:41:58 egaudet: Just when you thought the problem was gone. Sorry it took so long for me to stop talking to PuffTheMagic to do that. Aug 08 05:42:01 tmzt: so we may as well focus effors else where Aug 08 05:42:24 My pre goes from 100-23% from 10am-7pm Aug 08 05:42:32 eguy that sounds better Aug 08 05:42:45 i gotta find out of he did something stupid, i have a feeling he has an SSH service running or something Aug 08 05:42:50 but i'm not sure yet Aug 08 05:43:44 lol Aug 08 05:43:54 so you re-installed it, and rebooted Aug 08 05:44:00 * PuffTheMagic gives the channels some champagne to drink in celebration of him going ot bed Aug 08 05:44:05 and you are root Aug 08 05:44:07 tmzt: which kernel module is needed? Aug 08 05:44:33 egaudet: Let me reinstall and reboot one more time to be sure Aug 08 05:45:22 ultraBlack: your service isnt working cause the cosmos knows knows loop on opt is a bad idea and it wont let u do it ;) Aug 08 05:45:36 ultraBlack: why wont u resize Aug 08 05:45:52 PuffTheMagic: because i've already spent like 2 weeks on this Aug 08 05:46:03 PuffTheMagic: why quit now Aug 08 05:46:11 thats what u get for not comming on irc sooner Aug 08 05:46:18 msg chanserv +God Eguy #webos-internals Aug 08 05:46:22 irc is the uber source of everyting Aug 08 05:46:24 :( Aug 08 05:46:36 are you manually re-installing? Aug 08 05:46:46 egaudet: With WinSCP Aug 08 05:47:11 winscp... just install ubuntu in virtualnox Aug 08 05:47:19 yeaaaa Aug 08 05:47:23 dooo it Aug 08 05:47:23 forget cygwin and putty and winscp Aug 08 05:47:42 if u are gonna hack a linux box run a linux box ;) Aug 08 05:47:55 I remind you all that I have Ubuntu 9.0.4 on my main drive as a partition of its own. Aug 08 05:48:04 tmzt: ltrace LunaSysMgr works on the emulator and wow does it generate output :) Aug 08 05:48:12 ultraBlack: i dont care unless its your only paritioin Aug 08 05:48:22 if u have windows on any hd u fail Aug 08 05:48:37 * PuffTheMagic runs from the beating of windows users Aug 08 05:48:38 PuffTheMagic: I have it on 5. Aug 08 05:48:47 windows? Aug 08 05:48:52 dear god Aug 08 05:48:56 killall off-topic conversaion Aug 08 05:49:02 PuffTheMagic: 3 Vista x64 Ultimate, 2 Windows XP SP3. Aug 08 05:49:05 mv convertation webos-watercooler Aug 08 05:49:18 1 Ubuntu. Aug 08 05:49:19 rm -rf off-topic Aug 08 05:49:26 why are you using windows for this stuff? Aug 08 05:49:27 reboot Aug 08 05:49:29 exit Aug 08 05:49:29 if you have ubuntu? Aug 08 05:49:36 Eguy: if there was anything on toplic total about we would :D Aug 08 05:49:49 egaudet: thats what i dont get Aug 08 05:50:05 PuffTheMagic: some of us are actually hacking on things, don't they have channels for badmouthing windows? :) Aug 08 05:50:13 PuffTheMagic, egaudet: Ubuntu doesn't have drivers for my gaming-grade mouse. Aug 08 05:50:20 destinal: they are called Apple Aug 08 05:50:29 '/join badmouth-windows Aug 08 05:50:31 Apple has channels? Aug 08 05:50:35 ultraBlack: there are no games in linux for your gaming mouse anyway Aug 08 05:50:38 on freenode? Aug 08 05:50:40 in your brain Aug 08 05:50:50 Apple fanboys they are called Aug 08 05:51:01 or to us normal human... mentally challenged Aug 08 05:51:01 everyone has an inner apple fanboy Aug 08 05:51:02 How do i stop the screen from dimming! Aug 08 05:51:09 destinal: i cant resist,i am surrounded by windows users Aug 08 05:51:20 Puff: I use linux ;) Aug 08 05:51:22 destinal: it breaks my heart Aug 08 05:51:40 egaudet: ** Message: serviceResponse Handling: 2, {"returnValue":false,"errorCode":-1,"errorText":"Launch helper exited with unknown return code 0"} Aug 08 05:51:42 Eguy: only linux? Aug 08 05:51:50 id rather not play a game than run linux Aug 08 05:51:50 flush your pre down the toilet Aug 08 05:51:53 egaudet: there's a wiki article on stopping sleep mode, I think that applies to dimming too Aug 08 05:52:00 althought i do use wine for Civ 4 Aug 08 05:52:05 eww wine Aug 08 05:52:10 the "change off after X" wiki? Aug 08 05:52:12 No not only linuxx Aug 08 05:52:16 linux* Aug 08 05:52:23 egaudet: that's the one Aug 08 05:52:28 but I am exposed to linux all the time Aug 08 05:52:31 i don't think it stops the dimm Aug 08 05:52:36 Eguy: wine is nice Aug 08 05:52:37 because the dimm happens before the off Aug 08 05:52:43 I am a network administrator Aug 08 05:52:44 esp with winetricks Aug 08 05:52:54 Civ4 runs smooth like butter Aug 08 05:53:05 PuffTheMagic: do you know regarding the dimming thing whether that article on change off after X applies? Aug 08 05:53:06 Isn't Civ4 from 1994? Aug 08 05:53:08 and that the only windows app i use/need Aug 08 05:53:12 sorry to actually talk about WEBOS Aug 08 05:53:17 lol destinal Aug 08 05:53:18 you're insane Aug 08 05:53:21 why do that in a webos channel? Aug 08 05:53:23 blasphemy Aug 08 05:53:24 destinal: dimming? Aug 08 05:53:26 hey guys lets talk about xbox Aug 08 05:53:33 What is webos? Aug 08 05:53:33 oh wait. Aug 08 05:53:38 I have a dvd player Aug 08 05:53:46 It plays dvds but not bluray Aug 08 05:53:48 I have a jpod Aug 08 05:53:51 * destinal slaps AgentSmith with a mackerel. Aug 08 05:53:54 2009-08-08T05:48:56.796844Z [28220] castle user.crit fileindexer[1244]: Failed to get path details: /media/internal/developer/_tmpdir_org.webosinternals.labyrinth_0.0.3_all.ipk/controlTmp Aug 08 05:53:55 the next iPod Aug 08 05:53:58 Are there any addons I can purchase to make it do what I want it to? and that is to play bluray Aug 08 05:54:04 wtf does that mean Aug 08 05:54:13 no, you can only plaay redray Aug 08 05:54:23 hahahaah Aug 08 05:54:25 guys, seriously Aug 08 05:54:27 destinal: i really have no attention span left i am too drunk Aug 08 05:54:28 this poor poor channel Aug 08 05:54:30 is being molested Aug 08 05:54:33 lol Aug 08 05:54:38 its 2 am here Aug 08 05:54:42 I can't talk to people about webos INTERNALS because you're chatting about blueray and ps3 and windows and civ4 Aug 08 05:54:51 nothing productive going on Aug 08 05:54:52 what is civ4? Aug 08 05:54:54 so puff go to #webos-watercooler - we're talking about tommybres' sexual fantasies right now Aug 08 05:54:59 LOL Aug 08 05:55:07 i am going to the couch Aug 08 05:55:11 PuffTheMagic: people are trying but you're scrolling the channel with crap Aug 08 05:55:13 I want my app to stop dimming until it's over, but not to have to change the max shutoff after X time Aug 08 05:55:17 and watching some tv Aug 08 05:55:20 then passing out Aug 08 05:55:38 destinal: lol, ok i will leave Aug 08 05:55:56 ok, so this dimming thing Aug 08 05:56:42 is there a soft variable to change dimming? Aug 08 05:56:59 egaudet: are you plugged in to USB? Aug 08 05:57:07 There has to be because that guy made the brightness app Aug 08 05:57:09 mine isn't dimming at all Aug 08 05:57:29 yes Aug 08 05:57:58 Maybe the Brightness Unlinked app uses a service to do its dirty work, kind of like what I need. Aug 08 05:58:12 service you say? Aug 08 05:58:15 I believe that brightness app, just splits up the brightness, but it uses a different portion of the service that i want Aug 08 05:58:32 of course I dont know exactly what I'm talking about because none of the luna-send works properly to that stupid display service Aug 08 05:58:38 except for the status Aug 08 05:58:58 egaudet: OMG! luna-send -n 1 palm://org.webosinternals.optloopservice/version { Aug 08 05:58:58 } doesn't work for me either Aug 08 05:59:13 Stupid freaking PuTTY splitting lines up Aug 08 05:59:14 lol Aug 08 05:59:24 +resize Aug 08 05:59:32 luna-send -n 1 palm://org.webosinternals.optloopservice/version {} Aug 08 05:59:40 -clipboardmod Aug 08 06:01:39 Ant time Aug 08 06:01:46 lol Aug 08 06:02:05 destinal: I assume emulator is not 2.6.24 then, but interesting Aug 08 06:02:57 Linux qemux86 2.6.26 #1 SMP Tue Jul 7 15:31:11 PDT 2009 i686 unknown Aug 08 06:03:34 yeah interesting, different version than the pre Aug 08 06:04:01 The SDK's version is always newer than the released version. Aug 08 06:04:27 ultraBlack: even for the same version of the OS? Aug 08 06:04:31 hid support for a mouse? doesn't host have to work first? Aug 08 06:04:45 tmzt: no, hidd is not what you think Aug 08 06:04:52 I know that Aug 08 06:05:01 it's not bluez Aug 08 06:05:04 I mean usb hid Aug 08 06:05:08 it's not usb hid either Aug 08 06:05:14 yes Aug 08 06:05:17 that's in the kernel Aug 08 06:05:27 I think I read the question wrong while reading the log Aug 08 06:05:32 (from your highlight) Aug 08 06:05:38 it was about ubuntu, not Pre Aug 08 06:05:55 people read the log? Aug 08 06:05:56 what did I say? Aug 08 06:06:06 not you, ultraBlack I think Aug 08 06:06:10 Hmm...turns out I already had Ant installed from last time. How do I use it? Aug 08 06:06:33 egaudet: I never wrote down that ant clean build jar thing you gave me. Aug 08 06:06:43 tmzt: so hidd reads ambient light sensor, proximity sensor, keyboard, touchscreen, accelerometer and all kinds of fun things, and it's a pluggable architecture Aug 08 06:07:02 .so libs to interface with the data sources Aug 08 06:07:12 you just typed it Aug 08 06:07:16 I know Aug 08 06:07:35 so we need to figure out how to make a plugin for it :) Aug 08 06:08:49 egaudet: That's funny. The whole time I could have just done that. Aug 08 06:09:06 won't nm tell you most of the api? Aug 08 06:10:19 did i not tell you? Aug 08 06:10:24 lol Aug 08 06:10:26 egaudet: How do I enable verbosity? Aug 08 06:10:27 tmzt: apparently yes Aug 08 06:10:32 The "BUILD FAILED" Aug 08 06:10:38 should tell you why Aug 08 06:10:49 Ah Aug 08 06:10:51 did you copy the build.xml from one of our services and change the name inside of it? Aug 08 06:11:00 The file's locked by windows. I need to close XChat I think Aug 08 06:11:04 the say whowha Aug 08 06:11:19 egaudet: It's a windows thing :) Aug 08 06:11:22 lol Aug 08 06:12:10 "BUILD SUCCESSFUL" ...it was locked from when I tried to send it to you. Aug 08 06:12:22 oh ok Aug 08 06:12:37 Iit couldn't clean up. Aug 08 06:12:43 s/iit/it Aug 08 06:12:54 How does that thing work? Do I need voice? *irc noob q.* Aug 08 06:13:06 s/q./question Aug 08 06:13:36 msg infobot Aug 08 06:16:17 so you built Aug 08 06:16:26 and it works magically Aug 08 06:17:05 egaudet: I've yet to test. Aug 08 06:17:25 egaudet: Pre takes a while to reboot, remember. Aug 08 06:18:39 egaudet: No, same thing. Aug 08 06:19:07 Destinal, have you looked at this? Aug 08 06:19:48 http://webos.pastebin.com/m1933cc3f Aug 08 06:20:10 ultraBlack: to make the bot sed things, do something like this Aug 08 06:20:13 s/this/that/ Aug 08 06:20:13 destinal meant: ultraBlack: to make the bot sed things, do something like that Aug 08 06:21:08 ultraBlack: the service rwhitby did? I haven't but I think I understand how it's supposed to work Aug 08 06:21:34 it's similar in design to any basic java webos service Aug 08 06:21:37 destinal: The only problem is that it doesn't. Not with luna-send, anyway. Aug 08 06:21:56 do you have /opt in your fstab? Aug 08 06:22:15 Oh yes, however, it's a virtual file system, mounted on loopbackk. Aug 08 06:22:22 s/loopbackk/loopback Aug 08 06:22:27 s/loopbackk/loopback/ Aug 08 06:22:27 ultraBlack meant: s/loopback/loopback Aug 08 06:22:29 I see. Aug 08 06:23:49 does /bin/mount /opt and /bin/umount /opt do the right thing at the command line? Aug 08 06:23:53 if not, the service won't either Aug 08 06:24:35 It won't even return the right error message? Aug 08 06:24:51 /bin/mount /opt should say "mount: mounting /dev/loop0 on /opt failed: Device or resource busy" Aug 08 06:25:03 /bin/umount /opt should say "umount: cannot umount /opt: Device or resource busy" Aug 08 06:25:11 In the case that the vfs is mounted Aug 08 06:25:12 well, not the way the code works Aug 08 06:25:15 there's a syntax for loop in fstab rigth? Aug 08 06:25:32 in the service, I think he's just taking the numeric return code Aug 08 06:25:36 lsof |grep /opt should tell you why it's busy Aug 08 06:25:37 destinal: Can you explain why luna-send -n 1 palm://org.webosinternals.optloopservice/version { Aug 08 06:25:37 } Aug 08 06:25:46 luna-send -n 1 palm://org.webosinternals.optloopservice/version {} Aug 08 06:25:56 yields only the same error message as the other methods? Aug 08 06:26:08 I Know Why it's busy Aug 08 06:26:16 SSH. Aug 08 06:26:27 Not worried about that right now. Worried about making my service work. Aug 08 06:26:31 ultraBlack: I don't know, I'd have to download and install the service to figure out what's up with the message passing Aug 08 06:27:06 destinal: ...would you mind? Aug 08 06:28:24 http://gitorious.org/webos-internals/applications/trees/master/org.webosinternals.optloopservice Aug 08 06:28:55 But that's rwhitby's skeleton. The problem COULD be in the version I have now, but I didn't change much and it compiles fine, so I don't think it's that. All I really did was add a method to test with. Aug 08 06:29:05 never actually installed a 3rd party service Aug 08 06:29:07 version() Aug 08 06:29:34 destinal: Oh.... Aug 08 06:29:49 plugins I've worked a lot with, services not so much Aug 08 06:30:13 what's the proper way to install one manually? Aug 08 06:30:32 This is what I was told: Aug 08 06:30:40 the .jar goes in /usr/lib/luna/java/ Aug 08 06:30:40 the .service goes in /usr/share/dbus-1/system-services/ Aug 08 06:30:40 /usr/bin/luna-send -n 1 palm://your.service.name/method {parameters} Aug 08 06:31:07 You have to reboot before you do that luna-send, though. Aug 08 06:31:56 si Aug 08 06:32:04 So in my case it would be /usr/bin/luna-send -n 1 palm://org.webosinternals.optloopservice/mount {} for mounting Aug 08 06:32:22 is that git what you are working with? Aug 08 06:32:30 Yup. :D Aug 08 06:32:39 ok i debug now Aug 08 06:32:44 Hehe. Aug 08 06:37:57 what is $ReturnResult.class Aug 08 06:39:44 ok well the git works for me (no version method) Aug 08 06:39:52 root@castle:/var/home/root# /usr/bin/luna-send -n 1 palm://org.webosinternals.op Aug 08 06:39:52 tloopservice/version {} Aug 08 06:39:52 ** Message: serviceResponse Handling: 2, {"errorCode":"ErrorGenericUnknownMethod", "errorText":"Unknown Method"} Aug 08 06:41:04 root@castle:/var/home/root# /usr/bin/luna-send -n 1 palm://org.webosinternals.op Aug 08 06:41:04 tloopservice/mount {} Aug 08 06:41:04 ** Message: serviceResponse Handling: 2, {"return":0} Aug 08 06:41:58 egaudet: Do you have SSH on your Pre? Aug 08 06:42:04 yea Aug 08 06:42:40 But you don't have /opt on loopback. Aug 08 06:49:00 egaudet: That makes no sense. Why would it let you mount when you have nothing /to/ mount? Aug 08 06:51:33 i don't know what it's doing, i just ran it Aug 08 06:52:04 egaudet: Smart. =P Aug 08 06:52:15 heh Aug 08 06:52:35 so if it doesn't work for you... blame windows Aug 08 06:53:44 lol, so you take that from the git clone and it doesn't work for you Aug 08 06:54:00 do a sanity check ls -l /var/lib/luna/java/ Aug 08 06:54:06 errr Aug 08 06:54:10 ls -l /usr/lib/luna/java Aug 08 06:54:10 No gimme a sec. I'm going to. Aug 08 06:54:15 ls -l /usr/share/dbus-1/system-services Aug 08 06:55:27 And hey, it's there. I'm using WinSCP I CAN SEE IT! :P Aug 08 06:57:48 ultraBlack: you don't need an /opt on loopback for it to work, most of us have /opt in fstab as a bind mount Aug 08 06:58:00 which this would work just fine to mount / unmount it Aug 08 06:58:06 destinal: That is true. Aug 08 07:00:05 Now git isn't working for me. Aug 08 07:00:12 I do blame Windows Aug 08 07:00:25 Receiving objects: 21% (459/2146), 603.99 KiB | 190 KiB/s Aug 08 07:00:35 lol Aug 08 07:00:41 fatal: The remote end hung up unexpectedlyiB | 7 KiB/s Aug 08 07:00:41 fatal: early EOF Aug 08 07:00:41 fatal: index-pack failed Aug 08 07:01:00 I'm gonna give up on this screen control Aug 08 07:01:20 they have it locked somehow that I cant figure out right now Aug 08 07:01:35 I tried to mimic the camera app's service call to no avail Aug 08 07:07:58 egaudet: Did you move the OptLoopService.java before you built with Ant? Aug 08 07:09:25 no Aug 08 07:09:37 i did a git pull, and then ant clean build jar Aug 08 07:19:16 Now we're making progress. A real error message: ** Message: serviceResponse Handling: 2, {"errorCode": "ErrorGenericMethodException", "errorText": "You fail!"} Aug 08 07:19:21 That looks like it worked. Aug 08 07:20:21 egaudet: See above. Thank you for being patient and being in general just a real cool dude. If you are a dude; I never asked your gender. Anyway, off to bed for me. Good night to you my love.. <3 :o Friggin' amazing thanks again Aug 08 07:35:47 uh.. wow Aug 08 07:36:04 lol Aug 08 07:36:09 yes Aug 08 07:36:13 weird indeed Aug 08 07:36:32 also as a random aside, there's probably a better error message to return than "You fail!" Aug 08 07:36:37 just a hunch Aug 08 07:37:04