*** ChanServ sets mode: +v T4 | 02:11 | |
*** ChanServ sets mode: +v T4 | 08:05 | |
T4 | soenggam was added by: soenggam | 08:08 |
---|---|---|
rinigus | kimmoli: how is your debugging of notification going? I have now notification light stuck after finishing charging. It's visible only when screen is off. Phone still goes to sleep, so at least charging lock is released. Charged till 100% | 08:59 |
kimmoli | rinigus: couldnt reproduce | 09:00 |
rinigus | kimmoli: its ok, I guess. how do you debug stuck notification light? | 09:02 |
rinigus | kimmoli: got light to disappear by plugging in usb for charging and removing it after few seconds. | 09:15 |
kimmoli | so something misses the event. afaik it should be dmesg (from bms) and then in journal. does the ui show charging? what does e.g. chargemon say? | 09:27 |
kimmoli | maybe spiiroin knows what bugs are new in mce? iirc there was some changes in charging/battery state handling? or was there | 09:28 |
rinigus | I have the journal and dmesg saved, will go through them later. Maybe will find something. .. | 09:33 |
kimmoli | https://git.merproject.org/mer-core/mce/commit/d15248f9693fbef93bcc7d0dc89db86cc038adcc | 09:34 |
rinigus | kimmoli: we should have that commit in our mce | 09:44 |
kimmoli | yep. there where some other ones, but dont recall having stuck charging indicator led | 09:47 |
kimmoli | ever | 09:47 |
rinigus | Haven't had that earlier either, as far as I remember | 09:53 |
kimmoli | i have that the charge value is stuck at 100% (or toggless 99/100) until i reconnect charger, or level really goes to ~50% it suddenly goes there | 09:54 |
kimmoli | the kernel bms driver is buggy, it did some tweaking to it ages ago | 09:55 |
kimmoli | https://github.com/mer-hybris/android_kernel_oneplus_onyx/commit/2eb1cf3be82c05a3f6594a60cf0e669033957b13 | 09:55 |
T4 | iHusky was added by: iHusky | 10:08 |
T4 | <iHusky> good morning | 10:08 |
T4 | <iHusky> I have a question, someone already try port anbox to SailfishOS on Xperia X/XA2? | 10:09 |
rinigus | kimmoli: looked into https://github.com/LineageOS/android_kernel_oneplus_msm8974/commits/cm-14.1/drivers/power/qpnp-bms.c , but there is nothing newer there either. | 10:12 |
kimmoli | rinigus: yeah i tried to look back then also | 11:03 |
vknecht | Location 'https://releases.jolla.com/features/3.0.1.11/customers/jolla/armv7hl/media.1/media' is temporarily unaccessible | 11:07 |
vknecht | getting this and other similar errors while running build_packages.sh | 11:08 |
vknecht | seems ok now | 11:14 |
T4 | <iHusky> someone can help me? | 11:37 |
T4 | <gischpelino> iHusky: answer to both questions is yes. But I think this is the wrong channel for such general questions. Use a search engine with 'anbox sailfishos' to find more. | 11:49 |
r0kk3rz | not sure anyone has bothered with anbox on x/xa2 because of official alien-dalvik support | 11:50 |
r0kk3rz | its certainly possible and porting the kernel patches shouldnt be that hard | 11:51 |
*** ChanServ sets mode: +v T4 | 14:05 | |
spiiroin | rinigus: that stuck charging indicator. logs would be nice. also, which device, sfos and mce version | 14:30 |
spiiroin | kimmoli: that commit does not really matter. whole statefs battery plugin got dropped -> there is battery-udev plugin | 14:31 |
spiiroin | what does matter: making sure power that phantom power supply device do not end up being used for battery/charger evaluation | 14:32 |
spiiroin | do not remember details right now, but sony devices had some device nodes showing up in initial udev enumeration & values never change | 14:33 |
T4 | <elros34> spiiroin: could you tell me how mass storage suppose to work now in 3.0 when usb-moded search for sd card in fstab? | 14:33 |
spiiroin | if some such thing with online=1 / stte property gets used -> stuck to initial state | 14:34 |
spiiroin | @elros34 mass storage is not supposed to work. you can make it work with enough tinkering though | 14:34 |
T4 | <elros34> it works good in earlier version, why do you remove it? | 14:35 |
spiiroin | define "works good" and "earlier version" | 14:35 |
T4 | <elros34> I used it up to 0.86.0+mer24. | 14:36 |
mal | r0kk3rz: I had anbox running on x | 14:37 |
T4 | <elros34> after connecting to pc usb-moded exports first sdcard partition, now this commit https://git.merproject.org/mer-core/usb-moded/commit/e659901cee0d5fc0a18a4b4baacddd0e5125c481 breaks it | 14:37 |
T4 | <elros34> I had to remount it manually later after disconnecting but that was minor issue | 14:38 |
spiiroin | @elros34 from my pov the story goes. it is unsupported. I had never used it prior to those rather big changes. after they were done I actually used it for a while to see that basics still work | 14:39 |
T4 | <elros34> so maybe I misunderstand something. How to make it work if code search for mmcblk1p1 in /etc/fstab? | 14:41 |
T4 | <elros34> what changes are needed | 14:42 |
spiiroin | @elros34 I doubt it works (or even was intended) to work without having something in fstab | 14:42 |
T4 | <elros34> but in sfos we use udisks2 so it's never there | 14:43 |
spiiroin | the feature originates from time before systemd & udisks etc, hence unsupported vestigial feature | 14:44 |
spiiroin | what I had was to have something in fstab that I knew wont be touched by other parts of the system | 14:45 |
spiiroin | i.e. disk images via loop mount | 14:45 |
spiiroin | @elros34 still, there is not supposed to be regression in it -> make a mer bug & fill in details | 14:46 |
T4 | <elros34> ok thx | 14:47 |
kimmoli | spiiroin: afaiu rinigus got some logs. device is onyx, 3.0.1.11 mce-1.98.2.2 | 15:02 |
rinigus | spiiroin: I'll go through the logs a bit later tonight | 15:02 |
kimmoli | spiiroin: and neither of us remembers seeing such before. i haven't yet been able to replicate it though | 15:02 |
r0kk3rz | did they release a general update? people have been talking about 3.0.1.14 | 16:08 |
r0kk3rz | or is that xa2 specific | 16:08 |
mal | r0kk3rz: xa2 specific | 16:14 |
mal | r0kk3rz: release notes say "3.0.1.14 released for Xperia XA2 devices" | 16:16 |
spiiroin | kimmoli: there is this https://together.jolla.com/question/169321/xperia-x-white-led-stuck-on-after-charging/ | 17:38 |
kimmoli | thats an old.. | 17:38 |
spiiroin | the reason was never known for sure, but the iffy parts are lost statefs notifications & udev misinterpretation | 17:39 |
spiiroin | hence battery-udev in mce | 17:39 |
kimmoli | so maybe the 'fix' there does cause same issue on onyx? ... | 17:39 |
spiiroin | mce-1.98.2.2 ... these release windows | 17:40 |
spiiroin | 1.99.2 has udev tuning | 17:41 |
kimmoli | hmh | 17:42 |
spiiroin | https://git.merproject.org/mer-core/mce/commit/07d0350b08d3f2eff6adb32ea90946533b0ef021 | 17:42 |
kimmoli | thats not in 3.0.1.11 | 17:43 |
kimmoli | ? | 17:43 |
spiiroin | nope | 17:43 |
spiiroin | 3.0.1.11 mce 1.98.2.2 | 17:46 |
kimmoli | pulling cable few Times didnt trigger it, need to wait bat full? | 17:49 |
spiiroin | kimmoli: it might be the "ignore known false positives part", not battery full | 17:50 |
spiiroin | kimmoli: so. have charger connected while rebooting / restarting mce/statefs -> initial udev probe sees some charger being online=1 | 17:50 |
spiiroin | and that device never reports changes -> "at least one charger is online" is always true | 17:51 |
kimmoli | tried to restart mce, send me a message triggering notification, connected and disconnected charger in various orders, not reproducing it easily | 18:06 |
kimmoli | the msg notification was "breathing" when in charger, and blinking after removing charger, as it should | 18:08 |
rinigus | spiiroin, kimmoli: log is at https://ptpb.pw/LTKo . charging started at about 7:58, finished probably at 10:14. I noticed it between 10:15 and 10:59. logs were filtered a bit, but still rather long. not sure whether info is there | 18:38 |
rinigus | spiiroin: that TJC issue sounds similar to what I have seen | 18:39 |
rinigus | for me, it cured by inserting power and removing it a bit later | 18:40 |
rinigus | I have seen this issue twice on 3.0.1.11, never before. in the first time, it also killed cpu sleep and kept phone awake. reboot solved it. wasn't sure what to attribute it to, so waited for the second time. today sleep wasn't affected | 18:42 |
kimmoli | received msg, reached 100%, disconnected charger, led is still breathing (not blinking) | 19:42 |
kimmoli | and power button on, off, and it is stuck in white | 19:42 |
kimmoli | Just pasted a lot, see here https://pastebin.com/aXGErKnm | 19:44 |
kimmoli | this | 19:53 |
kimmoli | Just pasted a lot, see here https://pastebin.com/XDHVQgRB | 19:54 |
kimmoli | and still keeps breathing | 19:54 |
kimmoli | restarting mce and led stopped | 19:55 |
spiiroin | rinigus: the battery stuff in that paste of yours look odd. as if only couple of udev notifications were received & big jumps | 20:25 |
spiiroin | kimmoli: udev logs would be the interesting part ... | 20:26 |
spiiroin | iirc some should be logged by default from mce battery-udev, but if not adding '-lmodules/battery-udev.c:*' should do the trick | 20:27 |
Mister_Magister | mal: were you playing with openal? or i remember something wrongly | 20:37 |
Mister_Magister | spiiroin: hello! still debugging proximity sensor :P | 20:37 |
kimmoli | Just pasted a lot, see here https://pastebin.com/yKvzf6dj | 20:39 |
kimmoli | again reproduced. active now. | 20:40 |
kimmoli | i still get [20190204.000000] 20190204_04:40:04.127220]@0 active wakeup source: mce_led_breathing | 20:40 |
kimmoli | in dmesg | 20:40 |
kimmoli | BMS messages from smesg | 20:41 |
kimmoli | Just pasted a lot, see here https://pastebin.com/7btERbY5 | 20:41 |
kimmoli | udev | 20:43 |
kimmoli | Just pasted a lot, see here https://pastebin.com/iyMMfzeG | 20:43 |
kimmoli | there is no charger on --> off | 20:43 |
kimmoli | added some more entries, as the udev loggings were earlier. | 20:46 |
kimmoli | https://pastebin.com/yKvzf6dj | 20:46 |
mal | Mister_Magister: hmm, openal? the audio thing? | 20:56 |
kimmoli | Just pasted a lot, see here https://pastebin.com/LZDepdyb | 20:59 |
kimmoli | spiiroin: this is clearly reproducible with battery full. i got on screen notification of battery full, waited screen to go off -> white led -> disconnected charger, got notification to save the planet/led off --> screen timeouts off --> white led | 21:01 |
kimmoli | spiiroin: plugged charger in briefly, turned screen off with powerkey -> breathing white led. | 21:02 |
kimmoli | turned screen on, off -> no led | 21:02 |
kimmoli | Just pasted a lot, see here https://pastebin.com/9FHJbkhB | 21:03 |
kimmoli | spiiroin: continued mce notify log ^ | 21:03 |
kimmoli | Just pasted a lot, see here https://pastebin.com/WxRKCJ1K | 21:04 |
kimmoli | bms from dmesg ^ ... looks like bms decided now that charging ended | 21:05 |
kimmoli | that bms driver is so crappy... | 21:06 |
kimmoli | i wonder the phone hasn't exploded yet | 21:06 |
kimmoli | but now i need a suspend. gn. | 21:07 |
rinigus | spiiroin: the jumps on discharge do happen once in a while. as well getting stuck on 100%. so far, its occasional. but I don't remember seeing jumps during charging - although I am not sure we have them here either. | 21:23 |
rinigus | according to collectd logs, charge was going up smoothly from 8:00 to 10:00. so, its maybe battery-udev doesn't catch it | 21:23 |
rinigus | spiiroin: collectd uses statefs for its data | 21:24 |
piggz | porters, (jusa) ... in the process of cleaning up my configs, I broke the BT headphones .... | 22:01 |
piggz | journal says | 22:01 |
piggz | Feb 02 22:07:05 Sailfish bluetoothd[2727]: bluetoothd[2727]: a2dp-sink profile connect failed for 5C:EB:68:46:EC:AE: Protocol not available | 22:01 |
piggz | Feb 02 22:07:05 Sailfish bluetoothd[2727]: a2dp-sink profile connect failed for 5C:EB:68:46:EC:AE: Protocol not available | 22:01 |
piggz | jusa: actually, fixed it, wrong module load | 22:22 |
Mister_Magister | jusa: can i have some question about pa? when my game wants to play sound it creates new sink-input but it's muted by default and on desktop it isnt. is it some sailfishos job to mute everything else? | 23:01 |
mal | Mister_Magister: did you acquire audio resource for the audio? | 23:06 |
Mister_Magister | mal: what do you mean | 23:06 |
mal | Mister_Magister: if you use other ways than Qt for audio (like sdl) you need to ask for audio resource to get the audio through | 23:08 |
Mister_Magister | ohh | 23:08 |
Mister_Magister | mal: do you have some link/example for that? | 23:08 |
Mister_Magister | i mean when i unmute sink input it's working but it doesn't respect sfos volume | 23:09 |
mal | Mister_Magister: the way it's done in sdl test app https://github.com/mer-qa/sdl2-opengles-test/commit/9e2baf3ed74bbcbabcb6c25f5d293f06a660796b | 23:09 |
Mister_Magister | mal: thanks i will have to look into it | 23:10 |
Mister_Magister | im using openal for audio | 23:10 |
mal | Mister_Magister: it needs that, I needed that in sdl app development | 23:11 |
Mister_Magister | mal: is this code like standalone that i can just paste in? or i need to connect that to openal somehow | 23:11 |
mal | mostly copy paste, just replace the actual audio init code you use | 23:12 |
mal | since that uses sdl call in the audioresource callback | 23:12 |
Mister_Magister | okay i will try. many thanks mal | 23:12 |
mal | so you probably only need to change on_audio_resource_acquired in that, otherwise it should be the same always | 23:13 |
Mister_Magister | ye to use my own class probably | 23:13 |
Mister_Magister | it uses just one variable | 23:14 |
mal | basic idea is quite simple in that code | 23:14 |
Mister_Magister | yee | 23:14 |
Mister_Magister | thanks a lot | 23:14 |
mal | Mister_Magister: the reason for such audio resource handling is that when using it sailfish will know what kind of audio the app is sending and can silence it during calls etc | 23:15 |
mal | for reference https://git.merproject.org/mer-core/libaudioresource that also describes how to use it | 23:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!