**** BEGIN LOGGING AT Wed Jun 10 02:59:57 2020 Jun 10 06:18:28 no reply is also what I got when I had ACG files coupled with PubPriv registration Jun 10 06:37:43 activitymanager is a Mojo app: I guess this has already been migrated to ACG ?... Jun 10 06:40:32 https://github.com/webosose/db8/commit/d6276fe1f86d6484ed1c086e86e993fdb2da0935 I guess we have that already Jun 10 06:45:01 ^ yes, no problem on that side. So activitymanager seems fine in itself. Jun 10 07:11:21 Hi. Jun 10 07:13:01 This week I am going to dedicate 2 hrs daily in luneos app development. earlier I had selected Enyo, but came to know two things which lead to rethink whether to use using enyo: Jun 10 07:13:42 1. Enyo is being phased out from luneos. Read article where new javascript framework contender is being searched. Jun 10 07:13:48 BT40: Enyo is a bit outdated to be honest Jun 10 07:13:56 yeah Jun 10 07:14:08 Problem is that Enact which is LG's successor doesn't really have UI elements for mobile/tablets Jun 10 07:14:10 Only for TV Jun 10 07:14:29 Yes it's an annoying in-between Jun 10 07:14:33 second concern, enyo uses cordova which i want to avoid Jun 10 07:14:41 can i use react native? Jun 10 07:14:47 it supports webos Jun 10 07:14:48 https://renative.org/docs/platform-webos Jun 10 07:15:04 I am not sure whether it supports luneos or only lg tv? Jun 10 07:15:38 This is mainly TV as well, but technically we can run anything that works in a browser Jun 10 07:15:43 Enact = React as well ;0 Jun 10 07:15:45 ;) Jun 10 07:15:58 https://enactjs.com/ Jun 10 07:17:05 First stage, I will be developing simple apps with normal features: To do, counter, notes and maps. Second stage, I'd be integrating Alexa voice controls so that elderly or low vision people can use Jun 10 07:17:34 Any other framework you guys suggest? Jun 10 07:17:53 two three options are welcomed Jun 10 07:17:59 also your views on react native. Jun 10 07:18:59 Also is there any plan to integrate voice controls in lune os? I'd love to work on that project if it exists on github Jun 10 07:19:01 There's always the Web Components with Polymer Jun 10 07:19:42 for voice control, LG might have something to control TV, not sure though Jun 10 07:21:45 * BT40 also wants a little help/guidance in deployment of app. How to create ipk from web apps. any reference link is appreciated Jun 10 07:23:04 ah, in that area I won't be of much help, I'll let the others answer :) Jun 10 07:24:26 BT40: We have a Maps app Jun 10 07:24:47 BT40: For deployment, I'm also no expert ;) All our apps we just copy to rootfs ;0 Jun 10 07:24:47 ok. will browse the code of that Jun 10 07:24:48 ;) Jun 10 07:24:59 Basically there is palm-package in the old SDK that does it Jun 10 07:25:11 There's something similar in new LG SDK, pretty sure Jun 10 07:25:26 There is voice control in LG's OSE I think Jun 10 07:25:34 Which we can fairly easily implement Jun 10 07:26:08 will the things which lg sdk support also work on luneos? I am asking due to halium thing. Can i follow webos tutorials from lg? Jun 10 07:26:18 are they applicable here also? Jun 10 07:26:34 tried webos irc channel, not so much response Jun 10 07:26:43 so this irc is my last resort Jun 10 07:30:51 BT40: In general it should work Jun 10 07:31:00 Architecture wise we're really very much the same Jun 10 07:31:18 webOS tutorials from LG should be fine Jun 10 07:31:28 okay. Jun 10 07:31:33 There might be edge cases we don't support but in general all infra is the same in the OS Jun 10 07:31:47 webOS OSE has https://github.com/webosose/com.webos.service.ai Jun 10 07:31:57 Which is to be implemented in LuneOS still Jun 10 07:32:05 But should be fairly straight forward in general Jun 10 07:32:58 so to get familiar, i'll start with enact, use external GUI library. Once i get familiar with deployment and architecture, then i think i'm in position to switch to any framework of my choice Jun 10 07:33:12 Hope i am correct Jun 10 07:33:44 enact has official webos documentation which might be useful for newcomer like me Jun 10 07:38:02 And there's also https://github.com/webosose/com.webos.service.tts Jun 10 07:38:24 BT40: Yes in general any JS framework should work Jun 10 07:38:27 We have modern browser Jun 10 07:38:35 Just the trick is to get a uniform style Jun 10 07:38:51 great Jun 10 07:39:19 This gives you a bit of an idea where we are in terms of migration: https://webos-ports.org/wiki/LuneOS-webOS-OSE_Migration_Status Jun 10 07:39:31 Where we integrate webOS OSE parts into LuneOS Jun 10 08:11:31 JaMa: ping Jun 10 08:42:54 Tofe: FYI: https://github.com/shr-distribution/linux/pull/9 Jun 10 08:43:28 Looking at these crypto kernel options for Appinstalld. I noticed that we have our own defconfig for Tenderloin. Made the PR to include it in the default defconfig and also add the misisng crypto option. Jun 10 08:44:05 Seems Xiaomi kernels & Hammerhead kernel are fine. Mako not 100% sure, some options are set to m instead of y there, but all are there Jun 10 08:44:22 Just need to check our qemux86/64 kernels now Jun 10 08:44:55 Also might be good to add our other kernels to JaMa's linux repo in shr, similar to our other kernels. Some are now on your and mine github accounts Jun 10 08:48:42 * BT40 just created a hello enact app and displayed it in browser. Jun 10 08:58:30 BT40: Yahoo :) Jun 10 10:03:18 BT40: Basically what we have is webapps (mostly in JS) that call to specific services on webOS/LuneOS side using various bridges (javascript includes) to access various system bits Jun 10 10:03:45 An app consists of an appinfo.json which has the app's information, what to launch etc, name, id, version, requiredpermissions etc Jun 10 10:04:41 Our underlying setup is very similar to webOS OSE from LG, main difference for now is really the rendering engine for webapps, though not that different. We use QtWebEngine with patches. LG uses Chromium + patches. We're on similar-ish versions as well Jun 10 10:04:50 So in terms of runtime, things should be fairly similar really Jun 10 10:05:21 I.e. we're on Chromium 80 with Qt 5.15, LG is on Chromium 78. Jun 10 10:05:51 Advantage is that our webruntime works fine on qemux86, qemux86-64, armv7, armv8, aarch64 etc Jun 10 10:05:58 LG's Chromium has some issues on those still Jun 10 10:06:28 Eventually for LuneOS we would like to move to a common base as well, but since it's very deep in OS, it's not an easy migration Jun 10 12:20:15 Herrie: if I followed correctly, BT40 was away during your explanations. BT40: look at Jun 10 10:03:18 here: http://logs.nslu2-linux.org/livelogs/webos-ports.txt Jun 10 12:27:22 * BT40 thanks Tofe . Jun 10 12:31:43 I created a basic app using enact. it works in browser fine. When i created package, browsed that directory. Surprisingly I saw html css and javascript file :) Actually i was expecting some sort of ipk package file that bitbake uses. :) Jun 10 12:33:23 some hickups were like, css not working. I copy pasted exact documentation code, still not working :) so just got frustrated from javascript frameworks after struggling with enyo, then enact :) Jun 10 12:34:03 now again reviewing herry 's lines, i think i need to give javascript a one more try. :) Jun 10 12:35:53 when u guys are backing and supporting me, i need not to worry. Jun 10 12:38:41 BT40: There is a good Enyo sampler somewhere Jun 10 12:38:43 Let me find it Jun 10 12:39:08 Herrie, as you guided, enyo is already outdated. so Jun 10 12:39:23 will now give third attempt with react native Jun 10 12:40:05 Once we are able to run in browser, surely we can run in luneos as well by some means which we will figure out later. Jun 10 12:41:12 For enact apps there's some way to package them Jun 10 12:42:13 npm run pack-p i used this command to create package. Mightbe i was wrong. :) Jun 10 12:42:29 I mean from repo into build Jun 10 12:42:54 great. so will again give nact one more try Jun 10 12:42:57 :) Jun 10 12:43:13 enact bt40 is coming once again :) Jun 10 12:44:22 this is LG's Home app in webOS OSE: https://github.com/webosose/com.webos.app.home Jun 10 12:45:09 They added this recipe to package it in the image: https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-webos/com.webos.app.home/com.webos.app.home.bb Jun 10 12:45:26 Where https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-webos/com.webos.app.home/com.webos.app.home.bb#L15 is the most important ;) Jun 10 12:46:17 Another example: https://github.com/webosose/com.webos.app.enactbrowser and recipe: https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-webos/com.webos.app.enactbrowser/com.webos.app.enactbrowser.bb Jun 10 12:46:51 Settings: https://github.com/webosose/com.webos.app.settings and https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-webos/com.webos.app.settings/com.webos.app.settings.bb Jun 10 12:48:00 i have similar structure to github example. seems we are on right path. Jun 10 12:48:08 And some more: https://github.com/webosose/test-apps and https://github.com/webosose/meta-webosose/tree/master/meta-webos/recipes-webos/test-apps Jun 10 12:48:16 you infused the spirtit again man. :) Jun 10 12:50:28 That's for getting it into images, generating an IPK is different I guess Jun 10 12:52:08 But this would generate IPK during build ;) Jun 10 12:52:20 okay great. will return after some time. Jun 10 12:53:08 can we continue debugging our porting from a day after tomorrow? if you guys have spare time and are comfortable? Jun 10 12:53:16 :) Jun 10 12:54:25 luneos port for land :) Jun 10 12:54:46 figuring out screen blink Jun 10 12:56:59 BT40: Yeah would be good to get ADB working, then we can debug properly Jun 10 12:57:06 We're usually around ;) Jun 10 12:58:38 * BT40 taking a break for couple of hours Jun 10 13:22:14 Tofe: Seems appinstalld2 integration is pretty easy. Build seems fine for qemux86, mido, tenderloin, mako. Jun 10 13:22:35 Just now need to see how to test it Jun 10 13:26:41 Ah ok, seems I can simply luna-send and use an IPK https://www.webosose.org/docs/reference/ls2-api/com-webos-appinstallservice/ Jun 10 13:28:58 https://www.webosose.org/docs/reference/ls2-api/com-webos-appinstallservice/#example-2 Jun 10 13:48:22 ok, great ! Jun 10 13:48:30 I hope it works as-is :) Jun 10 14:02:18 Herrie: pong Jun 10 14:03:03 Herrie: see https://github.com/shr-project/meta-webosose/commit/925e387799e098028bb8950a0d4b8f89f0cb5dd5 webruntime-79 now builds for qemux86 with this Jun 10 14:03:19 Herrie: and I would be happy to move all kernels under shr-distro again Jun 10 14:04:24 I can give you 2 permissions on https://github.com/shr-distribution/linux/ as well Jun 10 14:11:57 JaMa: Thnx ofr merge! Jun 10 14:12:12 Tofe: No seems it doesn't get registered somehow on the hub Jun 10 14:13:05 JaMa: Nice on the webruntime, that's something to look into after we tackle final ACG bits Jun 10 14:13:10 For kernel repo, thnx for access Jun 10 14:13:18 What kind of naming conventions you want for branches? Jun 10 14:13:36 device/kernelversion? Jun 10 14:14:45 device/version/ where branch-name can be master or whatever suits the use Jun 10 14:15:19 JaMa: OK Jun 10 14:15:29 I will pull some in there from herrie82/tofee etc github Jun 10 14:15:37 and version is either X.Y.Z if you want to track multiple Zs in parallel (without rebasing), or just X.Y Jun 10 14:16:01 Herrie: you can just sell me repo/branch-name and I'll push them (instead of creating PRs) Jun 10 14:16:10 well or you can push them directly now Jun 10 14:16:18 doh I already forgot giving you write :) Jun 10 14:17:25 JaMa: OK: tissot/3.18/halium-7.1 from github.com/Tofee/tissot.git;branch=cm-14.1 Jun 10 14:17:53 For rosy: rosy/3.18/halium-7.1 from github.com/Tofee/android_kernel_xiaomi_msm8953.git;branch=los14.1 Jun 10 14:18:19 For mido: mido/3.18/halium-7.1 from github.com/herrie82/android_kernel_xiaomi_msm8953.git;branch=pgz-14.1-eb8 Jun 10 14:19:09 Your git fu is quicker v.s. mine ;) Jun 10 14:20:00 ok, will do in an hour or so (need to pick some toys from post :)) Jun 10 14:21:23 Herrie: then we should also update the halium repos Jun 10 14:28:03 Tofe: Yeah can do that Jun 10 14:30:31 Tofe: Question is what we do with Hammerhead & Mako since we use the repo from Halium & UBPorts there Jun 10 14:30:37 Could import them as well or leave as is Jun 10 14:36:07 Let's leave it there. It's an organization, not a personal github, so less likely so suddenly disappear Jun 10 14:36:43 And it's quite on-topic, too :) Jun 10 14:40:05 Tofe: Yeah true Jun 10 15:40:14 regarding adb bug on land, it seems CONFIG_USB_FUNCTIONFS=y is blocking CONFIG_USB_G_ANDROID to enable, so probably we should not enable it (CONFIG_USB_FUNCTIONFS) Jun 10 17:02:13 * JaMa finally back, pushing those kernels now Jun 10 18:05:38 nizovn: thanx for hints will try that Jun 10 19:16:06 Herrie: great news: I got sound for call Jun 10 19:17:48 I'll have to determine what was really the minimum necessary, but in the end, it's the voicecall profile switching which isn't the right one for tissot. If, just after starting a call (i.e. after pulseaudio is switched to the "voicecall" profile) we force pulseaudio into the voicecall-voicemmode1 profile, then we start to get sound Jun 10 19:18:06 nice! Jun 10 19:18:31 it's probably related to the dual-sim for this phone Jun 10 19:19:54 Tofe: AH that's great news! Jun 10 19:20:13 I don't think those names are standard, so not sure how to integrate that in LuneOS properly. Conf file ? Build-time define ?... the road is open Jun 10 19:20:33 Tofe: Yeah could very well be that it's because of dual sim Jun 10 19:21:01 We'll start with build-time define I think, it's much quicker Jun 10 19:21:14 Maybe grep around github and see if you find some hints? Jun 10 19:21:35 S/grep/search in github source code Jun 10 19:21:35 Herrie: oh it's just a change in audio-service, nothing hard Jun 10 19:21:55 Tofe: sure but to see how others solved this Jun 10 19:22:01 ah yes Jun 10 19:22:19 We could do it based on the ofono conf file maybe? Jun 10 19:22:23 Sailfish now supports dual-sim, so they must have a fuller approach Jun 10 19:22:38 If 2 Sims there use different profiles Jun 10 19:23:09 For now we only support one sim Jun 10 19:23:12 Or based on which line it comes in through ofono/voicecall Jun 10 19:23:32 That might be a bit hard Jun 10 19:23:50 Well oFono supports 2, technically adding a second Sim shouldn't be that hard probably Jun 10 19:24:01 I'll proprose a first patch for audio-service with a simple configure option to setup the name of the profile to set Jun 10 19:24:07 then we can elaborate Jun 10 19:25:05 I also need to see if my previous modifications of the Halium image were unnecessary Jun 10 19:25:25 What did you modify? Jun 10 19:25:26 I add some missing xml files in etc, a couple of symlinks from /etc to /system/etc Jun 10 19:26:35 no source code modification Jun 10 19:26:55 Ah ok Jun 10 19:27:14 Well same will probably work for mido & rosy then Jun 10 19:28:01 https://bpa.st/4BOQ Jun 10 19:28:27 I just compared with stock image Jun 10 19:35:01 I would say likely just audio-service Jun 10 19:35:09 But who knows Jun 10 19:35:38 Easiest might be to test updated audio-service on mido/rosy? Jun 10 19:52:37 I can reflash also the old halium image I have here Jun 10 19:54:05 though that one doesn't even have miniafservice, not sure if that'll be enough Jun 10 19:55:43 yes, that works ! Jun 10 19:56:31 ah, closing the call doesn't work as well... anyway, that's something else probably Jun 10 19:56:47 it stops the call, but doesn't return to main phone dialog Jun 10 19:59:24 oops, my build-time thing will make audio-service MACHINE_ARCH... we probably want to avoid that Jun 10 20:03:18 ooh but wait ... https://github.com/mer-hybris/pulseaudio-modules-droid/blob/master/src/droid/module-droid-card.c#L207 Jun 10 20:03:39 this name is hardcoded for pulseaudio-modules-droid Jun 10 20:03:53 so we can just look for it and take it in priority Jun 10 20:06:13 Wonder why we have voicemmode1 and not voice1 Jun 10 20:06:37 Seems it supports voice over LTE and other fancy things too :) Jun 10 20:08:22 note that there is also voice1 available; I think I tried that one in the past, it didn't work Jun 10 20:08:59 too bad I didn't try the other one... Jun 10 20:20:45 ok, miniafservice seems to improve the ending of the call Jun 10 20:20:58 the rest of my modifications aren't needed Jun 10 20:21:53 Herrie: https://github.com/webOS-ports/audio-service/pull/11 + bump = voice calls :) Jun 10 20:23:40 OK that's good to know about miniaf Jun 10 20:23:57 Wouldn't hurt to add those to all 7.1 targets then Jun 10 20:24:08 exactly Jun 10 20:24:25 Not surprising seeing we're very similar to Mer in terms of setup Jun 10 20:24:43 They also have minisf and another mini something Jun 10 20:24:48 We need those too? Jun 10 20:25:16 for the moment I don't think so Jun 10 20:30:46 Damn, that bug was a longstanding one... Jun 10 20:31:30 Though I think that bumping pulseaudio-modules-droid helped, at some point Jun 10 20:32:04 After all, dual sim support in sailfish isn't that old Jun 10 20:38:58 Tofe: Yeah it's a nice fix Jun 10 20:39:15 Getting dual Sim shouldn't be that hard Jun 10 20:39:45 Probably just some modification to webos-telephonyd mainly Jun 10 20:40:24 Rest should be there in ofono/conman/voicecall/pa/pa-modules-droid already Jun 10 20:40:33 And some work on indicators Jun 10 20:42:46 phone app and audio-service will need work too Jun 10 20:43:07 basically everywhere where we need to specify which sim is addressed Jun 10 20:43:28 as you said ofono/conman/voicecall/pa/pa-modules-droid already let us do that Jun 10 20:45:58 Changes should be relatively minor in most cases Jun 10 20:46:42 For audio-service we might want to take audiod-pro and build from there Jun 10 20:46:58 Seems a lot more extensive in general vs ours Jun 10 20:48:40 Already have some wip for that somewhere Jun 10 20:49:04 For migration, not for adding missing bits yet Jun 10 20:53:13 APIs seem quite extensive: https://github.com/webosose/audiod-pro/blob/master/files/sysbus/com.webos.service.audio.api.json Jun 10 20:57:53 Herrie: yes, and there seem to be a modular approach Jun 10 20:58:08 Yes Jun 10 20:58:30 but the "phone" part is only dealing with voip, so no profile switch here -- but maybe it's easy to add Jun 10 20:59:54 bedtime for me now, that was a good day :) **** ENDING LOGGING AT Thu Jun 11 02:59:59 2020