Tuesday, 2017-01-24

*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-141.play-internet.pl> has quit IRC (Ping timeout: 260 seconds)00:06
*** ranter- <ranter-!~ranter@37-33-13-76.bb.dnainternet.fi> has quit IRC (Ping timeout: 240 seconds)00:25
*** Nokius_ is now known as Nokius00:29
*** olafh__ <olafh__!~olafh@pD9E6FAE8.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds)00:35
*** Keij0 <Keij0!~keijo@axx64.internetdsl.tpnet.pl> has quit IRC (Ping timeout: 240 seconds)00:48
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Read error: Connection reset by peer)00:56
*** agomez{M} <agomez{M}!~agomeziga@fanzine.igalia.com> has quit IRC (Read error: Connection reset by peer)00:56
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos-porters00:56
*** agomez{M} <agomez{M}!~agomeziga@fanzine.igalia.com> has joined #sailfishos-porters00:57
*** frozengeek__ <frozengeek__!~frozengee@> has quit IRC (Quit: frozengeek__)01:13
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)01:18
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters01:21
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters01:34
*** lbt_ <lbt_!~david@78-32-229-233.static.enta.net> has joined #sailfishos-porters02:12
*** lbt_ <lbt_!~david@78-32-229-233.static.enta.net> has quit IRC (Changing host)02:12
*** lbt_ <lbt_!~david@Maemo/community/contributor/lbt> has joined #sailfishos-porters02:12
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)02:30
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)04:02
*** SfietKonstantinW <SfietKonstantinW!d49d6e8c@gateway/web/cgi-irc/kiwiirc.com/ip.> has joined #sailfishos-porters04:03
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters05:02
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters05:02
*** spiiroin <spiiroin!~spiiroin@37-33-16-174.bb.dnainternet.fi> has quit IRC (Ping timeout: 256 seconds)05:36
*** olafh <olafh!~olafh@p5DEDF6BF.dip0.t-ipconnect.de> has joined #sailfishos-porters05:47
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters06:07
*** krnlyng_ <krnlyng_!~liar@> has quit IRC (Remote host closed the connection)06:12
*** krnlyng_ <krnlyng_!~liar@> has joined #sailfishos-porters06:12
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving)06:21
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds)06:30
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds)06:30
*** ranter <ranter!~ranter@87-95-69-164.bb.dnainternet.fi> has joined #sailfishos-porters06:31
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:cc5d:da44:9dff:df58> has joined #sailfishos-porters06:49
*** eduardas_m <eduardas_m!~eduardas_@> has joined #sailfishos-porters07:29
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters07:52
*** frozengeek__ <frozengeek__!~frozengee@> has joined #sailfishos-porters07:59
ballockGood morning!08:02
ballockI couldn't sleep well last night and tried to do some progress on cm13 on mako.08:02
ballocksledges: You were teasing me about the GROUP ofono Operation not permitted having happened in the logs here. Nothing greppable emerged.08:03
ballockBut I checked what was actually denied and found that it was ofonod failing to acquire capabilities:08:03
ballockcapset({_LINUX_CAPABILITY_VERSION_1, 0}, {CAP_NET_ADMIN|CAP_NET_RAW, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = -1 EPERM (Operation not permitted)08:04
ballockI went on a venture to find what should be granting the capabilities and why does it not do that and it's a puzzle for me -08:04
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sailfishos-porters08:05
ballocklooks like ofonod doesn't have any capabilities set in xattrs, but gets executed as root and the drops to the 'radio' user.08:05
*** eduardas_m <eduardas_m!~eduardas_@> has quit IRC (Quit: Leaving)08:07
ballockAt one point I thought  some xattr-based file capabilities were missing, so I compared the mount options between mako and l500d,08:07
ballockand found that /sys/fs/cgroup/systemd is mounted without the 'xattr' option on mako.08:08
*** rinigus <rinigus!~rinigus@kybi.ioc.ee> has joined #sailfishos-porters08:10
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)08:15
*** frozengeek__ <frozengeek__!~frozengee@> has quit IRC (Quit: frozengeek__)08:16
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters08:18
nh1402yo yo yo mornin' foo's08:20
ballockmorning bar buz08:21
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)08:27
T4<kskarthik> Good morning guys!08:34
guhlanybody awake who is good with obs?08:41
guhl(and gm!)08:41
ballockguhl: just shoot08:41
guhli pushed a tag to a github repository yesterday https://github.com/guhl/droid-config-vision (tag 0.0.1)08:42
guhlthat has a webhook setup and is linked to https://build.merproject.org/package/show/nemo:devel:hw:htc:vision/droid-config-vision08:42
guhlbut there was no reaction from merbot in #mer-boss and the repo on merproject did not get updated and built08:44
guhlso my question is: can i force github to send that tag-chance again08:44
*** eduardas_m <eduardas_m!~eduardas_@> has joined #sailfishos-porters08:44
ballockgit tag push -f?08:45
guhlor what is the proper strategy in a situation like that08:45
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters08:45
guhlwell the tag is on github so would that force also github to update the webhook08:45
ballockyou may want/need to tag another commit and re-force-tag it, not sure.08:46
ballockit was working previously for the repo, wasn't it?08:46
guhlballock, yes that might probabls08:46
ballockI see last commit was by cibot08:46
ballockso you got the permissions right08:46
ballockLooking at the _service file, it also seems correct.08:47
guhlballock, yes that might probably work but i was looking for a solution without loosing tags08:47
ballockHuh? Did I tell you to drop tags?08:47
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has joined #sailfishos-porters08:48
guhlno you told me to tag another commit08:48
ballockguhl: I do see the last version compiled has a weird version name and that suggests...08:48
ballockguhl: You do have the same commit as the tagged version on master, don't you?08:48
guhlballock, that is the version name it gets when you setup the wh08:49
sledgesballock: good catch on /sys/fs/cgroup/systemd, so what happens when you xattr it?08:49
sledgesguhl: git push :refs/tags/TAG; git push TAG08:49
sledges*add origin ^08:50
ballocksledges: I can't, remounting doesn't like that, it's a pseudo-filesystem, and it claims to not be able to find the 'cgroup' device,08:50
ballockand I couldn't find where the mount gets performed, it wasn't there in either /init*rc, nor in /etc/fstab, nor even in any greppable systemd services.08:51
ballocksledges: But if you know where it lies, I'll gladly fix it.08:51
sledgesballock: grepped in .mount units?08:51
ballockgrepped whole /lib/systemd. But I grepped for the whole path, perhaps it's got some parts as variables or so08:51
ballockI also found some messages about a failed mount for /dev/cpuset, and that's probably because CONFIG_CPUSET is not set. But I saw l500d doesn't have that enabled, either.08:54
guhlsledges, aha so that basically deletes the tag on origin and pushes it again08:55
guhlwell as merbot still is not impressed i assume it is either still asleep or there is a problem with the webhook08:56
sledgesguhl: how did you do 20:13 < merbot`> Forced build trigger for master by cibot in master branch of https://github.com/guhl/droid-config-vision.git, which will trigger build in08:56
sledges(from #mer-boss channel)08:56
sledgesfew days back08:56
ballocksledges: no, I re-checked .mount files. I think /sys/fs/cgroup/systemd is a systemd core dependency, so might not be in any of its services.08:58
sledgesballock: yep, internal thing08:59
ballocksledges: and I think this mount is a false trail, sbj doesn't have xattr there, either.08:59
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has joined #sailfishos-porters09:00
ballockI disabled ANDROID_PARANOID_SECURITY or whatever it's called, as my USB cable got disconnected each 4s.09:01
sledgesballock: https://lists.freedesktop.org/archives/systemd-devel/2014-June/020535.html09:01
spiiroindivis1969 is not here, but .. changing default (1st boot) brightness needs to use legacy (1-5) range -> gets mapped to 20,40,60,80,100 percent on 1st mce startup (or define also brightness range - probably works, but that has never been tested)09:01
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Remote host closed the connection)09:02
ballocksledges: Do you know why ofonod setuids to 'radio' user? I couldn't find a setting where this user is set.09:03
sledgesballock: remind me quickly what's the ultimate issue we're trying to solve?09:03
ballockril not working on cm13/mako09:03
ballockor is it just ofono, perhaps09:04
ballockafter all, there's a /dev/socket/rild and /system/bin/rild is running.09:04
sledgesballock: ok, then rild is working, you can check its ultimate sanity with `/usr/libexec/droid-hybris/system/bin/logcat -b radio`09:07
*** ghosalmartin <ghosalmartin!~ghosalmar@> has joined #sailfishos-porters09:13
monichballock: setuid (radio) is done here ^, it's not configurable as of right now09:15
monichbut if it turns out that it's not always necessary, it's easy enough to make it configurable09:15
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters09:17
*** krnlyng__ <krnlyng__!~liar@> has joined #sailfishos-porters09:17
*** krnlyng_ <krnlyng_!~liar@> has quit IRC (Ping timeout: 240 seconds)09:19
guhlsledges, I assume that was the initial setup of the WH ?09:26
guhlsledges, on github I see 4 deliveries including the one just before09:29
sledgesguhl: yes, we have now exhausted all possibilities, time to summon lbt :)09:31
ballockmonich: spot on!This is the exact call that does both -does setuid and attempts to keep NET capabilities...09:31
ballockand I see the code execution must have gone first to check if it's possible to keep capabilites,  then drop user and set capabilities.09:32
ballockof which last one fails.09:32
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters09:38
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters09:38
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has joined #sailfishos-porters09:39
sledgesmal: awesome sauce on 14.1 test_hwc \o/09:46
*** divis1969 <divis1969!d45c9114@gateway/web/freenode/ip.> has joined #sailfishos-porters09:47
NeKitdivis1969, as for Wi-Fi09:49
NeKityou need to create firmware symlinks in /etc or fix kernel driver to load firmware from /system/etc09:50
NeKitthen echo 1 > /dev/wmtWifi09:50
NeKitI'm not sure of exact filenames for your device, check what you have inside /system/etc/firmware09:52
NeKitI simply did ln -s /system/etc/firmware /etc/firmware on mine device09:54
divis1969NeKit: I'm not sure where to do this last step. I'm going to create a wlanloader service (https://git.merproject.org/mer-core/dsme/commit/c377c349079b470db38ba6394121b6d899004963) but not sure whether it will work on boot09:54
divis1969spiiroin: actually i did not understand what should i do: i'm new to this :-). How can I configure it to use legacy levels?09:57
NeKitdivis1969, it does for me09:58
NeKitwith https://github.com/mer-hybris/droid-config-mako-12.1/blob/master/sparse/lib/systemd/system/wlan-module-load.service09:58
*** divis1969 <divis1969!d45c9114@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)10:02
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters10:02
NeKitdoes test_audio work for you?10:04
NeKithm, didn't notice ping timeout10:04
ghosalmartinmal: is it working? :O10:05
malghosalmartin: test_hwcomposer is working, UI not yet10:05
malghosalmartin: logcat shows no big issues, just the usual stuff, something is starting surfaceflinger which might cause some issues10:07
*** olafh_ <olafh_!~olafh@pD9E6FA6E.dip0.t-ipconnect.de> has joined #sailfishos-porters10:08
*** olafh <olafh!~olafh@p5DEDF6BF.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 245 seconds)10:09
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Ping timeout: 240 seconds)10:13
*** FalkAlexander_N4 <FalkAlexander_N4!~sailfish@> has quit IRC (Quit: IRC for Sailfish 0.9)10:13
*** olafh_ <olafh_!~olafh@pD9E6FA6E.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)10:15
*** olafh_ <olafh_!~olafh@pD9E6FE4F.dip0.t-ipconnect.de> has joined #sailfishos-porters10:15
*** kjokinie <kjokinie!~kjokinie@> has left #sailfishos-porters10:18
*** olafh__ <olafh__!~olafh@pD9E6F824.dip0.t-ipconnect.de> has joined #sailfishos-porters10:20
*** olafh_ <olafh_!~olafh@pD9E6FE4F.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)10:22
ballockHow do we go with selinux in cm13? Maybe that's what's breaking?10:24
ballockWe no longer disable selinux, right? So I guess we need to set selinux contexts, aye?10:25
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sailfishos-porters10:25
*** kjokinie <kjokinie!~kjokinie@> has joined #sailfishos-porters10:26
*** kjokinie <kjokinie!~kjokinie@> has left #sailfishos-porters10:26
*** faenil is now known as faenil_10:29
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)10:29
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters10:37
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters10:37
TofeI wonder, do you have specific bits in ofono in your Mer repos regarding cm12.1 support?10:38
*** Kabouik <Kabouik!~kabouik@> has joined #sailfishos-porters10:41
*** divis1969 <divis1969!d45c9114@gateway/web/freenode/ip.> has joined #sailfishos-porters10:42
divis1969NeKit: i did not run test_audio. Sounds not working, I suppose it is because I should build those 'mini' services (miniaf)10:44
*** olafh_ <olafh_!~olafh@pD9E6F3A3.dip0.t-ipconnect.de> has joined #sailfishos-porters10:46
*** olafh__ <olafh__!~olafh@pD9E6F824.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 258 seconds)10:49
NeKitthose are for calls, I think10:59
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters10:59
NeKitjust wonder if test_audio (using Android mixer API through libhybris) crashes for you too or it's just mine device10:59
malballock: we disable selinux from kernel commandline11:03
divis1969it does not crash, but hungs (no sound, no log) probably11:04
*** olafh__ <olafh__!~olafh@p5DEDFCCD.dip0.t-ipconnect.de> has joined #sailfishos-porters11:04
NeKitmine segfaults after D AudioALSAHardware: +mAudioALSAHardware in logs11:04
*** olafh_ <olafh_!~olafh@pD9E6F3A3.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds)11:05
Nokiusdivis1969: to test audio I playback the ringtones via settings test_audio is still faling on some of my port but I have audio11:07
Nokiussledges: gm can I get find7s devel on obs please thanks :)11:07
sledgesNokius: done: https://build.merproject.org/project/show/nemo:devel:hw:oppo:find7s11:10
* sledges sleighs out for a bit11:10
Nokiussledges: thanks11:11
*** olafh_ <olafh_!~olafh@p5DEDFC12.dip0.t-ipconnect.de> has joined #sailfishos-porters11:11
*** olafh__ <olafh__!~olafh@p5DEDFCCD.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)11:12
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-240.play-internet.pl> has joined #sailfishos-porters11:14
ballockI see I have SELINUX disabled. Nothing seems to have complained for missing it, the problem doesn't seem to be with the Android layer.11:21
sledgesreview appreciated: https://github.com/mer-hybris/droid-hal-device/pull/15311:21
ballockSELINUX depends on CONFIG_AUDIT, which was recommended to be disabled in mer kernel check.11:21
ballockOk, other aosp5/6 ideas on what might be trimming denying SET_CAP permission?11:22
*** olafh__ <olafh__!~olafh@p5DEDFD50.dip0.t-ipconnect.de> has joined #sailfishos-porters11:27
*** olafh_ <olafh_!~olafh@p5DEDFC12.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds)11:28
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-240.play-internet.pl> has quit IRC (Quit: Konversation terminated!)11:29
malballock: CONFIG_AUDIT should be enabled now, the check is not really correcty11:31
ballockmal: oh. Ok. and SELINUX too?11:32
ballockjust disabled in boot?11:32
malthat is the suggested method11:33
ballockI'll do that, though it seems not really related.11:34
ballockmal: What does CONFIG_ANDROID_PARANOID_NETWORK affect? I mean, I disabled it for now as I've got issues with it, but since people seem to be re-enabling that, there is something that fails without it?11:35
*** olafh_ <olafh_!~olafh@p5DEDFFA8.dip0.t-ipconnect.de> has joined #sailfishos-porters11:36
malballock: some devices need it, some don't, if networking works then you don't need it11:36
*** olafh__ <olafh__!~olafh@p5DEDFD50.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)11:36
ballockmal: networking as in generally or data? Cause I've got wifi working fine.11:37
miau__mal: Is there any other place to disable selinux?11:38
malmiau__: why do you want another place to disable it?11:39
miau__mal: I want to enable it.11:39
miau__mal: But i can't figure out where it is disabled.11:40
ghosalmartinmiau__, i take it the cameraservice fudge didnt work?11:40
miau__mal: I want to set it to permissive mode and see if the camera daemon starts correctly.11:40
malmiau__: either it's disabled in kernel config or in kernel commandline11:40
miau__ghosalmartin: No, starting camera daemon via systemd did not work. I'll remove the complete check from CameraService.cpp later and report back.11:41
miau__mal: I enabled it both in config and commandline. setenforce always says selinux is disabled, so i can not set it to permissive. I even dissalwed SElinux to be disabled in init/Android.mk, still disabled.11:42
malmiau__: are you sure it's enabled in final .config?11:43
miau__I think so...one moment.11:43
maleven if it's enable in defconfig doesn't mean it's enabled in .config11:43
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-240.play-internet.pl> has joined #sailfishos-porters11:43
miau__mal: selinux=y selinux_develop=y selinux_bootparam=y selinux_bootparam_value=1 is in .config.11:45
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-240.play-internet.pl> has quit IRC (Client Quit)11:45
ghosalmartinbootparam value should be 011:46
miau__And i found another issue cm13 and cm12.1 port are affected by the bluetooth wakelock bug, which prevents the device from entering sleep mode.11:46
miau__ghosalmartin: 0 is for disabling, but i want it enabled.11:47
ghosalmartinmiau__, ahh11:47
miau__ghosalmartin: selinux_develop should give you permissive mode and i also added the perrmissive mode line to the kernel cmdline.11:47
ghosalmartinmiau__, maybe itll be nice and work11:48
miau__mal: Only good thing is that compass is working again with the lib and config file from the sensorsfix patch.11:48
malmiau__: what patch?11:49
miau__It's in the tmo thread about Nexus5 cm12.1 port.11:49
miau__Maybe it can give the other devices with msm8974 working compass too.11:50
miau__mal: http://www.mediafire.com/download/b18shaiaj13jo92/sensorsfix3.zip11:50
miau__mal: I'ts a bit laggy, but does the job, better than a not working compass. I'm going to try the lib and config file from cm14.1, maybe this going to give better results.11:51
malwell that won't help me on fp2, I won't be making users install some random blobs11:55
divis1969ballock: CONFIG_ANDROID_PARANOID_NETWORK adds additional checks for the UID allowed to deal with sockets. So, most operations will fail. For example, with this feature enabled I was not able to configure network via host's USB11:57
ballockdivis1969: yeah, that explains why I had "some" issues with it.11:58
Tofeoh, I didn't realize the sensors don't work as-is on nexus 511:58
malafaik most cm12.1 ports have issues with compass12:01
Tofeyes, but if I understand correctly for nexus 5 the whole sensor hal is down12:03
Tofe(without the patch)12:03
*** eduardas_m <eduardas_m!~eduardas_@> has quit IRC (Ping timeout: 245 seconds)12:03
miau__Tofe: No, it worked as far as i remember correctly, but the sensoes service had huge cpu usage and often crashed.12:04
Tofeah, ok, I missed that, thanks12:04
miau__The sensorsfix patch is a mixture of onyx and hammerhead blobs and configs.12:05
miau__mal: DOes the FP2 enter sleep mode?12:05
malmiau__: yes12:05
malmiau__: on idle fp2 can stay on for a week or more12:06
miau__mal: Mh, onyx too. Do you use the hcismd method for bluetooth?12:06
spiiroindivis1969: you should have some hw-adaptation package install a mce config file, say /etc/mce/60-brightness-<hwid>.conf; example of what the content should be here: http://lpaste.net/352947578593502822412:06
malmiau__: yes12:06
miau__mal: Could you send me the hci_qcomm_init file to test this method on the nexus?12:07
malI need to investigate the led issues on fp2, something is broken, only white color is shown12:07
malmiau__: doesn12:08
malmiau__: doesn't n5 have that file?12:08
miau__mal: No, we have to use hciattach to get bluetooth working.12:08
miau__mal: And that gives wakelocks from msm_serial_hs_dma, which prevents the device from entering sleep mode.12:09
*** eduardas_m <eduardas_m!~eduardas_@> has joined #sailfishos-porters12:09
miau__mal: But it is not a big issue, when i completely disable BT, device enters sleep mode, but power consumption stays the same. Just wanted to try if it would work.12:09
miau__mal: Standby time with the wakelock active is around 5 days, which is enough i think.12:10
spiiroindivis1969: the difference between using percentages/legacy scale is: "legacy" method works also with sfos <= 1.0.6 from 2014 but allows only 20% accuracy ...12:13
divis1969spiiroin: so, I can add this file into hybris/droid-configs/droid-configs-device/sparse/etc/mce and it will be picked up by build_packages.sh?12:14
divis1969what should be that <hwid>? the name of the device?12:15
divis1969guys, how can i see debug messages from wlanloader (https://git.merproject.org/mer-core/dsme/commit/c377c349079b470db38ba6394121b6d899004963) ?12:21
divis1969I've created the wlan-module-load.service but cannot see any signs it was started12:21
spiiroindivis1969: right; the resulting droid config has/should have some id in the rpm package name, use the same id for config file (as an example jolla c has droid-config-l500d.rpm -> would use "/etc/mce/60-brightness-l500d.conf")12:27
spiiroindivis1969: the config file name does not actually matter, but gives some kind of context for the setting12:28
spiiroin(but the number part does matter, files with larger prefix are processed later and can override stuff set in smaller number files)12:29
divis1969spiiroin: thank you! will try this12:36
*** adeen-s <adeen-s!~adeen-s@> has joined #sailfishos-porters13:01
ghosalmartinmiau__, i added that fix in, no camera still but lots of errors13:01
adeen-sIn .hadk.env what should be port_arch for arm64 devices?13:02
ghosalmartinadeen-s, same as normal armv7hl13:02
adeen-sghosalmartin: So sfos is essentially an arm based userspace running on a 64-bit bootloader ?13:04
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters13:04
nh1402adeen-s: i believe so, yes.13:06
T4SailfishIrcBot was removed by: kskarthik13:10
ballockOk, ofonod started sending stuff to DBus! Progress!13:10
ballockShould I expect dbus to reject them? Like:13:10
ballockJan 24 14:06:41 Sailfish dbus[603]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.8" (uid=1001 pid=874 comm="/usr/sbin/ofonod -n --nobacktrace --noplugin=,he91") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=590 comm="/usr/sbin/mce --systemd ")13:10
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Quit: Lost terminal)13:15
spiiroinballock: requested_reply="0" -> could be "was asked not to send reply message, but still did" i.e. nothing serious (but should not still happen)13:19
ballockok, so it looks like ofono manages to start, but it fails a couple of times during boot, I see that it succeeds after 1min30s after systemd's journal started.13:21
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has joined #sailfishos-porters13:22
miau__ghosalmartin: What did you change?13:22
spiiroin... but it looks like ofono were asking mce about dbus props, which does not make sense (mce does not have dbus props; and asking for all props without wanting a reply = what?)13:22
ballockStill, there's some problem with it as this keeps reoccuring: "connmand[867]: [ofonoext] ERROR! Timeout was reached" along with a number of QOfonoExtModemManager::Private::onGetAllFinished:213 - QDBusError("org.freedesktop.DBus.Errr.NoReply", "Did not receive a reply..."13:23
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Client Quit)13:24
monichspiiroin: it's probably libgio querying dbus properties, not ofono/libmce-glib directly13:25
monichballock: libgofonoext is supposed to keep retrying until it gets the answer from ofono13:26
ballockI killed the two processes that failed to communicate with ofono, as they were started before ofono managed to start finally13:26
ballockbut it didn't help13:27
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds)13:27
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving)13:27
monichballock: not being able to connect to ofono shouldn't be a fatal error13:27
ballockwell, but why wouldn't it?13:28
ballockand fatal not fatal, no SIM gets detected13:28
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has joined #sailfishos-porters13:29
monichballock: I mean the client should a) wait for ofono to appear and b) keep retrying if requests time out13:29
monichof course of ofono never comes up, it's a fatal error13:30
ballockRIL seems fine, at least by logcat. ofono came up after a minute-or-so.13:30
ballockthe permission issues seems to have been only the case during boot13:30
ballockmonich: How does it communicate with ofono? Over dbus?13:31
monichballock: ofono talks to rild via RIL protocol, everything else talks to ofono via dbus13:32
monicheverything else = connman, commhistoryd, ui, whatever13:32
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has joined #sailfishos-porters13:33
ballockmonich: so, if I get " QOfonoExtModemManager::Private::onGetAllFinished... Did not receive a reply.", means I'd still be looking at ofono.13:33
monichballock: that's a client trying to talk to ofono, timeouts should be recoverable:13:35
monichdbus-send --system --print-reply --type=method_call --dest=org.ofono / org.nemomobile.ofono.ModemManager.GetReady13:37
monichballock: what does that ^ say?13:37
ballockmonich: a boolean false13:37
monichballock: meaning that for whatever reason ofono can't get IMEI and/or SIM status from rild13:38
monichprobably both :)13:38
*** olafh_ <olafh_!~olafh@p5DEDFFA8.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 245 seconds)13:38
monichballock: try stopping ofono service with 'systemctl stop ofono' and run it from the command line like this:13:38
monichofonod -n --nobacktrace --noplugin=,he910,dun_gw_bluez5,hfp_bluez5,hfp_ag_bluez5,cdma_provision,bluez5,isimodem,n900,u8500,qmimodem,gobi,cdmamodem,isiusb,nwmodem,ztemodem,iceramodem,huaweimodem,calypsomodem,swmodem,mbmmodem,hsomodem,ifxmodem,stemodem,dunmodem,hfpmodem,speedupmodem,phonesim,telitmodem,udev,udevng -d13:38
monichas root13:38
*** olafh_ <olafh_!~olafh@p5DEDF9A0.dip0.t-ipconnect.de> has joined #sailfishos-porters13:39
ballockwow, lots13:39
monichpaste it somewhere13:39
ballockI'm yet to check the SIM card, but copy-pasting in the meantime.13:40
ballockmonich: https://bpaste.net/show/93cfdd22a93513:41
spiiroinmonich ballock: I guess the get props is rejected because mce dbus config does not allow requests using "org.freedesktop.DBus.Properties" -> just hiccup from generic code somewhere assuming properties will be available (=like monich said)13:42
spiiroin... the reject message could be a bit more specific about what triggered it13:42
spiiroin(still, that part is not a real problem - just noise)13:43
monichballock: all requests fail with RADIO_NOT_AVAILABLE - GET_IMEI, GET_SIM_STATUS, everything13:44
monichno wonder that nothing works13:45
ballockmonich: Looks like so, checked on a sure-working SIM card, same thing.13:45
ballockOk, now next on, so now we're going to rild that's failing us, right?13:45
ballockis the undefined symbol expected or the problem: https://bpaste.net/show/f06f284986d013:46
monich'libril-qc-qmi-1.so' surely sounds important13:48
ballockbut now we're talking about android's own stuff that fails, it just communicates over a socket, so not much to fail there...13:49
ballockunless the official cm13 didn't work with it, either13:49
* ballock would need to re-wipe it to check13:50
*** reiqu_ <reiqu_!~reiqu@host-091-097-239-020.ewe-ip-backbone.de> has joined #sailfishos-porters13:52
miau__ghosalmartin: Found the change: http://androidxref.com/6.0.0_r1/diff/frameworks/av/services/camera/libcameraservice/CameraService.cpp?r2=%2Fframeworks%2Fav%2Fservices%2Fcamera%2Flibcameraservice%2FCameraService.cpp%4066296c4e99da5f2dd0a3dbf048be0d6ffc49a559&r1=%2Fframeworks%2Fav%2Fservices%2Fcamera%2Flibcameraservice%2FCameraService.cpp%401527f07eb2b2b40f6b8f53a4644e6a400bddb46013:52
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)13:54
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters13:55
monichballock: btw, which version of libmce-glib are you running?13:55
monich(re: org.freedesktop.DBus.Properties.GetAll failures)13:55
ballockmonich: no libmce-glib here. mce-1.82.1-1.71.1.armv7hl and mce-plugin-libhybris-1.7.1-10.6.1.jolla.armv7hl13:58
monichballock: ah, you must be running a fairly old stuff then13:59
monichnever mind14:00
ballocklatest official stable,
ballockI should be able to generate something on 2.1, though.14:00
ballockJust need to test the radio thing in pure cm.14:00
ballockrinigus/krnlyng: did you ever use cm13 on mako? Did you use the latest official Google radio firmware (2.0.1701.07)? Or did you use something else?14:02
ballockThe cm wiki is down, and I could be just guessing from some xda posts that this is correct, but can't say for sure.14:02
reiqu_ballock: You can view the cm wiki over https://archive.org/14:04
T4SailfishIrcBot was added by: kskarthik14:04
T4<kskarthik> Bot is back 👍14:04
*** kskarthik <kskarthik!af656363@gateway/web/freenode/ip.> has joined #sailfishos-porters14:05
T4<kskarthik> Hola!14:06
*** adeen-s <adeen-s!~adeen-s@> has quit IRC (Quit: Lost terminal)14:07
rinigusballock: I am quite sure that I have cm13 on multirom as "primary". would have to check it later. as for radio - probably the latest14:07
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has quit IRC (Quit: frozengeek__)14:08
ballockrinigus: thx14:08
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has joined #sailfishos-porters14:08
*** kskarthik <kskarthik!af656363@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)14:10
ballockLooks like radio works in pure cm13.14:13
ballockand the undefined symbol appears in pure cm13 as well.14:18
ghosalmartinanyone know what atfwd does14:21
ghosalmartinsupposedly it for miracast14:21
miau__ghosalmartin: I accidently deleted the CameraService.cpp file, do you kno how i can get it back with the repo command?14:22
ghosalmartinrepo sync -d14:23
ghosalmartinbut wait14:23
ghosalmartinthatd do everyt14:23
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ugqkjahlqrhscvzj> has joined #sailfishos-porters14:36
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 252 seconds)14:36
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 252 seconds)14:37
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-227-138.play-internet.pl> has joined #sailfishos-porters14:41
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Remote host closed the connection)14:54
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters14:58
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 252 seconds)14:59
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Remote host closed the connection)14:59
*** rinigus <rinigus!~rinigus@kybi.ioc.ee> has quit IRC (Quit: Leaving)15:01
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has quit IRC (Quit: frozengeek__)15:04
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has joined #sailfishos-porters15:04
sledgesreview appreciated https://github.com/mer-hybris/droid-hal-configs/pull/75/files15:05
malsledges: should we also enable gps middleware by default?15:07
r0kk3rzsledges: "dcd_path is defined for hysterical reasons (coming from dhd builds on OBS)" :D15:09
divis1969spiiroin: one more question. How to allow values up to 255 to be used for /sys/class/leds/lcd-backlight/brightness ? Can I specify display_brightness=255 ?15:10
sledgesmal: thought about it, but wouldn't it spit some errors if something isn't right with gps yet? can't remember why it was added as commented..15:13
sledgesr0kk3rz: you're my inspiration 8D15:13
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:cc5d:da44:9dff:df58> has quit IRC (Ping timeout: 276 seconds)15:14
malsledges: I think it would only cause error if user tries to use gps, not sure though15:14
malsledges: I remember it causing a reboot15:14
malbut can't remember if that was with test_gps or the middleware15:15
*** elros34 <elros34!531fc5b6@gateway/web/freenode/ip.> has joined #sailfishos-porters15:17
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters15:19
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters15:27
elros34mal: ping15:34
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)15:36
malelros34: pong?15:38
dr_gogeta86ballock, are you on cm13 with nexus 4 ?15:38
dr_gogeta86i need to rebuild flo ... is more or less the same deviec15:38
dr_gogeta86i need to rebuild flo ... is more or less the same device15:38
elros34mal, hi I was excited too fast about pulseaudio fix15:38
elros34now plugging in headphones doesnt switch audio15:39
elros34its still use speaker15:39
malelros34: do you see any headphone devices in evdev_trace -i ? (in package mce-tools)15:40
elros34msm8960-snd-card Headset Jack15:41
elros34and msm8960-snd-card Button Jack"15:41
elros34logcat http://pastebin.com/hJJMRx9K15:42
malwhich one gives output if you use evdev_trace -t eventX15:42
elros34journal http://pastebin.com/fBrRm1MG15:43
malelros34: those are not needed, just check the evdev_trace -t15:43
malonce you have figured out which is the correct device then add this kind of file https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/ohm/plugins.d/accessories.ini15:43
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters15:49
*** reiqu_ <reiqu_!~reiqu@host-091-097-239-020.ewe-ip-backbone.de> has quit IRC (Quit: reiqu_)15:51
elros34mal: it doesn't help. Sometimes music switch to headphones when I first start mediaplayer and then insert15:53
malwell it should help, it has done so for others15:54
*** spiiroin <spiiroin!~spiiroin@37-33-16-174.bb.dnainternet.fi> has joined #sailfishos-porters15:56
elros34this is what I have added http://pastebin.com/s9WfTJA615:57
mallooks reasonable15:59
malif that doesn't work then ping jusa_15:59
elros34ok thx16:00
elros34jusa_ ping16:00
malelros34: does evdev_trace show the events reliably for you?16:03
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Quit: leaving)16:03
*** pashik <pashik!~AndChat16@> has joined #sailfishos-porters16:03
elros34yeah, it was working before pulseaudio fix16:03
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters16:04
elros34I have SW_HEADPHONE_INSERT  0/116:04
malthat fix should not affect events16:04
*** RavenII <RavenII!~ravenii@> has joined #sailfishos-porters16:05
elros34mal: I have notice "input set_parameters(routing=2147483652;input_source=0) failed".16:06
elros34when plugging in16:07
malwell that tells that something is wrong in pulseaudio16:09
ballockdr_gogeta86: nice :) The cm guys split the mako kernel from the 'general' kernel/google/msm which I think still contains flo,16:11
ballockbut otherwise - yes, that should be pretty similar16:11
sledgesreview appreciated: https://github.com/mer-hybris/droid-hal-device/pull/15416:15
malsledges: +1 for straggler files change :D16:17
sledgesmal: thanks for finding;) bumped ourselves;)16:17
sledgesso all verified16:18
sledgesthat it works16:18
*** pashik <pashik!~AndChat16@> has quit IRC (Read error: Connection reset by peer)16:18
*** pashik <pashik!~AndChat16@> has joined #sailfishos-porters16:19
malsledges: is that conditional in droid_target_* correct, should it be || instead of && ?16:20
malsledges: ah, sorry, misunderstood how that works16:20
sledgesthat got me thinking for a bit too when pushed out:D16:21
malsledges: how about changing the description below to that to mention droid_target_armv7hl?16:21
sledgesmal: yep, should've known forgotten something!16:28
*** eduardas_m <eduardas_m!~eduardas_@> has quit IRC (Quit: Leaving)16:39
*** ghosalmartin <ghosalmartin!~ghosalmar@> has quit IRC (Remote host closed the connection)16:46
*** horuxan <horuxan!~horuxanxx@> has quit IRC (Remote host closed the connection)16:47
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ugqkjahlqrhscvzj> has quit IRC (Quit: Connection closed for inactivity)16:49
sledgesmal: adjusted16:49
*** nh1402 <nh1402!~nh1402@> has joined #sailfishos-porters16:54
*** itbaron <itbaron!~kvirc@> has joined #sailfishos-porters16:57
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has quit IRC (Ping timeout: 252 seconds)16:58
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving)17:02
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-227-138.play-internet.pl> has quit IRC (Quit: Konversation terminated!)17:03
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)17:04
*** divis1969 <divis1969!d45c9114@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)17:09
*** RavenII <RavenII!~ravenii@> has quit IRC (Remote host closed the connection)17:15
malsledges: LGTM'd17:16
*** rinigus-m <rinigus-m!~sailfish@jyri-gw.levikom.ee> has joined #sailfishos-porters17:16
*** horuxan <horuxan!~horuxanxx@> has joined #sailfishos-porters17:17
rinigus-mballock: just checked, I have Chroma (6.0.1) with 2.0.1701.07 baseband on multirom. It all worked fine.17:22
jusa_elros34: what fix?17:22
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters17:23
maljusa_: I think this one https://github.com/mer-hybris/pulseaudio-modules-droid/commit/c996f6bf256e88732160438e625cbe982560da8717:25
elros34jusa_: hi I can provide logs if u want17:30
*** frozengeek__ <frozengeek__!~frozengee@nata101.ugent.be> has quit IRC (Quit: frozengeek__)17:32
*** Keij0 <Keij0!~keijo@axx64.internetdsl.tpnet.pl> has joined #sailfishos-porters17:42
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters17:59
*** linuxxr <linuxxr!~brian@ip72-204-125-231.fv.ks.cox.net> has joined #sailfishos-porters17:59
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection)18:06
jusa_elros34: could you revert that fix and take logs of that as well18:06
*** frozengeek__ <frozengeek__!~frozengee@> has joined #sailfishos-porters18:07
elros34jusa_ ok give me few minutes18:08
*** nh1402 <nh1402!~nh1402@> has quit IRC (Read error: Connection reset by peer)18:08
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters18:16
elros34jusa_: without fix logcat: http://pastebin.com/ks7Sh1v0, journal: http://pastebin.com/bZsiw0F318:18
*** rinigus-m <rinigus-m!~sailfish@jyri-gw.levikom.ee> has quit IRC (Quit: IRC for Sailfish 0.9)18:19
elros34with fix logcat: http://pastebin.com/hJJMRx9K, journal: http://pastebin.com/fBrRm1MG18:19
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters18:26
jusa_elros34: try changing this line https://github.com/mer-hybris/pulseaudio-modules-droid/blob/8.0.51/src/common/droid-util-44.h#L9318:28
jusa_elros34: to include that || defined(DROID_DEVICE_MOTO_MSM8960_JBBL)18:28
*** Kabouik <Kabouik!~kabouik@> has quit IRC (Ping timeout: 240 seconds)18:32
elros34jusa_: still it doesn't work. logcat: http://pastebin.com/KhGibn2j, journal: http://pastebin.com/jDSdZWG718:40
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)19:06
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters19:10
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has joined #sailfishos-porters19:10
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters19:13
*** brodolfo <brodolfo!~Broodle@host123-64-dynamic.55-82-r.retail.telecomitalia.it> has joined #sailfishos-porters19:16
*** faenil_ is now known as faenil19:18
*** lbt_ <lbt_!~david@Maemo/community/contributor/lbt> has quit IRC (Read error: Connection reset by peer)19:19
*** lbt_ <lbt_!~david@78-32-229-233.static.enta.net> has joined #sailfishos-porters19:19
*** lbt_ <lbt_!~david@78-32-229-233.static.enta.net> has quit IRC (Changing host)19:19
*** lbt_ <lbt_!~david@Maemo/community/contributor/lbt> has joined #sailfishos-porters19:19
*** Keij0 <Keij0!~keijo@axx64.internetdsl.tpnet.pl> has quit IRC (Quit: Lost terminal)19:23
*** wdehoog <wdehoog!a39ed8fe@gateway/web/freenode/ip.> has joined #sailfishos-porters19:25
wdehooghi. a lot of videos can not be played on bacon (12.1). irc logs show it has been a problem for a long time19:26
wdehoogis there any clue on how it can be solved?19:26
Nokiuswdehoog: nope, workaroud is libav19:31
wdehooghow can libav solve it? can it be used by minimediaservice?19:32
wdehoogand is the cause of the issue known?19:32
malwdehoog: what kind of videos fail?19:33
wdehoogavc videos. most of them do not work, some do19:33
jusa_elros34: at least the input stream seemed to open fine19:34
wdehoogthe bbb sunflower one (bbb_sunflower_1080p_30fps_normal.mp4) did not work bu reducing to 1920x800 made it work19:35
wdehoogbut maybe something else changed as well.19:36
wdehoogI try to play using the player from harbour or gstreamer playbin. both seem to result in the same error19:36
wdehoogI tried to enble log on various files from framework/av but nothing useful came out of it19:37
elros34jusa_: but still speaker is used  instead headphones19:39
wdehoogmal: do you know of a way to use libav to play any video?19:40
wdehoogsorry should have been Nokius:19:40
*** itbaron <itbaron!~kvirc@> has quit IRC (Read error: Connection reset by peer)19:40
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters19:43
malwdehoog: well just install it19:44
Nokiuswdehoog: I added this repo to my ks and video are playing https://build.merproject.org/project/show/home:Nokius:playground19:45
malNokius: hopefully not to public images19:45
wdehooglibav is already installed19:46
malit needs the gstreamer stuff also19:46
Nokiusmal: some where online but not public shared if so19:47
wdehoogNokius: is this a version of gstreamer that uses it's own decoder?19:47
Nokiusmal: there a two images19:49
Nokiuswdehoog: nope, it's taken from github19:50
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has joined #sailfishos-porters19:52
*** itbaron <itbaron!~kvirc@> has joined #sailfishos-porters19:57
wdehoogNokius: I downloaded the rpm's by hand and get: Fatal error: nothing provides /usr/bin/pkg-config needed by libx264-148-10.1.1.jolla.armv7hl19:58
Nokiuswdehoog: add the repo "ssu ar let-me-play-videos http://repo.merproject.org/obs/home:/Nokius:/playground/sailfish_latest_armv7hl/ ; zypper ref ; zypper in gstreamer1.0-libav "20:00
jusa_elros34: do you have ratelimiter off for journald?20:05
*** horuxan <horuxan!~horuxanxx@> has quit IRC (Read error: Connection reset by peer)20:05
*** horuxan <horuxan!~horuxanxx@> has joined #sailfishos-porters20:05
ballockrinigus: thx, works here too. Will need to diff logcat between cm and sfos.20:06
wdehoogNokius: thanks a lot. with gstreamer1.0-libav_priority_override more videos started to work20:08
Nokiuswdehoog: iirc all played well20:09
Nokiusat leat what I tried20:09
elros34I dont know20:09
*** itbaron <itbaron!~kvirc@> has quit IRC (Ping timeout: 240 seconds)20:10
jusa_elros34: at least it seems so.. anyways, what I can tell from the logs is ohmd signals routing change to headphone, output-wired_headphone port is selected on sink, logcat shows that Headphones are enabled, but then after a couple of seconds ohmd signals routing change back to speaker20:11
wdehoogmal: you sounded worried about this gstreamer-libav being distributed. is that not allowed?20:13
jusa_elros34: if you don't know, then ratelimiter is on.. change journald.conf as shown here: https://sailfishos.org/wiki/User:Jusa , reboot and take logs again.. though I believe the problem is in ohmd (accessory plugin) or in the evdev stuff.. even though the input stream might be broken it's not related to the issue20:14
malwdehoog: read chapter 8.2 of HADK pdf20:15
*** itbaron <itbaron!~kvirc@> has joined #sailfishos-porters20:16
wdehoogmal: aha. is libav more nonfree then the gstreamer plugins?20:18
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-248.play-internet.pl> has joined #sailfishos-porters20:19
jusa_elros34: check which event device is for jack events, and evdev_trace -t device & see what happens when you attach the headphones20:20
elros34I did it erlier20:21
elros34its /dev/input/event520:21
malwdehoog: ask sledges for more information20:22
malelros34: do you get a single even on insert with value 1?20:23
elros34yes, /dev/input/event5: 357.709 - 0x05/EV_SW - 0x002/SW_HEADPHONE_INSERT - 1 on insert20:24
elros34logcat: http://pastebin.com/h4EnKUtT, journal: http://pastebin.com/WCjrUZQ220:26
elros34RateLimitBurst=300 after running sed command20:30
jusa_elros34: just HEADPHONE_INSERT? no extra?20:35
elros34SW_HEADPHONE_INSERT - 120:36
elros34nothing more20:37
elros34except some EV_SYN20:37
*** itbaron <itbaron!~kvirc@> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)20:39
wdehoogNokius: do you mind if I point users to your let-me-play-videos repo?20:42
Nokiuswdehoog: as long it's okay and not violating anything yes but I have no idea if so or not20:43
*** divis1969 <divis1969!~dsmirnov@109-184-82-242.dynamic.mts-nn.ru> has joined #sailfishos-porters20:44
wdehoogNokius: distributing might not be ok but downloading and installing cannot be a problem20:47
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 245 seconds)20:49
Nokiuswdehoog: I have no knowlage about law / regulations with software if you know a good understandable resource point me to it20:49
jusa_elros34: we should check what ohmd logs when connecting.. the magic line is long for that and I don't remember it (nor remember if that is somewhere easy to reach yet), so I'll get back to you on that tomorrow20:52
elros34ok thanks for your help20:53
Nokiusdivis1969: Hi I did the cherry-picking thanks for the links :)20:55
divis1969you're welcome! I'm wondering is there any chances to get in into mainline?20:57
Nokiusdivis1969: as I understood sledges there will be a merge soon(tm)20:59
wdehoogNokius: irclogs from last year show vgrade used these https://github.com/ruedigergad/sailfishos-codec-builds/tree/master/build21:01
wdehoogare these the same?21:01
Nokiuswdehoog: yeap21:01
NokiusI toke from ruediger21:01
wdehoogNokius: thanks then I can also point people to github21:01
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has joined #sailfishos-porters21:02
Nokiuswdehoog: I toke spec and the source21:02
Nokiusthe credit goes to him21:02
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters21:24
*** elros34 <elros34!531fc5b6@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)21:24
*** louisdk <louisdk!~louisdk@> has quit IRC (Ping timeout: 240 seconds)21:29
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 255 seconds)21:29
*** brodolfo <brodolfo!~Broodle@host123-64-dynamic.55-82-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds)21:33
*** keithzg_ <keithzg_!~keithzg@> has joined #sailfishos-porters21:33
*** keithzg <keithzg!~keithzg@> has quit IRC (Remote host closed the connection)21:35
*** keithzg_ is now known as keithzg21:35
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has quit IRC (Quit: Leaving)21:44
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)21:59
*** faenil is now known as faenil_22:04
*** faenil_ is now known as faenil22:04
*** _Razor_ <_Razor_!~razor@81-175-131-136.bb.dnainternet.fi> has quit IRC (Ping timeout: 252 seconds)22:08
*** linuxxr <linuxxr!~brian@ip72-204-125-231.fv.ks.cox.net> has quit IRC (Quit: Leaving)22:10
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving)22:10
*** wdehoog <wdehoog!a39ed8fe@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)22:20
*** miau__ <miau__!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 260 seconds)22:23
*** miau_ <miau_!~miau@55d42341.access.ecotel.net> has quit IRC (Ping timeout: 260 seconds)22:23
divis1969I need to fix the following issue: pulseaudio[1570]: [/system/etc/audio_policy.conf:28] failed to parse line - unknown field (global_configuration)22:24
divis1969perhaps I need to replace the original file with the modified one22:24
divis1969But this file seems come from Cyanogen zip22:25
divis1969What would be the best way to replace it (assuming I cannot change Cyanogen zip)22:25
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has quit IRC (Quit: Segmentation fault)22:26
ballockdivis1969: Why would pulseaudio parse the cm audio_policy...22:26
divis1969I do not know, I've thought it is doing this way.22:27
ballockdivis1969: afaik, not directly, as per it's not parsing it22:27
ballockit's using the pulseaudio-modules-droid, which talk through android's HAL22:28
divis1969Does it use some .so from cyan/android?22:28
ballockdivis1969: this in turn, yes, so the error might indirectly come from android HAL.22:29
divis1969ok, will check it. Actually, this file is used by Cyan as is, so, it is weird why it cannot parse it22:30
ballockdivis1969: but these would be the cm native libraries, so should know the syntax22:30
NeKit I need to fix the following issue: pulseaudio[1570]: [/system/etc/audio_policy.conf:28] failed to parse line - unknown field (global_configuration)22:36
NeKitit's a problem with parsing config by pulseaudio-modules-droid22:36
jusa_ballock: droid talks through android's HAL, but that audio_policy.conf contains the setup for HAL devices22:37
divis1969year, I've found the hybris/mw/pulseaudio-modules-droid/README which explains this22:38
jusa_divis1969: could you paste the conf contents22:38
divis1969Actually, this global_configuration is a correct field, perhaps pulseaudio-modules-droid needs to be updated to support it22:40
jusa_divis1969: yeps, correct field, just new style config.. I already saw someone with device with conf like this, but didn't have time to look more closely into it..22:42
divis1969My first intention was just to remove this field and replace the file. But there are 2 issues for me: 1) how to replace; 2) will it work?22:43
NeKitjusa_, mine Xiaomi hermes22:44
ballockjusa: Nice, I learn new things just by hanging around.22:44
NeKitbut I have crash in test_audio22:45
divis1969For testing purposes I can edit the file in-place in recovery mode.22:45
jusa_divis1969: for the time being if you want to have a workaround, remove the commented first global_configuration part, then comment out all global_configuration, devices {}, gains {}, it should be okeish then22:45
jusa_I might miss something, was just about to go to sleep :)22:46
jusa_but I definitely need to update the parser to handle this config as well, probably I get it done during this week22:46
divis1969what should remain ?  :-)22:47
jusa_divis1969: btw you could probably remount /system as rw22:47
divis1969should I leave only inputs/outputs?22:49
jusa_divis1969: moment22:50
*** cmazieri <cmazieri!~quassel@2804:14c:ca22:16a3:e80d:ccf:2f76:e145> has joined #sailfishos-porters22:51
jusa_divis1969: try this http://up.hilvi.org/audio_policy.conf.modified22:52
*** agomez{M} <agomez{M}!~agomeziga@fanzine.igalia.com> has quit IRC (Remote host closed the connection)22:52
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Remote host closed the connection)22:52
divis1969jusa_: thanks!22:53
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos-porters22:53
*** agomez{M} <agomez{M}!~agomeziga@fanzine.igalia.com> has joined #sailfishos-porters22:53
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome)22:53
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters22:54
*** cmazieri <cmazieri!~quassel@2804:14c:ca22:16a3:e80d:ccf:2f76:e145> has quit IRC (Remote host closed the connection)23:09
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome)23:10
divis1969One more issue: it looks like I have some problems with running 64bit executables from droid-hal-init. The executable just terminate in a moment. At the same time, there is no problems to run it from telnet console. Any suggestion how to debug it? Can I set the LD_DEBUG in the environment? Actually, I've set it in the android init.rc, but I do not see any issues with unresolved symbols or anything else23:11
*** paju <paju!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has quit IRC (Ping timeout: 260 seconds)23:28
*** paju <paju!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has joined #sailfishos-porters23:28
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-248.play-internet.pl> has quit IRC (Quit: Konversation terminated!)23:29
*** Nokius_ <Nokius_!~Nokius@p5DDB7B90.dip0.t-ipconnect.de> has joined #sailfishos-porters23:31
*** Nokius <Nokius!~Nokius@p5DDB7C16.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)23:35
Nokius_:( build_packages.sh stops coz of kernel warnings / gn823:41
*** divis1969 <divis1969!~dsmirnov@109-184-82-242.dynamic.mts-nn.ru> has quit IRC (Remote host closed the connection)23:50

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