**** BEGIN LOGGING AT Mon Dec 27 02:59:56 2021 Dec 27 08:03:25 Morning! Dec 27 16:58:43 Tofe: Seems that battery indicator on PPP is now OK, however charging indicator doesn't work... I suspect something fishy Dec 27 16:59:45 Mmmm weird, this is supposed to be standard sys bus interface Dec 27 17:01:06 (I'm just now discovering that I can access znc and ssh from the plane !) Dec 27 17:51:00 Tofe: Ooh nice! Which company? I was flying Vueling they were offering some bundles while flying ;) Dec 27 17:51:09 SSH and ZNC were working Dec 27 17:51:23 Tofe: Well it seems the RK818 battery/charging driver is a bit weird Dec 27 17:51:36 At least that's what's the word in Pine64 Dev channel on Telegram Dec 27 17:51:53 Though things seem to look OK at my end in terms of devices in sys bus Dec 27 17:59:35 Tofe: I'm getting these values, which seem to be OK with Nyx, at least in my understanding: https://bpa.st/G3KQ Dec 27 18:00:13 I mean this paste, other had garbage in it: https://bpa.st/DBCQ Dec 27 19:23:00 You guys should do more "marketing". https://www.reddit.com/r/PINE64official/comments/rpb4vp/what_happened_to_luneos/ Dec 27 19:26:02 We really should ;) Dec 27 19:26:22 Just our infra is down at the moment, so we don't have any images up except for my PPP one on GitHub for the moment ;) Dec 27 19:29:16 Get that up, and a website, and some social media things like Mastodon 😉 Dec 27 19:29:45 Hell even I thought LuneOS died till I saw you appear in the Pine64 dev chat again Dec 27 19:32:40 Does LuneOS still require a heavily patched Qt5Webengine? Dec 27 19:35:36 Yeah we do, but looking to change that Dec 27 19:35:46 We have some WIP for that, but nothing working yet Dec 27 19:36:01 Which would use LG's patched Chromium and gets rid of QtWebEngine pretty much completely Dec 27 19:40:59 Still out of tree patches then 😢 Dec 27 19:45:23 Well but it's a separate component then to build, not to patch a standard Qt part Dec 27 19:45:50 Seeing the level of integration into OS, it's not possible to do it any other way Dec 27 20:11:28 Yeah it helps but still too bad Dec 27 21:05:20 Herrie: now home Dec 27 21:05:23 it was Air France Dec 27 21:30:17 Tofe_: Ah OK :) Dec 27 21:30:27 Welcome back :) Dec 27 21:33:35 Thanks ! Though I would gladly have stayed in Finland some more weeks :p Dec 27 21:35:03 Herrie: your uevent values looks quite alright to me Dec 27 21:35:27 so maybe we have a little bug in nyx ? or it doesn't look at the right file ? Dec 27 21:44:53 Tofe_: Yeah I think they also look OK, could be a little bug in nyx, also battery % doesn't always show right it seems, but mostly it's OK % Dec 27 21:45:26 I'll have to double check on PP too Dec 27 21:46:39 I know have this in the nyx-modules cmake file: add_definitions(-DCHARGER_AC_SYSFS_PATH=\"/sys/class/power_supply/rk818-charger/\") Dec 27 21:49:09 I guess I could add some logging into nyx-modules code and try without the path, because it should be able to find it automatically really Dec 27 21:53:13 Yes, it tries to find it on its own https://github.com/webOS-ports/nyx-modules/blob/webOS-ports/webOS-OSE/src/charger/charger.c#L277 Dec 27 21:53:20 Based on: https://github.com/webosose/nyx-modules/blob/master/src/charger/charger.c#L349 Dec 27 21:54:24 Well rk818-charger shows as POWER_SUPPLY_TYPE=Battery which might be a mistake ;) Dec 27 21:54:31 In the kernel DTB Dec 27 21:56:13 Ah, could be a dts mistake then Dec 27 21:58:07 Well I guess it originates here: https://gitlab.com/mobian1/devices/rockchip-linux/-/blob/mobian-5.16/debian/patches/power/0015-power-supply-rk818-charger-Implement-charger-driver-.patch#L587 Dec 27 22:01:07 well I'm not so sure the value is wrong actually, when looking at https://elixir.bootlin.com/linux/latest/source/include/linux/power_supply.h#L178 Dec 27 22:04:58 Tofe: Well seems that for RK817 charger they use different type: https://lore.kernel.org/linux-pm/20210810025436.23367-1-macroalpha82@gmail.com/T/#m07acec74abb40d0cef169c4cf85348f85f739823 Dec 27 22:05:04 + .type = POWER_SUPPLY_TYPE_USB, Dec 27 22:06:35 Which might be more correct, still Nyx might not like it that much, but well Dec 27 22:10:17 I wonder what is used in PP Dec 27 22:10:51 I'll look at that tomorrow, I have the whole week free Dec 27 22:15:39 Based on https://github.com/webOS-ports/meta-pine64-luneos/blob/master/recipes-kernel/linux/linux-pinephone/defconfig#L2441 I would say https://github.com/megous/linux/blob/orange-pi-5.13/drivers/power/supply/axp20x_ac_power.c#L224 Dec 27 22:16:31 But I might be wrong of course Dec 27 22:55:58 I agree it's probably that one Dec 27 22:56:05 Anyway, off to bed Dec 27 23:25:58 Gn8 **** ENDING LOGGING AT Tue Dec 28 02:59:56 2021