Monday, 2018-11-05

*** ChanServ sets mode: +v T402:55
Mister_Magisterspiiroin: about the "[16:01] <spiiroin> Mister_Magister: "find /etc/sensorfw/ -type f|xargs grep /sys" if only device_poll_file_path -line shows up -> not that sysfs enable thing" thingy. other than poll i have virtual/input/input{0,3}07:06
spiiroinMister_Magister: checked from sources, the setting is "powerstate_path". i.e. using "find /etc/sensorfw/ -type f|xargs grep powerstate_path" should not produce false positives07:35
T4<akaWolf> Why not 'grep -r'?07:40
spiiroinMister_Magister: next step, check in what section it is... can you paste the whole config file?07:44
mautzoneHi there!07:46
mautzoneI'm trying to compile SFOS on obs. Droid-hal-version-hammerhead fails because of unprovided pulseaudio 11.1+git4. Building for latest sailfish works. Anyone has a clue?07:46
Mister_Magisterspiiroin: you mean primaryuse.conf?07:50
spiiroinMister_Magister: yeah. and looks like it is not used for proximity -> is not reason for your proximity woes08:03
Mister_Magisterspiiroin: ye so?08:03
spiiroinMister_Magister: well, one source of *possible* problems was: that sysfs enabled/disable does not work as expected. it it is not used at all -> ruled out08:04
Mister_Magisterspiiroin: sooo what now?08:04
spiirointrying to make it reproducible, increasing verbosity, adding debug logging, staring at android hal and kernel sources, etc08:06
Mister_Magisterspiiroin: whaaaaaat08:18
Mister_Magisteryou made one debug patch that i dont know how to use spiiroin08:18
spiiroinMister_Magister: what you can do is: try make it easy to reproduce. that debug thing might help with that, but is not necessary.08:23
spiiroinMister_Magister: there are instructions in the commit
Mister_Magisterspiiroin: easy to reproduce? well that won't be easy08:31
Mister_Magisterit happens after couple phone calls or days08:31
Mister_Magisterand i dont have second phone rn to test08:31
* Mister_Magister wonders what will happen if he has dualsim and call second sim08:31
Mister_Magisterspiiroin: should led be always on now?08:41
Mister_Magisterspiiroin: i have white led08:51
spiiroinMister_Magister: yeah, led on constantly, color differentiates proximity state. if you have "white only" led, it is less useful ...08:53
Mister_Magisterspiiroin: but it will be in logs or smth?08:53
spiiroinMister_Magister: no, the idea is to provide visual debugging info to spot when you are having problems, then go to logs08:54
*** ChanServ sets mode: +v T408:55
Mister_Magisterspiiroin: then this patch is useless for me :/08:55
spiiroinMister_Magister: you can enable just one of those patterns, then no-led = usual, have-led = possible problem08:56
spiiroinMister_Magister: but if you can reliably reproduce the issue on will, that would be the best thing to have08:56
Mister_Magisterspiiroin:  its funny that after some update proximity is not detected in apps like messwerk08:57
spiiroinMister_Magister: like it does not work, or is not shown at all?08:58
Mister_Magisterspiiroin: does not work. but in os in calls for example its working08:58
* spiiroin ponders whether "proximity sensor for calls" in android was just a bad dream or something real ...08:59
Mister_Magisterspiiroin: kay i enabled only PatternProximityCovered and it works08:59
Mister_Magisterspiiroin: whatcha mean08:59
* Mister_Magister has fun with led and proximity now09:00
spiiroinMister_Magister: can you take a verbose log from sensorfwd startup, something like ...09:06
spiiroinsystemctl stop sensorfwd; sensorfwd -c=/etc/sensorfw/primaryuse.conf --log-level=test --no-magnetometer-bg-calibration09:06
spiiroinand then ctrl-c once it calms down09:06
Mister_Magisterspiiroin: like now or when error occurs?09:08
spiiroinMister_Magister: now. just want to see the sensor selection log09:09
spiiroinwhich is emitted early in sensofwd startup09:09
mautzoneOk, fixed it myself :)09:10
Mister_Magisterspiiroin: on one phone i cant use this led debug cause you didnt fix led yet :)09:22
spiiroinMister_Magister: thanks, looks like it does not have virtual sensor variants -> sensor selection should not be an issue either09:35
Mister_Magisterspiiroin: kk09:35
Mister_Magisterspiiroin: but the main phone we have problem on has non working led :P09:35
*** ChanServ sets mode: +v T414:47
PocketCalculatorGood day all! I'm having trouble with the documentation. I followed it up to 85, "Building the Image with MIC", but all it generates is a .tar.bz2 file, no .zip file15:08
PocketCalculatorand 4 text files too15:09
T4<elros34> PocketCalculator: do you have zip installed in sdk?15:16
PocketCalculatorT4: the zip program? yes I do15:18
T4<elros34> there should be someting in logs why it fails if not try run mic with —verbose option15:20
r0kk3rzposting output is aways a good idea15:24
PocketCalculatorthe output is quite extense. it does have some warnings and a couple of core dumps16:48
PocketCalculatori pasted it here:
PocketCalculatorthough I think the problem lies with the last few warnings16:50
PocketCalculator"Failed to terminate /proc/10980/root [Errno 2] No such file or directory: '/proc/10980/root'"16:51
r0kk3rzmic always spews lots of garbage, most of it can be ignored16:57
vknechtfunny thing is when it leaves core files behind ;-)16:59
r0kk3rzi also note you havent updated your sdk16:59
r0kk3rzyou should do that16:59
T4<elros34> also pastebin you ks file17:02
T4renjithm was added by: renjithm17:04
PocketCalculatorr0kk3rz: how do I update the SKD? sudo ssu re says im on, isnt that the latest one?19:01
PocketCalculatori noticed that i dont have mer-tools repo according to ssu lr19:02
PocketCalculatorthe ks file is here:
T4<elros34> You are missing pack section in your ks file, not sure why20:13
T4<elros34> You also use wrong release, latest is
r0kk3rzyou should be able to local build
*** ChanServ sets mode: +v T420:59
T4<adampigg> r0kk3rz, tried doing an upgrade to with an existing device build?21:17
r0kk3rzwhat do you mean?21:17
r0kk3rzlike, just a mic build?21:18
T4<adampigg> r0kk3rz, no, just wang on the 3 packages ontop of the current install and hope for the best!22:04
r0kk3rzyou can try?22:07
r0kk3rzi expect bootloop22:07
r0kk3rzhopefully we get obs targets soon anyway22:08
malone fp2 user claimed it worked fine22:08
r0kk3rzmight give it a go on the tablet for a laugh22:08
PocketCalculatorwelp, that's it. I re-did the entire thing, but the .ks file is always like that22:55
PocketCalculatorit always ends up at the .tar.bz222:56
PocketCalculatorgood night all, and thanks for your help22:56

Generated by 2.17.1 by Marius Gedminas - find it at!