Saturday, 2019-09-07

Mister_Magistermal: you said some devices on needed older libhybris and that might be the caseā€¦ could you point me to needed commit?08:25
piggz_mal: so, i deleted the ofono binder plugin from our repo, and all its deps ..... but its not in the main repo !08:40
piggz_10 minutes to add it all back in08:40
piggz_i guess if i just build 1.0.6 i wont need all the deps08:42
Mister_MagisterYEAH IT'S DUE TO LIBHYBRIS!08:58
Mister_MagisterGOT GUI AGAIN08:58
T42<adampigg> mister_magister: what device?09:52
T42<adampigg> mmmm, cant beat the frshness of eating an apple from your own tree!10:47
Mister_Magister@adampigg except when there are worms in it10:48
r0kk3rzextra protein11:01
T42<Matthew %lastname%> can the rootfs be torn down if the rootfs cannot be modified11:11
rinigusas devaamo is down, maybe Jolla can step up and provide space/bandwidth for distribution of ports? on conditions similar to devaamo... or is it somehow associated with legal risks?12:18
Mister_Magisterrinigus: you can upload to xda for free12:27
T42<DylanVanAssche> I managed to send some texts between my daily driver and the PinePhone dev kit.13:11
T42<DylanVanAssche> Jolla Messages sees the received messages from Ofono, but I can't send messages since I get `SIM is disabled`.13:11
T42<DylanVanAssche> I also don't get the SIM prompt at boot, which indicates that SFOS doesn't see the SIM card/modem for some reason. Ofono works fine though with the `ofono-tests`. The logs are pretty normal IMHO:
mal@DylanVanAssche are you using qmimodem driver in ofono?13:19
T42<DylanVanAssche> mal: Yes, I'm13:20
mal@DylanVanAssche the one in our ofono or backported from upstream? I was told qmimodem might need some modifying to communicate properly with sfos since sailfish has some custom additions to rilmodem driver13:21
T42<DylanVanAssche> mal: The one from our repos: `mer-core` master13:21
mal@DylanVanAssche I'm also interested in trying qmimodem on fp2 and might be able to help checking what is needed13:22
T42<DylanVanAssche> mal: Interesting :) If you start a call from the command line, the `voice-call-ui` is showing up too, that's at least something :P13:24
T42<DylanVanAssche> But SIM card isn't detected at all, I can try digging into the repos for the differences between our version and upstream13:24
mal@DylanVanAssche the changes are related to sailfish_manager extension in ofono
T42<DylanVanAssche> mal: The `sailfish_manager` is responsible for managing the SIM cards and the data connection of a device, as far as I understand it?13:30
mal@DylanVanAssche I think it also handles reporting sim state etc13:32
T42<DylanVanAssche> mal: Yeah that's what I mean :P so if we add the necessary calls to this from the qmimodem, we should be able to convince SFOS that we have a SIM card present :D13:32
mal@DylanVanAssche yes, it might need some plugin to handle the integration, are you in hurry with that qmimodem?13:34
mal@DylanVanAssche one thing is that qmimodem doesn't yet have support for voice calls afaik, there was a wip branch somewhere for that13:35
malr0kk3rz: I heard you might have tested video encoders using gst-launch?13:36
T42<DylanVanAssche> mal: Well :P the modem is a bit important to have a functional device :)13:37
T42<DylanVanAssche> QMIModem has voice call support, in the PinePhone fork though, which is built on OBS:
T42<DylanVanAssche> Source:
r0kk3rzwhen i was playing with webrtc13:37
r0kk3rzits kinda black magic voodoo13:37
malr0kk3rz: any hints for the magic command line you used?13:37
r0kk3rzwhen in doubt add more filters and queues13:38
r0kk3rzleszek also has done such things13:39
r0kk3rzwhat are you trying to do?13:39
mal@DylanVanAssche ok, then we just need to figure out the plugin we need, I asked our ofono developer directly about that, we'll see when he replies, we talked about that already earlier and he has some example how to do it, I need that also for mainline fp213:39
malr0kk3rz: I need to test a new encoder in gst-droid13:40
r0kk3rzoooh new encoders13:41
T42<DylanVanAssche> mal: Awesome! What do you mean exactly by a 'plugin'? If we add the necessary calls to the qmimodem driver, we don't need an additional plugin I guess?13:41
maltest decoders is easy but encoders a bit more tricky13:41
r0kk3rztheres some built in test sources for video13:41
mal@DylanVanAssche I think it's similar to ofono/drivers/ril/13:42
malr0kk3rz: ok, I'll need to check those13:42
T42<Matthew %lastname%> anyone making a SAR GSI of Sailfish?13:43
T42<DylanVanAssche> mal: Oh something like `qmi` which does the necessary calls to the `qmimodem` driver and also the calls to `sailfish_manager`? This way we can keep the `qmimodem` unmodified from upstream?13:44
mal@DylanVanAssche I think it might be something like that but we'll see13:44
T42<DylanVanAssche> mal: Sure :) if you have any news, you can just ping me here :D Thanks!13:45
malr0kk3rz: thanks, I'll try that13:46
mal@DylanVanAssche does pinephone really have a modem that talks via qmi?13:47
T42<DylanVanAssche> mal: Yes it has, it's a Quectel EC25 which uses the qmimodem driver to interface with ofono over USB.13:48
malok, good13:48
T42<adampigg> Mal, whats the situation with functionfs/kernel4.4/msm8998/rmnet etc? T5 vendor service fails becuase /dev/rmnet_ctrl doesnt exist, i read it could be related to functionfs? That fs is in our kernel,.do i need to do something to enable its use in sfos?13:48
T42<adampigg> Service is vendor.dataqti13:49
r0kk3rzmal: heres aome pipeline voodoo
mal@adampigg which device is that?13:52
T42<adampigg> Mal, pro113:52
mal@adampigg can you show some logs13:53
T42<adampigg> Mal, not atm.....lo13:57
T42<adampigg> Mal, journal gives an error messagr about couldnt open file....i traced the error in the code to a line which opens that file13:58
r0kk3rzmal: you finishing off vp8/vp9 encoding?14:00
monich@DylanVanAssche ^ sample ril-independent sailfish_manager integration14:01
T42<DylanVanAssche> monich: If we create a `qmimodem_plugin` with all these methods for the `qmimodem`, we can use the modem and make SIM detection possible.14:05
monichbasically this manager thing is the list of slots independent on the ofono modem list - it was done in order to be able to enable-disable individual slots14:09
malr0kk3rz: no, I was thinking of those also14:09
T42<DylanVanAssche> monich: makes sense, certainly with multi-sim.14:10
T42<DylanVanAssche> The rest of the driver files are not needed in our case since we have already a driver, the plugin is the only thing we actually have to write?14:10
mal@DylanVanAssche I'll try to make a poc of such a plugin14:10
T42<elros34> spiiroin: is iioadapter in sensorfw ready to use or it's just poc? When I set interval to 1s it is reset to 0s when I open accelerometer test in csd thus consume 30% of cpu.14:11
T42<DylanVanAssche> mal: Thanks Mal!14:12
mal@elros34 ask @adampigg, he uses iioadaptor on latte and maybe pinephone also?14:13
T42<DylanVanAssche> @elros34 we use the iioadapter too on the PinePhone. Not much success atm, no data in Messwerk yet.14:14
T42<DylanVanAssche> AFAIK, the adapter isn't completely ready for all kind of iio devices and not polished14:14
malyes, it needs some cleanup14:14
malpreviously there were no devices using it so it has not been improved much14:14
T42<elros34> ok,  looks like messwerk set it to 20ms which is acceptable so maybe 0s interval is only bug in csd14:15
rinigusMister_Magister: (sorry for delayed reply) I wonder why xda wasn't used before for that then. note that it was easy to see in devaamo how other ports were doing - kind of good publicity to get it all in one place14:19
T42<elros34> @DylanVanAssche do you know what is needed to make messwerk shows data? BTW this is little odd because now to define scale I have to use [my sensor name] category instead [accelerometer] like for other settings.15:00
malMister_Magister: rinigus devaamo is going to be back online at some point, I just talked on #nemomobile channel about that15:03
T42<DylanVanAssche> @elros34 Not sure, what's causing the missing data in messwerk.15:07
T42<DylanVanAssche> I struggled with it for days and moved on to more important things.15:07
T42<DylanVanAssche> We have an accelerometer+gyro, light sensor and compass as iiodevice.15:07
T42<elros34> I see15:08
rinigusmal: thanks!15:12
T42<elros34> @DylanVanAssche I figure out why messwer fails for me. It was because number of channels are not detected correctly for my accelerometer:
T42srLuxint was added by: srLuxint15:43
T42<DylanVanAssche> @elros34 How did you figure that out?16:47
T42<elros34> I have very simple iio driver for dmard06 which doesn't have scan_elements directory in sysfs so iioDevice.channels is initialized with 0.17:03
T42<DylanVanAssche> @elros34 Oh okay, good to know. We should definitely look into the iiodevice soonTM, but I have more things like that atm :D17:05
T42<adampigg> mal: the logs you  requested
T42<adampigg> and
T42<adampigg> or even17:31

Generated by 2.17.1 by Marius Gedminas - find it at!