**** BEGIN LOGGING AT Mon Aug 12 02:59:58 2019 Aug 12 05:29:16 Morning! Aug 12 05:29:26 Tofe: Sorry was out last night with the Mrs to cinema :P Aug 12 05:37:06 History might be permission related, though I thought I killed some of those already Aug 12 05:37:11 Should be visible in logs though Aug 12 05:37:25 Either in journalctl or legacy-log/messages in /var/log Aug 12 06:38:00 Morning! Aug 12 06:38:24 Herrie: yes, I didn't look at it yet Aug 12 06:46:02 I should have some time today to send the PR and flash latest image as well to have a look Aug 12 07:12:50 Herrie: btw, on tissot telephony doesn't work -- but I'm really not sure if it has ever worked Aug 12 07:19:50 Tofe: Well it didn't on last release image I guess... This might be what bshah is running into Aug 12 07:20:02 "Doesn't work" is vague. Any clues in logs? Aug 12 07:23:43 I don't have them under the hand, unfortunately... ofono seems to detect the modem, but doesn't seem able to use it Aug 12 07:24:03 I'll try and compare them with hammerhead, now that the latter works Aug 12 07:24:23 It could be this ofono config somehow? Aug 12 07:24:33 Could be, but I'm quite a newbie there Aug 12 07:24:42 Might be worst looking at it though Aug 12 07:24:50 worth* :) Aug 12 07:25:00 I mean https://github.com/webOS-ports/meta-webos-ports/blob/warrior/meta-luneos/recipes-connectivity/ofono/ofono-conf/tissot/ril_subscription.conf Aug 12 07:25:11 Piggz had it working though on Mer/SFOS Aug 12 07:25:17 So we should be able to look at that Aug 12 07:25:25 That's what I did when I did initial one for Mdo Aug 12 07:25:26 Mido Aug 12 07:25:38 good idea Aug 12 07:26:14 though mer uses quite some dedicated flags when compiling voicecall, ofono... like the "SAILFISH_MODEM" iirc Aug 12 07:28:41 Yeah true Aug 12 07:28:49 There's a lot of documentation in https://git.merproject.org/mer-core/ofono/blob/0efebd16d977dbc9f1c60c626abf94af247cd754/ofono/drivers/ril/ril_subscription.conf Aug 12 07:28:52 Which might be of some use Aug 12 07:29:02 Though I didn't see anything at first glance that would be obvious to try Aug 12 07:31:02 mido uses halium-7.1 ? Aug 12 07:31:29 (I need more coffee...) Aug 12 07:36:08 Tofe: Well on SFOS not ;) Aug 12 07:36:22 But mine does... But I use it as daily Android for now, so cannot test much on it Aug 12 07:36:31 Maybe I should switch back to a Hammerhead for daily use :P Aug 12 07:37:25 looks like sfos for vince (redmi 5 plus) works pretty well, and it has same ofono config Aug 12 07:37:47 and I guess it uses libhybris 7.1 Aug 12 07:38:02 Like you said it could be their VoiceCall or oFono flags... Aug 12 07:38:14 ( https://github.com/Sailfish-On-Vince/droid-config-vince/blob/master/sparse/etc/ofono/ril_subscription.conf ) Aug 12 07:38:25 Which is something I guess we don't want to go, because it pulls in a lot of other SFOS dependencies that we don't want/need Aug 12 07:38:33 let me see what this sailfish_modem flag is really for Aug 12 07:38:56 I don't want it either, but we need to understand why it doesn't work on luneos :p Aug 12 10:39:02 Tofe: I can confirm incoming and outgoing calls are working on Hammerhead it seems Aug 12 10:39:15 With outgoing calls I seem to have audio both ways Aug 12 10:39:30 With incoming ones the display is acting up a bit and not 100% sure audio works OK Aug 12 10:39:34 I'll have a look into the logs Aug 12 10:45:11 for me incoming calls were working on both ends Aug 12 10:47:02 Seems audio service got killed somehow Aug 12 10:47:43 https://bpaste.net/show/tYKS Aug 12 10:48:00 That for sure won't help Aug 12 10:48:03 This is on first boot Aug 12 10:48:23 I see this: file:///usr/palm/applications/org.webosports.app.phone/qml/views/AllOrMissedButton.qml:48: TypeError: Value is null and could not be converted to an object Aug 12 10:49:19 I guess it's the historyModel part here: https://github.com/webOS-ports/org.webosports.app.phone/blob/master/qml/views/AllOrMissedButton.qml#L48 Aug 12 10:50:09 You've been changing some related bits in https://github.com/webOS-ports/org.webosports.app.phone/pull/51/files it seems Aug 12 10:51:30 Let me reboot so I'm at least on a 2nd boot Aug 12 10:51:34 That sometimes fixes things :P Aug 12 10:54:53 microphone mute also doesn't seem to work on my Hammerhead Aug 12 10:55:02 Pulling some more logs ;) Aug 12 11:10:36 Tofe: luna-send -n 1 -a org.webosports.app.phone luna://com.palm.db/find '{"query":{"from":"com.palm.phonecallgroup:1"}}' will give me details Aug 12 11:10:52 So seems there is stuff in DB8 kind Aug 12 11:17:08 ah yes, I did try some search field for history... maybe I introduced a regression Aug 12 12:09:21 Tofe: I'm not really seeing what I did wrong when upstreaming my original patch... Seems it was broken for some time already... When Mer guys introduced the screen lock stuff it seems way back. Aug 12 12:09:29 Not sure how it still work in a previous release though Aug 12 12:09:43 Anyway sent this upstream now: https://git.merproject.org/mer-core/voicecall/merge_requests/20/diffs Aug 12 12:09:58 So we can drop our patch once that's merged Aug 12 12:25:27 Thanks Aug 12 12:27:21 I guess that we used an older version which didn't even have nemolock Aug 12 12:32:39 Yeah could be anyway, good it's sorted now. Seems I made a mistake when updating the original patch a while back Aug 12 12:33:03 Which was introduced with this commit: https://github.com/webOS-ports/meta-webos-ports/commit/407902192426dc5433bf077b2cc1760c9d218c1a#diff-a7d051ca3de777e9d981a5d58a4709da Aug 12 12:33:51 Looking at the commit that introduced it in VoiceCall being https://git.merproject.org/mer-core/voicecall/commit/ea9d81eb444b82f177217f53215b4639b0227f98 I should've done it the way you fixed it now :P Aug 12 12:41:19 Well, anyway, it's done Aug 12 12:41:35 Some other detail: enable-debug is probably useless now Aug 12 12:41:57 they use QLoggingCategory system, which is based on env variables Aug 12 13:10:05 Tofe: Well check for WANT_TRACE only seems to happen in telepathyproviderplugin.cpp which we don't use Aug 12 13:32:03 ah ok, well if they still use it a bit, let's just keep it as is Aug 12 18:52:57 Herrie: using barebone ofono 1.25 is almost better than the one from Mer Aug 12 18:53:48 which is not so surprising, as they work mainly on their own driver, plus their sailfish-specific bits (mce, manager...); the "rilmodem" driver doesn't change so much I think Aug 12 19:05:37 Ok Aug 12 19:05:57 Well I prefer upstream over their oFono in general Aug 12 19:06:18 We previously already established that coding quality isn't great Aug 12 19:09:15 Did you already try ofono 1.29 ? Aug 12 19:10:06 I gave it a quick shot, but there were build errors so I just tried 1.25 Aug 12 19:15:21 Tofe: Well it's upstream so it should build Aug 12 19:15:36 Or you mean in combination with qofono etc? Aug 12 19:16:26 it seems the problems are more related to some new functions like "HAVE_EXPLICIT_BZERO" etc Aug 12 19:20:28 Should upstream Yocto provide working oFono? It's pretty standard? Aug 12 19:21:14 1.29 is not upstream, 1.25 is Aug 12 19:22:04 anyway, I got it to build Aug 12 19:23:59 Not even in Zeus or Master? They've been pushing out a lot of releases then lately? Aug 12 19:24:30 I didn't look there :p Aug 12 19:25:23 status is the same: it detects the modem, but fails to get really online Aug 12 19:27:19 https://bpaste.net/show/44LV ofono 1.29 on tissot Aug 12 19:28:02 https://bpaste.net/show/642b ofono from Mer (1.21 patched) on hammerhead Aug 12 19:29:50 for me the main difference is "Interface org.ofono.AllowedAccessPoints not found on the interface_list" Aug 12 19:30:23 which could mean it can't read the list of APNs Aug 12 19:31:40 However, when we call the phone from outside, it rings for the caller, so the networks sees the SIM as online somehow Aug 12 19:37:17 Well we have the mobile-broadband-provider-info which I'm not sure is in upstream oFono? Aug 12 19:38:07 I still have RDEPENDS_${PN} += "mobile-broadband-provider-info ofono-conf" Aug 12 19:38:37 OK I mean, I'm not sure this is hooked up in upstream oFono Aug 12 19:38:37 you mean it wouldn't read it? or maybe the default path is different? Aug 12 19:38:44 Don't recall if it's generic or Mer specific Aug 12 19:38:51 I don't know Aug 12 19:40:05 Seems there's 1.30 as well :P Aug 12 19:40:10 46 mins ago :P Aug 12 19:40:23 oh :) Aug 12 19:40:45 Seems it's there the mobile-broadband-provider-info: https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/configure.ac#L202 Aug 12 19:40:55 In the upstream configure.ac, so we should be good there Aug 12 19:41:15 ok Aug 12 19:42:05 https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-connectivity/ofono/ofono_1.29.bb Aug 12 19:42:10 That's in upstream Aug 12 19:42:15 There seem to be a few patches Aug 12 19:42:50 yes, it corresponds to the issues I bumped on Aug 12 19:43:50 it's a shame ofono_1.30 isn't in master yet ! Aug 12 19:43:53 :p Aug 12 19:44:28 anyway it doesn't seem to fix anything useful for us here; the rilmodem code hasn't been changed since january Aug 12 19:45:23 Yeah probably some of the 1.29 patches were merged, but indeed nothing for the rest Aug 12 19:53:18 ok, I'll debug the ofono rilmodem driver tomorrow Aug 12 20:29:32 I guess it'll be some generic issue in the driver somehow **** ENDING LOGGING AT Tue Aug 13 02:59:56 2019