Tuesday, 2022-02-01

WikiwideThat's neither here nor there : https://build.merproject.org/package/show/home:simonschmeisser:branches:nemo:devel:hw:lge:bullhead/gst-droid00:02
* Wikiwide sighs, and continues to idle01:15
dcalisteGood morning pvuorela. Thanks a lot for the festival of merged PRs these last days.08:01
pvuorelag'morning. there was indeed quite a bunch of PRs.08:01
pvuorelagood stuff, thanks!08:02
pvuorelathink i merged all that i had time to look into.08:03
dcalisteI'm surprised the local time was not working actually. I thought I tested it when I developped the UI part some months or years ago.08:03
dcalisteIndeed, all recent PRs were merged.08:03
dcalisteConcerning older PRs, there is the sync failure resolution trilogy:08:04
dcaliste- https://github.com/sailfishos/buteo-sync-plugin-caldav/pull/1008:04
dcaliste- https://github.com/sailfishos/nemo-qml-plugin-calendar/pull/1608:05
dcaliste- and jolla-calendar #31208:05
dcalisteI've reworked the UI part yesterday, according to jpetrell's comments.08:05
dcalisteThe middleware being more or less the same (I think I rebased it).08:05
dcalisteThe current working is that, events can be flagged by the CalDAV plugin when they are failing to sync for whatever reason.08:06
dcalisteThese flags are saved as a string as a volatile incidence property.08:07
dcalisteIn QML bindings, this string is changed into an enum exposed to the UI.08:07
dcalisteSo the UI is displaying a warning label. All this is already in.08:07
dcalisteThe three new PRs are adding a way for the user to flag back the events to indicate what to do to the sync plugin.08:08
dcalisteThis is done in the same way : via an enum in the QML bindings that is stored as a volatile string.08:08
dcalisteThe sync plugin is changing its strategy with regard to such flagged events accordingly.08:08
dcalisteAs jpetrell mentioned in his comments, this is mainly to help the user circumvent unsolvable issues, mainly due to bugs, either on server or in SailfishOS sync plugin.08:09
pvuorelaalright. could aim to check that next. and/or the dst thing.08:11
dcalisteSure, do it according to your available time of course. Nothing is in a hurry.08:12
dcalisteAs another topic, I would like to ask you about kernel sources. It's related to https://forum.sailfishos.org/t/reliable-crash-sfos-through-grep-command/10069/2608:19
dcalisteIs there somewhere a git repo of the kernel sources used in the device ?08:20
dcalisteAre they only available as a tarball, without commit history and applied patches ?08:20
dcalisteIn any case, what is the best way to submit a patch to kernel sources ?08:21
pvuorelaum, think the kernels are somewhere but since i try to stay on the userland side i don't have an immediate link08:21
dcalisteI'm asking this, because I've looked to the upstream kernel, in its git history also, but I cannot find any trace of the line I think is errneous in u_serial.c08:21
dcalisteSure, I prefer the userland also, but a `cat readstatus` that makes a kernel Oops and reboot the device is a bit annoying...08:22
WikiwideWow. Bus 007 Device 030: ID 22b8:ff48 Motorola PCS F(x)tec Pro1 . What is that mode?08:23
pvuoreladcaliste: which device were you interested in? jolla c or x10 II?08:29
dcalisteI've a JollaC.08:30
pvuorelaout of interest, do you do all the development on that or do you have some newer one too?08:31
pvuorelaon the x10 II guess this would be relevant https://github.com/mer-hybris/android_kernel_sony_msm/08:31
pvuorelamal: you might know better here :) ^08:33
malpvuorela: know what?08:38
pvuorelasources for jolla c kernel08:38
dcalisteI'm using only a JollaC. It's my day to day phone !08:42
pvuoreladcaliste: brave if you also develop all the things on the same thing :)08:44
dcalisteI guess the kernel is built from somewhere for each release, but maybe it's internal only...08:45
pvuorelayea, it differs between all the devices what the kernel is and where it lives.08:45
dcalisteYes, it's simpler for me to develop on the same device I'm using daily. It helps to test and I try not to break too many things so it's still usable.08:46
dcalisteThat's also why, I'm not much eager to touch to lipstick, and even more the kernel.08:46
pvuorelavery understandable.08:47
dcalisteIn any case, as I mentioned in the forum comment, I think a check for non NULL pointer is missing in u_serial.c#1292, file from kernel-adaptation-l500d-b690c5d16244040d5f4b0265a56e3b406f6ae1bb/drivers/usb/gadget/08:49
dcalisteI didn't test because I've no idea how to rebuilt the kernel and safely put it on device without bricking it. But it's the best bet I can do from the trace.08:50
pvuoreladcaliste: guess the l500d parts here could be of help http://releases.sailfishos.org/sources/4.0.1.48/08:50
maljolla c kernel sources are available here http://releases.sailfishos.org/sources/4.0.1.48/08:51
pvuorelasync :)08:51
dcalisteYes, that's where I got the sources from. But I would have hoped for a git tree with history to compare it to upstream and see where the faulty patch comes from.08:51
dcalisteAnd upstream the fix if necessary.08:52
dcalisteThe `if (gser->get_dtr)` on line 1292 is very suspicious and missing a `gser && ` in my opinion.08:53
maldcaliste: what issue are you trying to fix?08:57
dcaliste`cat /d/usb_serial0/readstatus` creates a kernel Oops and reboot the device.08:57
dcalisteNot really a big deal, but not very nice.08:58
dcalisteSee https://forum.sailfishos.org/t/reliable-crash-sfos-through-grep-command/10069/25 for the associated partial kernel trace.08:58
maldcaliste: is there anything in last_kmsg?09:01
malah, that is in the forum post09:01
dcalisteI'm at all used to kernel developping, but I didn't find any trace upstream of the debug functions like debug_read_status() from u_serial.c. So I guess they have been added as a patch, but without git history, it's a bit difficult to find.09:03
dcalistes/I'm/ I'm not/09:04
malthose are sometimes quite annoying to debug09:09
dcalisteWell, if you have access to the kernel source repo, you can add there a `(gser && gser->...)`, it cannot hurt and may fix the problem.09:11
dcalisteSome people reported it for XA2 in the forum also, if I remember well. Or X10, not sure.09:12
malhmm, I can test that later09:13
dcalisteThank you mal.09:17
henkI wish software would stop giving me math homework: that short message was received '33 m ago'. MFer I want the exact time! at least show me a fscking clock so I can do the math! it gets worse the longer it was ago: tweeted 1 day ago. WTF does that mean? exactly 24h? more than 12 hours? before 00:00 today, i.e. yesterday? what is the point where it’s not "exact to the minute" anymore but09:18
henk"accuracy to something between 12h and 48h needs to be enough … or maybe 6h? because it depends on when the date swiched? who knows, go read the fscking source code. loser."09:18
henkto devs: please don’t waste CPU cycles on calculating this, checking if displayed things need to be updated constantly because now it’s 34 minutes, then update that shit, just show the fscking timestamp. or at least make that configurable if you enjoy programming these details. please. thank you09:21
dcalisteThank you mal and pvuorela for your help today. I think that's all from my side. Don't hesitate to ping if you want to ask some clarification on points discussed today. Enjoy the week !09:21
pvuoreladcaliste: thanks09:23
*** ggabriel is now known as Guest140416:13
piggzrinigus: ping21:41

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!