**** BEGIN LOGGING AT Sun Jul 22 02:59:59 2012 Jul 22 03:01:57 really sorry this place died/hibernated. I have 4 or 5 phones for spare parts and double that many batteries, so I'll be around when/if we get to test open webos on frankenpre2s Jul 22 03:02:15 g'night Jul 22 10:39:42 rwhitby: hello. do you know if it is possible to modify wpa-supplicant to support eap-sim (aka dialogue with the sim card directly) ? Jul 22 10:52:17 wpa_supplicant does already support eap-sim ... Jul 22 11:20:46 filmor: well then why it does not work/what am I doing wrong ? I have an eap-sim wifi hotspot + an eap-sim card compatible in my pre2 Jul 22 11:21:05 I adapted this post http://forums.webosnation.com/webos-development/213894-anyway-edit-wpa_supplicant-config.html#post2148673 with this http://forum.xda-developers.com/showthread.php?t=1660397 Jul 22 11:23:31 filmor: I maid a custom wpa_supplicant config file, turned on wifi, killed wpa_supplicant, relaunched it with my custom conf file and tried to get an ip but nothing Jul 22 11:23:59 perhaps i am misisng some glue like resolv.conf or something Jul 22 11:24:16 do you have some tips ? Jul 22 11:30:46 filmor: how do you know wpa_supplicant version provided with webos 2.2.4 is supporting eap-sim ? I know that wpa_supplicant supports it http://w1.fi/wpa_supplicant/ but it has to come with some telephony specific bits to communicat with the sim card Jul 22 11:49:21 garthps, webos 2.2.4 uses v0.6.10, so it should in theory support eap-sim Jul 22 11:50:09 i don't know how the communication with the sim is supposed to work, but you can access imsi and imei using the com.palm.telephony service Jul 22 12:17:27 filmor: thx. I need to find out how wpa_supplicant is supposed to provide and how it get these informations Jul 22 12:25:24 filmor: do you know how to retriev imsi ? what is the command to do so ? Jul 22 12:36:12 luna-send -n 1 palm://com.palm.telephony/imsiQuery '{}' Jul 22 12:36:44 or, from a program, you'd use the lunaservice-functions to do that, but I don't know the interface Jul 22 12:44:24 hey filmor Jul 22 12:46:26 hi :) Jul 22 12:46:54 filmor: have you cracked the custom validator nut yet? Jul 22 12:47:11 hmm? Jul 22 12:48:08 you were trying to work out how to do the custom ui for account things Jul 22 12:49:35 I was? well, the plugins use a custom validator … Jul 22 12:51:14 the only thing(tm) that doesn't work are the (error) dialogs in the mojo validator Jul 22 12:52:31 yeah i think you were trying to figure out the mojo way then Jul 22 12:53:07 ah yes, some time ago I tried to find a way to use the enyo validator on mojo devices Jul 22 12:53:54 but that didn't work so I just resorted to writing the mojo part from scratch and deciding during the installation which one to use Jul 22 12:53:56 wouldn't happen to be able to point me to a direction of how to learn about how the enyo version works? Jul 22 12:54:19 wait a sec Jul 22 12:54:53 anything particular that you're looking for? Jul 22 12:56:09 just how to set it up. i understand that the custom validator thingee wants either a string or an object (i think, it's been a while since i've read that doc) and there's not really a clear explanation of what it wants, or how to respond to it Jul 22 12:56:25 ah, okay Jul 22 12:56:46 https://github.com/filmor/webos-messaging/blob/master/application/validator_enyo.html Jul 22 12:56:58 last time i looked into the code that made it all work was around january, and my head was still swimming at the complexity of it then Jul 22 12:57:14 this file is the starting point Jul 22 12:57:22 the parameters are in the windowParams Jul 22 12:57:35 next step: https://github.com/filmor/webos-messaging/blob/master/application/source/Validator.js Jul 22 12:57:46 in create the params are handled Jul 22 12:58:34 you have the whole template (i.e. the template.json-file you're providing as the account template) in either params.initialTemplate or params.template Jul 22 13:00:37 that's kind of a bright idea passing the windowParams to create Jul 22 13:00:43 I think it's always params.template in webOS 3, but the documentation on this stuff is extremely foggy Jul 22 13:01:07 ok, your accounts json is making me go WTF .. is there something that pre-parses that, or did i miss something in docs? Jul 22 13:01:29 hihi Jul 22 13:01:35 I'm just lazy as hell Jul 22 13:01:49 isn't that why we're programmers? Jul 22 13:02:00 I didn't care to write this stuff again and again, so I "invented" my own json-template-language ;) Jul 22 13:02:22 makes it easy to add new accounts Jul 22 13:02:44 look at prototype.json Jul 22 13:02:52 that's kindof the "master-template" Jul 22 13:02:59 especially "@template" in there Jul 22 13:03:16 that's where everything get's substituted in Jul 22 13:03:18 filmor: thx!! Jul 22 13:03:35 GarthPS, you're welcome :) Jul 22 13:04:03 is there a way to list or to know the list of request we can pass the palm://com.palm.telephony// ? Jul 22 13:04:37 GarthPS: well.. it's a bit of a stretch, but if you can find the binary that implements the com.palm.telephony service, you can run "strings" on it Jul 22 13:05:15 EricBlade: hm yeah right Jul 22 13:05:30 was hoping there was already a list of it :) Jul 22 13:05:42 you might also try calling .. palm://com.palm.telephone/__info .. Jul 22 13:05:56 (that's two underscores) Jul 22 13:06:50 doesn't look like that works very well though Jul 22 13:07:03 :) Jul 22 13:07:03 the code descibes "All services support an __info method" .. but the three i just tried didn't Jul 22 13:07:19 :p Jul 22 13:07:19 use the public bus Jul 22 13:07:33 the problem is are the permissions though, I guess Jul 22 13:07:50 i see the service controller registers __info on both the public and private bus Jul 22 13:07:56 but that may only apply to javascript services Jul 22 13:08:13 filmor: which is the bus? Jul 22 13:08:42 luna-send will use the private bus unless you explicitely tell it to use the public one using -P Jul 22 13:08:53 is there a qdbus ? Jul 22 13:09:02 if i call that on my own node service, it gives me the contents of service.json Jul 22 13:09:28 which i don't think the native services have, otherwise we could just look in there Jul 22 13:11:49 cant call telephony on the public bus, and __info isn't registered for it on the private Jul 22 13:12:12 hmm Jul 22 13:12:24 i can't find it in the sources Jul 22 13:13:23 but I know there where some magic methods … Jul 22 13:13:27 like __quit Jul 22 13:14:15 filmor: ok, so, it goes .. validator { customUI { appId, name }, address } .. where appId is the app to launch, name is ??, and address is .. uh.. obv a function call for something, but wouldn't the customUI perform that function? or is that so the customUI knows what function to perform? Jul 22 13:16:44 I don't think address is needed when customUI is specified Jul 22 13:16:59 name is the html-file in the application directory Jul 22 13:17:07 i.e. "validator/index.html" Jul 22 13:17:20 but only on webos 3 :) Jul 22 13:17:30 on webos 2 it's the scene name Jul 22 13:19:20 ok, so then your validator app takes whatever input is needed from the user, and then calls checkCredentials or whatever on it ? Jul 22 13:21:35 the validator can do whatever it wants Jul 22 13:21:54 it just needs to use CrossAppResult to return the credentials Jul 22 13:22:41 https://github.com/filmor/webos-messaging/blob/master/application/source/Validator.js#L92 Jul 22 13:24:03 I just return the credentials-object as I got it from the validator, I'll look up which format it has exactly Jul 22 13:26:00 {"credentials": {"common": {"password": pass }}, "username": user, "config": your-configuration-stuff } Jul 22 13:26:38 and maybe also "returnValue": true, I guess Jul 22 13:27:01 yep, you'll need that, that's how the ui decides if it should procede Jul 22 13:29:17 and if you want to use config: the accounts-ui won't handle saving this for you, you'll have to do that on your own in onCreate Jul 22 13:29:25 tripped into that one ;) Jul 22 13:33:57 thank you. this whole conversation has been logged for future reference Jul 22 13:34:54 i'll be looking into the custom validator when i want to build something that uses oauth Jul 22 13:36:42 you can also put a token in the credentials object Jul 22 13:36:56 actually the whole system is kinda nice Jul 22 13:37:15 would be even nicer if it was a bit more extensible Jul 22 13:37:43 allowing us to extend the facebook- and google-accounts :) Jul 22 14:37:55 yes, for sure Jul 22 14:38:28 i'd like to not have to add a whole extra set of contacts for google voice Jul 22 14:49:03 filmor: would you be able to guide me trough eap-sim login process? I am not sure of my commands to makea pairing with my wifi station Jul 22 14:53:09 erm, I actually don't know much about eap-sim … Jul 22 14:53:32 just had a look at wikipedia and the wpa-supplicant sources, that's all … Jul 22 14:55:01 filmor: I mean appart from eap-sim, what is the process to make a wifi connection command line by command line Jul 22 14:59:25 i think on webos this is done using some proprietary daemon Jul 22 15:00:03 on desktop linux systems you'd use wpa_cli or wpa_gui for that Jul 23 00:58:46 hi all. have a question about ubuntu chroot. can you run a display manager on it? Jul 23 01:02:10 i installed and tried a few, but none seem to work. also, i upgrade to 12.04. How does that affect chroot (since it says 11.04)? Jul 23 01:04:41 k4ever, yes, you can, but why? Jul 23 01:06:08 ka6sox, i installed multiple desktops and would like to switch back and forth between them without editing the .bashrc file. i can't seem to get any of the display managers to work. Jul 23 01:07:00 ..i used the easy configuration script to install ubuntu 11.04, then upgrade to 12.04 btw Jul 23 01:13:28 okay Jul 23 01:27:01 wow, it's pretty quite in here.. Jul 23 01:59:25 yes, it is Jul 23 02:16:53 folks Jul 23 02:19:02 hey bhuey Jul 23 02:19:16 how's it going ? Jul 23 02:20:54 bhuey: good, busy at work **** ENDING LOGGING AT Mon Jul 23 02:59:58 2012