Monday, 2017-02-06

*** M4rtinK <M4rtinK!> has quit IRC (Ping timeout: 260 seconds)00:04
*** paju <paju!> has quit IRC (Ping timeout: 260 seconds)00:12
abransondstm: my android6 branch of droidmedia now has fake ProcessInfoService and CameraServiceProxy. Camera starts up quickly now. Video recording's broken though.00:12
*** ricmm <ricmm!> has quit IRC (Ping timeout: 260 seconds)00:13
*** paju <paju!> has joined #sailfishos-porters00:13
*** ricmm <ricmm!> has joined #sailfishos-porters00:14
dstmabranson: ty, I'll check it out00:14
dstmabranson: right, video recording doesn't work, I haven't checked it yet00:17
dstmdstm: I hope 'states[i] = 0' wont confuse androids frameworks, do u know how the states are used?00:29
*** dstm <dstm!> has quit IRC (Quit: WeeChat 1.7)00:50
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)01:22
*** drFaustroll <drFaustroll!~drFaustro@> has joined #sailfishos-porters01:22
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters01:22
*** zhxt <zhxt!~zhxt@> has quit IRC (Quit: Konversation terminated!)02:40
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has joined #sailfishos-porters03:21
akhil_surabhimal: ping03:25
akhil_surabhican anyone please tell me the password for ssh nemo@
*** miau_ <miau_!> has joined #sailfishos-porters03:38
*** miau__ <miau__!> has quit IRC (Ping timeout: 256 seconds)03:42
miau_akhil_surabhi: Youncan set it in settings or via telnet03:47
akhil_surabhimiau_: i've a problem with settings, developer mode won't open up, telnet won't work as well03:56
*** spiiroin <spiiroin!> has quit IRC (Ping timeout: 240 seconds)05:59
*** lpotter <lpotter!> has quit IRC (Ping timeout: 256 seconds)06:18
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)06:36
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:999:2a77:c5bc:e774> has joined #sailfishos-porters06:41
spiiroinlitew: there is a task/todo item for adding "cpu-keepalive clients query", but ... meanwhile you can either run mce one notch more verbose to get that stuff in the logs06:44
abransonmiau_: are you still getting the camera permission denied?07:15
*** lpotter <lpotter!> has joined #sailfishos-porters07:15
*** platicus <platicus!> has joined #sailfishos-porters07:19
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters07:26
miau_abranson: Compiled droidmedia a few seconds ago.07:27
miau_abranson: It works :)07:28
*** drFaustroll <drFaustroll!> has joined #sailfishos-porters07:33
*** drFaustroll <drFaustroll!> has quit IRC (Changing host)07:33
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters07:33
*** platicus <platicus!> has quit IRC (Ping timeout: 264 seconds)07:34
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters07:36
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)07:37
abransonhey great. I got a thumbs up from matti, so I'll merge that as soon as I've checked dstm's good point. I think I should set the states to something, but at the same time I don't want android processes having that sort of access to sailfish process info.07:38
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Quit:
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters07:42
*** platicus <platicus!> has joined #sailfishos-porters07:47
*** cxl000 <cxl000!> has joined #sailfishos-porters07:54
abransondstm: here are the possible states. i'm not sure there's a good null value, but 0 seems as good a value as any:
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has joined #sailfishos-porters08:17
*** CrKit <CrKit!~nekit@> has joined #sailfishos-porters08:43
*** M4rtinK <M4rtinK!> has joined #sailfishos-porters08:47
*** ghosalmartin <ghosalmartin!~ghosalmar@> has joined #sailfishos-porters08:54
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)08:54
*** dstm <dstm!> has joined #sailfishos-porters08:54
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has joined #sailfishos-porters08:55
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters08:57
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 240 seconds)08:58
*** eduardas_m <eduardas_m!~eduardas_@> has joined #sailfishos-porters09:01
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 252 seconds)09:02
ghosalmartinmorning :D09:03
CrKitmorning :)09:07
ghosalmartinits a good morning toda09:07
pi_____Tofe: just read in mer meeting log about its technically possible to boot android in a ported device... do you have some guide or tell me what should be done ?09:12
*** krnlyng_ <krnlyng_!> has joined #sailfishos-porters09:17
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters09:20
*** krnlyng__ <krnlyng__!> has quit IRC (Ping timeout: 258 seconds)09:20
miau_pi_____: Do you mean sfdroid?09:21
pi_____15:52:52 <Tofe> elfio: when you flash SFOS on top of Android, is just goes in a subfolder of /data, Android is still bootable technically09:22
pi_____don't think so09:22
*** brodolfo <brodolfo!> has joined #sailfishos-porters09:23
*** cvp[Mobile] <cvp[Mobile]!> has quit IRC (Ping timeout: 252 seconds)09:24
CrKitpi_____, you just need to flash Android boot.img to boot it09:25
*** Konsieur <Konsieur!~kabouik@> has joined #sailfishos-porters09:26
pi_____and will work ? :O09:26
CrKitfor booting Android, yes, since /system is unmodified09:28
pi_____and later boot.img from SFOS and will boto SFOS right?09:29
sledgesyou can flash boot.img to recovery partition and then have dual-boot to android via volume+power buttons09:31
pi_____but then i'll loose recovery i think09:32
pi_____if i can flsh boot.img rom recovery i think it's good enough to have like that09:32
*** carepack_ <carepack_!> has joined #sailfishos-porters09:34
sledgesit's not that you are using recovery that often, and if you need, you just flash it back09:36
*** dlavso <dlavso!> has quit IRC (Ping timeout: 240 seconds)09:42
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 240 seconds)09:45
dstmabranson: this shouldn't happen: 'E CameraService: getCameraPriorityFromProcState: Received invalid process state -1 from ActivityManagerService'09:53
abransondstm: haven't seen that one, what was that doing? strange that it's -1 - part of the reason for returning 0 was so that we weren't saying that the processes don't exist.09:55
dstmabranson: second line in logcat after starting cam09:56
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters09:59
abransondstm: do you have a paste? i can compare it to mine.09:59
dstmabranson: can u reproduce this?10:03
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Read error: Connection reset by peer)10:03
abransondstm: no I don't see that10:07
dstmabranson: cam was in video mode, before starting.10:07
dstmabranson: ok I'll check md5sums of my libs, maybe I didn't update all of them, since I recompiled some with my changes yesterday10:08
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)10:10
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has joined #sailfishos-porters10:14
abransondstm: tried both modes. i had problems with the camera somehow not being closed quickly enough, especially when the video recording crashes. but never saw the error you pasted.10:15
dstmabranson: ok, I'll check my installation....., and I'll look why video isn't working10:17
dstmabranson: what is 'md5sum /usr/libexec/droid-hybris/system/lib/' on your device?10:25
*** horuxan <horuxan!~horuxanxx@> has quit IRC (Ping timeout: 240 seconds)10:32
*** horuxan <horuxan!~horuxanxx@> has joined #sailfishos-porters10:35
*** piggz_work <piggz_work!> has joined #sailfishos-porters10:35
dstmabranson: I was using the wrong, don't get the error anymore10:39
*** CarlosMazieri <CarlosMazieri!> has quit IRC (Quit: KVIrc 4.1.3 Equilibrium
*** CarlosMazieri <CarlosMazieri!> has joined #sailfishos-porters10:47
abransondstm: good to hear10:54
dstmabranson: may I have your logcat? how does it look after starting video recording10:57
abransondstm: i think so, hang on. funnily enough the front camera works for video recording!11:01
dstmabranson: here it is: 'E CameraService: CameraService::connect evicting conflicting client for camera ID 0' our states :)11:10
abransondstm: yeah I have that one as well - there's some timing out with /dev/video2 that sledges spotted too11:11
abransongoing to get a log of the working front camera recording and see what's different11:12
piggz_workGuys, if i was to buy a phone for porting, what woukd be most useful to the community? Ie, android version?11:12
sledgespiggz_work: and android6, 64bit preferred11:13
piggz_workSledges: ok, ill take a look11:14
*** carepack_ <carepack_!> has quit IRC (Ping timeout: 240 seconds)11:19
abransondstm: can you check your other camera too?11:22
dstmabranson: front?11:22
dstmabranson: front starts recording for me, but the recording timer show always 0:0 and I don't get a file in gallery for frontcam, but it doesn't crash like the backcam11:25
dstmwe have to look why this eviction conflict happens: CameraService.cpp:1043 ff.11:32
*** piggz_work <piggz_work!> has quit IRC (Read error: Connection reset by peer)11:34
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters11:45
dstmwell cpp's type signatures, 4 lines long11:48
*** pashik54 <pashik54!> has joined #sailfishos-porters12:01
*** cvp <cvp!> has joined #sailfishos-porters12:09
*** piggz_work <piggz_work!> has joined #sailfishos-porters12:11
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:999:2a77:c5bc:e774> has quit IRC (Ping timeout: 276 seconds)12:23
*** eekkelund <eekkelund!eetukah@Maemo/community/council/eekkelund> has joined #sailfishos-porters12:29
*** mp107 <mp107!> has joined #sailfishos-porters12:32
*** pashik54 <pashik54!> has quit IRC (Quit: leaving)12:32
*** pashik54 <pashik54!> has joined #sailfishos-porters12:33
*** mp107 <mp107!> has quit IRC (Remote host closed the connection)12:33
*** mp107 <mp107!> has joined #sailfishos-porters12:34
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters12:46
akhil_surabhimal: ping12:51
malakhil_surabhi: pong12:51
akhil_surabhimal: finally got developer mode and ssh working, thanks to ghosalmartin12:52
akhil_surabhimal: how to get cellular network working12:53
*** flyser <flyser!> has quit IRC (Ping timeout: 240 seconds)12:55
*** piggz_work <piggz_work!> has quit IRC (Ping timeout: 255 seconds)12:59
*** nh1402 <nh1402!> has joined #sailfishos-porters13:00
malakhil_surabhi: what was the reason for the developer mode problem?13:01
malakhil_surabhi: get some logs so we can fix all existing issues which also might affect that13:01
akhil_surabhimal: there were some permission denial issues regarding /dev/cpuset/13:02
akhil_surabhimal: this helped:
akhil_surabhimal: this is a pastebin of my logcat regarding radios:
sledgesNokius_: ^13:04
sledgesi saw OOM problems in your Wileyfox yesterday13:04
malakhil_surabhi: also get dmesg and journalctl and normal logcat for your device, preferrably after reboot13:05
akhil_surabhimal: sure13:05
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.> has joined #sailfishos-porters13:07
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)13:09
ghosalmartinit seems OOM is being very bad13:11
ghosalmartinmal: he has sim logo, i thought ril_subscription would just need correct values then gg13:12
*** mp107 <mp107!> has quit IRC ()13:12
sledgesthis oom has so far exposed itself only through a stuck lockscreen (booster-qt5), but looks like it was just a beginning :)13:13
sledgeshow can oom bits affect cpuset13:14
abransondstm: ok, i got a working timer, almost instant, and a nice recording in the gallery. I'll get some logs out, but I think it's not issuing that second CameraService::connect which I think it causing the eviction.13:15
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 240 seconds)13:17
*** mp107 <mp107!> has joined #sailfishos-porters13:17
dstmabranson: cool, I'm busy now, I've some time later... concerning the second CameraService::connect (just a guess) maybe we should take care of the States in our FakeCameraServiceProxy (as I said. just a guess)13:21
*** miau_ <miau_!> has quit IRC (Ping timeout: 255 seconds)13:26
abransondstm: yes it's in the back of my mind. those possible states are pretty damn android though ;)13:28
abransonthis androidxref is pretty amazing. i was wrestling with the googlesource before and it's such a breeze in comparison to that.13:29
dstmI'm on emacs with gnu global, woks fine for searching identifiers13:34
sledgesctags ;p13:36
dstmctags + ?13:38
abransonooer easy fellas we don't want no trouble13:43
nh1402been a while since I've used emacs.13:44
akhil_surabhi_mal: since my device is LTE capable, i have enabled 4g, what else should i do to get network working?13:46
malakhil_surabhi_: 4g is enabled by default afaik13:49
malakhil_surabhi_: which network are you using?13:49
*** spiiroin <spiiroin!> has joined #sailfishos-porters13:49
akhil_surabhi_airtel INDIA13:50
akhil_surabhi_mal: ^13:51
malakhil_surabhi_: still waiting for the normal logcat13:52
akhil_surabhi_mal: oh, sorry, i forgot, one min13:52
malakhil_surabhi_: also your journalctl is only showing kernel messages because kernel is making a lot of output, try adding -n10000 or something to the command13:55
akhil_surabhi_mal: sure, one minute13:56
abransondstm: for when you get back, I think the block at CameraService.cpp:980 is where we're going wrong. it should detect that we're the same client and re-use, but it's not dropping out there and instead it tries to evict.14:02
akhil_surabhi_logcat is too long, my pastebin account restricts me from give more14:07
ghosalmartinsee why LocSvc_launcher is failing14:10
ghosalmartinam guessing you need a symlink in etc14:10
malakhil_surabhi_: also the QMI errors look bad14:12
akhil_surabhi_mal: journalctl makes terminal so cluttery that i had hard time finding the beginning after some lines14:13
ghosalmartinakhil_surabhi_, do you still have pm-service disabled or?14:13
akhil_surabhi_mal: journalctl:
akhil_surabhi_ghosalmartin: pm-service? let me check once14:14
akhil_surabhi_ghosalmartin: it is enabled14:15
malakhil_surabhi_: hmm, something is wrong on the graphics side, HWComposer::present:143 - QPA-HWC: err in present returned -22 is spammed to the log14:15
akhil_surabhi_mal: ya, that's what making my terminal full of clutter14:15
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Quit: I wish I was a glow worm, a glow worm's never glum, 'cause how can you be lonely when the sun shines out your bum?)14:15
NeoChapaymal: can you help me with mali400 and hybris14:15
malNeoChapay: I have no experience with mali, what is the problem?14:16
NeoChapaymal: surfacefinder run but test_hwcomposer segfal14:17
NeoChapaymal: strace
NeKitsledges, Nokius_: so it runs UI on WileyFox already?14:22
akhil_surabhi_mal ghosalmartin: managed to get network14:23
ghosalmartinwoop woop14:23
akhil_surabhi_mal ghosalmartin: ril_subscription.conf, i modified it and it is working..14:24
malakhil_surabhi_: what did you change?14:24
malNeoChapay: does test_hwcomposer print anything to normal output?14:24
*** Lapointe <Lapointe!> has left #sailfishos-porters14:25
akhil_surabhi_mal: sub=SUB1, commented that14:25
malakhil_surabhi_: it was enabled by default?14:26
ghosalmartinakhil_surabhi_, the hammerhead config has it commented it out?14:27
akhil_surabhi_mal: what is lipstick?14:27
malakhil_surabhi_: the compositor14:27
akhil_surabhi_mal ghosalmartin: don't know why, it was initially commented out, i enabled and disabled it, magic!!14:27
NeoChapaymal: no
sledgesNeKit: nope, i just suggested for Nokius to try the oom revert to get telnet back after dhi starts; otherwise system is up, UI not :) it suspends and even wakes up after double tap out of the box! ..but to wileyfox boot splash logo for now..:)14:28
NeoChapaymal: surfacefinder start14:28
malNeoChapay: how about in logs?14:29
NeoChapaymal: logcat14:29
NeoChapaymal: dmesg14:31
akhil_surabhi_mal ghosalmartin: i do get signals, tried with different sims, but, no calls, no internet, no messages14:32
ghosalmartinakhil_surabhi_, probably more stuff needs to be fixed14:34
ghosalmartinfor calls, youd need pulseaudio glue14:34
ghosalmartinprobably missing some hookup for internet and messages14:34
akhil_surabhi_ghosalmartin: can you help me in finding out, this device seems pretty odd to me14:35
*** piggz_work <piggz_work!> has joined #sailfishos-porters14:35
ghosalmartinakhil_surabhi_, all devices are pretty odd, there cm13 :P14:35
akhil_surabhi_ghosalmartin: don't know why, i lost my network again !14:36
*** piggz_work <piggz_work!> has quit IRC (Read error: Connection reset by peer)14:41
ghosalmartinon a train by any chance? :P14:41
nh1402or do you happen to be in the middle of nowhere?14:43
akhil_surabhi_think so :P14:44
*** Mister_Magister <Mister_Magister!> has quit IRC (Ping timeout: 256 seconds)14:45
NeKitNokius_, did you apply hwcomposer ioctls patch?14:45
akhil_surabhi_ghosalmartin: coresight-cti: probe of 6010000.cti failed with error -1, what is this?14:46
ghosalmartindunno am a noob :P14:46
akhil_surabhi_maybe someone who knows about it can help, because dmesg has a lot of similar errors14:48
ghosalmartina google always helps14:48
ghosalmartinexcept in this instance, I have no idea what a CoreSight Cross Trigger Interface is :P14:49
akhil_surabhi_i don't know too14:50
NeoChapaymal: lipstick start
akhil_surabhi_ghosalmartin: sys-fs-cgroup-bfqio.mount and sys-fs-pstore.mount failed14:53
ghosalmartinakhil_surabhi_, they dont matter too much from what ive seen14:54
nh1402ghosalmartin: it mentions "probe" maybe it's about aliens14:54
ghosalmartinnh1402, exactly :P14:55
akhil_surabhi_ghosalmartin: i still have permission denied errors, write_file: Unable to open '/dev/cpuset/system-background/mems': Permission denied14:56
akhil_surabhi_many, similar to that14:56
ghosalmartinakhil_surabhi_, still no idea on them, but they dont seem to be breaking much14:56
*** artur-shaik <artur-shaik!~ArturShai@> has joined #sailfishos-porters14:56
*** pashik54 <pashik54!> has quit IRC (Quit: Lost terminal)14:57
*** pashik54 <pashik54!> has joined #sailfishos-porters14:57
ghosalmartinakhil_surabhi_, who knows, if the appropriate partitions are mounted then its alright14:58
artur-shaikhello. i'm running sailfish os on oneplus one, and have issue with all videos. already installed all gstreamer packages. and still can not play even my own videos. any help?14:58
*** carepack_ <carepack_!> has joined #sailfishos-porters15:08
sledgesartur-shaik: where did you take the installation from?15:09
*** CrKit <CrKit!~nekit@> has quit IRC (Ping timeout: 255 seconds)15:09
*** flyser <flyser!> has joined #sailfishos-porters15:12
akhil_surabhi_ghosalmartin: IPC_RTR: pil_vote_load_worker: Failed to load modem15:15
ghosalmartinakhil_surabhi_, gotta find out hwy it failed to load the modem15:16
ghosalmartindid you disable any services that looked important15:16
akhil_surabhi_ghosalmartin: no, i did not disable any service without confirming except for ipacm, time_daemon15:17
ghosalmartintry ipacm15:17
akhil_surabhi_ghosalmartin: will you have a look at my dmesg when i have network?15:18
akhil_surabhi_see this: [    9.905179] apr_tal:Modem Is Up15:21
ghosalmartinakhil_surabhi_, so modem seems to be working15:21
akhil_surabhi_ghosalmartin: sometimes yes, sometimes no. Don't know why15:22
*** CrKit <CrKit!> has joined #sailfishos-porters15:24
ghosalmartinakhil_surabhi_, hmm very odd15:25
ghosalmartincompare logs of working and none working then?15:25
akhil_surabhi_ghosalmartin: will give it a shot15:26
artur-shaiksledges: from openrepos (sailfish_lib, dfstorm) and last mostly from
sledgesartur-shaik: i mean, the main sailfishos installation .zip15:30
artur-shaikou, sec15:31
sledgesit already comes with gstreamer115:31
sledgesthe last image that is15:31
abransonartur-shaik: that repo's a bit old. this one is more current:
abransonthe 1.10 packages are in there15:33
artur-shaikabranson: is there any manuals how i can update my system?15:35
abransonabranson: i don't think so. how did you add that repository in the first place?15:36
artur-shaikou I see.. it's just repo. and I can add it with zypper?15:37
sledgesartur-shaik: does camera work?15:37
artur-shaiksledges: yes, i made video, but cannot play it15:38
sledgesah i think it's the dreaded problem of oneplus one not being able to hw decode videos, that's where vgrade stopped porting it15:43
sledgeshe together with rcg made a sw decoder/wrapper, but that will use cpu instead of gpu15:43
sledgesartur-shaik: so you ought to need this:
artur-shaikok, thank you sledges , i will try15:47
*** drFaustroll_ <drFaustroll_!> has joined #sailfishos-porters15:48
*** drFaustroll_ <drFaustroll_!> has quit IRC (Changing host)15:48
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters15:48
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 260 seconds)15:49
*** hpagseddy <hpagseddy!~arch@> has joined #sailfishos-porters15:49
hpagseddymal: can you solved the problem?15:50
artur-shaiksledges: thank you. at least i have playable videos15:55
*** itbaron <itbaron!~kvirc@> has joined #sailfishos-porters15:55
malhpagseddy: what problem?16:05
sledgesartur-shaik: have fun!16:08
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)16:08
malhpagseddy: there is something really wrong in your setup, show your .ks file again16:09
malhpagseddy: please try to find some other paste service that would work for you, I hate that one16:10
hpagseddymal: ok ill try :)16:10
malhpagseddy: I thought I said that you should rerun the chapter 8.3, that shows that you haven't done it16:12
malhpagseddy: line 23 is wrong16:12
hpagseddymal: i was done chapter 8.316:13
hpagseddymal: what should i write in line 23?16:13
maljust rerun chapter 8.3 so it will recreate the file16:13
malhpagseddy: show all of the commands and output of each one so I can see you are doing it correctly16:14
*** mp107 <mp107!> has quit IRC (Ping timeout: 240 seconds)16:14
malhpagseddy: remember the change to the commands I told you yesterday16:14
hpagseddymal: ok16:14
hpagseddymal: ill remove --runtime=native \ and  i will use RELEASE= right?16:15
malhpagseddy: and also use HA_REPO="repo --name=adaptation-community-$DEVICE-@RELEASE@"16:16
hpagseddymal: sure16:16
malhpagseddy: you'll see what command to replace with that16:17
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)16:18
*** nh1402 <nh1402!> has quit IRC (Quit: Leaving)16:27
*** eduardas_m <eduardas_m!~eduardas_@> has quit IRC (Quit: Leaving)16:29
T4<stek29> akhil_surabhi_: that's not because of permissions16:37
*** phlixi <phlixi!> has quit IRC (Read error: Connection reset by peer)16:37
T4<stek29> On some devices there are cpuset.mems and cpuset.cpus16:37
*** phlixi <phlixi!> has joined #sailfishos-porters16:37
T4<stek29> And on some -- mems and cpus16:37
T4<stek29> Look at your init.rc, maybe they should be tweaked16:38
T4<stek29> What I did is booted into cm and looked into /dev/cpuset/*/cpus and mems, (don't forget foreground/boost/cpus and mems)16:39
T4<stek29> Then booted into sailfish and checked if it has cpus/mems or cpuset.cpus/cpuset.mems16:40
T4<stek29> And  then tweaked rc file16:40
hpagseddymal: 8.3 has no input16:44
*** Tassadar <Tassadar!> has joined #sailfishos-porters16:45
malhpagseddy: what?16:45
hpagseddymal: like this
*** itbaron <itbaron!~kvirc@> has quit IRC (Remote host closed the connection)16:46
malhpagseddy: so now pastebin the .ks file in tmp/16:46
sledgesstek29: sfos init.rc is taken from cm, unless we got a misaligned base16:49
hpagseddymal: ok i found a new pasebin alternative for you :)
T4<stek29> sledges: yes, I know, I was surprised too. I installed a snapshot, and cloned same branch as the snapshot it. But I had different structure in cpuset fs.16:51
malhpagseddy: ok, now continue with chapters 8.4.1 and 8.516:54
malhpagseddy: do not edit .ks unless I say so16:54
sledgesstek29: means something else (device-specific) tweaked it in cm, and fell through cracks in sfos? if init.rc files are identical16:54
sledgescan also be udev16:54
sledgesjust like with bootdevice, so it's best to create a udev rule in sfos, rather than tweaking init.rc16:55
hpagseddymal: this is the 8.4.1
malhpagseddy: like I have said several times that is not an error16:56
hpagseddymal: ok16:58
hpagseddymal: you said post the every step16:59
*** brodolfo <brodolfo!> has quit IRC (Ping timeout: 240 seconds)16:59
malhpagseddy: only for the earlier ones so I can see that the creation of .ks was ok17:01
hpagseddymal: oh17:02
hpagseddymal: so this is 8.5
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters17:03
*** carepack_ <carepack_!> has quit IRC (Ping timeout: 260 seconds)17:05
malhpagseddy: so the same error as before but we didn't find why it fails17:07
T4<stek29> sledges: not sure how to do it, tweaked init.rc is just a temp workaround. … Also, init.rc should just make them working on any device I guess, according to
hpagseddymal: hadk says i should change the "@Jolla Configuration @DEVICE@" with "@jolla-hw-adaptation-@DEVICE@"17:10
malhpagseddy: we tried that already17:11
malbut try again if you want17:11
hpagseddymal: ok17:12
hpagseddymal: now the error is changed
malhpagseddy: show the line you changed17:17
hpagseddymal: line 2317:18
malhpagseddy: it's supposed to be @jolla-hw-adaptation-i9100g17:20
malhpagseddy: HADK pdf says NB: expand @DEVICE@ occurrences manually17:20
hpagseddymal: ooh.17:21
hpagseddymal: now i start build again17:21
hpagseddymal: now it says
malhpagseddy: so exactly as before17:24
*** Konsieur <Konsieur!~kabouik@> has quit IRC (Ping timeout: 276 seconds)17:26
abransondstm: i think i've found the problem: there's a temporary CameraSource object being created just to get the colour format, and that's evicting the original camera17:27
malhpagseddy: try adding this and the next line to hybris/droid-configs/patterns/jolla-hw-adaptation-i9100g.yaml and remember to replace @DEVICE@ with i9100g17:27
abransoni'm trying to get that information slightly less destructively17:27
malhpagseddy: after that " -c" and chapters 8.3, 8.4.1 and 8.517:28
hpagseddymal: where to add this line17:29
malhpagseddy: the same place as in that file I linked17:29
malhpagseddy: should be easy to find17:29
hpagseddymal: which line in jolla-hw-adaptation-i9100g.yaml17:30
hpagseddy*under which line17:30
malhpagseddy: try to think a little, I said to put it in the same places as here so that means under - droid-config-i9100g-preinit-plugin17:31
malhpagseddy: so you need to add two lines, number 15 and 1617:33
hpagseddymal: ok i adding line 15 and 1617:34
hpagseddymal: it says
*** noume <noume!> has joined #sailfishos-porters17:52
*** drFaustroll <drFaustroll!~drFaustro@> has joined #sailfishos-porters17:56
*** drFaustroll <drFaustroll!~drFaustro@> has quit IRC (Changing host)17:56
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters17:56
*** hpagseddy <hpagseddy!~arch@> has quit IRC (Quit: hpagseddy)18:00
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Client Quit)18:01
*** drFaustroll <drFaustroll!> has joined #sailfishos-porters18:01
*** drFaustroll <drFaustroll!> has quit IRC (Changing host)18:01
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters18:01
*** cvp <cvp!> has quit IRC (Remote host closed the connection)18:06
malwhy is it so difficult to follow instructions18:09
*** drFaustroll_ <drFaustroll_!~drFaustro@> has joined #sailfishos-porters18:11
*** drFaustroll_ <drFaustroll_!~drFaustro@> has quit IRC (Changing host)18:11
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters18:11
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 258 seconds)18:15
Mister_Magistermal: i'm asking this question since loooong time :/18:16
Mister_Magisterkimmoli: ping18:17
Mister_Magisterjusa_: ping18:18
Mister_Magisterkimmoli: can you help me with fm now? or bluetooth?18:18
kimmolion the road, having lunch break from work.18:19
Mister_Magisterso i guess no :/18:19
kimmolidid you try older pulse-modules-droid as guhl and mal explained?18:19
Mister_Magisterkimmoli: my pulse-modules-droid is just one commit behind that from guhl18:20
kimmoliok then it is not that. then it must be something else.18:21
Mister_Magisterand bluetooth hack fails with Loaded: error (Reason: Invalid argument)18:21
kimmolisaidinesh5 invented another thing, that needs pulse-policy-enforcement hack to sort sources differently18:22
Mister_Magisterthat was not working for me too18:22
saidinesh5Mister_Magister: without bluetooth chances are your FM wont work18:22
kimmolithen it must be in configs18:22
kimmolithat too18:22
saidinesh5so you need to find out why your bluetooth isnt working18:23 fails with Loaded: error (Reason: Invalid argument)18:23
Mister_Magisterand here it is
dstmabranson: makes sense18:23
saidinesh5Mister_Magister: afaik that command can be executed only once per boot18:24
dstmabranson: it's clearly stated in droidmediacamera.cpp '// This is really a hack'18:24
abransondstm: not anymore ;D18:25
Mister_Magistersaidinesh5: it's systemctl service18:25
saidinesh5Mister_Magister: out of curiosity, why not manually execute each part of that script and see where the error occurs?18:25
Mister_Magistergood idea18:25
saidinesh5Mister_Magister: i know .. here is a cleaned up version of that script:
dstmabranson: we could try using CreateFromCamera it reuses the same IBinder object18:26
saidinesh5this should cause fewer errors in your dmesg18:26
abransondstm: the CameraSource isn't even needed. I've managed to do the same thing only using the CameraParameters18:26
abransonchecking in now...18:26
dstmabranson: that's even better18:27
abransondstm: in my android6 branch. haven't checked it in android < 6 yet though18:29
*** NeKit <NeKit!> has quit IRC (Remote host closed the connection)18:30
abransonbut i managed to make a video with both cameras now18:30
abransonstill getting occasional timeouts accessing the cameras though18:30
dstmabranson: ty, I'll check now18:31
dstmabranson: btw, what was the cause of 0:0 timer18:31
Mister_Magistersaidinesh5: script is not working but when i ran command from script from your link it works18:32
Mister_Magisteri don't know why i'm getting invalid argument18:32
saidinesh5Mister_Magister: so after my script, you get your bluetooth mac address set?18:32
saidinesh5then ditch your script and use mine :P18:32
Mister_Magisterafter running manuall droid-hcismd-up too18:33
Mister_Magisteri think there is problem in service itself18:33
saidinesh5yeah the original script blindly tries 15 times and gives up18:34
Mister_MagisterWHAT?! I had to do mistake :D in service file is my script wtf :D18:34
abransondstm: the colour format is fetched on startup by creating a CameraSource, which closes the one that was to be used for the recording.18:36
abransonI was going to use CreateFromCamera, but that needs way too many parameters for what it really just a mapping of a CameraParameter value. So I just copied the mapping function out instead.18:36
*** ghosalmartin <ghosalmartin!~ghosalmar@> has quit IRC (Ping timeout: 240 seconds)18:38
Mister_Magistersaidinesh5: i'll reboot phone and come with results but i think it will be completly broken :v18:38
saidinesh5lets see18:38
saidinesh5also do update that script.18:39
Mister_Magisterchange to yours?18:40
Mister_Magisterit's working now but okay18:40
saidinesh5you'll see fewer errors in dmesg that way18:40
malMister_Magister: did you have the problem that psctl list or something like tat doesn't show fm devices?18:44
*** Mister_Magister_ <Mister_Magister_!> has joined #sailfishos-porters18:46
*** Mister_Magister <Mister_Magister!> has quit IRC (Ping timeout: 264 seconds)18:47
*** Mister_Magister_ is now known as Mister_Magister18:47
dstmabranson: camera-app doesn't crash (no evicting) but the time stays on 0:0 and no video gets recorded18:49
Mister_Magistersaidinesh5: yep it's not working. i can only turn it on and see bluetooth mac address18:49
Mister_Magisteri can't set it visable, i can't see other devices, i can't connect to them, i can't see my device name when i click on empty device name field and cancel it then magically device name appears18:50
pi_____how can i listen to fm radio with a ported device?18:51
saidinesh5Mister_Magister: try command line?18:52
saidinesh5pi_____: use the media player app18:52
Mister_Magistersaidinesh5: how?18:52
pi_____wow true18:53
saidinesh5hcitool/hciconfig iirc were the tools18:53
Mister_Magistersaidinesh5: i don't have idea what i should do there18:55
saidinesh5Mister_Magister: hciconfig scan?18:56
Mister_Magisteryep it's working fine18:56
saidinesh5now sdptool18:56
saidinesh5that's to search browse etc.. bluetooth devices18:56
Mister_Magistersaidinesh5: is there command to make me visable?18:57
saidinesh5probably hciconfig itself18:58
saidinesh5Mister_Magister: just make your laptop visible18:58
saidinesh5and do a sdptool search on phone18:58
malpi_____: which device?18:58
Mister_Magistersaidinesh5: laptop? i'll use nexus 7 for bt device and yes that command see it18:59
saidinesh5Mister_Magister: so sdptool browse works?19:00
Mister_Magisteri settings i can se devices too19:00
saidinesh5so your bluetooth is technically working :P19:01
Mister_Magisterexcept that i can't see/change device name/visable mode19:01
Mister_Magisteror connect19:02
Mister_Magisterso i can't only turn it on and see other devices19:02
Mister_Magisteryes it works yaay................19:02
pi_____one plus X mal19:02
pi_____oneplus X*19:02
Mister_Magistersaidinesh5: maybe command to connect to device?19:03
Mister_Magisterfor connecting to device*19:03
malpi_____: ok19:03
saidinesh5sdptool add or something19:03
pi_____working all perfectly :) and dual booting android too ((ab)using recovery partition)19:04
Mister_Magistersaidinesh5: i don't think that 'add' is for that19:06
saidinesh5Mister_Magister: can't remember. been years since i had to use that command :P19:07
Mister_Magisterokay so what we should do now?19:07
Mister_Magistersaidinesh5: hci0:   Type: BR/EDR  Bus: UNKNOWN. Bus unknown is normal?19:08
Mister_Magisteri was able to change name using hciconfig19:09
dstmabranson: after starting recording 'E OMXCodec: Storing meta data in video buffers is not supported'19:09
saidinesh5Mister_Magister: dunno. at this point, you know everything about bluetooth that i do :p19:10
Mister_Magisterseriously? oh no kimmoli where are you :C19:10
maldstm: I think that usually shouldn't happen except for older devices but you can try this patch if for some reason your device doesn't support that
maldstm: I think I really should make a PR of that, it's been waiting for more than a year19:12
*** NeKit <NeKit!> has joined #sailfishos-porters19:12
Mister_Magistersaidinesh5: when i tried to connect "Can't get device information: Success" So this is success or fail haha :D19:15
dstmmal: ty19:15
maldstm: I should also rebase that, hopefully it will not have many conflicts19:16
dstmmal: I'm wondering if the cm12.1 version has this applied, since cam is working fine there19:17
maldstm: then the issue probably is somewhere else if camera works there19:18
Mister_Magistermal: bluetooth will be easy you said...19:18
maldstm: that is so far only used on 2011 xperia devices19:18
malMister_Magister: usually it is19:18
Mister_Magisterso my phone is not usually :/19:18
Mister_Magistersmd_pkt_open: DATA5_CNTL open failed -19 can it be releated to bluetooth?19:19
dstmmal: I'm on hammerhead, maybe my codec setup is simply wrong19:19
maldstm: could be, are you sure you have all of the needed symlinks in /etc?19:19
dstmmal: let's see what I've done :)19:20
maldstm: pastebin ls -l /etc and ls -l /system/etc19:20
maldstm: also ls -l /dev/video*19:21
malMister_Magister: wondering if guhl had any issues on thea or if he has yet tried bluetooth19:23
Mister_Magistermal: i think he didn't19:23
saidinesh5mal:  does /dev/alog exist on your device?19:25
saidinesh5say /dev/alog/main or /dev/alog/events19:25
maldstm: you are missing something in this file
maldstm: the rules for video34 and 35, try adding those19:28
malsaidinesh5: yes, I have those on fp219:31
* saidinesh5 reboots his device to make sure19:31
saidinesh5mal: I dont have those paths19:32
saidinesh5all i have is:19:32
saidinesh5srw-rw-rw- 1 root root 0 Feb  7 01:02 /dev/log19:32
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters19:33
dstmmal: same error, also I don't see any /dev/video* rules on
maldstm: interesting, wondering what created the symlinks19:51
abransondstm, mal: might be that the new droidmediarecorder hasn't been tested with that yet. it's not in 2.0.519:51
abransonand mal: that commit looks like it's implementing a TODO. should it be merged?19:53
malabranson: probably19:53
malabranson: I can rebase it and make a PR, there was some discussion about another patch needed for 2011 xperias which delayed also that19:54
abransonah I see19:54
malabranson: this one
abransonwow so many quirks :)19:55
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters19:56
malabranson: the problem with that was about making sure caps are requested in the correct order19:56
abransonmal: gosh, so it goes wrong if they aren't?19:56
malabranson: not sure, that's what MSameer said19:57
dstmmal: init.hammerhead.rc:    symlink /dev/video32 /dev/video/venus_dec19:58
* MSameer does not remember anything :(19:58
malMSameer: it was a long time ago19:58
dstmmal: not sure if this is related but droid-config-hammerhead-12.1 has: [decoder-quirks] \n video/avc = use-codec-supplied-height20:00
MSameerthat's mainly used for browser if it crashes during youtube playback dstm20:01
MSameers/mainly/only/ IIRC20:01
dstmMSameer: ok, thx20:03
malmaybe I should figure out what is still needed in those patches so those could be added to upstream20:04
*** artur-shaik <artur-shaik!~ArturShai@> has quit IRC (Ping timeout: 245 seconds)20:16
*** eyome <eyome!> has joined #sailfishos-porters20:24
*** divis1969 <divis1969!~dsmirnov@> has joined #sailfishos-porters20:25
*** Tassadar <Tassadar!> has quit IRC (Quit: Segmentation fault)20:25
dstmmal: here is something nice :)
dstmabranson: maybe it's related to your colorformat changes?
abransondstm: yes, looks that way20:36
malwhat color format change?20:36
abransonlooks like we might have to get a CameraSource from somewhere to check which ones are supported. oh well.20:38
*** dstm <dstm!> has quit IRC (Quit: WeeChat 1.7)20:44
*** dstm <dstm!> has joined #sailfishos-porters20:46
dstmloooooooooooool typed reboot into wrong shell :))))20:47
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters20:55
guhlanybody motivated to help me with my sensors on thea?21:11
*** nh1402 <nh1402!~nh1402@> has joined #sailfishos-porters21:16
Mister_Magisterguhl: hello! Did you tried in past fixing bluetooth?21:16
Mister_Magisterguhl: fixing that sensors... this is magic21:16
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 255 seconds)21:17
guhlMister_Magister, whats the problem with bluetooth ?21:18
Mister_Magisterit's working for you?21:18
Mister_Magisteroh :C21:18
guhli just did "Bluetooth for Qualcomm devices" from
guhlnothing else, no magic21:20
guhlregarding the sensors i think in principle they need to be powered on21:22
abransondstm: I'm having trouble seeing where any data from the CameraSource is used there though21:22
guhlMister_Magister, all sensors that are working show some power value in test_sensors21:23
Mister_Magisterme too man me too21:23
Mister_Magisteronly light sensor and not working sensors show me 0mA21:25
guhland as far is i understand that these 3 are all on the same bosch chip21:25
*** cxl000 <cxl000!> has quit IRC (Quit: Leaving)21:25
Mister_Magisteryep only Display Rotation sensor is motorola but it's virtual i think21:26
guhlyes mal said i should ignore these21:26
Mister_Magistersince mal don't know how to fix that sensors i gived up21:27
malMister_Magister: it might take a while to figure it out, was it so that the sensors are available but just don't return anything?21:28
guhlwell lets see21:28
dstmabranson: I did a quick test using CreateFromCamera instead of Create with the old version of droidmedia, no eviction, same 'do not know color format 0x7fa30c04 = 2141391876', he?21:28
Mister_Magistermal: yes21:28
dstmabranson: I guess I done for today, this reboot killed me :)21:28
guhlmal, yes they are shown in test_sensors but show power 0 and don't do anything21:28
malguhl: anything sensor related in init* files? how about have you tried enabling sensorservice?21:29
guhlit is a bosch bmc150 that has 3 kernel-drivers21:31
guhlthat is kmsg from startup21:31
Mister_Magisterguhl: are there any working sensors for you?21:31
guhli don't know if that "using legacy resume method" is meaningful21:31
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.> has joined #sailfishos-porters21:31
guhlMister_Magister, proxy, light, gyro, gps21:32
Mister_Magistersame as me :D21:32
guhli personally don't know why one needs a rotation sensor if one has a gyro but well21:33
Mister_Magisterme too21:33
Mister_Magisterit's using accelerometer too probably21:33
guhlMister_Magister, it's the 3 sensors on the bmc150 that don't work21:33
guhland the very strange thing is that21:35
guhlcat /sys/class/input/event0/device/value gives me a meaningful triplet of values21:35
guhlevent0 -> bma2x2 -> accelerometer21:35
guhlvalues like 33 -4 506 when lying flat on the table21:37
guhland -477 -31 -14 standing on the right edge21:37
guhlso it know the rotation21:38
ruthenianboyGE guys. I have issue with init.rc script. mer class script droid-init-done is not called from it :(21:39
*** CrKit <CrKit!> has quit IRC (Ping timeout: 252 seconds)21:41
Mister_Magisterhow do you know that event0 is accelerometer21:42
Mister_Magistertell me please21:42
guhl /sys/class/input/event0/device/name = bma2x221:42
Mister_Magisteroh o k21:45
dstmabranson: gst/droidcamsrc/gstdroidcamsrcrecorder.c 71:  recorder->md.color_format = droid_media_camera_get_video_color_format (cam);21:48
guhlMister_Magister, according to the datasheet that bmc150 would even work as double-tap sensor21:48
guhlif it would work21:48
abransondstm: That's kind of good to hear21:48
*** divis1969 <divis1969!~dsmirnov@> has quit IRC (Remote host closed the connection)21:48
Mister_Magisterguhl: double-tap-to-ake was working on android21:48
abransondstm: because it seems like a very expensive way to query colour support, especially when it's not even really being used.21:50
guhlaha: never used this phone on android :-)21:50
dstmabranson: right, this query seems very expensive, it costs us almost the whole day ;)21:52
*** nh1402 <nh1402!~nh1402@> has quit IRC (Quit: Leaving)21:56
Mister_Magisterguhl: like i will never use android on my new phone22:01
guhli have orientation working :-)22:04
dstmabranson: nobody knows this colorformat I'm getting ;) even the softencoder:  'SoftMPEG4Encoder: Construct SoftMPEG4Encoder  W ACodec  : do not know color format 0x7f000789 = 2130708361'22:06
Mister_Magisterguhl: what?22:07
guhlMister_Magister, i just commented22:07
guhl#orientationadaptor = hybrisorientationadaptor22:07
guhlin /etc/sensorfw/primaryuse.conf22:07
*** louisdk <louisdk!~louisdk@> has quit IRC (Ping timeout: 255 seconds)22:08
Mister_Magisterif something is not working then remove it?22:08
guhland restarted sensorfwd on the cli22:08
guhl /usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --log-level=test22:08
Mister_Magisteron nemo?22:10
guhland now screen rotates and Messwerk shows values22:10
Mister_Magister[W] main:172 - Failed to register service on D-Bus. Aborting.22:10
guhlfist you need to stop the running service22:11
Mister_Magisteroh how?22:11
guhlsystemctl stop sensorfwd22:11
Mister_Magisteri got it22:11
guhli will try if it still works if i start the service22:12
Mister_Magisternope not for me22:12
guhlyes it does for me22:13
guhldid you comment the line in /etc/sensorfw/primaryuse.conf ?22:13
guhlwell i'll reboot and see if this still works (or if i did something else to enable the sensor)22:14
abransondstm: any way of finding which one it is?22:14
Mister_Magisteryes of course22:14
Mister_Magisterwhy tf nothing is working for me22:14
guhlseems that it was something else22:15
malguhl: do you have the default configs under /etc/sensorfw/ in a subfolder?22:16
dstmabranson: I should google sometimes :) Maybe this colorformat stuff is normal:, and my issue is 'OMXCodec: Storing meta data in video buffers is not supported'22:17
malguhl: check logs about sensorfw to see what really happened there22:17
*** dlavso_ <dlavso_!> has quit IRC (Ping timeout: 248 seconds)22:26
abransondstm: but you've still got no recordings22:29
guhlmal, there are no subfolders in /etc/sensorfw/22:30
dstmabranson: no, and I don't know what is failing22:31
ruthenianboyheh...i will be looking in strace output forever :D22:31
guhlmal, Mister_Magister22:31
guhlecho 1 > /sys/devices/virtual/input/input0/enable22:32
guhldid the trick22:32
Mister_Magisterguhl: YOU ARE GENIUS!22:33
Mister_MagisterI love you men22:33
Mister_Magisterso we should make hack for that?22:33
Mister_MagisterPeople on xda will be happy :D22:34
guhllet me reboot once to see if this really is all22:34
Mister_Magisterwhoa rotating screen i haven't seen that since loooong time22:34
guhlcause i also did22:35
guhlecho 1 > /sys/class/input/event0/device/enable_int22:35
Mister_Magisterit is i did nothing special and it worked22:35
Mister_Magisteri did only this22:35
guhllets see if what really does the trick22:35
Mister_Magisterit does22:35
Mister_Magisterguhl: god bless you man!22:36
guhlMister_Magister, thank you, but i am still a bit careful22:36
Mister_Magistersure, mal btw do you have idea what we can do with that?22:37
guhlmal, should sensorfwd stop/resume the sensor, or to phrase is differently: will enabling the sensor that way drain the battery?22:38
guhlwahhh i hate that surfaceflinger hack we need a proper solution for that22:38
Mister_Magisterguhl: yes we are planning with mal to fix that22:39
Mister_Magisterbut it's hard topic so i'm waiting until mal will have poper mind state :D22:39
guhland i hate that "WARNING BOOTLOADER BLA,BLA,BLA" splash screen22:41
*** noume <noume!> has quit IRC (Remote host closed the connection)22:41
Mister_Magisterguhl: mine boot screen is other (wait i'll upload photo)22:42
Mister_Magisterguhl: this is my bootscreen Majestic isn't it? :D22:44
guhlwell that would definitely not have qualified as the boot splash for my 10 year old daughter :-)22:46
Mister_Magistersure :D22:46
Mister_Magisterguhl: I was never that happy because of screen rotation22:48
Mister_Magisteri was waiting for it since more than year22:48
guhlMister_Magister, according to there is a powerstate_path parameter that points to an enable file22:49
guhli will test this in my conf - maybe sensorfwd can enable/disable it itself then22:50
Mister_MagisterI have no clue how are you finding all of these but good job :D I'm feeling useless22:51
guhlwell, i am using unix machines since 25 years so i have a little feeling on where to look and poke22:52
Mister_Magisteroh okay but feeling that i did nothing by myself for that port is making me sad :/22:53
guhlyou did nothing for the titan port?22:53
Mister_Magisterall is thanks to mal sledges and other people there22:54
Mister_Magisterthey told me what to do like you no22:54
guhlwell Mister_Magister thats how communities work, you still did all the testing, analyzing, building22:55
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters22:55
guhland you published your changes which gave me a starting point22:56
Mister_Magisterthanks :) And i provided all fixes to people as working sfos22:56
Mister_Magisterso tell me if that config works :)22:57
* guhl is still staring at boot splash screen22:57
malguhl: yes, sensorfw does know how to enable and disable that kind of sensors, at least it should22:57
guhlmal, is that parameter powerstate_path useful?22:58
malguhl: yes, I think that is what you should use22:58
guhljust putting it in the [accelerometer] did not work22:59
malguhl: but manually it works?23:00
Mister_Magisterfunny thing is that accelerometr values are freezed23:00
*** eyome <eyome!> has quit IRC (Quit: eyome)23:00
malguhl: do you have accelerometeradaptor = accelerometeradaptor  as in that tbj config?23:00
guhlecho 1 > /sys/devices/virtual/input/input0/enable23:01
lpotterwish qcom & bosch would start using the standard linux sensor interface23:01
guhli have hybrisaccelerometeradaptor23:01
Mister_Magisternevermind messwerk is just acting strange23:02
malguhl: didn't you have the event device for that sensor?23:03
guhlmal, ?23:04
guhlyes it do have a event device for accel -> /dev/input/event023:04
malguhl: so why are you using hybrisaccelerometeradaptor? use accelerometeradaptor and then add the needed stuff for the event device handling23:05
guhlyou mean i should switch to accelerometeradaptor23:05
malguhl: is there a poll path for the sensor?23:05
guhlthere is no poll file (or similar) in /sys (and below)23:07
Mister_Magistermal: i think example will be nice there23:07
malguhl: ok, try without it23:07
guhlmal, what should input_match be (before i go reading the code)23:09
malguhl: you can see that in evdev_trace -i23:09
guhlthe Name ?23:10
guhlthat is bma2x223:10
malpastebin that23:12
guhlthat did not work
guhlevdev-trace -i ->
malguhl: if you use evdev_trace -t event0 does it give reasonable output?23:17
Mister_Magisterguhl: i have to go to sleep. See you later with proper solution :D23:18
Mister_Magistermal: yes23:18
guhlafter the enable: yes23:19
guhleven if the things are called "strange"23:20
guhlwhat would the poll file give normally ?23:21
malguhl: does it give all x, y and z values?23:21
malguhl: wondering why evdev_trace -i doesn't show all of those23:22
Mister_MagisterABS_X ABS_Y ABS_Z and SYN_REPORT23:22
*** dlavso_ <dlavso_!> has joined #sailfishos-porters23:22
guhlfor me event 0 looks like:
Mister_Magistermal: guhl: that is different! sorry23:23
Mister_Magisterthis is mine
guhlyes the values a reasonable but my names are strange23:24
malguhl: that is the problem, what could cause that23:24
guhldon't know but thats also what evdev_trace -i says about that event023:25
maltime to get some sleep23:25
*** Mister_Magister_ <Mister_Magister_!> has joined #sailfishos-porters23:25
malguhl: which appears to be wrong for some reason23:26
malguhl: was your device cm12.1?23:26
Mister_Magister_mal: mine values are good?23:27
guhlbut that should not cause the problem that sensorfwd does not find the name bma2x223:27
Mister_Magister_oh so guhl have 12.1 and i have 11.0 so there may be difference23:27
guhli'll have a look at the kernel-driver23:28
malMister_Magister_: yes, your event device looks normal and should work23:28
*** giucam_ <giucam_!~giulio@qt/giucam> has joined #sailfishos-porters23:28
malguhl: yep, I was thinking that would be a good idea23:28
Mister_Magister_mal: i only have to give that config that you were talking about23:28
*** MrChrisDruif_ <MrChrisDruif_!> has joined #sailfishos-porters23:29
malMister_Magister_: probably it should work23:29
*** pykape_ <pykape_!> has joined #sailfishos-porters23:29
*** paju_ <paju_!> has joined #sailfishos-porters23:29
*** ced117_ <ced117_!> has joined #sailfishos-porters23:29
*** ballock_ <ballock_!~ballock@> has joined #sailfishos-porters23:30
Mister_Magister_mal: guhl: good work thanks for help and good night! guhl gute nacht23:30
Mister_Magister_guhl: later i'll ask you for config :)23:31
guhlMister_Magister_, GN23:31
*** Mister_Magister_ <Mister_Magister_!> has quit IRC (Quit: IRC for Sailfish 0.9)23:31
*** Nokius <Nokius!> has joined #sailfishos-porters23:32
guhlwell i have lines (for all coordinates) like:23:33
guhlinput_event(bma2x2->input, EV_MSC, MSC_SERIAL, acc.x);23:33
*** Tofe_ <Tofe_!> has joined #sailfishos-porters23:33
malguhl: wtf, change those23:34
*** NeKit <NeKit!> has quit IRC (*.net *.split)23:34
*** Mister_Magister <Mister_Magister!> has quit IRC (*.net *.split)23:34
*** platicus <platicus!> has quit IRC (*.net *.split)23:34
*** paju <paju!> has quit IRC (*.net *.split)23:34
*** pykape <pykape!> has quit IRC (*.net *.split)23:34
*** ballock <ballock!~ballock@> has quit IRC (*.net *.split)23:34
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (*.net *.split)23:34
*** icyphox <icyphox!icyphox@gateway/shell/> has quit IRC (*.net *.split)23:34
*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/> has quit IRC (*.net *.split)23:34
*** entil <entil!> has quit IRC (*.net *.split)23:34
*** tbr <tbr!> has quit IRC (*.net *.split)23:34
*** Tofe <Tofe!> has quit IRC (*.net *.split)23:34
*** MrChrisDruif <MrChrisDruif!> has quit IRC (*.net *.split)23:34
*** edubai__ <edubai__!sid39243@gateway/web/> has quit IRC (*.net *.split)23:34
*** giucam <giucam!~giulio@qt/giucam> has quit IRC (*.net *.split)23:34
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 276 seconds)23:34
*** Nokius_ <Nokius_!> has quit IRC (Ping timeout: 248 seconds)23:35
guhlmal, yes wtf23:35
malguhl: link to the kernel source with that?23:36
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters23:36
ruthenianboyAnyone seen messages like ""Failed at step CGROUP spawning..." or "Failed to create cgroup  No such file or directory". I have a lot of these messages in log. Still cant boot into graphic mode23:37
*** tbr <tbr!> has joined #sailfishos-porters23:40
guhlthe cm11 version has23:41
*** NeKit <NeKit!> has joined #sailfishos-porters23:41
guhlinput_report_abs(bma2x2->input, ABS_X, acc.x);23:41
*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/> has joined #sailfishos-porters23:41
guhlinstead - weird23:41
*** platicus <platicus!> has joined #sailfishos-porters23:41
*** dlavso <dlavso!> has joined #sailfishos-porters23:46
malguhl: that cm11 version looks normal23:46
malguhl: anything in cm12.1 commit history about that23:46
litewspiiroin: understood, thank you23:48
malguhl: wow, so they just decided to use non-standard events as a hack23:48
guhlyes that would even be dirty by my standards23:49
malguhl: try reverting and see how it behaves23:50
guhlbuilding kernel23:51
guhlmal, one question: why does one not use the gyro for abs_x, y, z ?23:52
guhlahh because it give REL_X, ...23:53
*** dlavso_ <dlavso_!> has quit IRC (Ping timeout: 245 seconds)23:56
guhlmal, do you think i should also change the name?23:59

Generated by 2.17.1 by Marius Gedminas - find it at!