**** BEGIN LOGGING AT Fri Dec 16 02:59:56 2022 Dec 16 06:30:08 Morning! Dec 16 06:30:18 JaMa: You know if this line is actively used? https://github.com/shr-project/meta-webosose/blob/kirkstone/meta-webos/recipes-connectivity/connman/connman-conf.bbappend#L13 Dec 16 06:30:29 I cannot find any WEBOS_CONNMAN_PREACTIVATE_INTERFACE_LIST it seems Dec 16 08:40:27 Tofe: I guess for adding cellular bits in webos-connman-adapter, we can forward port https://github.com/webOS-ports/webos-connman-adapter/commit/d1841e9b681b228a7a89ef68c2949db4f1b4b92d or revert https://github.com/webosose/webos-connman-adapter/commit/1babacfd9743f473ead6cb4c895826df5f476791 Dec 16 08:40:31 I guess that's up to you Dec 16 09:24:31 JaMa: You have any idea how to set the wired interface name in connman? I seem to get eth0 on OSE, but enp0s3 in LuneOS with same config for connman Dec 16 09:24:37 Is this the systemd patch that's in OSE? Dec 16 09:25:29 Well "patch", it's more some stuff in the bbappend for systemd: https://github.com/shr-project/meta-webosose/blob/kirkstone/meta-webos/recipes-core/systemd/systemd_%25.bbappend#L44-L46 Dec 16 09:27:23 Ah yup that seems to be it Dec 16 09:27:47 When I remove the file from my filesystem and restart, my output from luna-send -n 1 luna://com.palm.connectionmanger/getstatus '{}' looks a lot more like OSE's :D Dec 16 09:31:30 Some before and after: https://pastebin.ubuntu.com/p/Hsbvd3FdJX/ Dec 16 09:32:33 Tofe: I guess that to a certain extend will do something similar to the patch we carried here? https://github.com/webOS-ports/webos-connman-adapter/commit/613a0e6334711b4053a00a32b12702d59ca8b9f6 Dec 16 09:51:01 OK here's the PR, pretty much 1:1 OSE stuff ported: https://github.com/webOS-ports/meta-webos-ports/pull/553/files Dec 16 10:00:58 Herrie: in internal build it's set to empty Dec 16 10:01:15 JaMa: OK I figured something like that Dec 16 11:13:39 Tofe: another glances alternative I've tried today "btop" colorful and with some graphs, but I'm still more used to htop Dec 16 12:29:59 JaMa: That PR in meta-webos-ports is ready for any comments. I've only runtime tested it on qemux86-64 now, seems to behave there. Would need to test it on PPP I guess to see what we still need for telephony etc Dec 16 12:30:43 And to see how wifi stuff behaves, but seeing it's used in OSE and probably elsewhere in LGE too, I'm quite confident it should be OK Dec 16 13:00:09 PPP is building here now so I can test it later Dec 16 13:57:22 Tofe: A quick search seems that we use the "cellular" network type from ConnMan in WanService.qml from luna-next-cardshell mainly: https://github.com/webOS-ports/luna-next-cardshell/search?q=cellular Dec 16 13:57:56 So we'd have to see which commit we use. I guess reverting the OSE one is easiest way. Just need to see which part of com.palm.wan will then overlap with webos-telephonyd (if any) Dec 16 14:32:11 Herrie: the commit looks alright, yes Dec 16 14:39:08 Tofe: I'm trying to revert this one for now: https://github.com/webosose/webos-connman-adapter/commit/1babacfd9743f473ead6cb4c895826df5f476791 Dec 16 14:39:11 Will build test soon Dec 16 14:39:21 Not sure why com,palm.pan for BT was removed though. Dec 16 14:39:30 Seems they use something else in OSE for BT Dec 16 14:40:36 it could be that adding morphis' patch would be an easier move Dec 16 14:40:55 but OSE's code is better integrated, API wise Dec 16 14:41:14 Tofe: Yeah I guess so too, it should have been better tested probably Dec 16 14:42:07 Let's see where we get with reverted OSE commit Dec 16 14:42:19 Since we only check the status, it's shouldn't be that critical I would say Dec 16 14:42:34 And we can simplify webos-telephonyd a bit by dropping com.palm.wan from there again Dec 16 14:42:36 Looking at OSE repo, the code doesn't move much, so it might be worth it to try the revert Dec 16 14:46:37 I wonder, if I want to give a try at the proxy approach for configurator, how can I reproduce the initial issue? it just appears at each boot? Dec 16 14:46:51 things like 2022-12-09T22:31:11.633364Z [4.946651635] kern.warning ls-hubd [] ls-hubd LSHUB_ROLE_FILE {} Can not find service "com.palm.imlibpurple" permissions for executable "/usr/sbin/configurator" Dec 16 14:48:56 ah but the LS2 C++ call would also have to be changed... ok nevermind, we stick with your fix Dec 16 14:50:58 Tofe: yeah it appears at each boot I think Dec 16 14:51:10 I made some changes but didn't seem to solve at my end Dec 16 14:51:19 It could be we need to make a proxy-agent file for configurator too Dec 16 14:51:28 I recall I had that on one of my tests here Dec 16 14:51:50 ok let ne try that Dec 16 14:51:53 I.e.: https://github.com/webosose/activitymanager/blob/master/files/sysbus/com.webos.service.activitymanager.proxy-agent.json.in Dec 16 14:51:56 But then for configurator Dec 16 14:51:57 also I'll start a build at home Dec 16 14:52:36 You can simply copy the file on the filesystem in VBox and change the contents Dec 16 14:52:38 though it would be nice to include the cellular revert too, if I build for PP Dec 16 14:53:11 Tofe: Well I have it here, just untested Dec 16 14:53:25 Should I paste the patch? Dec 16 14:53:34 Don't want to stop my webruntime which is @ 95% Dec 16 14:53:41 ok yes, I'll include it in my build Dec 16 14:54:16 https://pastebin.ubuntu.com/p/mTB6dZc5nG/ Dec 16 14:54:29 I might reword the commit message a bit with reference to original reversal etc Dec 16 14:54:51 JaMa: oooh btop looks nice Dec 16 15:02:02 build started Dec 16 15:05:39 Tofe: Nice Dec 16 15:05:54 We should be getting to something that's close to merge I guess Dec 16 15:09:07 ah, wait, the patch failed Dec 16 15:10:35 ah, but I should rebase on top of your last PR Dec 16 15:13:21 Tofe: Well it could be another patch interferes Dec 16 15:13:28 I didn't test at all yet here Dec 16 15:15:41 Webruntime & nodejs are done here so can test at my end now too Dec 16 15:19:08 mmh connman-1.41-r0 do_fetch: Fetcher failure: Unable to find file file://0010-Fix-for-peer-Device-List-Info-issue-api.patch anywhere. Dec 16 15:19:28 And compilation fails: https://pastebin.ubuntu.com/p/928Ctf2cVG/ Dec 16 15:19:44 Tofe: Hmmz weird, that patch file is there Dec 16 15:19:53 I did see it too and then next time it worked somehow I think Dec 16 15:20:03 ok, let me retry Dec 16 15:21:09 ah, but 0001-Add-p2p-changes.patch doesn't apply Dec 16 15:24:49 oh, it was my fault, sorry Dec 16 15:33:19 I still have issue with wpa-supplicant Dec 16 15:33:47 the bbappend isn't following the new syntax with : instead of _ Dec 16 15:33:54 and the patch doesn't apply Dec 16 15:36:44 Tofe: Hmmz let me check Dec 16 15:36:48 I thought I fixed that Dec 16 15:38:16 and the 0010 patch file has incorrect name, doesn't end with "-api" Dec 16 15:39:17 Tofe: Let me push a fix Dec 16 15:39:25 ok Dec 16 15:39:26 Seems I might have copies the recipe from wrong meta-webosose folder Dec 16 15:39:58 ah, now I have the build error you do have too Dec 16 15:42:51 ok, in webos-connman-adapter/1.1.0-39+gitAUTOINC+dc62262314-r10/git/src/connman_manager.h the line 173 seems to be missing Dec 16 15:43:06 when declaring connman_manager_find_p2p_technology Dec 16 15:43:36 Tofe: https://github.com/webOS-ports/meta-webos-ports/pull/553/commits/f843578270f08eda1d6d67505794b036f37b5bac Dec 16 15:45:58 Ah let me add that line back Dec 16 15:47:21 well it could be the line where we re-insert the wan stuff isn't the right one Dec 16 15:47:55 Tofe: Well I needed to rework, seems I just deleted 1 line too much Dec 16 15:48:01 ok :) Dec 16 15:48:02 Sometimes the conflicts aren't very clear Dec 16 15:49:32 This is updated patch that will now give another compile error: https://github.com/webOS-ports/meta-webos-ports/pull/553/commits/f5c7e0316a4d5813ee8eecafcd0d743ccb3a78d9 Dec 16 15:49:47 main.c:94:13: error: too many arguments to function 'wca_support_init' Dec 16 15:49:47 94 | if (wca_support_init(wifi_handle, cm_handle, wan_handle, Dec 16 15:51:16 yes, it looks like there has been some minor refactoring here and there, since the removal Dec 16 15:51:57 Tofe: It could be in wca-support(-api) repos Dec 16 15:52:11 unfortunately I'll be away in 10min or so, I don't think I can fix that before Dec 16 15:52:16 This one Dec 16 15:52:18 https://github.com/webosose/wca-support/commit/5add6ff117ecc54f3612d76538da070ce5f15ab6 Dec 16 15:52:39 And https://github.com/webosose/wca-support-api/commit/aab98f49317bf5a4e416861ca9c14f9b25505ab9 Dec 16 15:52:52 ah, good catch Dec 16 15:58:39 https://github.com/webOS-ports/meta-webos-ports/pull/553/commits/3dc6de414bd4109d4f15512c26d9318da8c4e579 Dec 16 16:00:18 looks like there's still something missing Dec 16 16:00:24 gotta go, though Dec 16 16:00:44 but I'm building the image anyway with -k, should build nearly everything Dec 16 16:02:23 And more Dec 16 16:02:31 Yeah I'll check a bit later Dec 16 16:58:08 Tofe: Compiles now after a few fixes Dec 16 16:58:16 Let me push some cleaned up commits Dec 16 17:02:35 Tofe: OK fixed now and pushed, squashed the fixes together. https://github.com/webOS-ports/meta-webos-ports/pull/553/commits/7529eb4fa73077e15307db1fb95786edc2c88767 Dec 16 17:02:41 Can squash further if needed Dec 16 18:13:47 Tofe: I get WiFi on PPP with new webos-connman-adapter. VKB is a big buggy so cannot enter password Dec 16 18:13:52 But seems to show all OK Dec 16 18:15:02 I don't have a spare SIM to test WAN Dec 16 18:15:08 And need to fix my cable for logs Dec 16 19:00:03 ok, back, and now all builds ok Dec 16 19:00:12 I'll try on PP tonight Dec 16 19:10:13 I need to get some logs via serial, but at first glance looks OK Dec 16 19:10:47 We might need to hack com.palm.wan out from webos-telephonyd though Dec 16 19:11:16 Or at least from the ls2 files to avoid duplicate registration Dec 16 19:29:05 I don't get wifi here on PP Dec 16 19:29:37 not when in firstuse, at least Dec 16 19:39:51 Tofe: PPP showed networks Dec 16 19:40:20 for me it doesn't Dec 16 19:40:31 I don't get the wifi status icon at all Dec 16 19:41:02 With me at wifi screen only I think Dec 16 19:41:08 Before that not Dec 16 19:41:12 On earlier pages Dec 16 19:41:34 yes that's the normal behavior Dec 16 19:42:01 phy0 is still softblocked here by rfkill Dec 16 19:42:15 so we failed to unlock it somehow Dec 16 19:44:01 mmh even when unblocked by hand, it still doesn't work Dec 16 19:44:36 connmanctl Dec 16 19:44:36 Error getting technologies: The name net.connman was not provided by any .service files Dec 16 19:45:04 the daemon isn't running? Dec 16 19:45:58 Weird it worked on PPP Dec 16 19:46:07 ah, correct, it failed to launch somehow Dec 16 19:46:14 Will test later Dec 16 19:47:45 oh, it's a crash: pinephone connman.sh[1439]: dbus[1439]: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed Dec 16 19:51:26 I fixed a little line in the .sh, and now it worked Dec 16 19:52:01 or, it might be because the usb cable was connected Dec 16 19:52:16 well it was not connected when it worked Dec 16 19:52:32 so now I have wifi working Dec 16 20:35:46 Tofe: I removed the blacklisted services from the connman-conf Dec 16 20:35:54 Might be related for usb? **** ENDING LOGGING AT Sat Dec 17 02:59:56 2022