IRC #olimex 2019-06-03

[03:38:11] <xcko> /sys/class/power_supply/axp20x-battery/capacity
[03:38:51] <xcko> probably this CONFIG_BATTERY_AXP20X=y
[03:39:45] <xcko> CONFIG_AXP20X_POWER=y
[03:40:25] <xcko> iirc they depend on this CONFIG_MFD_AXP20X_RSB=y
[03:41:33] <xcko> and for checking if on ac /sys/class/power_supply/axp813-ac/online
[03:41:54] <xcko> heres a dmesg output http://ix.io/1KM4
[03:45:08] <xcko> I think I took them from howards patch to the debian kernel in one of those old threads posted here
[09:28:13] <jo0nas> xcko: howard? You mean Harald?
[09:28:32] <jo0nas> thanks for those clues!
[10:37:32] <leon-anavi> morning
[10:47:13] <wigyori> morning
[16:10:51] <dddddd> CONFIG_BATTERY_AXP20X does not exist in 5.2-rc1. I have set CONFIG_MFD_AXP20X_RSB but not CONFIG_AXP20X_POWER. I'll adapt it for next compilation and report back. Thanks, xcko.
[16:17:28] <jo0nas> dddddd: can you share your linux -rc2 .config - I thought I had a succesfull build but now I can locate only -rc1 builds that boots succesfully :-/
[16:19:39] <dddddd> jo0nas, I don't have -rc2
[16:21:06] <jo0nas> oh
[16:21:11] <dddddd> I guess I'll try -rc1 again then jump to -rc3 (unless you want -rc2, in that case I can do that step too)
[16:21:35] <jo0nas> if -rc3 is out (or imminen
[16:21:46] <jo0nas> if -rc3 is out (or imminent) then no need for -rc2
[16:21:57] <dddddd> lwn shows rc3 news today
[16:22:04] <jo0nas> nice
[16:24:58] <dddddd> Note that I use a "no-modules" config, but I guess it doesn't matter if you only want it as a reference. I also configure-out some things that (I think) doesn't apply (and reduce compilation time).
[16:30:24] <dddddd> Give me a couple of days...
[16:58:11] <jo0nas> sure, take your time :-)
[18:10:32] <xcko> jo0nas: yeah Harald, sorry just going off memory
[18:13:24] <xcko> dddddd: I am confident CONFIG_BATTERY_AXP20X does exist in 5.2-rc{1,2,3}, going back to 4.19.28 at least
[18:17:14] <xcko> checking menuconfig: Depends on: POWER_SUPPLY [=y] && MFD_AXP20X [=y] && AXP20X_ADC [=y] && IIO [=y]
[18:17:35] <dddddd> xcko, I looked at my .config and every Kconfig in the tree
[18:18:18] <dddddd> I guess I used the prefix CONFIG_ in the search, that might explain me not finding it.
[18:18:29] <dddddd> ... in the Kconfig files.
[18:18:30] <xcko> very weird.
[18:19:58] <xcko> ./drivers/power/supply/Kconfig:config BATTERY_AXP20X
[18:20:25] <xcko> yup that was it
[18:46:16] <dddddd> exactly, thanks and sorry for the noise.
[18:48:39] <dddddd> ... a bit unexpected that it's not present in the .config (as "not set") but I guess it doesn't lists eeeevery config in all cases.
[19:05:33] <xcko> No worries. How was testing mesa?
[19:15:53] <dddddd> It compiled fine (around half an hour in the laptop itself), but I'm having a hard time to actually test it. I can make xorg to use some of the libs, but not others. Also, glxgears is in another tree, so I don't have it yet. It's a complex stack which I'm far from expert on.
[19:24:33] <xcko> yeah it looked tricky to me too
[19:47:43] <dddddd> I read a bit of these reports, and media-player support is not great yet either (which I wanted to use to test, before dancing with xorg) https://linux-sunxi.org/Sunxi-Cedrus#Weekly_Reports