**** BEGIN LOGGING AT Thu Jan 27 02:59:57 2022 Jan 27 06:06:03 Morning! Jan 27 06:40:34 Hi, where can I find an image of LunaOS for Pinephone? Jan 27 06:40:55 Also, could someone please fix https://www.webos-ports.org/wiki/Communications ? Jan 27 06:41:40 The link from https://wiki.pine64.org/wiki/PinePhone_Software_Releases#LuneOS is to http://build.webos-ports.org/luneos-testing/images/pinephone/ , that gives 404 Jan 27 06:42:40 And the webos-ports wiki points people to an almost dormant channel in Freenode. Jan 27 06:46:26 Disclaimer: my real motivation for installing LunaOS is https://www.webos-hightechs.co.il/ Jan 27 06:47:48 Also when is that fancy new website coming? 😄 Jan 27 06:48:35 A series of skits in the popular (in Israel) satirical show Eretz Nehederet mocking a high tech company. Jan 27 06:49:13 And the name they chose for the company happened to be "WEBOS". Jan 27 06:50:42 (at the footer of the page it reads "All rights reserved to webos. If you take anything from here we'll sue your mother". If LG tries to sue them it will be hillarious) Jan 27 06:51:26 Soanyway, I really wanted to show of with a genuine sort-of webos phone. Jan 27 06:55:21 tzafrir: Let me fix some of those Jan 27 06:55:28 Let me first point you to the pinephone image Jan 27 06:55:50 https://github.com/webOS-ports/meta-pine64-luneos/releases/tag/20220108-pinephone Jan 27 07:02:40 Thanks! will try it later today on my secondary pinephone. Jan 27 07:03:20 Any idea if it works with a pine keyboard? I'm supposed to get one today. Jan 27 07:05:49 Updated the various wikis Jan 27 07:06:01 PureTryOut[m]: I know... Other things always get in the way Jan 27 07:07:04 It really is quite essential to get new people interested in the project 😉 Jan 27 07:07:30 Morning! Jan 27 07:07:46 Looks like I missing a debug session last evening :p Jan 27 07:11:45 Tofe: Well I got one issue sorted it seems.... The mystery of the App Museum not working as wanted Jan 27 07:13:26 Which was quite logical in the end... Now putting together a PR to have the appinstalld2 added, so the ACG files will be generated based on the appinfo.json Jan 27 07:18:14 great job :) Jan 27 07:22:02 We didn't have that issue because ours get generated by the bbclass Jan 27 07:30:37 But I guess we'd need to update Preware as well in the future for this Jan 27 07:31:16 Hmmz recently I sometimes have do_rootfs failing, but log doesn't really tell me much useful? https://paste.ubuntu.com/p/Rj4Qt5VN3Q/ Jan 27 07:39:11 JaMa: Any thoughts on that? Seeing you build a lot you might have seen it before? Jan 27 08:10:23 Herrie: isn't there a strange log arount applicationinstallerutility ? Jan 27 08:12:06 Ah Tofe: Yeah now I see it Jan 27 08:12:12 Must have missed that one Jan 27 08:13:43 Well the logs don't really put it in evidence... Jan 27 08:14:12 We previously built it but didn't deploy it, now it's getting a problem Jan 27 08:14:36 I'll fix it Jan 27 08:27:27 PureTryOut[m]: I know, just need to find time.. If would days would have 48 hours ;) Jan 27 08:45:11 Ha even then people won't have the time to do all the things they'd wish they could do 😉 Jan 27 09:09:49 That's true too Jan 27 09:17:01 Tofe: This change for appinstalld2 we'd need to test on multiple targets though since it will enable lttng, pmtrace and crypto bits, so we'd need to make sure our targets are happy Jan 27 09:17:29 The required defconfig bits are there for the VBox image, but we'd need to verify the other kernels Jan 27 09:19:26 I,e,; https://github.com/webOS-ports/meta-webos-ports/commit/76568e82e0be9f0746e1ce6d637916bdafd523c8 Jan 27 09:28:02 Herrie: right, especially on old kernels Jan 27 09:28:48 Yup Jan 27 09:28:59 I'll do some compile tests at my end shortly Jan 27 09:30:58 I think if tenderloin passes, then we can be optimistic for the rest Jan 27 09:31:16 Yeah Jan 27 09:31:48 Just I nuked my sstate and tmp-glibc, so rebuild will take a bit longer ;) Jan 27 09:32:46 Just hope I don't break too much, because needed to change quite a few bits here and there Jan 27 09:33:18 btw do you guys have fwupd available in LuneOS? If not I recommend adding it so users can (soon) easily update their modem firmware and hopefully soon the platform firmware as well Jan 27 09:34:17 updating modem firmware with it is not fully ready yet but it'd be good if you could at least get the current fwupd running and integrated Jan 27 09:37:00 PureTryOut[m]: I don't think we include it yet; it would only make sense for mainline devices for us - meaning, pinephones, but yes that could be a good thing to include it Jan 27 09:37:18 I highly recommend it Jan 27 09:39:14 Let me see, pretty sure there's a recipe for it already ;) Jan 27 09:39:42 Booted. I see nothing on the screen, and just hear two sounds. Will connect the serial console adapter later. Jan 27 09:42:09 tzafrir: Which edition you have? Jan 27 09:42:27 I have the pmOS one, Tofe has the developer unit I think Jan 27 09:43:01 The pmOS one is the best one of course 😜 Jan 27 09:47:14 No because it only has 2GB of RAM ;) Jan 27 09:48:35 But anyway PPP is way quicker and smoother imho Jan 27 09:49:41 I wish it had a pmOS edition as well 😢 But yeah agreed it's way better. Way more performant SoC so makes sense ofc Jan 27 09:51:29 Herrie: I have both Jan 27 09:52:08 but I don't use the developer unit anymore, it's an old PCB version Jan 27 09:53:42 Herrie: https://github.com/webOS-ports/meta-pine64-luneos/releases/download/20220108-pinephone/luneos-dev-image-pinephone-0-0.rootfs.wic.gz Jan 27 09:54:21 tzafrir: I mean which version of the PinePhone device you have Jan 27 09:54:29 Anyway, I now got past the initial black screen. I got welcome configuration dialogs, and then black scrren Jan 27 09:54:49 That's surprising Jan 27 09:55:21 An earlier ones, though IIRC after BraveHeart. Anyway, my next question is: how do I login into the serial console to answer that? Jan 27 09:55:34 (what user name and password?) Jan 27 09:55:54 tzafrir: you have a serial jack cable ? Jan 27 09:56:12 Yes, console connected, and I have a login prompt. Jan 27 09:56:13 or you mean via USB Jan 27 09:56:32 ah, on the dev build it's just root, no password Jan 27 09:58:01 tzafrir: could it be that the black screen is just the screensaver ? you get nothing if you push power button right ? Jan 27 09:58:34 Looged in. Nothing happens when I push the power button Jan 27 09:59:10 Also I see: webos-telephonyd[1952]: [WAN] Didn't find a cellular service Jan 27 09:59:27 That phone has a sim card that worked before. But that's a separate issue. Jan 27 09:59:28 yes, that's normal if there is no SIM card with data Jan 27 09:59:44 or it could be we misconfigured connman for SIM data Jan 27 10:00:50 tzafrir: so, does it help if you do "systemctl restart luna-next" Jan 27 10:00:56 We actually have a newer image, I forgot that ;) Jan 27 10:01:34 Not that it would necessarily solve your issue though Jan 27 10:02:43 luna-next was running (the only process in its service). I restarted it. Got a sound, but nothing on the screen. Jan 27 10:03:13 Can you try a newer image, just to be sure? Jan 27 10:03:21 https://github.com/webOS-ports/luneos-testing/releases/download/20220125-LuneOS-Testing-Builds/luneos-dev-image-pinephone-20220125.wic.gz Jan 27 10:04:13 Rebooting. Was held back for a while by EG25 WWAN module Jan 27 10:07:02 This time the welcome dialog managed to get a bit further. Maybe it freaks out after a while? I'll try finishing it faster. Jan 27 10:10:35 Yup. This worked. Jan 27 10:11:02 I made a phone call (worked). It did not appear later on list of outgoing phone calls. Jan 27 10:12:32 We have some issue with the screen timeout, we're looking into that Jan 27 10:12:43 The calls list that's interesting, it's probably a permission issue Jan 27 10:12:49 Can you paste the output of journalctl somewhere? Jan 27 10:13:32 We migrated all components to a new security framework, I guess we covered 95+% of the permission issues, but there might be a few still here and there Jan 27 10:14:40 Messaging doesn't seem to work at all. Jan 27 10:15:03 PureTryOut[m]: There seems to be a recipe but might be a bit of an old version: https://github.com/intel/intel-iot-refkit/blob/ci-intel-iot-refkit-upstream-monitor-master/meta-refkit-core/recipes-extended/fwupd/fwupd_0.9.7.bb Jan 27 10:15:24 Ah wait I found a newer one Jan 27 10:15:39 tzafrir: Hmmmz SMS should work, I tested that recently at my end Jan 27 10:15:57 on the journal I keep getting the error about not finding the telephony service (even though I made a phone call) Jan 27 10:16:39 Can you paste the output of the full journalctl somewhere? Jan 27 10:17:36 Herrie: you'll need a version that isn't released yet anyway, but to get it up and running I would just go with the latest for now Jan 27 10:17:54 Well seems there's a newer one Jan 27 10:18:20 Anyway, the screen went completely black again, even after trying the power button, and restarting -next. Jan 27 10:18:51 pinephone webos-telephonyd[1963]: [WAN] Didn't find a cellular service Jan 27 10:19:16 I think in the January 8 file the power button wasn't working Jan 27 10:21:13 You can edit the /etc/nyx.conf and update the values in there Jan 27 10:21:31 As per https://github.com/webOS-ports/meta-webos-ports/commit/631a69d010287a878f8b76b08d247da7c3225d3e Jan 27 10:21:37 Reboot and you should be good I guess Jan 27 10:21:58 A systemctl restart luna-next might be sufficient too though Jan 27 10:22:55 PureTryOut[m]: https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/recipes-bsp/fwupd This looks like a lot more recent version at least Jan 27 10:23:09 They're not in our honister release yet, but I should be able to simply add the recipes to our build Jan 27 10:24:40 PureTryOut[m]: https://github.com/webOS-ports/luneos-testing/issues/9 so it doesn't get off the radar Jan 27 10:28:38 The PineKeyboard doesn't work, BTW. Jan 27 10:29:07 (that is: phone does not recieve key presses from it) Jan 27 10:32:21 tzafrir: That's because we don't have a keyboard yet to test with Jan 27 10:32:31 Mine should arrive in the next couple of days Jan 27 10:33:01 Pine was slow in sending mine because they ran out of TPU cases which I also ordered Jan 27 10:33:08 So it was only shipped 3 days ago Jan 27 10:33:58 https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2760 is useful as a reference for modem firmware upgrading. Also note the big fat warning in there 😉 Jan 27 10:39:55 PureTryOut[m]: Will this only work with MM or also with eg25-manager/oFono? Jan 27 10:41:15 Hopefully at some point we have a shared distro kernel for the PinePhone as well and those things thus automatically get into all distros Jan 27 10:47:35 Oh good question, MM only. The firmware itself will work with either but fwupd has MM integration that it uses to actually upgrade Jan 27 10:48:10 MM seems to become the modem solution for mainline devices so far. Several other close-to mainline devices only work with MM even Jan 27 10:48:22 Yeah you told us before Jan 27 10:48:23 but you guys use ofono ofc so that's a problem... Jan 27 10:48:49 Well the change from oFono/ConnMan to MM isn't that straight forward at our end with various integration pieces Jan 27 10:49:18 Seeing both our upstream webOS and SFOS use oFono/ConnMan as well Jan 27 10:51:46 Yeah I get that Jan 27 10:51:53 Nemo has the same problem with it's SFOS upstream Jan 27 10:52:05 (if you ask me SFOS is a bad upstream to have, but alas) Jan 27 10:52:54 I tend to agree there for oFono and ConnMan, they did a lot of custom stuff which isn't necesarrily needed Jan 27 10:53:50 But for mainline devices we use mainline oFono and not SFOS one, only for the Android/Halium devices we rely on SFOS one Jan 27 10:54:04 ah that helps already Jan 27 10:57:18 Plasma Mobile quite recently migrated from oFono to MM for things like this. But the main difference there is that they don't care about Halium Jan 27 10:57:23 (anymore) Jan 27 13:08:53 wow, busy night! Jan 27 13:09:09 thanks for the fix on the Museum, @Herrie. I'll try it out this morning. Jan 27 13:13:49 codepoet; It might not really work off the bat yet Jan 27 13:13:56 But I'm on things to get it properly integrated Jan 27 13:14:11 I should be almost there, but it means quite some updates & untangling components Jan 27 13:15:02 I should be 95% there now in terms of work Jan 27 13:16:11 no worries! Jan 27 13:16:31 This should also bring back proper cryptofs encryption almost ;) Jan 27 13:18:59 very cool. i've got some back-end museum stuff to do today, dang robots crawling the museum skewing the logs. still, it looks like we're getting about 40 webOS apps downloaded a day by various users Jan 27 14:47:14 no luck with installing the app store with fixes Jan 27 14:47:59 Sorry guys, I'm quite busy with work these last few days -- but I'm following closely :) Jan 27 14:49:33 I think that once we fix the issues, it would be nice to have an easy way to install the museum app in luneos (some dedicated feed maybe?) Jan 27 15:03:28 yes, i can make a feed. i was thinking of making a "museum essentials" feed with a selection of top rated apps that work. Jan 27 15:03:54 making a feed of all 3800+ apps wouldn't be a good idea, though! Jan 27 15:12:07 hey herrie, trying your instructions for debugging the hung install Jan 27 15:16:43 the install worked after restarting appinstalld Jan 27 15:17:45 i did the rescan, but nothing appears in /var/luna-service2 (that doesn't even exist) Jan 27 15:18:43 however, a browserconfig.xml and amanifest.json ARE added to the app in cryptofs! Jan 27 15:19:03 oh oops, no those are mine Jan 27 15:33:48 and I think I was installing the wrong version of app museum. i tried uninstall, and re-install and its not showing up at all now. i think i borked it somehow... i'm gonna wipe my LuneOS partition and try again Jan 27 15:48:00 I had it working yesterday and today it doesn't Jan 27 15:48:29 hate it when that happens Jan 27 15:48:37 I'll dig into it more, probably something small, needed to change quite a few things so could be I missed something critical somewhere Jan 27 15:48:38 about to start from fresh, i'll see if i can figure out where its going wrong Jan 27 16:06:38 same result -- same sequence Jan 27 16:07:03 the initial (new) install request hangs, restarting the service and re-trying results in an installed app, but links don't work Jan 27 16:09:29 gotta do real job now, but can be on later if there's something else to try! Jan 27 17:16:09 So, I have some time now, what can I start with Jan 27 17:17:25 maybe I can try implementing this freeSpaceStatusCheck in downloadManager Jan 27 17:20:15 Herrie: about appinstalld2 PRs, is there something to check before we merge the set of PR ? Jan 27 17:43:48 Tofe: downloadmgr good idea Jan 27 17:44:07 appinstalld2 need meta-webos-ports too Jan 27 17:44:33 Still need to rework a bit Jan 27 17:46:16 ok Jan 27 17:46:31 I'm working on downloadmgr right now Jan 27 17:47:28 But I'm pretty sure filesystemStatusCheck can have a parameter for specifying which fs we want to check; by default, I guess we'll check /media/internal ? Jan 27 18:03:26 Tofe: I think it checks space on the normal partition Jan 27 18:03:42 You might want to check the layout on tenderloin Jan 27 18:04:40 "normal" ? Jan 27 18:05:12 Well the main partition where everything resides Jan 27 18:05:24 Could be media/internal Jan 27 18:05:35 But that's the thing, /media/internal is usually separate from / Jan 27 18:06:03 And as / isn't supposed to change much, I guess /media/internal is what we want to check Jan 27 18:06:28 ok, let's do /media/internal Jan 27 18:07:03 I'll still provide a "path" optional parameter Jan 27 18:07:24 OK Jan 27 18:31:03 For the moment I'll be testing this https://github.com/Tofee/luna-downloadmgr/commit/1610dc8d4caceade75b7960d652775e364ddd493 Jan 27 18:31:57 The subscription isn't really handled, though Jan 27 18:32:11 and maybe it just crashes, who knows :) Jan 27 18:47:33 root@pinephone:~# luna-send -n 1 luna://com.palm.downloadmanager/filesysStatusCheck '{}' Jan 27 18:47:33 {"returnValue":true} Jan 27 18:47:45 Does it work ? I don't know Jan 27 18:54:49 https://bpa.st/B7SQ yes the basics are there Jan 27 18:57:23 https://github.com/webOS-ports/luna-downloadmgr/pull/1 here you go Jan 27 19:02:02 Damn, my schema is incorrect, I should describe the inputs, not the outputs... Jan 27 19:02:11 fixed Jan 27 23:09:49 Tofe: Did you test the various values (by putting a large file on TP with just empty data for example) ? Just to see what it does or ... ? **** ENDING LOGGING AT Fri Jan 28 02:59:57 2022