Saturday, 2018-04-07

*** elros <elros!~quassel@2a02:a315:e040:3a00:5176:e5c9:cce4:f83c> has quit IRC (Remote host closed the connection)00:01
*** faiizaah_ <faiizaah_!~sailfish@> has quit IRC (Quit: IRC for Sailfish 0.9)00:13
*** doniks_ <doniks_!> has joined #sailfishos-porters00:38
*** doniks <doniks!~doniks@2001:980:8522:1:d0be:3004:1178:7cbe> has quit IRC (Ping timeout: 255 seconds)00:39
*** doniks_ is now known as doniks00:39
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 276 seconds)00:43
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters00:44
*** gexc-tablet <gexc-tablet!> has joined #sailfishos-porters00:52
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 265 seconds)01:29
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters01:30
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters01:51
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 264 seconds)02:36
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters02:36
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 240 seconds)02:44
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters02:45
*** amccarthy <amccarthy!> has joined #sailfishos-porters02:54
*** beidl_ <beidl_!~quassel@> has quit IRC (Remote host closed the connection)03:00
*** MSameer <MSameer!> has quit IRC (Ping timeout: 240 seconds)03:00
*** beidl <beidl!~quassel@> has joined #sailfishos-porters03:01
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 240 seconds)03:03
*** MSameer <MSameer!> has joined #sailfishos-porters03:05
*** jbadiapa_ <jbadiapa_!> has quit IRC (Ping timeout: 268 seconds)03:09
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 240 seconds)03:49
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters03:50
*** Ingvix <Ingvix!~Ingvix@> has quit IRC (Ping timeout: 264 seconds)05:26
*** Ingvix <Ingvix!~Ingvix@> has joined #sailfishos-porters05:26
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection)05:58
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters05:59
*** MeowDude <MeowDude!68ed5629@gateway/web/freenode/ip.> has joined #sailfishos-porters06:07
MeowDudehow to debug usb charging?06:07
kimmolikernel bcm, mce, statefs,
*** gexc-tablet <gexc-tablet!> has quit IRC (Ping timeout: 260 seconds)06:19
MeowDudealso wow magnetic sensor is broken in
MeowDudewhy can't things that work stay consistent!!!06:23
MeowDudealso kimmoli: I removed audioflingerglue and pulseaudioglue from patters, I assumes those aren't needed on tablets?06:23
kimmolino idea06:24
*** RealMeowDude <RealMeowDude!3aaa94ff@gateway/web/freenode/ip.> has joined #sailfishos-porters06:28
RealMeowDudesyntax error near unexpected token 'newline'06:29
RealMeowDudeoy vey that is terrible06:30
RealMeowDudekimmoli: Failed to start pulseaudio.service: Unit pulseaudio.service failed to load: No such file or directory.06:32
RealMeowDudewait I am root oops06:32
RealMeowDudehmm wait you have to be root to start it...06:32
*** murray <murray!> has joined #sailfishos-porters06:34
*** spiiroin <spiiroin!> has quit IRC (Ping timeout: 260 seconds)06:41
*** spiiroin <spiiroin!> has joined #sailfishos-porters06:41
abransonTheKit: yes that's the same colour format - a real standard one!06:53
abransoncan you give me a URL for a broken one? and also do you have the 'use-codec-supplied-width' and height quirks set?06:55
*** wdehoog <wdehoog!a39ee707@gateway/web/freenode/ip.> has joined #sailfishos-porters06:58
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:2d71:331d:66da:efd5> has joined #sailfishos-porters06:58
wdehoogsledges: thanks for the testing repo. could it also be patternized please?06:58
wdehooglbt: could you please patternize nemo:testing:hw:oneplus:bacon06:59
*** Nokius_ is now known as Nokius06:59
Mister_MagisterBacon dont have ota yet?06:59
wdehoogbacon does not have a testing yet.06:59
Mister_MagisterBut had ota using devel?07:00
wdehoogand I never do a OTA. some users did it using the devel repo07:00
Mister_MagisterWhy you never do that?07:00
wdehoognever dared to do that. I use multirom and I really want to keep that working07:01
wdehoogif I understand well it should work but I don;t mind starting with a new sailfish07:01
wdehoogby the way do you know what this 'patternizing' means? what does it do?07:01
Mister_MagisterAdds _patterns repo07:04
Mister_MagisterAnd its generated every time you update07:04
Mister_MagisterSo you can build zip using pattenised repi07:04
Mister_MagisterBecause you have patterns from droid-configs07:05
Mister_MagisterYou cannot build zip using not patternised repo cause there would be no patterns07:05
Mister_MagisterIts same as in local07:05
wdehoogthanks. so it is needed to keep track of avaibalility and version information of packages stored in zips?07:07
wdehoog( is also a mystery to me)07:08
*** murray <murray!> has quit IRC (Quit: Leaving)07:09
Mister_MagisterIn droid-configs07:09
Mister_MagisterYiu have patterns folder07:09
Mister_MagisterYou have patterns there07:09
Mister_MagisterSo.mic knows what he have to install07:09
*** murray <murray!> has joined #sailfishos-porters07:10
Mister_MagisterAnd both patternising and extracts them and so mic can use them07:10
wdehoogMister_Magister: and is there any way to create this _pattern project with contents by myself instead of waiting for the OBS patternizing?07:10
Mister_MagisterThats problem :p07:11
Mister_MagisterBeing merbot depend is painful07:11
wdehoogoh well have to wait then.07:13
*** wdehoog <wdehoog!a39ee707@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)07:14
T4<adampigg> @mal [piggz: nice, sorry for not helping you tonight …], there.... Not sure it wasn't just a code problem in the app!07:17
MeowDudeif I manually build an rpm and just toss it in droid-local-repo how can I add it to patterns without it erroring out/getting the name wrong07:20
*** sydney_u1tangle <sydney_u1tangle!~sydney@supertux/sydney> has joined #sailfishos-porters07:22
MeowDudesydney_u1tangle: are you an experienced porter?07:22
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has quit IRC (Ping timeout: 255 seconds)07:24
TheKitabranson, I don't have those quirks, should be defined in /etc/gst-droid/gstdroidcodec.conf?07:44
abransonTheKit: yeah, do you have an example? otherwise i'll try to dig one up07:45
abransonnot sure if it's in the hadk07:45
TheKitlet me find first07:46
TheKitso it should be use-codec-supplied-height;use-codec-supplied-width?07:47
abransonTheKit: yep, semicolon07:49
abransonalso a video/mp4v-es and video/x-vnd.on2.vp8 lines, but I'm not sure the distinction is being made atm07:50
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:2d71:331d:66da:efd5> has quit IRC (Remote host closed the connection)07:53
TheKitYouTube videos play fine in browser now07:56
TheKitthanks a lot for the fix!07:56
TheKitso basically that quirk tells to use codec's width/height, not the one from buffer?07:58
Mister_Magisterabranson: any idea of making youtube playback more stable?08:00
Mister_MagisterI can watch only one video second always crash08:00
*** murray <murray!> has quit IRC (Quit: Leaving)08:02
abransonTheKit: yeah I think the codec returns a bigger buffer with cropping info. maybe because it needs specific alignment. don't know for sure.08:03
abransonMister_Magister: not seen that happen before, maybe see what's crashing with gdb08:03
Mister_MagisterOkay08:04 playback on ports is broken08:04
Mister_MagisterMany videos dont play at all08:04
abransonMister_Magister: do you have the 'use-codec-supplied-height;use-codec-supplied-width' quirks?08:05
abransonthat often helps with browser video crashes08:05
T4<adampigg> @Mister_Magister [ playback on ports is broken], Not on my port :D08:06
*** RealMeowDude <RealMeowDude!3aaa94ff@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)08:06
Mister_Magister@adampigg want me to name phobes that have problem with it?08:06
Mister_Magisterabranson: how do i enable those08:07
abransonMister_Magister: as mentioned above by TheKit08:07
Mister_MagisterCan i test it without reboot?08:10
riniguskimmoli: just opened an issue for onyx call volume being stuck, reminds of issue #2. either I don't know how to test properly, but the same issue is in the CM base that we use.08:15
kimmolirinigus: ok08:15
MeowDudegod darnit why are there SO MANY regression bugs in my clean build08:16
riniguskimmoli: other than that, seems to be working fine. actdead and leds are fixed, no new regressions detected by me. its available via :devel, maybe you could start testing too?08:16
MeowDudeare you guys sure SDSVideoFix was merged with master?08:16
MeowDudeVideo is broken again, MP3 files are no longer supported, and camera app doesn't even open up08:17
kimmolirinigus: öö you mean your during-call volume for earpiece (using phone as a phone should be used) does not adjust?08:18
MeowDudeis anyone else experiencing regression bugs moving from to
riniguskimmoli: yes, and the same for CM. have you tried?08:19
rinigusMeowDude: not for onyx08:19
MeowDudeI want audio and video working before Sailfish OS 3.0 comes out08:19
riniguskimmoli: but you have to be in the actual call for testing it, just tone adjusts08:20
kimmolinot tested CM, but the incall volume adjustment works for me ( still)08:21
MeowDudealso when I was building for wingray, there was no KERNEL_OBJ in my target/*/obj folder08:21
*** elros <elros!> has joined #sailfishos-porters08:21
MeowDudeand there was no wingray config file...08:21
riniguskimmoli: ok, that could be related to digital mic as well. I'll have to test without it.08:21
kimmolii tested with 2 onyxes, <> and worked both ways08:22
riniguskimmoli: but that's using phone as phone should be used, right?08:23
kimmoliHF is stuck as usual08:23
Mister_MagisterHOLY SHIT08:26
Mister_Magisterabranson: thank you very much08:26
Mister_MagisterVideo finakly is stable08:26
Mister_MagisterAnd even mkre videos are working08:27
riniguskimmoli: I'll have to look into how to get rid of dig mic, it seems to be stuck in it. bit of time for testing08:29
MeowDudeabranson: was SDSVideoFIx merged with master?08:29
kimmolirinigus: it was at the end of #208:30
MeowDudealso are there any audio issues with the SDSVideoFix branch?08:30
abransonYes everything's merged now. Not seen any audio issues - it's a video thing really.08:30
TheKitMeowDude, if you don't have system audio playing, gst-droid is not related to this08:31
MeowDudeVideo is broken now too08:32
MeowDudeit was working before and now it is broke08:32
MeowDudebut yes Audio is also broken and has been and I have no idea how to debug it08:32
MeowDudejusa left me hanging last time08:32
MeowDudefor now I am going to switch to my last droidmedia folder - the SDS one, master broke video again for me :(08:33
MeowDudealso TheKit: applying this patch '' gives me build errors08:34
TheKitwhat do you need it for?08:35
MeowDudeI am desperatley applying audio patches08:37
MeowDudeargh I hate flying blind like this08:37
MeowDudeits frustrating beyond belief08:37
riniguskimmoli: switching mics didn't help. I'll have to test with probably.08:39
MeowDudewhy can't there just be more official tablets running SFOS08:39
MeowDudeYouyota has pretty much bailed, and the INOI 10.1 will most likely be delayed and lack alien dalvik support08:39
T4<adampigg> Major breakthrough. call failures / reboots / missing audio on BT car kit with  the backported drivers woop!08:40
MeowDude"The new INOI tablet comes in two different versions: 8” INOI T8 and 10” INOI T10" - I have yet to even find a spec sheet or simple image of the devices, either one!08:41
MeowDudethat's it I am taking a break from porting until Sailfish OS 3 comes out.08:42
*** ghosalmartin <ghosalmartin!~mgrover@> has joined #sailfishos-porters08:43
MeowDudewhen do you guys think the Sailfish OS 3 EA will come out>08:43
T4<adampigg> Why?08:44
T4<adampigg> Not for a while,.2.2 first08:44
TheKit@adampigg, does video play fine in YTPlayer on mido with gst-omx?08:45
MeowDudeI am done porting until Sailfish OS 3 comes out. This is a nightmare. I respect you all for doing this but fuck is this annoying.08:45
TheKitit gets decoded, but most of frames get skipped08:45
TheKit(on addison)08:46
TheKitMeowDude, not like Sailfish OS 3 will suddenly completely change the middleware or get your specific device quirks incorporated08:46
MeowDudeits not that, its just that I don't feel like fixing stuff and then dealing with the regression bugs I know SFOS 3 will have08:47
MeowDudeplus this porting shit has taken so much of my time. I am at my desk more than ever now08:47
MeowDudeI pull late nights and lose sleep for nothing. The regression bugs I have gotten were the last straw.08:47
TheKitwell, it's fine to take a rest08:48
*** elros <elros!> has quit IRC (Quit: IRC for Sailfish 0.9)08:52
*** elros <elros!~quassel@2a02:a315:e040:3a00:cd95:3932:d7ef:e0e7> has joined #sailfishos-porters08:52
T4<adampigg> @thekit seems playback is jerky/skipping frames08:54
TheKitsame issue then, wonder why, because downloading same video in YTPlayer and playing it in gallery works fine08:55
TheKitbut it's not YTPlayer-specific, rubdos told Quickditt also has this08:56
T4<adampigg> Odd08:58
T4<adampigg> Abranson?08:58
*** piggz <piggz!~piggz@> has quit IRC (Ping timeout: 260 seconds)09:04
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters09:10
mal@adampigg did oyu update the test app in github with any latest changes?09:23
T4<adampigg> Mal, no...just needs one call prior prior to connect to set address type to random09:30
T4<adampigg> Not needed on desktop09:30
T4<adampigg> Mal,.later today i expect to have a notification listener sendinf to the watch09:31
rubdosquickditt has something else, TheKit.09:31
rubdosbut I think it's related09:31
T4<adampigg> At kids football  atm tho09:32
rubdoswhat Quickditt has, is -- I think -- the exact same bug as the browser playing videos09:32
rubdosquickditt crashes over it, the browser doesn't09:32
T4<adampigg> And nees to do some woodwork09:32
rubdosbut it's kind of a memory leak in the decoding of the vid me thinks09:32
*** Kabouik_ <Kabouik_!~kabouik@> has joined #sailfishos-porters09:48
*** Kabouik <Kabouik!> has quit IRC (Ping timeout: 260 seconds)09:50
*** faiizaah <faiizaah!~sailfish@> has joined #sailfishos-porters10:00
riniguskimmoli: for me, volume doesn't adjust in for regular voice call either. I wonder whether there are some hw differences in my dev inducing it (we had different best settings). would be interesting to see what any of your devs would do with plain cm.10:00
kimmoliJust pasted a lot, see here
riniguswill try to reproduce10:04
*** MeowDude <MeowDude!68ed5629@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)10:04
r0kk3rzthe curse on the jtab seems quite strong10:05
riniguskimmoli: your settings helped, I had to drop by deleting file in /data/properties, reboot. after that, I can adjust volume in regular phone call, not HF10:15
kimmoliiirc that was explained at end of #210:16
riniguskimmoli: interesting aspect, even without digital mic specified in props, it loads a digital one (voice-dmic-ef or voice-speaker-dmic-ef). for me, that's exactly what I want. I wonder, which mic do you have during regular call and HF (/usr/libexec/droid-hybris/system/bin/logcat | grep mic)10:17
riniguskimmoli: so far, (end and middle of #2) was related to quality, not volume adjustment. at least, as far as read it10:19
kimmoliJust pasted a lot, see here
riniguskimmoli: same for me10:20
riniguskimmoli: compare to , earlier version. while voice-speaker-dmic-ef was before as well, you preferred handset-mic for regular calls.10:24
riniguskimmoli: but I doubt it has effect on speaker phone calls...10:25
kimmolidunno what it actually used10:25
kimmoliand how accurate those logcat prints are :)10:25
rinigusno, I think they are fine. its what I remember from when I started looking into it when moved from mako. I had originally handset-mic and got complaints regarding call quality -> switching to dmic resolved it for me. its also consistent with issue #2 discussion. now I wonder what changed and why mic=digital is default now10:28
rinigusbut OK, so seems to do better than note that its using pa11 - haven't got any feedback yet on whether its recommended to downgrade.10:29
riniguskimmoli: as for speaker mode, maybe you could try with plain CM? [twrp backup -> flash -> twrp restore SFOS; 30 min] or you have a better idea?10:31
kimmolii can check later today10:32
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 240 seconds)10:34
riniguskimmoli: and when you feel like it, maybe its time for testing :).10:35
*** psachin <psachin!~psachin@> has joined #sailfishos-porters10:36
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters10:38
*** eyome <eyome!> has joined #sailfishos-porters10:55
*** piggz <piggz!~piggz@> has joined #sailfishos-porters11:33
piggzmal: the BT drivers are so much better .... no longer do i need to worry about making calls in the car!11:34
malpiggz: cool11:34
malpiggz: so audio routing works better?11:35
piggzmal: before, only the first call would work....after that, the audio wasnt routed11:35
piggzinitiating a call from the car would randomly cause reboots11:35
piggzmade 5 or 6 calls this morning perfectly11:35
piggzand received11:35
malpiggz: I just found out that with the new BT drivers and bluez5 FP2 doesn't have kernel panics anymore when bluetooth if I'm using latest firmware partition11:36
piggzcool, i was having panics too ... seems great now11:37
piggzthats me, feature complete11:37
malpiggz: although there is a minimal possibility that was fixed in latest firmware but I haven't verified it yet11:37
malanyway it works and I'm happy11:37
malnow I just need to finish one sensor kernel driver so I can actually use the latest firmware11:38
piggzit might have been some changes in my hci_smd driver that caused it ... but, as you say, its working now and im happy .... i cant remember why i made those changed11:38
piggzit would be interesting to go back to my older kernel to see if LE works with just the code change11:38
malpiggz: did you do any fixes to the instructions in faq?11:43
piggzno ... will do that now if u want11:43
malif you have ready fixes for the for example you can replace the paste there11:44
malpiggz: I think the instruction might be missing some kernel flag changes to device kernel11:45
malupdated it a bit11:48
piggz^^just testing that now11:49
piggzyes, that works11:49
ghosalmartinthats lineage 15.1 all cloned, time to rock and roll...actually first food :P11:49
*** ghosalmartin <ghosalmartin!~mgrover@> has quit IRC (Remote host closed the connection)11:50
piggzmal: updated the, and added a note about kernel 3.1811:51
malpiggz: that failed for me11:51
malYour kernel headers are incomplete/not installed.11:52
piggzis your $(DEVICE) ok?11:52
piggzwhat is the make command line, does it contain FP2?11:52
piggzhm, mine contains mido!11:53
piggzthatll be why11:53
malthe issue is that FP2 has two device codenames, one in android side and another in sailfish side11:53
piggzright .... thats specific to you then ;)11:53
malbut I'm pretty sure the android build has it's own place for device codename11:54
malso you don't have to use $DEVICE11:54
malwhich would be more correct anyway to use the value from android build system11:54
piggzthere is also CM_BUILD11:56
piggzmal: i think $(TARGET_DEVICE)11:57
malpiggz: actually just replace ../../out/target/product/$(DEVICE)/obj/KERNEL_OBJ/ with ../../$(BACKPORTS_KERNEL_OUT)11:57
malstill some other issues also11:58
kimmolirinigus: on CM, neither of volume control works12:00
piggzmal: does, ../../out/target/product/$(TARGET_DEVICE)/obj/KERNEL_OBJ/12:02
piggzwork for you?12:02
piggzmal: maybe ... shouldnt they both be just $(BACKPORT_KERNEL_OUT), without the ../../12:04
piggzlooking at it, i dont think my O= like looks right12:04
malpiggz: also KERNEL_CROSS_COMPILE is not defined for me12:05
riniguskimmoli: ok, so our base sucks.12:05
piggzmal: hmmm, you damn old 32bit kernels12:05
Mister_MagisterWhat are you working on guys?12:05
malpiggz: maybe TARGET_KERNEL_ARCH ?12:07
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 276 seconds)12:07
malpiggz: for the KERNEL_ARCH12:07
malwhich is also missing12:07
Mister_Magisterpiggz: mal: ?12:07
malMister_Magister: fixing build instructions for backported kernel bluetooth drivers12:08
Mister_MagisterOh ok :)12:08
rinigusmal: how far back? would 3.4 benefit? I have similar issue as piggz had (disconnection after a call in a car); maybe I should test bluez5 too...12:10
malrinigus: I use those on 3.412:10
malrinigus: made bluez5 possible on fp212:10
piggzrinigus: yes, you want it12:11
r0kk3rzhaving a bt driver that actually supports the chips is a great idea yes :)12:11
piggzmal: this is my current, apart from the cross compile, it should be ok?
rinigusgreat, I saw you moved to bluez5 on fp2, will have to read faq and your changes. kimmoli had bluez5 in his issue list as well, maybe its time to do it12:12
riniguspiggz: thanks!12:12
r0kk3rzbluez5 is probably neither here nor there, the kernel backporting would probably improve things anyway12:14
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters12:15
malpiggz: something wrong with the BACKPORTS_KERNEL_OUT, I think we could actually just use ../../$(KERNEL_OUT)12:16
malpiggz: the ../../ really needs to be there12:17
malat least for me12:17
*** psachin <psachin!~psachin@> has quit IRC (Ping timeout: 240 seconds)12:18
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 240 seconds)12:19
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters12:19
piggzmal: ok, i'll try that12:20
piggzmal: nope, again, it would work without the ../../ for me!12:25
piggzmal: ah ... it would work with ../..12:26
piggzbecuase i have an extra / in a varaible somewhere12:26
piggzwe should go with your version incase i have something wrong locally12:26
piggzs/wrong/non standard12:27
malstill need to figure out the CROSS_COMPILE12:27
piggzmal: easy solution ... link to 2 files, one ber arch, but thats cheating12:28
malmaybe some if magic to check is CROSS_COMPILE is empty12:28
malif it's empty check make some guess based on TARGET_KERNEL_ARCH12:29
*** ahjolinna <ahjolinna!> has quit IRC (Read error: Connection reset by peer)12:34
piggzmal: link your original...12:34
*** ahjo <ahjo!> has joined #sailfishos-porters12:34
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 265 seconds)12:36
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters12:36
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 240 seconds)12:40
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters12:41
piggzmal: apart from the O= and KLIB= ... does this work for you?
malpiggz: is it really so that ../../ doesn't work for you?12:47
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Read error: Connection reset by peer)12:48
piggzmal: yeah, adding ../../ makes headers not found....12:48
piggzmal: off out now, later12:49
malpiggz: I found some issues, trying to see how to prevent the need for ../../12:49
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters12:49
*** doniks <doniks!> has quit IRC (Quit: doniks)12:51
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 240 seconds)13:08
*** greguu <greguu!~greguu@> has quit IRC (Ping timeout: 256 seconds)13:30
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has quit IRC (Ping timeout: 268 seconds)13:31
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@> has joined #sailfishos-porters13:31
malpiggz: I added a new version to faq, I think that should work for you also13:39
*** Kabouik_ <Kabouik_!~kabouik@> has quit IRC (Quit: Leaving)13:55
*** Kabouik <Kabouik!~kabouik@> has joined #sailfishos-porters13:55
*** faiizaah <faiizaah!~sailfish@> has quit IRC (Quit: IRC for Sailfish 0.9)13:55
T4<adampigg> Thanks mal..ill check it later13:56
malif it doesn't there is a simple fix for it13:59
*** filip <filip!> has joined #sailfishos-porters14:36
*** PeperJohnny <PeperJohnny!> has joined #sailfishos-porters14:50
*** elros <elros!~quassel@2a02:a315:e040:3a00:cd95:3932:d7ef:e0e7> has quit IRC (Remote host closed the connection)15:29
*** PeperJohnny <PeperJohnny!> has quit IRC (Quit: Konversation terminated!)15:39
*** shark1 <shark1!ab3d6d58@gateway/web/freenode/ip.> has joined #sailfishos-porters15:46
shark1ok, now Iam left with only 3 major bugs in my port I suppose :p15:47
*** sydney_u1tangle is now known as sydney_untangle15:48
shark11.Bluetooth 2.rotation sensor is not working 3.CDLA15:49
shark1for anyone who does not know, CDLA=Continuous Digital Lossless Audio.. Introduced by my device manufacturer :p15:51
*** greguu <greguu!~greguu@> has joined #sailfishos-porters15:52
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:9c61:1567:3617:3e62> has joined #sailfishos-porters15:52
shark1To anyone who knows about this! Does having kexec support give any extra edge in sailfish?16:00
TheKitfor Sailfish - no, but it can be useful for multiboot16:01
shark1TheKit : ok, thanks16:03
kimmolicdla should work if you get the usb dac work, maybe need some kernel modules, udev rules and pa configs16:06
piggzmal: still doesnt work16:11
shark1kimmoli: ok, I will look into that16:12
*** murray <murray!> has joined #sailfishos-porters16:13
*** shark1 <shark1!ab3d6d58@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)16:26
*** eyome <eyome!> has quit IRC (Quit: eyome)16:33
malpiggz: hmm, I checked and that's how it was in your kernel16:35
*** murray <murray!> has quit IRC (Quit: Leaving)16:36
malpiggz: in your kernel it defines that BUILD_ROOT_LOC as ../../16:39
malpiggz: did you run make backports in $ANDROID_ROOT ?16:39
piggzoh, no16:40
piggzhang on16:40
*** murray <murray!> has joined #sailfishos-porters16:41
*** shark1 <shark1!ab3d6d58@gateway/web/freenode/ip.> has joined #sailfishos-porters16:45
shark1Does sailfish support EAS?16:45
*** gexc-tablet <gexc-tablet!> has joined #sailfishos-porters16:47
piggzmal: no, still the same ... there are multiple problems with this line:16:47
piggzmake -C external/backports-bluetooth O=../..//parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ KLIB_BUILD=../..//parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ ARCH= CROSS_COMPILE=CROSS_COMPILE=" aarch64-linux-androidkernel-"16:47
piggzthe cross_compile is messed up16:48
malpiggz: what did you add as the variable?16:48
malto O=16:48
piggzits as yours16:48
shark1mal: does sailfish support EAS?16:49
malwhat is EAS?16:49
piggzvpn stuff isnt it?16:49
shark1Energy aware scheduling16:49
piggzah, no then :D16:49
malpiggz: just to be sure you have O=../../$(KERNEL_OUT) and you run make backports while in $ANDROID_ROOT?16:50
shark1Is a kernel feature requires perfd support in android16:50
shark1But I don't know about sailfish.16:50
piggzmal: thats not whats in
malpiggz: well the one I had was wrong it seems16:52
malpiggz: and
malso in your kernel it uses ../../$(KERNEL_OUT)16:53
malor ../16:53
malassuming which of the conditions is active16:54
piggzmake -C external/backports-bluetooth O=../..//parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ KLIB_BUILD=../..//parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=CROSS_COMPILE=" aarch64-linux-androidkernel-"16:54
malpiggz: why in the hell does your $(KERNEL_OUT) expand to the absolute path16:55
malpiggz: how does $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ expand?16:56
malif you replace $(KERNEL_OUT) with that16:57
piggzbtw, in the vars that print at the start i have16:58
piggzthat expanded to16:58
piggzmake -C external/backports-bluetooth O=/parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ KLIB_BUILD=../..//parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=CROSS_COMPILE=" aarch64-linux-androidkernel-"16:58
piggzwhich i think is right...16:59
malpiggz: ok, maybe we just should change the condition I added in the last one to check if $(KERNEL_OUT) starts with "/", in which case you use it as is, if it doesn't then use ../../17:00
malor check if it starts with out/ and then do the opposite17:01
malI think the latter is more safe17:01
piggzmal: also, the ARCH= was wrong17:01
malthat was directly from your code17:01
malpiggz: so you don't have TARGET_KERNEL_ARCH ?17:02
piggzno, i originally used arch=$(kernel_arch) .. then we added target_17:02
piggzbut target_.... isnt defined here17:02
malI don't have kernel_arch17:02
piggzso, that is easy enough to check for then17:02
malso one more condition17:02
malwhy do they always change things17:03
*** Kabouik_ <Kabouik_!> has joined #sailfishos-porters17:21
*** PeperJohnny <PeperJohnny!> has joined #sailfishos-porters17:23
*** Kabouik <Kabouik!~kabouik@> has quit IRC (Ping timeout: 260 seconds)17:24
malpiggz: should I make a new version of the or will you?17:24
piggzmal: lets see what i can do...17:25
*** PeperJohnny <PeperJohnny!> has quit IRC (Client Quit)17:25
*** PeperJohnny <PeperJohnny!> has joined #sailfishos-porters17:34
piggzmal: does this work for you? i think i got it without a condition
*** PeperJohnny <PeperJohnny!> has quit IRC (Quit: Konversation terminated!)17:40
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:9c61:1567:3617:3e62> has quit IRC (Remote host closed the connection)17:41
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:8c0a:a8d7:4b86:9849> has joined #sailfishos-porters17:42
malpiggz: nope, you looked at my previous version you saw that I checked if $(BUILD_ROOT_LOC) is defined17:43
piggzk..... i cant see how to check if a string starts-with ... only if a string contains17:43
malif you have that defined why didn't the previous check work17:44
malor is your $(BUILD_ROOT_LOC) empty?17:44
malpretty sure it is17:45
malafaik that is only defined in kernel .mk17:45
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection)17:47
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters17:47
piggzmal: added some $(warning ... lets see whats what17:48
piggzmal: so, this:17:49
piggz$(warning $(BUILD_ROOT_LOC))17:49
piggz$(warning $(KERNEL_OUT))17:49
piggz$(warning $(BACKPORTS_KERNEL_OUT))17:49
piggzexternal/backports-bluetooth/ ../../17:49
piggzso both are empty!17:50
piggzdo we need to include another .mk from somewhere?17:50
malhmm, then where does it get the path for O=17:50
piggzyeah, was thinkig that when the last command worked!17:50
piggzif only they used cmake for anddroid17:52
malpiggz: how about $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ ?17:52
malis that looking ok17:52
piggzexpands to17:53
piggzmake -C external/backports-bluetooth O=/parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj/KERNEL_OBJ17:53
malbut you just said that $(KERNEL_OUT) is empty?17:54
malso it uses some default path17:54
piggzyes, it must do17:55
piggzmal: $(warning $(TARGET_OUT_INTERMEDIATES))17:56
piggzexpands to17:56
piggzexternal/backports-bluetooth/ /parentroot/parentroot/data/piggz/mer/android/droid.mido14/out/target/product/mido/obj17:56
malhmm, so for some odd reason your build system uses always absolute paths17:56
piggzmal: what does your target_out)intermediates expand to?17:59
malsame as KERNEL_OUT18:01
*** Kabouik_ <Kabouik_!> has quit IRC (Ping timeout: 264 seconds)18:03
*** Kabouik <Kabouik!> has joined #sailfishos-porters18:05
*** Nokius_ <Nokius_!> has joined #sailfishos-porters18:15
*** Nokius <Nokius!> has quit IRC (Ping timeout: 240 seconds)18:18
*** ahjo is now known as ahjolinna18:21
*** K0JIbKA <K0JIbKA!~K0JIbKA@> has joined #sailfishos-porters18:22
malpiggz: you have some bluez5 plugins enabled, what do those do?
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:8c0a:a8d7:4b86:9849> has quit IRC (Remote host closed the connection)18:37
piggzmal: hands free profile18:42
piggzi think jusa recommended that18:42
piggzhfp_ag = hands free profile audio gateway18:43
piggzthere isa  reason not to enable the other but i cant remember18:43
malpiggz: ok, then I probably should enable that hfp_ag also on fp218:44
malpiggz: wondering should we enable gatt in bluez?18:44
piggzmal: yes, give it a go ... and we could reconfirm with a sailor and add to faw18:44
piggzmal: oh, how to do that?18:45
malnot sure what that actually does or if gatt will be enabled automatically in some cases or from apps or what18:46
vknechtis there a "best of breed" jolla-camera-hw.txt for devices with sony imx214 ?18:46
malvknecht: camres can be used to create initial camera config18:47
malpiggz: also what does that do18:48
vknechtyes, as the hadk tells to do... I have such conf but it's minimal :
piggzmal: i think enablegatt is for a server18:49
malpiggz: ok18:49
vknechtbut it seems camera app lags, and better conf might help, esp. wrt. viewfinderResolution ?18:50
malvknecht: show the file you have now18:50
vknechtthe one I linked above :
vknecht(generated by driod-camres as per hadk doc)18:52
*** XenoPL <XenoPL!~Xeno@> has joined #sailfishos-porters18:52
*** Jaymzz_ <Jaymzz_!> has quit IRC (Ping timeout: 260 seconds)18:54
*** shark1 <shark1!ab3d6d58@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)19:29
*** krnlyng <krnlyng!> has joined #sailfishos-porters19:51
rinigusmal & piggz: I am at the stage of "make backports" which fails badly with faq makefile as well as the makefile from above:
riniguslooks like my config is closer to piggz, in terms of absolute path.20:19
*** lpotter <lpotter!~quassel@> has quit IRC (Ping timeout: 265 seconds)20:22
rinigusI am sorry for leaving with the paste ... its rather late now though for me, I'll try to catch up tomorrow morning.20:22
*** lpotter <lpotter!~quassel@> has joined #sailfishos-porters20:24
*** lpotter <lpotter!~quassel@> has quit IRC (Ping timeout: 256 seconds)20:30
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 264 seconds)20:32
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters20:39
*** lpotter <lpotter!~quassel@2001:8003:645f:c300:ba27:ebff:febb:59b> has joined #sailfishos-porters20:47
*** K0JIbKA <K0JIbKA!~K0JIbKA@> has quit IRC (Quit: K0JIbKA)20:50
malrinigus: the makefile is a bit buggy at the moment20:53
*** krnlyng <krnlyng!> has quit IRC (Read error: Connection reset by peer)20:57
*** gmoro_ <gmoro_!~gmoro@> has joined #sailfishos-porters20:57
*** gmoro <gmoro!~gmoro@> has quit IRC (Ping timeout: 240 seconds)20:57
*** krnlyng <krnlyng!> has joined #sailfishos-porters21:01
*** krnlyng <krnlyng!> has quit IRC (Remote host closed the connection)21:03
*** krnlyng <krnlyng!> has joined #sailfishos-porters21:03
piggzmal: KERNEL_ARCH and TARGET_KERNEL_ARCH are both empty when tested ... so only get populated from defaults when executing the command21:18
*** krnlyng <krnlyng!> has quit IRC (Read error: Connection reset by peer)21:18
*** elros <elros!~quassel@2a02:a315:e040:3a00:2578:1ba5:6e1c:527a> has joined #sailfishos-porters21:24
*** doniks <doniks!> has joined #sailfishos-porters21:36
malpiggz: ok, I'll do some testing tomorrow21:37
piggzmal: adding this populates most of the variables ... but not the arch stuff21:51
piggzinclude $(BACKPORT_DIR)/../../kernel/xiaomi/msm8953/AndroidKernel.mk21:51
malpiggz: would TARGET_ARCH work?22:16
piggzmal: i was thinking that, as it gets printed early on22:16
piggzlets print it22:17
malpiggz: at least that works for me22:18
*** XenoPL <XenoPL!~Xeno@> has quit IRC (Ping timeout: 264 seconds)22:18
piggzmal: with this:22:20
piggzifeq ($(TARGET_ARCH),arm64)22:20
piggzCROSS_COMPILE :=aarch64-linux-androidkernel-22:20
piggzCROSS_COMPILE :=arm-linux-androideabi-22:20
*** cxl000 <cxl000!> has quit IRC (Ping timeout: 260 seconds)22:22
*** Kabouik_ <Kabouik_!> has joined #sailfishos-porters22:24
malpiggz: I have to use KERNEL_CROSS_COMPILE for the variable for it to work, otherwise works22:25
piggzmal: well, i changed it in the make command to CROSS_COMPILE=$(CROSS_COMPILE)22:25
piggzbecuase i kernel_cross_compile gets set automatically22:26
piggzi think22:26
piggzand im my case, it was wrong22:26
malthen name it for example BACKPORT_CROSS_COMPILE22:27
piggzthat works for me, except the final solution for the path22:27
malfor me CROSS_COMPILE failed because it contained some path22:27
mallet's use BACKPORTS_CROSS_COMPILE to make it consistent22:29
piggzmal: ^^ works for me ... but needs the path fix for you22:30
malyes, that works otherwise, just the path needs fixing22:31
*** lpotter <lpotter!~quassel@2001:8003:645f:c300:ba27:ebff:febb:59b> has quit IRC (Ping timeout: 265 seconds)22:32
*** lpotter <lpotter!~quassel@> has joined #sailfishos-porters22:33
malpiggz: try this
piggzmal: yep, thats it ... only had to change the spaces to tabs22:43
malhmm I did change those to tabs when adding it to pastebin22:43
piggzmal: ah, it works if view raw22:44
malok, good, then I'll add the raw link to faq22:45
malquite many iterations to get a working makefile22:46
*** elros <elros!~quassel@2a02:a315:e040:3a00:2578:1ba5:6e1c:527a> has quit IRC (Remote host closed the connection)22:48
*** murray <murray!> has quit IRC (Ping timeout: 260 seconds)23:12
*** Kabouik_ <Kabouik_!> has quit IRC (Remote host closed the connection)23:19
*** Kabouik_ <Kabouik_!> has joined #sailfishos-porters23:21
*** Kabouik_ <Kabouik_!> has quit IRC (Remote host closed the connection)23:25
*** cxl000 <cxl000!> has joined #sailfishos-porters23:46

Generated by 2.17.1 by Marius Gedminas - find it at!