**** BEGIN LOGGING AT Tue Feb 10 02:59:58 2015 Feb 10 08:15:04 mornin Feb 10 08:15:08 morphis: ping Feb 10 08:51:26 morphis: pong Feb 10 09:17:01 Tofe: Ping Feb 10 09:24:56 Herrie|Laptop: pong Feb 10 09:25:01 Herrie|Laptop: pong Feb 10 09:25:03 Herrie|Laptop: just create a .js file and add .pragma library Feb 10 09:25:14 Tofe: we still need to support for a PIN window type Feb 10 09:25:22 s/to support/support/ Feb 10 09:25:49 Tofe: in first use we need to display the PIN window to let the user enter the PIN Feb 10 09:25:53 morphis: Sorry I'm lost there :P Feb 10 09:25:56 Herrie|Laptop: https://stackoverflow.com/questions/15257946/declare-global-property-in-qml-for-other-qml-files Feb 10 09:26:06 Not sure how to use .pragma library? Feb 10 09:26:10 Ah :) Feb 10 09:26:11 Thnx Feb 10 09:26:13 Let me check Feb 10 09:26:28 name it GlobalState.js or so Feb 10 09:27:01 morphis: ok, yes, I was expecting that Feb 10 09:27:33 morphis: OK, you're happy with the rest in general? It might not be the cleanest code but seems to work and passed my logical checks ;) Feb 10 09:27:45 Herrie|Laptop: looks fine otherwise Feb 10 09:27:53 Just stuff is not always 100% logical, some countries have multiple "prefferred" timezones Feb 10 09:27:56 Like Russia Feb 10 09:27:57 Herrie|Laptop: there are some usage of .pragma in the Test directory of the cardshell Feb 10 09:28:01 Herrie|Laptop: can you rebase it on top of my recent changes? Feb 10 09:28:12 morphis: Yeah it's a bit of a pain to rebase, but will do ;) Feb 10 09:28:22 you have to use import LuneOS.Service 1.0 instead of LunaNext.Common 0.1 for getting LunaService Feb 10 09:28:31 Yeha I saw that Feb 10 09:28:57 I'm in Poland currently so it actually give me Polish MCC + Timezone, so good test case :) Feb 10 09:29:30 When I select Russia it now shows me Moscow and default timezone, based on my MCC because the offset from UTC is closest to Poland instead of some GMT +10 which is far east :P Feb 10 09:29:47 For US it gives New York and default one now instead of some Hawaii one ;) Feb 10 09:30:51 So I'm quite happy with how it works, seems as expected :) Feb 10 09:31:23 sounds nice Feb 10 09:31:32 Herrie|Laptop: can you check if the roaming toggle works? Feb 10 09:31:42 In status bar? Feb 10 09:31:54 no Feb 10 09:31:55 It gives me correct carrier name in status bar Feb 10 09:32:05 the roaming toggle in settings Feb 10 09:32:17 it should prevent your phone from using a data connection when roaming Feb 10 09:33:01 How can I check if it works? Feb 10 09:33:46 disble wifi, and see if data connection still works when you switch the toggle Feb 10 09:37:16 Ok I have some dirt cheap pre-paid card in my phone, so not 100% sure it's correct Feb 10 09:37:26 ah ok Feb 10 09:37:29 so a local one? Feb 10 09:37:41 No a NL one Feb 10 09:37:45 ah Feb 10 09:37:49 But not sure I have data roaming on it to be honest Feb 10 09:37:53 I can try to toggle it Feb 10 09:38:01 I need to have both data + roaming toggle on Feb 10 09:38:09 right Feb 10 09:38:21 when roaming toggle is on Feb 10 09:38:27 it should use the connection when roaming Feb 10 09:38:32 if off it should not use it Feb 10 09:39:35 calling Feb 10 09:39:36 mdbus2 -s org.ofono /ril_0 org.ofono.ConnectionManager.GetProperties Feb 10 09:39:43 should give you Feb 10 09:39:44 ({'Attached': , 'Bearer': <'none'>, 'RoamingAllowed': , 'Powered': , 'Suspended': },) Feb 10 09:45:22 ok, going the "museum of things", see you later Feb 10 09:46:38 Tofe: enjoy it :) Feb 10 09:49:59 morphis : ping Feb 10 09:55:02 djichthys: pong Feb 10 09:56:22 morphis . was trying to upload two sets of changes to the repo ..... got a permission denied ? Feb 10 09:57:42 I needed to upload two sets of changes to nyx-modules and nyx-modules-hybris Feb 10 09:58:26 djichthys: you need to fork the repo and then upload to your own clone Feb 10 09:58:31 after that create a pull-request Feb 10 09:59:33 Ahhh can I not just branch locally from master and then just push to my tracking branch ? Feb 10 10:03:45 morphis : ok thanks .... will do so. Feb 10 11:21:09 djichthys: to github.com/webOS-ports repos only a few people can push Feb 10 11:26:54 morphis : ok .... yeah I suppose that makes sense, Feb 10 11:27:14 :) Feb 10 11:27:27 djichthys: tell me when you need help with creating the PR Feb 10 11:28:30 Yeah Im doing that now .... Im having trouble getting my head around what a fork is ..... just reading up on it. Feb 10 11:28:46 I thought it would be the same as a git branch ..... Feb 10 11:31:17 no Feb 10 11:31:27 djichthys: basically a fork is a copy of the repo on your github account Feb 10 11:31:31 each repo has a fork button Feb 10 11:31:33 just press it Feb 10 11:35:54 Yeah did that ...... where Im getting into trouble is with how my fork and webos master keeps in sync Feb 10 11:36:47 or webOS-ports/nyx-modules-hybris -- master in this instance Feb 10 11:37:34 djichthys: first push a branch to your fork with your work Feb 10 11:37:44 you have that? Feb 10 11:37:57 yup . Feb 10 11:38:07 morphis: ping Feb 10 11:38:16 Rebased, but run into problem.... Feb 10 11:39:07 "module LuneOS.Service not installed" Feb 10 11:39:11 Just pushed to device Feb 10 11:39:14 Anything else I need to do? Feb 10 11:39:27 djichthys: go to https://github.com/webOS-ports/nyx-modules-hybris/compare Feb 10 11:39:42 select your fork + right branch Feb 10 11:39:44 ala https://github.com/djichthys/nyx-modules-hybris/compare/webOS-ports:master...djichthys:djichthys/led-controller Feb 10 11:39:54 click "create pull request" Feb 10 11:40:09 enter a description or take the commit message as description Feb 10 11:40:15 then create the PR Feb 10 11:40:24 then I can review it and merge it Feb 10 11:40:29 when you want to update the PR Feb 10 11:40:35 just push again to the same branch Feb 10 11:40:43 github will detect that and update the PR automatically Feb 10 11:40:45 Herrie|Laptop: which problem? Feb 10 11:40:49 Herrie|Laptop: ah Feb 10 11:40:54 Herrie|Laptop: that will come soon Feb 10 11:40:59 Herrie|Laptop: maybe today Feb 10 11:41:12 I cna therefore not test my changes Feb 10 11:41:29 Should I just do PR since it's straightforward change anyway? Feb 10 11:41:54 I imported the .js in the qml where I want to set it and once more whereI want to read the value? Feb 10 11:42:15 Or I should import it in main.qml instead? Feb 10 11:45:54 morphis : ok ...... I guess you can see my tracking branch ...... Will ensure this builds before I create the pull request. Feb 10 11:46:07 and try the rebase as well..... thanks Feb 10 11:47:17 Herrie|Laptop: I will test that Feb 10 11:47:36 Herrie|Laptop: no, just import it in the component where you need it Feb 10 11:47:43 OK :) Feb 10 11:47:47 djichthys: ok Feb 10 11:47:54 So once in the component where I set it and then again where I want to read it? Feb 10 11:48:11 Herrie|Laptop: maybe we have a solution for the memory problem on the touchpad Feb 10 11:48:15 Herrie|Laptop: right Feb 10 11:48:32 I now have "var mccOffsetFromUTC = -1;" Feb 10 11:48:44 Is this OK or I should leave the = -1 out? Feb 10 11:49:06 that is fine Feb 10 11:49:12 Herrie|Laptop, Tofe: https://bpaste.net/show/cea163eb2708 Feb 10 11:53:02 morphis: Great Feb 10 11:53:24 So I can keep the -1? When I import the .js again, it doesn't go back to initial value of -1? Feb 10 11:58:00 morphis: updated PR is in Feb 10 11:58:08 Should all be OK now I think Feb 10 12:27:56 Herrie: that is why you use the pragma :) Feb 10 13:29:51 morphis : ping Feb 10 13:33:28 djichthys: pong Feb 10 13:34:04 djichthys: code looks very good Feb 10 13:38:58 Two pull requests .. I think Ive screwed up the second one... Feb 10 13:39:36 morphis : Ohh !!! thanks ... first attempt ... hope it is working Feb 10 13:40:47 djichthys: yeah Feb 10 13:40:55 you have to make your PR against webOS-ports/master instead of master Feb 10 13:41:14 closed it, just do a new one Feb 10 13:41:17 can I cancel the pull request and then redo this ? Feb 10 13:41:25 ok thanks ... Feb 10 13:41:29 let me try it again Feb 10 13:43:43 morphis : is this ok ? .... https://github.com/webOS-ports/nyx-modules/pull/3 Feb 10 13:43:58 looks better :) Feb 10 13:44:26 djichthys: nice work! Feb 10 13:44:58 morphis : thanks ....... Ive tried to make it as backward compatible as possible ..... Feb 10 13:45:26 djichthys: so next step is to wrap this up with the LunaSysMgr Feb 10 13:45:48 morphis : you lost me :) Feb 10 13:45:59 ah Feb 10 13:46:09 we need to control the LEDs from somewhere Feb 10 13:47:14 legacy had some code to bind the LEDs to how the display is controlled Feb 10 13:47:25 https://github.com/openwebos/luna-sysmgr/blob/master/Src/base/CoreNaviManager.cpp Feb 10 13:48:36 we can restore some of these but needs to also bind the LEDs to blink when display is off and we have new notifications etc. Feb 10 13:49:21 OK ..... is there some code already implemented for this ? or do we have to write this from scratch ? again C or C++ Feb 10 13:49:48 or are we reusing legacy ? Feb 10 13:49:59 that depends Feb 10 13:50:06 legacy had everything in one process Feb 10 13:50:08 LunaSysMgr Feb 10 13:50:12 we decoupled that a lot Feb 10 13:50:30 LunaSysMgr is now a very small daemon currently only managing the display state and some other bits Feb 10 13:51:14 I think first we have to define when the LEDs should perform which effect Feb 10 13:54:05 ok ..... Feb 10 13:54:17 I think we can start with that to get a better overview Feb 10 13:54:38 djichthys: or do you want something different to work on? Feb 10 13:54:50 this might be something great to sort for Herrie Feb 10 13:57:22 I dont mind ..... Just getting my head aroudn the code and the repo structures was a bit daunting ...... and not being familiar with github ways of working was even worse ... Feb 10 13:57:34 :) Feb 10 13:57:50 djichthys: if you prefer more system level work we have other tasks too Feb 10 13:58:08 which might be a bit easier to get started with Feb 10 13:58:18 as they don't touch the whole infrastructure on top Feb 10 13:58:26 Yeah sure ...... Im game ..... Feb 10 13:58:55 when you say system level .... ie HAL stuff ? Feb 10 13:59:18 in this point: bluetooth Feb 10 13:59:46 Ok ..... sure ...can have a crack at that Feb 10 14:00:03 djichthys: how much do you know about bluetooth in linux? Feb 10 14:00:35 not much at all .... will be starting from scratch ..... I do know there are a bunch of daemons ..... Feb 10 14:00:45 ok Feb 10 14:00:55 this one will be not that hard in doing Feb 10 14:01:04 others already did the same work we have to do Feb 10 14:01:07 But my area at work is recovery boots , IP stacks and flash drivers Feb 10 14:01:10 namely Ubuntu Touch and Sailfish OS Feb 10 14:01:29 Ok ....... code I can copy is very goos code indeed :) Feb 10 14:01:33 :) Feb 10 14:01:41 basically we want to use bluez 4 Feb 10 14:01:52 there is already bluez5 but bluez hightly depends on kernel support Feb 10 14:02:06 which we don't have in our 3.0 and 3.4 kernels Feb 10 14:02:15 so we have to stick to bluez4 Feb 10 14:02:36 djichthys: you have a N4, right? Feb 10 14:02:56 ok ..... are we planning on moving over the latest kernels anytime soon ? or are we going to stick to android 4.2.2 ? Feb 10 14:03:09 morphis : yeah N4 Feb 10 14:03:10 not possible, we're bound to what Android has Feb 10 14:03:19 and upgrading the kernel isn't really easy Feb 10 14:03:30 there are too much modifications we can't easily port Feb 10 14:03:48 ok understandable. Good ... stable is good Feb 10 14:04:03 yeah Feb 10 14:05:33 djichthys: bluez4 is already included in our images Feb 10 14:05:37 what you have to do is: Feb 10 14:05:42 * enable needed kernel config options Feb 10 14:06:39 * make sure bluez daemon is started on device boot Feb 10 14:06:49 * bring hardware and bluez together Feb 10 14:07:56 for the last point: Ubuntu Touch has its configuration scripts at https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/bluetooth-touch/vivid/files Feb 10 14:09:00 this will need this change https://code-review.phablet.ubuntu.com/gitweb?p=aosp/device/lge/mako.git;a=commit;h=042f39e697020c771431443303ea08ab31a9fdcb on the Android side Feb 10 14:09:17 morphis : ok ..... I would need some pointers to where the kernel configs are kept and some skeleton rcs script / systemd startup ? Feb 10 14:09:27 right Feb 10 14:10:04 djichthys: https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/scripts/verify_kernel_config#L158 tells you which bluetooth options you need Feb 10 14:10:51 kernel config for N4 is at https://github.com/shr-distribution/meta-smartphone/blob/dizzy/meta-lg/recipes-kernel/linux/linux-lg-mako/defconfig Feb 10 14:11:05 possible that needed things are already activated Feb 10 14:11:59 Ohhh ..... that makes life slightly easier :) Feb 10 14:12:39 djichthys: yeah Feb 10 14:13:08 then you only need the startup script for attaching the hardware module to bluez Feb 10 14:13:38 ok .... Seems simple ... until I actually get buried in/under it :) Feb 10 14:14:57 I just noticed that we are using systemd on the N4 ...... so might have to read up on this. as well and bluez4 Feb 10 14:15:53 djichthys: just saw that it seems like we have https://code-review.phablet.ubuntu.com/gitweb?p=aosp/device/lge/mako.git;a=commit;h=042f39e697020c771431443303ea08ab31a9fdcb also Feb 10 14:16:34 yes, we have it Feb 10 14:16:59 Android stuff? that's my forte! :) Feb 10 14:17:54 djichthys: lets do it like this: I will care about the android part and you do the remaining bits Feb 10 14:18:28 morphis : you mean the HAL ? Feb 10 14:18:36 no, there is no HAL in this case Feb 10 14:18:45 Ohhh ok .... Feb 10 14:18:51 we're running a tiny android system in a container Feb 10 14:19:01 and that has some smal initscripts to setup bluetooth for us Feb 10 14:19:13 but those doesn't seem to work atm Feb 10 14:19:25 Ahhh ok ....... Feb 10 14:19:51 do a ps ax | grep /system Feb 10 14:20:03 you will see a lot of bionic based services coming directly from Android Feb 10 14:22:49 morphis : Ahhh ok ... looks interesting ,...... yeah ok ... saw the lxc-start for android as well Feb 10 14:23:00 djichthys: until you have yourself prepared with systemd and bluez I have part ready Feb 10 14:23:05 :) Feb 10 14:23:49 morphis : ? Feb 10 14:24:12 the android side initscripts to setup up bluetooth Feb 10 14:24:40 Ahhh ok ..... Feb 10 14:26:49 I already know what I have to do and it is not that easy to bring into the build Feb 10 14:30:21 ok ...... I think noob hands are probably not the best in that case :) ...... I only want to wreck so much mischief :) Feb 10 14:34:25 morphis : by the way, I think there were some compiler warnings from the nyx-led-test-util from the previous code ..... Would you like them being fixed on the same pull request ? Feb 10 14:34:40 or are you not bothered ? Feb 10 14:35:06 pointer dereferecing would likely cause a crash Feb 10 14:38:43 djichthys: fixed warnings are good Feb 10 14:40:33 Ok .... will sort it out ...... original code is passing in a triple pointer, but the callee function expects a double pointer. Feb 10 14:40:43 ohhh Feb 10 14:41:45 I will try and push it up later tonight ...... Im assuming that if I push it up, the pull request will automatically get updated to the latest commit on the tracking branch ? Feb 10 14:43:04 yes Feb 10 14:43:59 ok .... cool ... thanks .... just saw your comment regarding "centre vs center"....... British English vs American english :) .....is that required to be changed ? Feb 10 14:45:17 would prefer center as that is how we name it elsewhere too or does nyx say CENTRE? Feb 10 14:46:24 No you are right ..... nyx enum says CENTER ... will get it changed .... Feb 10 14:47:27 will try and push tonight along with the pointer deref changes as well. Feb 10 14:47:34 thanks **** ENDING LOGGING AT Wed Feb 11 02:59:58 2015