**** BEGIN LOGGING AT Tue Dec 28 02:59:56 2021 Dec 28 08:10:58 Morning! Dec 28 08:37:55 Morning! Dec 28 08:46:00 morning! Dec 28 11:09:36 Tofe_: You have any clues why I might not get logging in my journal? I made some changes, updated recipe, installed new IPK, rebooted: https://github.com/Herrie82/nyx-modules-1/commit/6fce6f1cd4b8b0c1928ad4a532f2b70b375145c9 Dec 28 11:12:25 Herrie: nyx_debug is probably triggered by a #define somewhere Dec 28 11:15:43 https://github.com/webOS-ports/nyx-lib/blob/webOS-ports/webOS-OSE/include/public/nyx/module/nyx_log.h#L47 mmh doesn't look like so Dec 28 11:16:43 oh well, just put nyx_warn instead, to be sure Dec 28 11:17:07 Tofe_: I removed the definitions for the paths for battery & charger in the PPP.cmake file as well, but that should be fine right? So it would actually try to find hte paths by the "magic" Dec 28 11:17:30 Herrie: yes, it should find it Dec 28 11:17:38 I'm not even sure the defines were used anymore Dec 28 11:48:02 OK getting some logging now but also manage to get powerd to crash now due to logging Dec 28 11:54:33 I guess this should fix it: https://github.com/Herrie82/nyx-modules-1/commit/7ecb64b66a6b9fed48e985603380550ed0345651 Dec 28 12:19:00 yes, it should Dec 28 13:05:14 Herrie: I think I know why you didn't get any debug: you have to setup the log level with pmlogctl Dec 28 13:05:19 (or something like that) Dec 28 14:12:26 Tofe: https://paste.ofcode.org/nHzmUCbFU447pef28uRziN Dec 28 14:12:44 I guess lines 372 and 373 indicate what's the issue really Dec 28 14:14:35 Dec 28 12:57:59 pinephonepro powerd[4200]: [] [pmlog] NYXTP_INVALID_EVENT {} Herrie utils.c inside while full_path = /sys/class/power_supply/rk818-charger/type is "Battery" which I guess is the culprit (actually already established this yesterday). I guess I could simply patch the DTS and retry Dec 28 14:17:42 I guess I should simply change it to POWER_SUPPLY_TYPE_MAINS or POWER_SUPPLY_TYPE_USB and problems are gone Dec 28 14:18:03 Seeing it finds 2 "battery" type of devices it might also be the reason why battery % is acting up Dec 28 14:19:26 By acting up I mean it's not stable, changing a lot Dec 28 14:19:42 Let me change it into POWER_SUPPLY_TYPE_MAINS and try again Dec 28 14:53:27 OK that solved it half Dec 28 14:53:47 It now shows charging indicator, but when I disconnect the charger it doesn't show it's not charging Dec 28 15:20:18 Seems something in my logging still kills powerd, so that's not helping Dec 28 15:39:37 Herrie: switching to Mains makes sense to me Dec 28 15:39:50 or USB, fwiw Dec 28 15:41:01 Tofe_: Yeah having 2 battery types for sure doesn't help to make Nyx and powerd understand stuff ;) Dec 28 15:41:28 yep Dec 28 15:41:30 HAving only 1 helps there... I noticed that the battery indicator % was jumping a lot between reboots etc and not always showing the correct value Dec 28 15:41:39 So I guess it got confused with the 2 batteries Dec 28 20:16:26 Tofe: Could you at your end try the calls @ PinePhone? Dec 28 20:16:39 I recall I had it working on PPP, but could be coincidence. I had incoming call dialog Dec 28 20:17:00 I bumped Voicecall and it seems to have broken, but I don't see anything in Voicecall code changes that should casue this behaviour Dec 28 20:17:53 So it could be just "luck" somehow. I see incoming calls in eg25-manager, but it doesn't end up in the UI somehow. I already downgraded oFono back to 1.31 from 1.33 to exclude that as the cause, so only remaining "cause" could be Voicecall somehow or not.... Dec 28 21:10:50 Herrie: yes, I just might have to get a sim card somewhere Dec 28 21:24:49 You guys should consider moving to ModemManager from ofono. If you want to have LuneOS work on more mainlined devices and have improved stability that is. Plasma Mobile recently moved as well Dec 28 21:33:15 Well ModemManager was yuck in the past. Didn't touch it recently, so don't have recent experience Dec 28 21:33:34 Might be worth to have a look at sometime, we'll see Dec 28 21:33:46 oFono hasn't been unreliable for us to be honest Dec 28 21:39:20 Then you're lucky. ofono suffers from downstream forks and a lack of manpower. Most PinePhone work is going to ModemManager since Phosh is so popular, and thus Plasma Mobile has also moved to it Dec 28 21:39:46 Besides other mainlined devices like the OnePlus 6 only work with ModemManager, not with ofono Dec 28 21:40:21 Why would it only work with MM? Dec 28 21:45:07 We're also tied to ConnMan at our end, so replacing might not be that straightforward **** ENDING LOGGING AT Wed Dec 29 02:59:56 2021