Saturday, 2020-11-28

rinigusmal: thank you very much for catching it! As for compass, I don't think so. I used orientation before, as we have by default07:21
spiiroin@simonschmeisser: atm suspend and ongoing calls goes something like: if cpu is not needed for audio, it can be suspended -> depending on audiorouting ohm/pulse blocks allows suspend -> mce blocks suspend only in vicinity of call state chages (to allow ui side time to process changes, send dtmf tones, etc)09:46
T42<adampigg> spiirion: iirc, the keepalive isnt installed by default, let me check ... would that cause the issue?09:48
rinigussomething has to be done with . we have host of PRs submitted in a queue and despite that maintainers seem to merge only for official devices (see last commit)10:04
rinigusmaybe all these PRs (oldest from '2014 by piggz) should then be closed and we should forget about having universal hybris-boot with each port keeping its own version10:05
piggzrinigus: except for one PR there!10:06
riniguswhich one?10:06
rinigusthat from 2014?10:06
piggzrinigus: no, 18910:06
Chengchengi am developing a Linux Tablet, anyone who interested in this? details here
riniguspiggz: yes, maybe. haven't looked into it, but sounds like this will resolve this pileup of PRs that Jolla is not interested in10:07
piggzrinigus: yeah, i think it s reasonable idea .. then all fixup mountpoints can be kept in DCD repos10:08
T42<ankaos> mal: touchscreen work. thank you10:12
rinigusChengcheng: hard to say. so far it looks like a branch of reddit and not clear what it is.  is it a device or OS?10:14
Chengchengit is a device, and we customized the OS10:16
rinigusChengcheng: regarding device - Android hybris based? or Linux kernel mainline?10:20
T42<ankaos> mal: camera work, wifi work, sound work :D10:26
T42<simonschmeisser> spiirion: who decides on the "if"'s ? I could hear that the audio connection is still "active"(static low level noise) but no talking arrived anymore.10:28
T42<simonschmeisser> Just to make sure I understood correctly, it should be possible to suspend the main system and only keep the modem alive during calls?10:29
T42<simonschmeisser> it's a separate usb modem in the case of pinephone10:30
T42<ankaos> mal: celcular modem not work11:30
T42<ankaos> sim card work. sms work. but modem not work11:30
mal@ankaos maybe you need to build dummy_netd (
T42<ankaos> mal: ı use android 712:17
T42<ankaos> mal: dummy_netd is los-1612:18
T42<ankaos> mal: call sound not work12:34
maldo you have the pulseaudio hidl plugin?12:51
malor wait12:51
maldepends on version which one you should have12:51
T42<ankaos> mal: camera sound work12:51
T42<ankaos> mal: okey ı looking12:52
T42<ankaos> mal: okey ı looking12:53
T42<ankaos> mal: install files12:55
T42<ankaos> mal: now reboot12:55
malrinigus: the built-in compass in sensorfw seems to work except the output is a bit wobbly, the value is changing a bit all the time but on average it's correct if the value is filtered properly13:39
rinigusmal: nice! I hope that with the different sensorfw options it will now become a norm that compass is working on SFOS devices13:59
malrinigus: yeah, I'm now checking the code to see if there is something I can do to make this better, I found some rounding issues at least, it just casts to float to int instead of using qRound for example14:08
riniguswith the meta packages, is there some trick how to replace "@Jolla Configuration device" with my own root meta package in generated KS?14:49
rinigusor any docs regarding meta packages?14:49
malrinigus: by using custom .ks which means not being able use --mic but instead running the mic command manually14:54
rinigusmal: running mic manually means "mic create loop ... " ?14:56
rinigusmal: and where do you generate such custom KS?14:56
malrinigus: I mean --mic should generate one and then just edit it and do not use anymore15:00
rinigusmal: that is problematic. I have KS generated by OBS, as in
rinigusthat KS is pulled into CI and used to create images
rinigusKS was generated using (nonmerged) and allowed to replace Jolla Configuration Device with jolla-configuration-device package15:06
rinigusas a result, all was handled automatically and I could work on 6 devices in parallel.15:07
rinigusmal: any sane way to reproduce it with the new system?15:07
T42<ankaos> mal:call sound not work15:07
T42<ankaos> I dont listen my friend sound15:07
rinigusmal: OK, will try to restore that functionality15:31
rinigusmal, sledges: let's see if it will go through this time
T42<simonschmeisser> I know it's slightly offtopic, but is there a way to restore/rebuild the partition table on a jolla1?15:59
malrinigus: I managed to fix the compass issue, it was a problem with the weighted average calculation16:02
rinigusmal: congratulations!16:03
T42<ankaos> how install whatsapp app?16:13
wdehoogI'd like to build my version of mce on OBS but it gets a version that makes it impossible to install normally. How can I force it's version?17:52
spiiroin@adampigg It might be that pulseaudio-module-keepalive(?) does it and is optional17:55
T42<adampigg> spiiroin : even with it installed, apprently it still suspends during call17:56
T42<adampigg> @simonschmeisser could you plat some music in media player and see if it suspends?17:56
spiiroin@simonschmeisser: maybe more like: in android phone ports main cpu can be suspended during (some type of) calls -> there easily could be assumptions based on that here and there17:57
spiiroinI would not be surprised if modem over usb needs to be handled in different manner17:58
spiiroin@adampigg I'm bit unsure about exact details, but IIRC it depends on audio routing, ohm, whatnot ~ once established some routes work without cpu (cellular/dsp -> audio)18:00
spiiroinjusa: would know how wrong I got ^ ;-)18:00
T42<simonschmeisser> spiiroin: well, for now it would be fine not to suspend anything during calls, can optimize later :)18:09
T42<simonschmeisser> why is there no "Jolla song" included with the device? Something with pirates n stuff, to test audio? :D18:10
T42<ankaos> sh-3.2# /usr/bin/anbox-shell.sh18:12
T42<ankaos> ERROR: Cannot attach to container as it is not running18:12
T42<ankaos> how fix?18:12
T42<adampigg> @simonschmeisser my latest builds for pro1 and volla included some stock photos and videos .. so, there must be a packge that includes them somewhere18:15
riniguswhile trying to install droid-config-device (up to date dcd submodule), I am getting an error: file /usr/lib/systemd/system/droid-hal-init.service conflicts between attempted installs of droid-config-h8324-0.3.8+master.20201128120434.1.g60c4416-1.21.1.jolla.armv7hl and droid-config-h8324-0.3.8+master.20201128120434.1.g60c4416-1.21.1.jolla.armv7hl18:18
riniguswas fine with 3.3.0; error appears with 3.4.0 update18:19
malwhich command did you use?18:19
T42<ankaos> -> /usr/libexec/droid-hybris/system/bin/logcat -b radio output18:23
T42<ankaos> call sound not work.18:23
rinigusmal: that is a part of the build for droid-hal-version, paste at
T42<simonschmeisser> @adampigg I wish it had suspended, this testfile I found is horrible (and volume controls don't switch mode yet)18:31
T42<elros34> rinigus: strange error , maybe it's because you still use old /lib/system instead /usr/lib/systemd  for droid-hal-init.service18:32
T42<adampigg> @simonschmeisser so, the keepalive module works for medi playback?18:33
malrinigus: I think it's because of the submodule change, the location moved, try installing it manually first18:34
malwith --force if needed18:34
rinigusmal: I cannot, it is installed during OBS build by OBS. I suspect that I have something mixed up in config, maybe something needs more to be updated.18:35
T42<elros34> just try to move sparse/lib/systemd to sparse/usr/lib/systemd18:36
malrinigus: can you show your config repo18:37
malrinigus: found the problem18:39
malrinigus: you have custom droid-hal-init in /lib when submodule has it in /usr/lib18:39
malrinigus: so move the whole to sparse/usr/lib18:40
rinigusmal: thank you very much! will do18:41
malthe reason why it fails with those is that there is a symlink in systemd which makes those path end up being the same so it tried to install file to same place twice18:45
malrinigus: some odd issues with compass still, the raw data in debug output is correct but app shows wrong value18:46
rinigusmal: waiting for the build to complete18:47
rinigusmal, compass: really strange. I wounder whether qt applies some extra filtering as well18:47
malyeah, need to debug18:48
malrinigus: for example now I saw in debug log heading of 180 and app shows 23018:49
malalso there is an issue that the compass filter remains active even after compass app is stopped18:50
rinigusmal: config issue with the port looks to be fixed, thanks!18:53
rinigusre compass - didn't have to debug in such detail with orientation. was just happy to see it finally pointing in non-random direction, but something that is reasonable.18:55
rinigusre filter: if there is access to time, then maybe drop the filter after longer delay in updates? that's what Osmo did in pure maps for calculation of movement direction and it seems to be reasonable18:56
rinigus... i.e flush filter "old points"18:56
T42<adampigg> rinigus: did you switch to new style pattern too?19:00
T42<simonschmeisser> @adampigg and spiiroin: yes exactly, pulseaudio-module-keepalive inhibited suspend successfully but during call it still dropped19:00
T42<adampigg> ok19:00
T42<adampigg> good to know19:00
rinigus@adampigg: kinda. will preserve jolla-configuration-devID and use that in KS. now looking through other dependencies that I am expected to pull in19:01
rinigus(comparing it with older SFOS)19:01
rinigusis patterns-sailfish-device-configuration-devname expected to have something which is device-specific? I have only 2 requires in it: patterns-sailfish-applications & patterns-sailfish-ui19:06
T42hanasveta was added by: hanasveta19:07
T42<adampigg> rinigus: would be the same as old jolla-configuration-devname19:17
rinigus@adampigg: ok, I see. then I can ignore it as I have other package for the same purpose. hence the redundant default config in my case19:19
T42<adampigg> sure, i recall your package structure19:20
rinigus@adampigg: looks like you kept gstreamer1.0-plugins-good and friends. on xperia they seem to have dropped those (
rinigusor are these gstreamer packages pulled separately?19:24
malrinigus: those are now included in common patterns19:52
rinigusmal: thanks!19:52
rinigusmal: which common pattern is that? sorry, tried to find but couldn't19:58
malrinigus: the closed internal meta-packages actually19:58
rinigusmal: sounds like a major secret has been spilled. :)19:59
malnot really19:59
rinigusOK, will keep the requirement for the port, can always remove it later19:59
malit's quite obvious those are now coming some other way than device patterns19:59
malrinigus: usually it's quite safe to follow the way x10 or xa2 are done, of course some very latest changes might need unreleased sfos version20:01
rinigusmal: I tend to do so, comparing with x10. as it is the same base as tama, at least for now20:02
malrinigus: in this case you can remove the gstreamer1.0-plugins* things from patterns if you want, just keep the gst-droid and gmp-droid20:03
rinigusmal: as I am using slightly different config, I am not 100% sure I included exactly the same packages. will make devel build and then can test after that20:04
malrinigus: you seem to have some custom meta-package things in your repo20:07
rinigusmal: I do. it was from almost the beginning and I am reluctant to change it. main advantage - it supports 6 devices20:08
rinigus... with autogeneration of KS20:08
T42<ankaos> mal: ttps:// -> where ı looking?20:43
malrinigus: I found why there was an offset20:49
rinigusmal: and it was... :)21:33
malrinigus: sensorfw has declination configuration possibility and that comes from geoclue (parsed from nmea data) and it had some ridiculous value22:00
malthat should usually just couple of degrees to compensate for the location but it was 50 degrees on my x10, on my other devices it's between 0 and 622:01
vknechtwdehoog: generally you can set the version you want in OBS by setting branch and revision you want in the package's _service file22:02
wdehoog@vkencht thanks. I had a branch named with only numbers (1.106.3) and then it looked like tar_git decided on a quit different the version 1.101.xxxx . but it could also have been caused by my git incompetence22:09
rinigusmal: I was assuming that compass does not compensate for it. And have compensation in pure maps (as it knows location)22:10
rinigusHelsinki is not 50 degrees :)22:10
malrinigus: that is the magnetic declination (also known as magnetic variation) value, not longitude or latitude22:21
malrinigus: how do you calculate the correction in pure maps?22:24

Generated by 2.17.1 by Marius Gedminas - find it at!