*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has quit IRC (Ping timeout: 260 seconds) | 00:04 | |
*** paju <paju!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has quit IRC (Ping timeout: 260 seconds) | 00:12 | |
abranson | dstm: 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!~ricmm@li577-53.members.linode.com> has quit IRC (Ping timeout: 260 seconds) | 00:13 | |
*** paju <paju!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has joined #sailfishos-porters | 00:13 | |
*** ricmm <ricmm!~ricmm@li577-53.members.linode.com> has joined #sailfishos-porters | 00:14 | |
dstm | abranson: ty, I'll check it out | 00:14 |
dstm | abranson: right, video recording doesn't work, I haven't checked it yet | 00:17 |
dstm | dstm: I hope 'states[i] = 0' wont confuse androids frameworks, do u know how the states are used? | 00:29 |
*** dstm <dstm!~duud@p20030070CF4A5B00021D7DFFFE112201.dip0.t-ipconnect.de> 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@2.31.145.76> has joined #sailfishos-porters | 01:22 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 01:22 | |
*** zhxt <zhxt!~zhxt@1.180.212.74> has quit IRC (Quit: Konversation terminated!) | 02:40 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters | 03:21 | |
akhil_surabhi | mal: ping | 03:25 |
akhil_surabhi | can anyone please tell me the password for ssh nemo@192.168.2.15? | 03:30 |
*** miau_ <miau_!~miau@55d403c0.access.ecotel.net> has joined #sailfishos-porters | 03:38 | |
*** miau__ <miau__!~miau@55d4036c.access.ecotel.net> has quit IRC (Ping timeout: 256 seconds) | 03:42 | |
miau_ | akhil_surabhi: Youncan set it in settings or via telnet | 03:47 |
akhil_surabhi | miau_: i've a problem with settings, developer mode won't open up, telnet won't work as well | 03:56 |
*** spiiroin <spiiroin!~spiiroin@178-55-78-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 240 seconds) | 05:59 | |
*** lpotter <lpotter!~lpotter@CPE-124-181-53-82.vic.bigpond.net.au> 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-porters | 06:41 | |
spiiroin | litew: 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 logs | 06:44 |
abranson | miau_: are you still getting the camera permission denied? | 07:15 |
*** lpotter <lpotter!~lpotter@CPE-124-181-53-82.vic.bigpond.net.au> has joined #sailfishos-porters | 07:15 | |
*** platicus <platicus!~matrixirc@56.red-213-97-179.staticip.rima-tde.net> has joined #sailfishos-porters | 07:19 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 07:26 | |
miau_ | abranson: Compiled droidmedia a few seconds ago. | 07:27 |
miau_ | abranson: It works :) | 07:28 |
*** drFaustroll <drFaustroll!~drFaustro@vpn-3-055.rl.ac.uk> has joined #sailfishos-porters | 07:33 | |
*** drFaustroll <drFaustroll!~drFaustro@vpn-3-055.rl.ac.uk> has quit IRC (Changing host) | 07:33 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 07:33 | |
*** platicus <platicus!~matrixirc@56.red-213-97-179.staticip.rima-tde.net> has quit IRC (Ping timeout: 264 seconds) | 07:34 | |
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters | 07:36 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds) | 07:37 | |
abranson | hey 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: http://xkcd.com/267/) | 07:41 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 07:42 | |
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos-porters | 07:47 | |
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters | 07:54 | |
abranson | dstm: here are the possible states. i'm not sure there's a good null value, but 0 seems as good a value as any: http://androidxref.com/6.0.0_r1/xref/frameworks/base/core/java/android/app/ActivityManager.java#270 | 08:06 |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters | 08:17 | |
*** CrKit <CrKit!~nekit@176.59.117.53> has joined #sailfishos-porters | 08:43 | |
*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has joined #sailfishos-porters | 08:47 | |
*** ghosalmartin <ghosalmartin!~ghosalmar@90.216.134.193> has joined #sailfishos-porters | 08:54 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds) | 08:54 | |
*** dstm <dstm!~duud@p20030070CF164E00021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters | 08:54 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters | 08:55 | |
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 08:57 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 240 seconds) | 08:58 | |
*** eduardas_m <eduardas_m!~eduardas_@213.197.143.19> has joined #sailfishos-porters | 09:01 | |
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 252 seconds) | 09:02 | |
ghosalmartin | morning :D | 09:03 |
CrKit | morning :) | 09:07 |
ghosalmartin | its a good morning toda | 09: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_!~liar@178.114.189.90.wireless.dyn.drei.com> has joined #sailfishos-porters | 09:17 | |
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 09:20 | |
*** krnlyng__ <krnlyng__!~liar@178.112.219.58.wireless.dyn.drei.com> 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 technically | 09:22 |
pi_____ | http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-02-04-14.33.log.html | 09:22 |
pi_____ | don't think so | 09:22 |
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has joined #sailfishos-porters | 09:23 | |
*** cvp[Mobile] <cvp[Mobile]!~sailfish@x59cc8b85.dyn.telefonica.de> has quit IRC (Ping timeout: 252 seconds) | 09:24 | |
CrKit | pi_____, you just need to flash Android boot.img to boot it | 09:25 |
*** Konsieur <Konsieur!~kabouik@147.99.218.243> has joined #sailfishos-porters | 09:26 | |
pi_____ | and will work ? :O | 09:26 |
CrKit | for booting Android, yes, since /system is unmodified | 09:28 |
pi_____ | and later boot.img from SFOS and will boto SFOS right? | 09:29 |
pi_____ | boot* | 09:29 |
CrKit | yes | 09:29 |
pi_____ | thx! | 09:30 |
sledges | you can flash boot.img to recovery partition and then have dual-boot to android via volume+power buttons | 09:31 |
pi_____ | but then i'll loose recovery i think | 09:32 |
pi_____ | if i can flsh boot.img rom recovery i think it's good enough to have like that | 09:32 |
pi_____ | from* | 09:33 |
*** carepack_ <carepack_!~carepack_@HSI-KBW-109-192-015-209.hsi6.kabel-badenwuerttemberg.de> has joined #sailfishos-porters | 09:34 | |
sledges | it's not that you are using recovery that often, and if you need, you just flash it back | 09:36 |
*** dlavso <dlavso!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds) | 09:42 | |
*** nimoot <nimoot!~HoopyFroo@unaffiliated/toomin> has quit IRC (Ping timeout: 240 seconds) | 09:45 | |
dstm | abranson: this shouldn't happen: 'E CameraService: getCameraPriorityFromProcState: Received invalid process state -1 from ActivityManagerService' | 09:53 |
abranson | dstm: 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 |
dstm | abranson: second line in logcat after starting cam | 09:56 |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 09:59 | |
abranson | dstm: do you have a paste? i can compare it to mine. | 09:59 |
dstm | abranson: https://dpaste.de/FWWH | 10:01 |
dstm | abranson: can u reproduce this? | 10:03 |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Read error: Connection reset by peer) | 10:03 | |
abranson | dstm: no I don't see that | 10:07 |
dstm | abranson: cam was in video mode, before starting. | 10:07 |
dstm | abranson: ok I'll check md5sums of my libs, maybe I didn't update all of them, since I recompiled some with my changes yesterday | 10:08 |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Quit: Page closed) | 10:10 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters | 10:14 | |
abranson | dstm: 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 |
dstm | abranson: ok, I'll check my installation....., and I'll look why video isn't working | 10:17 |
dstm | abranson: what is 'md5sum /usr/libexec/droid-hybris/system/lib/libcameraservice.so' on your device? | 10:25 |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Ping timeout: 240 seconds) | 10:32 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sailfishos-porters | 10:35 | |
*** piggz_work <piggz_work!~androirc@188.29.165.90.threembb.co.uk> has joined #sailfishos-porters | 10:35 | |
piggz_work | Yo | 10:35 |
dstm | abranson: I was using the wrong libcameraservice.so, don't get the error anymore | 10:39 |
*** CarlosMazieri <CarlosMazieri!~kvirc@gate-tx3.freescale.com> has quit IRC (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) | 10:47 | |
*** CarlosMazieri <CarlosMazieri!~quassel@gate-tx3.freescale.com> has joined #sailfishos-porters | 10:47 | |
abranson | dstm: good to hear | 10:54 |
dstm | abranson: may I have your logcat? how does it look after starting video recording | 10:57 |
abranson | dstm: i think so, hang on. funnily enough the front camera works for video recording! | 11:01 |
dstm | abranson: here it is: 'E CameraService: CameraService::connect evicting conflicting client for camera ID 0' our states :) | 11:10 |
abranson | dstm: yeah I have that one as well - there's some timing out with /dev/video2 that sledges spotted too | 11:11 |
abranson | going to get a log of the working front camera recording and see what's different | 11:12 |
piggz_work | Guys, if i was to buy a phone for porting, what woukd be most useful to the community? Ie, android version? | 11:12 |
sledges | piggz_work: http://bit.ly/port-requests and android6, 64bit preferred | 11:13 |
piggz_work | Sledges: ok, ill take a look | 11:14 |
*** carepack_ <carepack_!~carepack_@HSI-KBW-109-192-015-209.hsi6.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 240 seconds) | 11:19 | |
abranson | dstm: can you check your other camera too? | 11:22 |
dstm | abranson: front? | 11:22 |
dstm | abranson: 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 backcam | 11:25 |
dstm | we have to look why this eviction conflict happens: CameraService.cpp:1043 ff. | 11:32 |
*** piggz_work <piggz_work!~androirc@188.29.165.90.threembb.co.uk> has quit IRC (Read error: Connection reset by peer) | 11:34 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 11:45 | |
dstm | well cpp's type signatures, 4 lines long | 11:48 |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has joined #sailfishos-porters | 12:01 | |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has joined #sailfishos-porters | 12:09 | |
*** piggz_work <piggz_work!~androirc@188.29.165.70.threembb.co.uk> has joined #sailfishos-porters | 12: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-porters | 12:29 | |
*** mp107 <mp107!~mp107@user-94-254-163-26.play-internet.pl> has joined #sailfishos-porters | 12:32 | |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Quit: leaving) | 12:32 | |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has joined #sailfishos-porters | 12:33 | |
*** mp107 <mp107!~mp107@user-94-254-163-26.play-internet.pl> has quit IRC (Remote host closed the connection) | 12:33 | |
*** mp107 <mp107!~mp107@user-94-254-163-26.play-internet.pl> has joined #sailfishos-porters | 12:34 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-162-12.play-internet.pl> has joined #sailfishos-porters | 12:46 | |
akhil_surabhi | mal: ping | 12:51 |
mal | akhil_surabhi: pong | 12:51 |
akhil_surabhi | mal: finally got developer mode and ssh working, thanks to ghosalmartin | 12:52 |
akhil_surabhi | mal: how to get cellular network working | 12:53 |
*** flyser <flyser!~quassel@ipb2189ac0.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 240 seconds) | 12:55 | |
*** piggz_work <piggz_work!~androirc@188.29.165.70.threembb.co.uk> has quit IRC (Ping timeout: 255 seconds) | 12:59 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sailfishos-porters | 13:00 | |
mal | akhil_surabhi: what was the reason for the developer mode problem? | 13:01 |
mal | akhil_surabhi: get some logs so we can fix all existing issues which also might affect that | 13:01 |
nh1402 | afternoon | 13:02 |
akhil_surabhi | mal: there were some permission denial issues regarding /dev/cpuset/ | 13:02 |
akhil_surabhi | mal: this helped: https://github.com/ghosalmartin/android_kernel_lge_bullhead-1/commit/5d0e7d6be68a795399a3f0c34b5e2227b2835a14 | 13:03 |
akhil_surabhi | mal: this is a pastebin of my logcat regarding radios: http://pastebin.com/kRZfPmWa | 13:04 |
sledges | Nokius_: ^ | 13:04 |
sledges | i saw OOM problems in your Wileyfox yesterday | 13:04 |
mal | akhil_surabhi: also get dmesg and journalctl and normal logcat for your device, preferrably after reboot | 13:05 |
akhil_surabhi | mal: sure | 13:05 |
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters | 13:07 | |
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds) | 13:09 | |
ghosalmartin | it seems OOM is being very bad | 13:11 |
akhil_surabhi_ | mal: http://pastebin.com/9Wj1S4qr | 13:11 |
ghosalmartin | mal: he has sim logo, i thought ril_subscription would just need correct values then gg | 13:12 |
*** mp107 <mp107!~mp107@user-94-254-163-26.play-internet.pl> has quit IRC () | 13:12 | |
akhil_surabhi_ | mal: http://pastebin.com/iCrjnJzY | 13:13 |
sledges | this oom has so far exposed itself only through a stuck lockscreen (booster-qt5), but looks like it was just a beginning :) | 13:13 |
sledges | how can oom bits affect cpuset | 13:14 |
abranson | dstm: 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!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has joined #sailfishos-porters | 13:17 | |
dstm | abranson: 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_!~miau@55d403c0.access.ecotel.net> has quit IRC (Ping timeout: 255 seconds) | 13:26 | |
abranson | dstm: yes it's in the back of my mind. those possible states are pretty damn android though ;) | 13:28 |
abranson | this androidxref is pretty amazing. i was wrestling with the googlesource before and it's such a breeze in comparison to that. | 13:29 |
dstm | I'm on emacs with gnu global, woks fine for searching identifiers | 13:34 |
sledges | ctags ;p | 13:36 |
dstm | ctags + ? | 13:38 |
dstm | vim | 13:38 |
dstm | :) | 13:38 |
sledges | oyah:)) | 13:42 |
abranson | ooer easy fellas we don't want no trouble | 13:43 |
nh1402 | been 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 |
mal | akhil_surabhi_: 4g is enabled by default afaik | 13:49 |
mal | akhil_surabhi_: which network are you using? | 13:49 |
*** spiiroin <spiiroin!~spiiroin@178-55-78-55.bb.dnainternet.fi> has joined #sailfishos-porters | 13:49 | |
akhil_surabhi_ | airtel INDIA | 13:50 |
akhil_surabhi_ | mal: ^ | 13:51 |
mal | ok | 13:51 |
mal | akhil_surabhi_: still waiting for the normal logcat | 13:52 |
akhil_surabhi_ | mal: oh, sorry, i forgot, one min | 13:52 |
mal | akhil_surabhi_: also your journalctl is only showing kernel messages because kernel is making a lot of output, try adding -n10000 or something to the command | 13:55 |
akhil_surabhi_ | mal: sure, one minute | 13:56 |
abranson | dstm: 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_ | mal: http://pastebin.com/Yg1XUrHj | 14:06 |
akhil_surabhi_ | logcat is too long, my pastebin account restricts me from give more | 14:07 |
ghosalmartin | see why LocSvc_launcher is failing | 14:10 |
ghosalmartin | am guessing you need a symlink in etc | 14:10 |
mal | akhil_surabhi_: also the QMI errors look bad | 14:12 |
akhil_surabhi_ | mal: journalctl makes terminal so cluttery that i had hard time finding the beginning after some lines | 14:13 |
ghosalmartin | akhil_surabhi_, do you still have pm-service disabled or? | 14:13 |
akhil_surabhi_ | mal: journalctl: http://pastebin.com/AtWdA7px | 14:14 |
akhil_surabhi_ | ghosalmartin: pm-service? let me check once | 14:14 |
akhil_surabhi_ | ghosalmartin: it is enabled | 14:15 |
mal | akhil_surabhi_: hmm, something is wrong on the graphics side, HWComposer::present:143 - QPA-HWC: err in present returned -22 is spammed to the log | 14:15 |
akhil_surabhi_ | mal: ya, that's what making my terminal full of clutter | 14: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 | |
NeoChapay | mal: can you help me with mali400 and hybris | 14:15 |
mal | NeoChapay: I have no experience with mali, what is the problem? | 14:16 |
NeoChapay | mal: surfacefinder run but test_hwcomposer segfal | 14:17 |
NeoChapay | mal: strace http://pastebin.com/JiQXcyYt | 14:19 |
NeKit | sledges, Nokius_: so it runs UI on WileyFox already? | 14:22 |
akhil_surabhi_ | mal ghosalmartin: managed to get network | 14:23 |
ghosalmartin | woop woop | 14:23 |
ghosalmartin | how? | 14:23 |
akhil_surabhi_ | mal ghosalmartin: ril_subscription.conf, i modified it and it is working.. | 14:24 |
mal | akhil_surabhi_: what did you change? | 14:24 |
mal | NeoChapay: does test_hwcomposer print anything to normal output? | 14:24 |
*** Lapointe <Lapointe!~BobbyLapo@ns3003185.ip-5-196-75.eu> has left #sailfishos-porters | 14:25 | |
akhil_surabhi_ | mal: sub=SUB1, commented that | 14:25 |
mal | akhil_surabhi_: it was enabled by default? | 14:26 |
ghosalmartin | akhil_surabhi_, the hammerhead config has it commented it out? | 14:27 |
akhil_surabhi_ | mal: what is lipstick? | 14:27 |
mal | akhil_surabhi_: the compositor | 14:27 |
akhil_surabhi_ | mal ghosalmartin: don't know why, it was initially commented out, i enabled and disabled it, magic!! | 14:27 |
NeoChapay | mal: no http://pastebin.com/fnWLdbdh | 14:28 |
sledges | NeKit: 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 |
NeoChapay | mal: http://pastebin.com/rxa2eYKS surfacefinder start | 14:28 |
mal | NeoChapay: how about in logs? | 14:29 |
NeoChapay | mal: http://pastebin.com/JhZWvCje logcat | 14:29 |
NeoChapay | mal: http://pastebin.com/af5HCuUd dmesg | 14:31 |
akhil_surabhi_ | mal ghosalmartin: i do get signals, tried with different sims, but, no calls, no internet, no messages | 14:32 |
ghosalmartin | akhil_surabhi_, probably more stuff needs to be fixed | 14:34 |
ghosalmartin | for calls, youd need pulseaudio glue | 14:34 |
ghosalmartin | probably missing some hookup for internet and messages | 14:34 |
akhil_surabhi_ | ghosalmartin: can you help me in finding out, this device seems pretty odd to me | 14:35 |
*** piggz_work <piggz_work!~androirc@188.29.165.227.threembb.co.uk> has joined #sailfishos-porters | 14:35 | |
ghosalmartin | akhil_surabhi_, all devices are pretty odd, there cm13 :P | 14:35 |
akhil_surabhi_ | ghosalmartin: don't know why, i lost my network again ! | 14:36 |
*** piggz_work <piggz_work!~androirc@188.29.165.227.threembb.co.uk> has quit IRC (Read error: Connection reset by peer) | 14:41 | |
ghosalmartin | on a train by any chance? :P | 14:41 |
nh1402 | or do you happen to be in the middle of nowhere? | 14:43 |
nh1402 | :p | 14:43 |
akhil_surabhi_ | think so :P | 14:44 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-162-12.play-internet.pl> has quit IRC (Ping timeout: 256 seconds) | 14:45 | |
NeKit | Nokius_, 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 |
ghosalmartin | dunno am a noob :P | 14:46 |
akhil_surabhi_ | maybe someone who knows about it can help, because dmesg has a lot of similar errors | 14:48 |
ghosalmartin | a google always helps | 14:48 |
ghosalmartin | http://infocenter.arm.com/help/topic/com.arm.doc.ddi0314h/Cihccggi.html | 14:48 |
ghosalmartin | except in this instance, I have no idea what a CoreSight Cross Trigger Interface is :P | 14:49 |
akhil_surabhi_ | i don't know too | 14:50 |
NeoChapay | mal: lipstick start http://pastebin.com/Aw3sm5Mp | 14:52 |
akhil_surabhi_ | ghosalmartin: sys-fs-cgroup-bfqio.mount and sys-fs-pstore.mount failed | 14:53 |
ghosalmartin | akhil_surabhi_, they dont matter too much from what ive seen | 14:54 |
nh1402 | ghosalmartin: it mentions "probe" maybe it's about aliens | 14:54 |
ghosalmartin | nh1402, exactly :P | 14:55 |
akhil_surabhi_ | ghosalmartin: i still have permission denied errors, write_file: Unable to open '/dev/cpuset/system-background/mems': Permission denied | 14:56 |
akhil_surabhi_ | many, similar to that | 14:56 |
ghosalmartin | akhil_surabhi_, still no idea on them, but they dont seem to be breaking much | 14:56 |
*** artur-shaik <artur-shaik!~ArturShai@195.114.243.202> has joined #sailfishos-porters | 14:56 | |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Quit: Lost terminal) | 14:57 | |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has joined #sailfishos-porters | 14:57 | |
ghosalmartin | akhil_surabhi_, who knows, if the appropriate partitions are mounted then its alright | 14:58 |
artur-shaik | hello. 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_!~carepack_@HSI-KBW-109-192-015-209.hsi6.kabel-badenwuerttemberg.de> has joined #sailfishos-porters | 15:08 | |
sledges | artur-shaik: where did you take the installation from? | 15:09 |
*** CrKit <CrKit!~nekit@176.59.117.53> has quit IRC (Ping timeout: 255 seconds) | 15:09 | |
*** flyser <flyser!~quassel@ipb2189ac0.dynamic.kabel-deutschland.de> has joined #sailfishos-porters | 15:12 | |
akhil_surabhi_ | ghosalmartin: IPC_RTR: pil_vote_load_worker: Failed to load modem | 15:15 |
ghosalmartin | akhil_surabhi_, gotta find out hwy it failed to load the modem | 15:16 |
ghosalmartin | did you disable any services that looked important | 15:16 |
akhil_surabhi_ | ghosalmartin: no, i did not disable any service without confirming except for ipacm, time_daemon | 15:17 |
ghosalmartin | try ipacm | 15:17 |
akhil_surabhi_ | ghosalmartin: will you have a look at my dmesg when i have network? | 15:18 |
ghosalmartin | sure | 15:18 |
akhil_surabhi_ | ghosalmartin: http://pastebin.com/hkQVCJf7 | 15:20 |
akhil_surabhi_ | ghosalmartin: http://pastebin.com/hkQVCJf7 | 15:20 |
akhil_surabhi_ | see this: [ 9.905179] apr_tal:Modem Is Up | 15:21 |
ghosalmartin | akhil_surabhi_, so modem seems to be working | 15:21 |
akhil_surabhi_ | ghosalmartin: sometimes yes, sometimes no. Don't know why | 15:22 |
*** CrKit <CrKit!~nekit@85-95-187-85.saransk.ru> has joined #sailfishos-porters | 15:24 | |
ghosalmartin | akhil_surabhi_, hmm very odd | 15:25 |
ghosalmartin | compare logs of working and none working then? | 15:25 |
akhil_surabhi_ | ghosalmartin: will give it a shot | 15:26 |
artur-shaik | sledges: from openrepos (sailfish_lib, dfstorm) and last mostly from http://repo.merproject.org/obs/home:/abranson:/branches:/mer:/core/latest_armv7hl/ | 15:29 |
sledges | artur-shaik: i mean, the main sailfishos installation .zip | 15:30 |
artur-shaik | ou, sec | 15:31 |
sledges | it already comes with gstreamer1 | 15:31 |
sledges | the last image that is | 15:31 |
artur-shaik | sledges: https://github.com/wdehoog/sailfish-bacon-images/releases | 15:31 |
abranson | artur-shaik: that repo's a bit old. this one is more current: http://repo.merproject.org/obs/mer:/core/latest_armv7hl/armv7hl/ | 15:33 |
abranson | the 1.10 packages are in there | 15:33 |
artur-shaik | abranson: is there any manuals how i can update my system? | 15:35 |
abranson | abranson: i don't think so. how did you add that repository in the first place? | 15:36 |
artur-shaik | ou I see.. it's just repo. and I can add it with zypper? | 15:37 |
sledges | artur-shaik: does camera work? | 15:37 |
artur-shaik | sledges: yes, i made video, but cannot play it | 15:38 |
sledges | ah i think it's the dreaded problem of oneplus one not being able to hw decode videos, that's where vgrade stopped porting it | 15:43 |
sledges | he together with rcg made a sw decoder/wrapper, but that will use cpu instead of gpu | 15:43 |
sledges | artur-shaik: so you ought to need this: https://github.com/ruedigergad/sailfishos-codec-builds/blob/master/build/gstreamer1.0-libav_priority_override-1.4.5-2.armv7hl.rpm | 15:44 |
artur-shaik | ok, thank you sledges , i will try | 15:47 |
*** drFaustroll_ <drFaustroll_!~drFaustro@vpn-3-142.rl.ac.uk> has joined #sailfishos-porters | 15:48 | |
*** drFaustroll_ <drFaustroll_!~drFaustro@vpn-3-142.rl.ac.uk> has quit IRC (Changing host) | 15:48 | |
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 15:48 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 260 seconds) | 15:49 | |
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has joined #sailfishos-porters | 15:49 | |
hpagseddy | mal: can you solved the problem? | 15:50 |
artur-shaik | sledges: thank you. at least i have playable videos | 15:55 |
*** itbaron <itbaron!~kvirc@134.19.187.45> has joined #sailfishos-porters | 15:55 | |
mal | hpagseddy: what problem? | 16:05 |
hpagseddy | mal: http://chopapp.com/#2tewyaf | 16:05 |
sledges | artur-shaik: have fun! | 16:08 |
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds) | 16:08 | |
mal | hpagseddy: there is something really wrong in your setup, show your .ks file again | 16:09 |
hpagseddy | mal: http://chopapp.com/#5ns95i9f | 16:10 |
mal | hpagseddy: please try to find some other paste service that would work for you, I hate that one | 16:10 |
hpagseddy | mal: ok ill try :) | 16:10 |
mal | hpagseddy: I thought I said that you should rerun the chapter 8.3, that shows that you haven't done it | 16:12 |
mal | hpagseddy: line 23 is wrong | 16:12 |
hpagseddy | mal: i was done chapter 8.3 | 16:13 |
hpagseddy | mal: what should i write in line 23? | 16:13 |
mal | just rerun chapter 8.3 so it will recreate the file | 16:13 |
mal | hpagseddy: show all of the commands and output of each one so I can see you are doing it correctly | 16:14 |
*** mp107 <mp107!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has quit IRC (Ping timeout: 240 seconds) | 16:14 | |
mal | hpagseddy: remember the change to the commands I told you yesterday | 16:14 |
hpagseddy | mal: ok | 16:14 |
hpagseddy | mal: ill remove --runtime=native \ and i will use RELEASE=2.0.5.6 right? | 16:15 |
mal | hpagseddy: and also use HA_REPO="repo --name=adaptation-community-$DEVICE-@RELEASE@" | 16:16 |
hpagseddy | mal: sure | 16:16 |
mal | hpagseddy: you'll see what command to replace with that | 16:17 |
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!) | 16:18 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 16:27 | |
*** eduardas_m <eduardas_m!~eduardas_@213.197.143.19> has quit IRC (Quit: Leaving) | 16:29 | |
T4 | <stek29> akhil_surabhi_: that's not because of permissions | 16:37 |
*** phlixi <phlixi!~phlixi@ppp-93-104-77-156.dynamic.mnet-online.de> has quit IRC (Read error: Connection reset by peer) | 16:37 | |
T4 | <stek29> On some devices there are cpuset.mems and cpuset.cpus | 16:37 |
*** phlixi <phlixi!~phlixi@ppp-93-104-77-156.dynamic.mnet-online.de> has joined #sailfishos-porters | 16:37 | |
T4 | <stek29> And on some -- mems and cpus | 16:37 |
T4 | <stek29> Look at your init.rc, maybe they should be tweaked | 16: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.mems | 16:40 |
T4 | <stek29> And then tweaked rc file | 16:40 |
hpagseddy | mal: 8.3 has no input | 16:44 |
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has joined #sailfishos-porters | 16:45 | |
mal | hpagseddy: what? | 16:45 |
hpagseddy | mal: like this https://paste.fedoraproject.org/549969/39954614/ | 16:46 |
*** itbaron <itbaron!~kvirc@134.19.187.45> has quit IRC (Remote host closed the connection) | 16:46 | |
mal | hpagseddy: so now pastebin the .ks file in tmp/ | 16:46 |
sledges | stek29: sfos init.rc is taken from cm, unless we got a misaligned base | 16:49 |
hpagseddy | mal: ok i found a new pasebin alternative for you :) https://gist.github.com/hpagseddy/a6cf667043da416a47d6c751d0e9614d | 16:50 |
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 |
mal | hpagseddy: ok, now continue with chapters 8.4.1 and 8.5 | 16:54 |
mal | hpagseddy: do not edit .ks unless I say so | 16:54 |
sledges | stek29: means something else (device-specific) tweaked it in cm, and fell through cracks in sfos? if init.rc files are identical | 16:54 |
sledges | can also be udev | 16:54 |
sledges | just like with bootdevice, so it's best to create a udev rule in sfos, rather than tweaking init.rc | 16:55 |
hpagseddy | mal: this is the 8.4.1 https://gist.github.com/hpagseddy/107b61aaebc230656660dbfb5ecc0b94 | 16:56 |
mal | hpagseddy: like I have said several times that is not an error | 16:56 |
hpagseddy | mal: ok | 16:58 |
hpagseddy | mal: you said post the every step | 16:59 |
hpagseddy | *steps | 16:59 |
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds) | 16:59 | |
mal | hpagseddy: only for the earlier ones so I can see that the creation of .ks was ok | 17:01 |
hpagseddy | mal: oh | 17:02 |
hpagseddy | mal: so this is 8.5 https://gist.github.com/hpagseddy/e5f8057ff5d394f9387aa414169bbfb9 | 17:02 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-203.play-internet.pl> has joined #sailfishos-porters | 17:03 | |
*** carepack_ <carepack_!~carepack_@HSI-KBW-109-192-015-209.hsi6.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 260 seconds) | 17:05 | |
mal | hpagseddy: so the same error as before but we didn't find why it fails | 17: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 https://android.googlesource.com/platform/system/core/+/master/rootdir/init.rc#166 | 17:09 |
hpagseddy | mal: hadk says i should change the "@Jolla Configuration @DEVICE@" with "@jolla-hw-adaptation-@DEVICE@" | 17:10 |
mal | hpagseddy: we tried that already | 17:11 |
mal | but try again if you want | 17:11 |
hpagseddy | mal: ok | 17:12 |
hpagseddy | mal: now the error is changed https://gist.github.com/hpagseddy/c87351a9e5961b10eef54042d58f8991 | 17:16 |
mal | hpagseddy: show the line you changed | 17:17 |
hpagseddy | mal: https://gist.github.com/hpagseddy/3fa5b712b21960f21feab50184e0453b | 17:18 |
hpagseddy | mal: line 23 | 17:18 |
mal | hpagseddy: it's supposed to be @jolla-hw-adaptation-i9100g | 17:20 |
mal | hpagseddy: HADK pdf says NB: expand @DEVICE@ occurrences manually | 17:20 |
hpagseddy | mal: ooh. | 17:21 |
hpagseddy | mal: now i start build again | 17:21 |
hpagseddy | mal: now it says https://gist.github.com/hpagseddy/c8396a7500107a962e996312659510bb | 17:23 |
mal | hpagseddy: so exactly as before | 17:24 |
*** Konsieur <Konsieur!~kabouik@147.99.218.243> has quit IRC (Ping timeout: 276 seconds) | 17:26 | |
abranson | dstm: 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 camera | 17:27 |
mal | hpagseddy: try adding this and the next line https://github.com/mer-hybris/droid-hal-configs/blob/master/patterns/templates/jolla-hw-adaptation-%40DEVICE%40.yaml#L15 to hybris/droid-configs/patterns/jolla-hw-adaptation-i9100g.yaml and remember to replace @DEVICE@ with i9100g | 17:27 |
abranson | i'm trying to get that information slightly less destructively | 17:27 |
mal | hpagseddy: after that "build_packages.sh -c" and chapters 8.3, 8.4.1 and 8.5 | 17:28 |
hpagseddy | mal: where to add this line | 17:29 |
mal | hpagseddy: the same place as in that file I linked | 17:29 |
mal | hpagseddy: should be easy to find | 17:29 |
hpagseddy | mal: which line in jolla-hw-adaptation-i9100g.yaml | 17:30 |
hpagseddy | *under which line | 17:30 |
mal | hpagseddy: try to think a little, I said to put it in the same places as here https://github.com/mer-hybris/droid-hal-configs/blob/master/patterns/templates/jolla-hw-adaptation-%40DEVICE%40.yaml#L15 so that means under - droid-config-i9100g-preinit-plugin | 17:31 |
mal | hpagseddy: so you need to add two lines, number 15 and 16 | 17:33 |
hpagseddy | mal: ok i adding line 15 and 16 | 17:34 |
hpagseddy | mal: it says https://gist.github.com/hpagseddy/1726d30e9982394aee7f3a44c3cc1558 | 17:44 |
*** noume <noume!~noume@195-253-17-159.ip.dokom21.de> has joined #sailfishos-porters | 17:52 | |
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has joined #sailfishos-porters | 17:56 | |
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has quit IRC (Changing host) | 17:56 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 17:56 | |
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has quit IRC (Quit: hpagseddy) | 18:00 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Client Quit) | 18:01 | |
*** drFaustroll <drFaustroll!~drFaustro@vpn-3-142.rl.ac.uk> has joined #sailfishos-porters | 18:01 | |
*** drFaustroll <drFaustroll!~drFaustro@vpn-3-142.rl.ac.uk> has quit IRC (Changing host) | 18:01 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 18:01 | |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection) | 18:06 | |
mal | why is it so difficult to follow instructions | 18:09 |
*** drFaustroll_ <drFaustroll_!~drFaustro@2.31.145.76> has joined #sailfishos-porters | 18:11 | |
*** drFaustroll_ <drFaustroll_!~drFaustro@2.31.145.76> has quit IRC (Changing host) | 18:11 | |
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 18:11 | |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 258 seconds) | 18:15 | |
Mister_Magister | mal: i'm asking this question since loooong time :/ | 18:16 |
Mister_Magister | kimmoli: ping | 18:17 |
Mister_Magister | jusa_: ping | 18:18 |
kimmoli | pong | 18:18 |
Mister_Magister | kimmoli: can you help me with fm now? or bluetooth? | 18:18 |
kimmoli | on the road, having lunch break from work. | 18:19 |
Mister_Magister | so i guess no :/ | 18:19 |
kimmoli | did you try older pulse-modules-droid as guhl and mal explained? | 18:19 |
Mister_Magister | kimmoli: my pulse-modules-droid is just one commit behind that from guhl | 18:20 |
kimmoli | ok then it is not that. then it must be something else. | 18:21 |
Mister_Magister | and bluetooth hack fails with Loaded: error (Reason: Invalid argument) | 18:21 |
kimmoli | saidinesh5 invented another thing, that needs pulse-policy-enforcement hack to sort sources differently | 18:22 |
Mister_Magister | that was not working for me too | 18:22 |
saidinesh5 | Mister_Magister: without bluetooth chances are your FM wont work | 18:22 |
kimmoli | then it must be in configs | 18:22 |
kimmoli | that too | 18:22 |
saidinesh5 | so you need to find out why your bluetooth isnt working | 18:23 |
Mister_Magister | droid-hcismd-up.sh fails with Loaded: error (Reason: Invalid argument) | 18:23 |
Mister_Magister | and here it is http://pastebin.com/4fbgnakd | 18:23 |
dstm | abranson: makes sense | 18:23 |
saidinesh5 | Mister_Magister: afaik that command can be executed only once per boot | 18:24 |
saidinesh5 | command/script | 18:24 |
dstm | abranson: it's clearly stated in droidmediacamera.cpp '// This is really a hack' | 18:24 |
dstm | hehe | 18:24 |
abranson | dstm: not anymore ;D | 18:25 |
Mister_Magister | saidinesh5: it's systemctl service | 18:25 |
saidinesh5 | Mister_Magister: out of curiosity, why not manually execute each part of that script and see where the error occurs? | 18:25 |
Mister_Magister | good idea | 18:25 |
saidinesh5 | Mister_Magister: i know .. here is a cleaned up version of that script: https://github.com/CancroSailors/droid-config-cancro/blob/master/sparse/usr/bin/droid/droid-hcismd-up.sh | 18:26 |
dstm | abranson: we could try using CreateFromCamera it reuses the same IBinder object | 18:26 |
saidinesh5 | this should cause fewer errors in your dmesg | 18:26 |
abranson | dstm: the CameraSource isn't even needed. I've managed to do the same thing only using the CameraParameters | 18:26 |
abranson | checking in now... | 18:26 |
dstm | abranson: that's even better | 18:27 |
abranson | dstm: in my android6 branch. haven't checked it in android < 6 yet though | 18:29 |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has quit IRC (Remote host closed the connection) | 18:30 | |
abranson | but i managed to make a video with both cameras now | 18:30 |
abranson | still getting occasional timeouts accessing the cameras though | 18:30 |
dstm | abranson: ty, I'll check now | 18:31 |
dstm | abranson: btw, what was the cause of 0:0 timer | 18:31 |
Mister_Magister | saidinesh5: script is not working but when i ran command from script from your link it works | 18:32 |
Mister_Magister | i don't know why i'm getting invalid argument | 18:32 |
saidinesh5 | Mister_Magister: so after my script, you get your bluetooth mac address set? | 18:32 |
Mister_Magister | yes | 18:32 |
saidinesh5 | then ditch your script and use mine :P | 18:32 |
Mister_Magister | after running manuall droid-hcismd-up too | 18:33 |
Mister_Magister | i think there is problem in service itself | 18:33 |
saidinesh5 | yeah the original script blindly tries 15 times and gives up | 18:34 |
Mister_Magister | WHAT?! I had to do mistake :D in service file is my script wtf :D | 18:34 |
saidinesh5 | lol | 18:34 |
abranson | dstm: 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 |
abranson | I 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@90.216.134.193> has quit IRC (Ping timeout: 240 seconds) | 18:38 | |
Mister_Magister | saidinesh5: i'll reboot phone and come with results but i think it will be completly broken :v | 18:38 |
saidinesh5 | lets see | 18:38 |
saidinesh5 | also do update that script. | 18:39 |
Mister_Magister | change to yours? | 18:40 |
saidinesh5 | yup | 18:40 |
Mister_Magister | it's working now but okay | 18:40 |
saidinesh5 | you'll see fewer errors in dmesg that way | 18:40 |
Mister_Magister | okay | 18:41 |
mal | Mister_Magister: did you have the problem that psctl list or something like tat doesn't show fm devices? | 18:44 |
mal | *pactl | 18:45 |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-83.play-internet.pl> has joined #sailfishos-porters | 18:46 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-203.play-internet.pl> has quit IRC (Ping timeout: 264 seconds) | 18:47 | |
*** Mister_Magister_ is now known as Mister_Magister | 18:47 | |
dstm | abranson: camera-app doesn't crash (no evicting) but the time stays on 0:0 and no video gets recorded | 18:49 |
Mister_Magister | saidinesh5: yep it's not working. i can only turn it on and see bluetooth mac address | 18:49 |
Mister_Magister | i 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 appears | 18:50 |
pi_____ | how can i listen to fm radio with a ported device? | 18:51 |
saidinesh5 | Mister_Magister: try command line? | 18:52 |
saidinesh5 | pi_____: use the media player app | 18:52 |
Mister_Magister | saidinesh5: how? | 18:52 |
pi_____ | wow true | 18:53 |
pi_____ | thx | 18:53 |
saidinesh5 | hcitool/hciconfig iirc were the tools | 18:53 |
Mister_Magister | saidinesh5: i don't have idea what i should do there | 18:55 |
saidinesh5 | Mister_Magister: hciconfig scan? | 18:56 |
Mister_Magister | yep it's working fine | 18:56 |
saidinesh5 | now sdptool | 18:56 |
saidinesh5 | that's to search browse etc.. bluetooth devices | 18:56 |
Mister_Magister | saidinesh5: is there command to make me visable? | 18:57 |
saidinesh5 | probably hciconfig itself | 18:58 |
saidinesh5 | Mister_Magister: just make your laptop visible | 18:58 |
saidinesh5 | and do a sdptool search on phone | 18:58 |
mal | pi_____: which device? | 18:58 |
Mister_Magister | saidinesh5: laptop? i'll use nexus 7 for bt device and yes that command see it | 18:59 |
saidinesh5 | Mister_Magister: so sdptool browse works? | 19:00 |
Mister_Magister | yep | 19:00 |
Mister_Magister | i settings i can se devices too | 19:00 |
saidinesh5 | so your bluetooth is technically working :P | 19:01 |
Mister_Magister | except that i can't see/change device name/visable mode | 19:01 |
Mister_Magister | or connect | 19:02 |
Mister_Magister | so i can't only turn it on and see other devices | 19:02 |
Mister_Magister | yes it works yaay................ | 19:02 |
pi_____ | one plus X mal | 19:02 |
pi_____ | oneplus X* | 19:02 |
Mister_Magister | saidinesh5: maybe command to connect to device? | 19:03 |
Mister_Magister | for connecting to device* | 19:03 |
mal | pi_____: ok | 19:03 |
saidinesh5 | sdptool add or something | 19:03 |
pi_____ | working all perfectly :) and dual booting android too ((ab)using recovery partition) | 19:04 |
Mister_Magister | saidinesh5: i don't think that 'add' is for that | 19:06 |
saidinesh5 | Mister_Magister: can't remember. been years since i had to use that command :P | 19:07 |
Mister_Magister | okay so what we should do now? | 19:07 |
Mister_Magister | saidinesh5: hci0: Type: BR/EDR Bus: UNKNOWN. Bus unknown is normal? | 19:08 |
Mister_Magister | i was able to change name using hciconfig | 19:09 |
dstm | abranson: after starting recording 'E OMXCodec: Storing meta data in video buffers is not supported' | 19:09 |
saidinesh5 | Mister_Magister: dunno. at this point, you know everything about bluetooth that i do :p | 19:10 |
Mister_Magister | seriously? oh no kimmoli where are you :C | 19:10 |
mal | dstm: 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 https://github.com/mlehtima/gst-droid/commit/03d59e88df8dd98ebe85ea2fb7a949e4526910ee | 19:11 |
mal | dstm: I think I really should make a PR of that, it's been waiting for more than a year | 19:12 |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sailfishos-porters | 19:12 | |
Mister_Magister | saidinesh5: when i tried to connect "Can't get device information: Success" So this is success or fail haha :D | 19:15 |
saidinesh5 | lol | 19:15 |
dstm | mal: ty | 19:15 |
mal | dstm: I should also rebase that, hopefully it will not have many conflicts | 19:16 |
dstm | mal: I'm wondering if the cm12.1 version has this applied, since cam is working fine there | 19:17 |
mal | dstm: then the issue probably is somewhere else if camera works there | 19:18 |
Mister_Magister | mal: bluetooth will be easy you said... | 19:18 |
mal | dstm: that is so far only used on 2011 xperia devices | 19:18 |
mal | Mister_Magister: usually it is | 19:18 |
Mister_Magister | so my phone is not usually :/ | 19:18 |
Mister_Magister | smd_pkt_open: DATA5_CNTL open failed -19 can it be releated to bluetooth? | 19:19 |
dstm | mal: I'm on hammerhead, maybe my codec setup is simply wrong | 19:19 |
mal | dstm: could be, are you sure you have all of the needed symlinks in /etc? | 19:19 |
dstm | mal: let's see what I've done :) | 19:20 |
mal | dstm: pastebin ls -l /etc and ls -l /system/etc | 19:20 |
mal | dstm: also ls -l /dev/video* | 19:21 |
mal | Mister_Magister: wondering if guhl had any issues on thea or if he has yet tried bluetooth | 19:23 |
Mister_Magister | mal: i think he didn't | 19:23 |
dstm | mal: https://dpaste.de/pug4 | 19:25 |
saidinesh5 | mal: does /dev/alog exist on your device? | 19:25 |
saidinesh5 | say /dev/alog/main or /dev/alog/events | 19:25 |
mal | dstm: you are missing something in this file https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/udev/rules.d/999-droid-vidc.rules | 19:26 |
mal | dstm: the rules for video34 and 35, try adding those | 19:28 |
mal | saidinesh5: yes, I have those on fp2 | 19:31 |
* saidinesh5 reboots his device to make sure | 19:31 | |
saidinesh5 | mal: I dont have those paths | 19:32 |
saidinesh5 | all i have is: | 19:32 |
saidinesh5 | srw-rw-rw- 1 root root 0 Feb 7 01:02 /dev/log | 19:32 |
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters | 19:33 | |
dstm | mal: same error, also I don't see any /dev/video* rules on https://github.com/mer-hybris/droid-config-hammerhead-12.1 | 19:41 |
mal | dstm: interesting, wondering what created the symlinks | 19:51 |
abranson | dstm, mal: might be that the new droidmediarecorder hasn't been tested with that yet. it's not in 2.0.5 | 19:51 |
abranson | and mal: that commit looks like it's implementing a TODO. should it be merged? | 19:53 |
mal | abranson: probably | 19:53 |
mal | abranson: I can rebase it and make a PR, there was some discussion about another patch needed for 2011 xperias which delayed also that | 19:54 |
abranson | ah I see | 19:54 |
mal | abranson: this one https://github.com/mlehtima/gst-droid/commit/e5e79687e07ae9f71fff4a07403221b8078e933c | 19:54 |
abranson | wow so many quirks :) | 19:55 |
*** louisdk <louisdk!~louisdk@5.103.130.65> has joined #sailfishos-porters | 19:56 | |
mal | abranson: the problem with that was about making sure caps are requested in the correct order | 19:56 |
abranson | mal: gosh, so it goes wrong if they aren't? | 19:56 |
mal | abranson: not sure, that's what MSameer said | 19:57 |
dstm | mal: init.hammerhead.rc: symlink /dev/video32 /dev/video/venus_dec | 19:58 |
* MSameer does not remember anything :( | 19:58 | |
mal | MSameer: it was a long time ago | 19:58 |
MSameer | yup | 19:59 |
dstm | mal: not sure if this is related but droid-config-hammerhead-12.1 has: [decoder-quirks] \n video/avc = use-codec-supplied-height | 20:00 |
MSameer | that's mainly used for browser if it crashes during youtube playback dstm | 20:01 |
MSameer | s/mainly/only/ IIRC | 20:01 |
dstm | MSameer: ok, thx | 20:03 |
mal | maybe I should figure out what is still needed in those patches so those could be added to upstream | 20:04 |
*** artur-shaik <artur-shaik!~ArturShai@195.114.243.202> has quit IRC (Ping timeout: 245 seconds) | 20:16 | |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters | 20:24 | |
*** divis1969 <divis1969!~dsmirnov@82.208.127.41> has joined #sailfishos-porters | 20:25 | |
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has quit IRC (Quit: Segmentation fault) | 20:25 | |
dstm | mal: here is something nice :) https://dpaste.de/JBc8 | 20:33 |
dstm | abranson: maybe it's related to your colorformat changes? https://dpaste.de/JBc8 | 20:35 |
abranson | dstm: yes, looks that way | 20:36 |
mal | what color format change? | 20:36 |
abranson | looks like we might have to get a CameraSource from somewhere to check which ones are supported. oh well. | 20:38 |
abranson | mal: https://github.com/abranson/droidmedia/commit/dd376075767b50267179f13b4fe22e9671762145 | 20:39 |
*** dstm <dstm!~duud@p20030070CF164E00021D7DFFFE112201.dip0.t-ipconnect.de> has quit IRC (Quit: WeeChat 1.7) | 20:44 | |
*** dstm <dstm!~duud@p20030070CF164E00021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters | 20:46 | |
dstm | loooooooooooool typed reboot into wrong shell :)))) | 20:47 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 20:55 | |
guhl | anybody motivated to help me with my sensors on thea? | 21:11 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sailfishos-porters | 21:16 | |
Mister_Magister | guhl: hello! Did you tried in past fixing bluetooth? | 21:16 |
Mister_Magister | guhl: fixing that sensors... this is magic | 21:16 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 255 seconds) | 21:17 | |
guhl | Mister_Magister, whats the problem with bluetooth ? | 21:18 |
guhl | hi | 21:18 |
Mister_Magister | it's working for you? | 21:18 |
guhl | yes | 21:18 |
Mister_Magister | oh :C | 21:18 |
guhl | i just did "Bluetooth for Qualcomm devices" from https://public.etherpad-mozilla.org/p/faq-hadk | 21:19 |
guhl | nothing else, no magic | 21:20 |
guhl | regarding the sensors i think in principle they need to be powered on | 21:22 |
abranson | dstm: I'm having trouble seeing where any data from the CameraSource is used there though | 21:22 |
guhl | Mister_Magister, all sensors that are working show some power value in test_sensors | 21:23 |
Mister_Magister | me too man me too | 21:23 |
Mister_Magister | only light sensor and not working sensors show me 0mA | 21:25 |
guhl | yes | 21:25 |
guhl | and as far is i understand that these 3 are all on the same bosch chip | 21:25 |
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving) | 21:25 | |
Mister_Magister | yep only Display Rotation sensor is motorola but it's virtual i think | 21:26 |
guhl | yes mal said i should ignore these | 21:26 |
Mister_Magister | since mal don't know how to fix that sensors i gived up | 21:27 |
mal | Mister_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 |
guhl | well lets see | 21:28 |
dstm | abranson: 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_Magister | mal: yes | 21:28 |
dstm | abranson: I guess I done for today, this reboot killed me :) | 21:28 |
guhl | mal, yes they are shown in test_sensors but show power 0 and don't do anything | 21:28 |
mal | guhl: anything sensor related in init* files? how about have you tried enabling sensorservice? | 21:29 |
guhl | it is a bosch bmc150 that has 3 kernel-drivers | 21:31 |
guhl | that http://pastebin.com/upz3X7J5 is kmsg from startup | 21:31 |
Mister_Magister | guhl: are there any working sensors for you? | 21:31 |
guhl | i don't know if that "using legacy resume method" is meaningful | 21:31 |
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has joined #sailfishos-porters | 21:31 | |
guhl | Mister_Magister, proxy, light, gyro, gps | 21:32 |
Mister_Magister | same as me :D | 21:32 |
guhl | i personally don't know why one needs a rotation sensor if one has a gyro but well | 21:33 |
Mister_Magister | me too | 21:33 |
Mister_Magister | it's using accelerometer too probably | 21:33 |
guhl | Mister_Magister, it's the 3 sensors on the bmc150 that don't work | 21:33 |
Mister_Magister | yep | 21:33 |
guhl | and the very strange thing is that | 21:35 |
guhl | cat /sys/class/input/event0/device/value gives me a meaningful triplet of values | 21:35 |
guhl | event0 -> bma2x2 -> accelerometer | 21:35 |
guhl | values like 33 -4 506 when lying flat on the table | 21:37 |
guhl | and -477 -31 -14 standing on the right edge | 21:37 |
guhl | so it know the rotation | 21:38 |
ruthenianboy | GE guys. I have issue with init.rc script. mer class script droid-init-done is not called from it :( | 21:39 |
Mister_Magister | guhl: https://media.giphy.com/media/glmRyiSI3v5E4/giphy.gif | 21:39 |
guhl | :-) | 21:40 |
*** CrKit <CrKit!~nekit@85-95-187-85.saransk.ru> has quit IRC (Ping timeout: 252 seconds) | 21:41 | |
Mister_Magister | how do you know that event0 is accelerometer | 21:42 |
guhl | :-) | 21:42 |
Mister_Magister | tell me please | 21:42 |
guhl | /sys/class/input/event0/device/name = bma2x2 | 21:42 |
guhl | https://github.com/BoschSensortec/BMA2x2_driver | 21:43 |
Mister_Magister | oh o k | 21:45 |
dstm | abranson: gst/droidcamsrc/gstdroidcamsrcrecorder.c 71: recorder->md.color_format = droid_media_camera_get_video_color_format (cam); | 21:48 |
guhl | Mister_Magister, according to the datasheet that bmc150 would even work as double-tap sensor | 21:48 |
guhl | if it would work | 21:48 |
abranson | dstm: That's kind of good to hear | 21:48 |
*** divis1969 <divis1969!~dsmirnov@82.208.127.41> has quit IRC (Remote host closed the connection) | 21:48 | |
Mister_Magister | guhl: double-tap-to-ake was working on android | 21:48 |
abranson | dstm: because it seems like a very expensive way to query colour support, especially when it's not even really being used. | 21:50 |
guhl | aha: never used this phone on android :-) | 21:50 |
dstm | abranson: right, this query seems very expensive, it costs us almost the whole day ;) | 21:52 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Quit: Leaving) | 21:56 | |
Mister_Magister | guhl: like i will never use android on my new phone | 22:01 |
guhl | i have orientation working :-) | 22:04 |
dstm | abranson: 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_Magister | guhl: what? | 22:07 |
guhl | Mister_Magister, i just commented | 22:07 |
guhl | #orientationadaptor = hybrisorientationadaptor | 22:07 |
Mister_Magister | ait | 22:07 |
guhl | in /etc/sensorfw/primaryuse.conf | 22:07 |
Mister_Magister | WHAT | 22:07 |
*** louisdk <louisdk!~louisdk@5.103.130.65> has quit IRC (Ping timeout: 255 seconds) | 22:08 | |
Mister_Magister | if something is not working then remove it? | 22:08 |
guhl | and restarted sensorfwd on the cli | 22:08 |
guhl | /usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --log-level=test | 22:08 |
Mister_Magister | on nemo? | 22:10 |
guhl | root | 22:10 |
guhl | and now screen rotates and Messwerk shows values | 22:10 |
Mister_Magister | [W] main:172 - Failed to register service on D-Bus. Aborting. | 22:10 |
guhl | fist you need to stop the running service | 22:11 |
Mister_Magister | oh how? | 22:11 |
guhl | systemctl stop sensorfwd | 22:11 |
Mister_Magister | i got it | 22:11 |
guhl | i will try if it still works if i start the service | 22:12 |
Mister_Magister | nope not for me | 22:12 |
guhl | yes it does for me | 22:13 |
guhl | did you comment the line in /etc/sensorfw/primaryuse.conf ? | 22:13 |
guhl | well i'll reboot and see if this still works (or if i did something else to enable the sensor) | 22:14 |
abranson | dstm: any way of finding which one it is? | 22:14 |
Mister_Magister | yes of course | 22:14 |
Mister_Magister | why tf nothing is working for me | 22:14 |
guhl | seems that it was something else | 22:15 |
Mister_Magister | oh | 22:16 |
mal | guhl: do you have the default configs under /etc/sensorfw/ in a subfolder? | 22:16 |
dstm | abranson: I should google sometimes :) Maybe this colorformat stuff is normal: http://stackoverflow.com/questions/34547004/mediacodec-with-camera2-api, and my issue is 'OMXCodec: Storing meta data in video buffers is not supported' | 22:17 |
mal | guhl: check logs about sensorfw to see what really happened there | 22:17 |
*** dlavso_ <dlavso_!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 248 seconds) | 22:26 | |
abranson | dstm: but you've still got no recordings | 22:29 |
guhl | mal, there are no subfolders in /etc/sensorfw/ | 22:30 |
dstm | abranson: no, and I don't know what is failing | 22:31 |
ruthenianboy | heh...i will be looking in strace output forever :D | 22:31 |
guhl | mal, Mister_Magister | 22:31 |
guhl | this: | 22:32 |
guhl | echo 1 > /sys/devices/virtual/input/input0/enable | 22:32 |
guhl | did the trick | 22:32 |
Mister_Magister | guhl: YOU ARE GENIUS! | 22:33 |
Mister_Magister | I love you men | 22:33 |
Mister_Magister | so we should make hack for that? | 22:33 |
Mister_Magister | People on xda will be happy :D | 22:34 |
guhl | let me reboot once to see if this really is all | 22:34 |
Mister_Magister | whoa rotating screen i haven't seen that since loooong time | 22:34 |
guhl | cause i also did | 22:35 |
guhl | echo 1 > /sys/class/input/event0/device/enable_int | 22:35 |
Mister_Magister | it is i did nothing special and it worked | 22:35 |
Mister_Magister | i did only this | 22:35 |
guhl | lets see if what really does the trick | 22:35 |
Mister_Magister | it does | 22:35 |
Mister_Magister | guhl: god bless you man! | 22:36 |
guhl | Mister_Magister, thank you, but i am still a bit careful | 22:36 |
Mister_Magister | sure, mal btw do you have idea what we can do with that? | 22:37 |
guhl | mal, should sensorfwd stop/resume the sensor, or to phrase is differently: will enabling the sensor that way drain the battery? | 22:38 |
guhl | wahhh i hate that surfaceflinger hack we need a proper solution for that | 22:38 |
Mister_Magister | guhl: yes we are planning with mal to fix that | 22:39 |
Mister_Magister | but it's hard topic so i'm waiting until mal will have poper mind state :D | 22:39 |
guhl | :-) | 22:40 |
guhl | and i hate that "WARNING BOOTLOADER BLA,BLA,BLA" splash screen | 22:41 |
*** noume <noume!~noume@195-253-17-159.ip.dokom21.de> has quit IRC (Remote host closed the connection) | 22:41 | |
Mister_Magister | guhl: mine boot screen is other (wait i'll upload photo) | 22:42 |
Mister_Magister | guhl: this is my bootscreen https://s28.postimg.org/44mtuxz2l/dickbut.png Majestic isn't it? :D | 22:44 |
guhl | well that would definitely not have qualified as the boot splash for my 10 year old daughter :-) | 22:46 |
Mister_Magister | sure :D | 22:46 |
Mister_Magister | guhl: https://media.giphy.com/media/GIEXgLDfghUSQ/giphy.gif I was never that happy because of screen rotation | 22:48 |
Mister_Magister | i was waiting for it since more than year | 22:48 |
guhl | Mister_Magister, according to https://git.merproject.org/mer-core/sensorfw/blob/master/config/sensord-tbj.conf there is a powerstate_path parameter that points to an enable file | 22:49 |
guhl | i will test this in my conf - maybe sensorfwd can enable/disable it itself then | 22:50 |
Mister_Magister | I have no clue how are you finding all of these but good job :D I'm feeling useless | 22:51 |
guhl | well, i am using unix machines since 25 years so i have a little feeling on where to look and poke | 22:52 |
Mister_Magister | oh okay but feeling that i did nothing by myself for that port is making me sad :/ | 22:53 |
guhl | you did nothing for the titan port? | 22:53 |
Mister_Magister | all is thanks to mal sledges and other people there | 22:54 |
Mister_Magister | they told me what to do like you no | 22:54 |
Mister_Magister | now | 22:54 |
guhl | well Mister_Magister thats how communities work, you still did all the testing, analyzing, building | 22:55 |
*** louisdk <louisdk!~louisdk@5.103.130.65> has joined #sailfishos-porters | 22:55 | |
guhl | and you published your changes which gave me a starting point | 22:56 |
Mister_Magister | thanks :) And i provided all fixes to people as working sfos | 22:56 |
Mister_Magister | so tell me if that config works :) | 22:57 |
* guhl is still staring at boot splash screen | 22:57 | |
mal | guhl: yes, sensorfw does know how to enable and disable that kind of sensors, at least it should | 22:57 |
guhl | mal, is that parameter powerstate_path useful? | 22:58 |
mal | guhl: yes, I think that is what you should use | 22:58 |
guhl | just putting it in the [accelerometer] did not work | 22:59 |
mal | hmm | 23:00 |
mal | guhl: but manually it works? | 23:00 |
Mister_Magister | funny thing is that accelerometr values are freezed | 23:00 |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome) | 23:00 | |
mal | guhl: do you have accelerometeradaptor = accelerometeradaptor as in that tbj config? | 23:00 |
guhl | echo 1 > /sys/devices/virtual/input/input0/enable | 23:01 |
guhl | works | 23:01 |
lpotter | wish qcom & bosch would start using the standard linux sensor interface | 23:01 |
guhl | i have hybrisaccelerometeradaptor | 23:01 |
Mister_Magister | nevermind messwerk is just acting strange | 23:02 |
mal | guhl: didn't you have the event device for that sensor? | 23:03 |
guhl | mal, ? | 23:04 |
guhl | yes it do have a event device for accel -> /dev/input/event0 | 23:04 |
mal | guhl: so why are you using hybrisaccelerometeradaptor? use accelerometeradaptor and then add the needed stuff for the event device handling | 23:05 |
guhl | you mean i should switch to accelerometeradaptor | 23:05 |
mal | guhl: is there a poll path for the sensor? | 23:05 |
guhl | there is no poll file (or similar) in /sys (and below) | 23:07 |
Mister_Magister | mal: i think example will be nice there | 23:07 |
mal | guhl: ok, try without it | 23:07 |
guhl | mal, what should input_match be (before i go reading the code) | 23:09 |
mal | guhl: you can see that in evdev_trace -i | 23:09 |
guhl | the Name ? | 23:10 |
guhl | that is bma2x2 | 23:10 |
mal | pastebin that | 23:12 |
guhl | that did not work http://pastebin.com/F3kdajNr | 23:13 |
guhl | evdev-trace -i -> http://pastebin.com/9LripAvY | 23:14 |
mal | guhl: if you use evdev_trace -t event0 does it give reasonable output? | 23:17 |
Mister_Magister | guhl: i have to go to sleep. See you later with proper solution :D | 23:18 |
Mister_Magister | mal: yes | 23:18 |
guhl | after the enable: yes | 23:19 |
guhl | even if the things are called "strange" | 23:20 |
guhl | what would the poll file give normally ? | 23:21 |
mal | guhl: does it give all x, y and z values? | 23:21 |
Mister_Magister | yes | 23:22 |
mal | guhl: wondering why evdev_trace -i doesn't show all of those | 23:22 |
Mister_Magister | ABS_X ABS_Y ABS_Z and SYN_REPORT | 23:22 |
*** dlavso_ <dlavso_!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has joined #sailfishos-porters | 23:22 | |
guhl | for me event 0 looks like: http://pastebin.com/n3eWDnRq | 23:22 |
Mister_Magister | mal: guhl: that is different! sorry | 23:23 |
Mister_Magister | this is mine http://pastebin.com/gnfEvVBx | 23:23 |
guhl | yes the values a reasonable but my names are strange | 23:24 |
mal | guhl: that is the problem, what could cause that | 23:24 |
guhl | don't know but thats also what evdev_trace -i says about that event0 | 23:25 |
mal | time to get some sleep | 23:25 |
*** Mister_Magister_ <Mister_Magister_!~Mister_Ma@user-94-254-146-83.play-internet.pl> has joined #sailfishos-porters | 23:25 | |
mal | guhl: which appears to be wrong for some reason | 23:26 |
mal | guhl: was your device cm12.1? | 23:26 |
guhl | yes | 23:26 |
Mister_Magister_ | mal: mine values are good? | 23:27 |
guhl | but that should not cause the problem that sensorfwd does not find the name bma2x2 | 23:27 |
Mister_Magister_ | oh so guhl have 12.1 and i have 11.0 so there may be difference | 23:27 |
guhl | i'll have a look at the kernel-driver | 23:28 |
mal | Mister_Magister_: yes, your event device looks normal and should work | 23:28 |
*** giucam_ <giucam_!~giulio@qt/giucam> has joined #sailfishos-porters | 23:28 | |
mal | guhl: yep, I was thinking that would be a good idea | 23:28 |
Mister_Magister_ | mal: i only have to give that config that you were talking about | 23:28 |
*** MrChrisDruif_ <MrChrisDruif_!~quassel@ip4da06930.direct-adsl.nl> has joined #sailfishos-porters | 23:29 | |
mal | Mister_Magister_: probably it should work | 23:29 |
*** pykape_ <pykape_!~pykape@a88-115-167-112.elisa-laajakaista.fi> has joined #sailfishos-porters | 23:29 | |
*** paju_ <paju_!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has joined #sailfishos-porters | 23:29 | |
*** ced117_ <ced117_!~ced117@ghost.ced117.net> has joined #sailfishos-porters | 23:29 | |
*** ballock_ <ballock_!~ballock@194.181.150.131> has joined #sailfishos-porters | 23:30 | |
Mister_Magister_ | mal: guhl: good work thanks for help and good night! guhl gute nacht | 23:30 |
Mister_Magister_ | guhl: later i'll ask you for config :) | 23:31 |
guhl | Mister_Magister_, GN | 23:31 |
*** Mister_Magister_ <Mister_Magister_!~Mister_Ma@user-94-254-146-83.play-internet.pl> has quit IRC (Quit: IRC for Sailfish 0.9) | 23:31 | |
*** Nokius <Nokius!~Nokius@p5DDB7C06.dip0.t-ipconnect.de> has joined #sailfishos-porters | 23:32 | |
guhl | well i have lines (for all coordinates) like: | 23:33 |
guhl | input_event(bma2x2->input, EV_MSC, MSC_SERIAL, acc.x); | 23:33 |
*** Tofe_ <Tofe_!~Tofe@nor75-20-82-247-155-176.fbx.proxad.net> has joined #sailfishos-porters | 23:33 | |
mal | guhl: wtf, change those | 23:34 |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has quit IRC (*.net *.split) | 23:34 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-83.play-internet.pl> has quit IRC (*.net *.split) | 23:34 | |
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (*.net *.split) | 23:34 | |
*** paju <paju!~paju@dsl-hkibrasgw1-58c01b-45.dhcp.inet.fi> has quit IRC (*.net *.split) | 23:34 | |
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has quit IRC (*.net *.split) | 23:34 | |
*** ballock <ballock!~ballock@194.181.150.131> 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/fnordserver.eu/x-pnjopkupeeiecvfu> has quit IRC (*.net *.split) | 23:34 | |
*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/matrix.org/x-ewtoukzgtiobnvhu> has quit IRC (*.net *.split) | 23:34 | |
*** entil <entil!~mjt@static.73.71.47.78.clients.your-server.de> has quit IRC (*.net *.split) | 23:34 | |
*** tbr <tbr!dm8tbr@mail.bfst.de> has quit IRC (*.net *.split) | 23:34 | |
*** Tofe <Tofe!~Tofe@nor75-20-82-247-155-176.fbx.proxad.net> has quit IRC (*.net *.split) | 23:34 | |
*** MrChrisDruif <MrChrisDruif!~quassel@ip4da06930.direct-adsl.nl> has quit IRC (*.net *.split) | 23:34 | |
*** edubai__ <edubai__!sid39243@gateway/web/irccloud.com/x-quahfmqvfncpibew> 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_!~Nokius@p5DDB7DED.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 23:35 | |
guhl | mal, yes wtf | 23:35 |
mal | guhl: link to the kernel source with that? | 23:36 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 23:36 | |
ruthenianboy | Anyone 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 mode | 23:37 |
*** tbr <tbr!dm8tbr@mail.bfst.de> has joined #sailfishos-porters | 23:40 | |
guhl | the cm11 version has | 23:41 |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sailfishos-porters | 23:41 | |
guhl | input_report_abs(bma2x2->input, ABS_X, acc.x); | 23:41 |
*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/matrix.org/x-qggeroamjvuaqylw> has joined #sailfishos-porters | 23:41 | |
guhl | instead - weird | 23:41 |
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos-porters | 23:41 | |
guhl | mal | 23:46 |
*** dlavso <dlavso!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has joined #sailfishos-porters | 23:46 | |
mal | guhl: that cm11 version looks normal | 23:46 |
guhl | https://github.com/guhl/android_kernel_motorola_msm8226/blob/cm-12.1/drivers/misc/bma2x2.chttps://github.com/guhl/android_kernel_motorola_msm8226/blob/cm-12.1/drivers/misc/bma2x2.c | 23:46 |
mal | guhl: anything in cm12.1 commit history about that | 23:46 |
guhl | https://github.com/guhl/android_kernel_motorola_msm8226/commit/b6d1bcef0bf8b2c2935fef10d8d5341ad0750414 | 23:47 |
litew | spiiroin: understood, thank you | 23:48 |
mal | guhl: wow, so they just decided to use non-standard events as a hack | 23:48 |
guhl | yes that would even be dirty by my standards | 23:49 |
mal | guhl: try reverting and see how it behaves | 23:50 |
guhl | building kernel | 23:51 |
guhl | mal, one question: why does one not use the gyro for abs_x, y, z ? | 23:52 |
guhl | ahh because it give REL_X, ... | 23:53 |
*** dlavso_ <dlavso_!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 245 seconds) | 23:56 | |
guhl | mal, do you think i should also change the name? | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!