*** kimmoli_ is now known as kimmoli | 04:11 | |
T42 | <birdzhang> popup camera on sailfishos https://youtu.be/WxGICmcYuXY | 05:38 |
---|---|---|
T42 | <RealDanct12> @birdzhang [popup camera on sailfishos https://youtu.be/Wx …], 👍 | 06:05 |
T42 | <edp_17> @elros34 : should I ask @lbt here or on tjc? Thanks | 07:10 |
T42 | <RealDanct12> did anyone here getting a issue where lipstick would randomly crash when touching something? | 08:41 |
T42 | <birdzhang> i have with hybris15.1/16.0 branch on vince | 08:44 |
T42 | <RealDanct12> @birdzhang [i have with hybris15.1/16.0 branch on vince], have you found any fix for it? | 08:46 |
T42 | <birdzhang> https://github.com/Sailfish-On-Vince/issues/issues/15 | 08:47 |
DylanVanAssche | <piggz "Dylan Van Assche: kernel PR is u"> Tonight :)( | 09:03 |
T42 | <birdzhang> @RealDanct12 is it working? | 09:53 |
T42 | <RealDanct12> i applied the binder patch, nope, still crash randomly on touch | 09:55 |
T42 | <RealDanct12> sometimes when i touch a thing it crashes | 09:55 |
T42 | <birdzhang> yup, if you keep screen always on and don't touch, it not crashes | 09:56 |
T42 | <birdzhang> @RealDanct12 is this commits patched? https://github.com/Sailfish-On-Vince/android_kernel_xiaomi_msm8953/commit/854340f1bfd5076e67e0b71220a3144332add6f2 | 10:05 |
T42 | <RealDanct12> i wonder how is that related | 10:07 |
T42 | <RealDanct12> will try that | 10:07 |
T42 | <birdzhang> fingers crossed | 10:09 |
T42 | <RealDanct12> @birdzhang [fingers crossed], nope still f | 10:16 |
T42 | <birdzhang> okay :( | 10:16 |
T42 | <RealDanct12> @birdzhang [okay :(], have you added any commits when you thought it was fixed? | 10:18 |
T42 | <birdzhang> @birdzhang [https://github.com/Sailfish-On-Vince/issues/is …], that's it, but i have no memory about 16.0 base | 10:20 |
T42 | <RealDanct12> :( then | 10:20 |
T42 | <RealDanct12> ok | 10:20 |
T42 | <elros34> iirc DRM_AUTH patch is needed to allow starting compositor as a non root user | 10:21 |
T42 | <RealDanct12> @elros34 [iirc DRM_AUTH patch is needed to allow startin …], for me it still works without that patch | 10:21 |
T42 | <RealDanct12> my device doesn't use DRM btw, so I guess that patch doesn't do anything | 10:21 |
T42 | <elros34> I guess you don't even use mali blobs? | 10:22 |
T42 | <RealDanct12> adreno device | 10:22 |
T42 | <elros34> yeah so don't use it, it's only for mali | 10:23 |
T42 | <DarknessHiddenorg> How to port sailfish? | 10:52 |
T42 | <elros34> @DarknessHiddenorg follow instruction https://sailfishos.org/develop/hadk/ and also https://github.com/mer-hybris/hadk-faq | 10:57 |
piggz | jusa: hi, availbale to discuss pinepne volume isssues? | 12:32 |
T42 | <RealDanct12> @birdzhang https://github.com/Sailfish-On-Vince/android_kernel_dark_ages/commits/darky | 15:08 |
T42 | <RealDanct12> do you remember that hybris-16.0 also have this crash issue? | 15:09 |
T42 | <RealDanct12> since i see a few commits here about the binder, not really sure atm | 15:09 |
T42 | <birdzhang> @RealDanct12 16.0 base crashes too | 15:12 |
T42 | <RealDanct12> @birdzhang [@RealDanct12 16.0 base crashes too], oh, but have you got it fixed there too? | 15:13 |
T42 | <birdzhang> not yet, i gave up | 15:13 |
DylanVanAssche | spiiroin (IRC): On the PinePhone we have a weird situation related to charging. | 15:14 |
DylanVanAssche | When plugging in the charging cable, it shows the dialogue to select charge/dev mode/MTP but when unplugging, it goes to 'charging only mode' even though the cable is removed. Any idea? | 15:14 |
piggz | spiiroin: the above happens when MCE is started and the cable is connected. if MCE is started with the cabble disconnected it looks normal. (cable detection wise).... | 15:58 |
piggz | the logs always print the correct state, even tho the UI shows wrong state | 15:59 |
spiiroin | DylanVanAssche: piggz: possibly... power supply device misdetection -> might need to blacklist false positive devices | 16:46 |
spiiroin | example: https://git.sailfishos.org/mer-core/mce/blob/master/inifiles/battery-udev-devices.ini | 16:47 |
spiiroin | there was somewhat similar case with xa2 - there is charger like power supply device in udev. status of which does not change -> causes state evaluation faults -> needs to be ignored | 16:49 |
spiiroin | you can get more insight into what is happening by: ssh over wlan, stop mce, run manually in verbose mode: mce -Tq -l modules/battery-udev.c:* | 16:52 |
spiiroin | then connect/disconnect cable and see how/if udev changes make sense | 16:53 |
piggz | spiiroin: ok, will try that | 17:13 |
piggz | spiiroin: dev has 2 udev devices..... | 17:15 |
piggz | [root@PinePhone ~]# cat /sys/class/power_supply/axp813-ac/online | 17:15 |
piggz | 1 | 17:16 |
piggz | [root@PinePhone ~]# cat /sys/class/power_supply/axp20x-usb/online | 17:16 |
piggz | 1 | 17:16 |
piggz | [root@PinePhone ~]# cat /sys/class/power_supply/axp20x-usb/online | 17:16 |
piggz | 0 | 17:16 |
piggz | [root@PinePhone ~]# cat /sys/class/power_supply/axp813-ac/online | 17:16 |
piggz | 0 | 17:16 |
piggz | which seem to be in harmony, but will blacklist one of them | 17:16 |
spiiroin | piggz: is it mtk kernel? | 17:17 |
piggz | spiiroin:no, its pine, fully native kernel | 17:18 |
piggz | kernel 5.5 | 17:18 |
spiiroin | looks similar to mtk, but maybe it is qc that is different from normal | 17:19 |
spiiroin | if it goes like in mtk devices, both are needed: wall charger shows up in ac, pc connection in usb | 17:19 |
piggz | spiiroin: they both seem to say the same whether in wall or laptop | 17:20 |
piggz | posting logs...... | 17:20 |
piggz | spiiroin: https://paste.mozilla.org/FT6t6iLk | 17:20 |
piggz | cable was plugged into wall when mce was started | 17:21 |
piggz | gaps are when i unplugged/plugged | 17:22 |
spiiroin | mmm... on a quick glance that looks okay | 17:25 |
spiiroin | but that mtp vs charger mode is in usb-moded, not mce | 17:25 |
piggz | yeah .... its just when I unplug, UI says "Charging" ! | 17:25 |
piggz | ok, maybe its usb-moded | 17:26 |
spiiroin | does the charging indicator in status line behave in expected manner? | 17:26 |
piggz | spiiroin: no .... | 17:27 |
piggz | but, if i restart mce with it unplugged it will | 17:27 |
spiiroin | the icon in top left corner? the one with "lightning bolt" + shows cable connect/disconnect | 17:28 |
piggz | yes ... the cable show connected all the time | 17:28 |
DylanVanAssche | spiiroin (IRC): That one behaves odd | 17:29 |
spiiroin | i'll take a closer look at the log | 17:29 |
piggz | spiiroin: if mce is started with cable plugged in, icon shows connected all the time .... if mce is started with the cable unplugged, it behaves correctly | 17:29 |
DylanVanAssche | Also, if set mce to full verbose in its Systemd service: `-vvvvvv` then the icon behaves correct on my PinePhone | 17:30 |
spiiroin | there are no POWER_SUPPLY_STATUS events -> whatever is reported in the initial probe stays effective | 17:32 |
spiiroin | which is: axp20x-battery.POWER_SUPPLY_STATUS : (null) -> Charging | 17:33 |
spiiroin | there are ad-hoc workarounds to deal with weird reporting, but it is more the other way around: if there are chargers online, we assume state=charging even if it is not reported | 17:36 |
spiiroin | this might actually require that we start polling those battery properties - there are other cases too where some devices go too long / do not report some things at all | 17:37 |
spiiroin | and that usb mode thing is not usb moded ... to facilitate mtk devices, ui feigns "charging" usb-mode under some conditions | 17:38 |
spiiroin | (i.e. mtk kernel and charger is ac power supply device, not usb power supply device -> usb moded does not know about dedicated chargers -> make ui behave like it would) | 17:40 |
DylanVanAssche | The missing POWER_SUPPLY_STATUS events can also cause a frozen fuel gauge? When MCE is restarted the fuel gauge is updated but that's it. | 17:42 |
piggz | spiiroin: so, the issue is no event for axp20x-battery.POWER_SUPPLY_STATUS ? | 17:43 |
spiiroin | piggz: yes. would be nice to get notifications about changes like: charging, discharging, full, etc | 17:45 |
piggz | spiiroin: why does it work ok if mce started when cable is not plugged in? | 17:46 |
spiiroin | DylanVanAssche: I'm not 100 percent sure but... that initial udev probe involves reading from sysfs files, which triggers kernel driver to do something to provide the requested info, and it /might/ also cause notifications to be sent | 17:46 |
spiiroin | piggz: because of is_charging = charger.online || battery.status == "charging" | 17:47 |
DylanVanAssche | spirroin: Okay first tackling the cable detection then :) | 17:47 |
spiiroin | now, if the battery status is stuck in something else but "charging" -> charger.online drivers the output | 17:48 |
spiiroin | which might kind of work, except for battery full / charging error situations | 17:49 |
spiiroin | btw, if you poll that battery status (cat /sys/class/power_supply/axp20x-battery/status ?) - does it show sane values that depend on charger connect status? | 17:59 |
piggz | spiiroin: yes | 18:03 |
DylanVanAssche | If fully charged, the pattern is Charging -> Discharging (not Full) | 18:19 |
spiiroin | DylanVanAssche: IIRC that ought to be ok - triggers battery level based heuristics | 18:20 |
DylanVanAssche | Yes, I saw that in the code that there are 2 patterns for the heuristics | 18:21 |
piggz | spiiroin: so, we nned to implement polling? | 18:37 |
piggz | spiiroin: pine devs intend to fix the lack of an event, so, probably just leave it for now | 19:21 |
walidh | i'm try build sfos for lg v20 tmo | 19:27 |
walidh | got this error pkgconfig(bluez5) is needed by bluebinder-1.0.8-1.armv7hl | 19:27 |
walidh | based on libhybris15.1 | 19:27 |
mal | where are you building that? | 19:28 |
walidh | can any help me with this error pkgconfig(bluez5) is needed by bluebinder-1.0.8-1.armv7hl | 20:18 |
walidh | https://paste.ubuntu.com/p/w27QPZtR8C/ | 20:19 |
mal | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper in bluez5 and then select suitable one from the suggestions | 20:22 |
walidh | thx | 20:33 |
walidh | mal: got this error now https://paste.ubuntu.com/p/yHfgQDtBQs/ | 21:13 |
mal | cd hybris/mw/ofono-ril-binder-plugin/ && git reset --hard 1.0.10 && cd - | 21:42 |
mal | after that use "build_packages.sh -o" so it won't update sources | 21:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!