Friday, 2015-03-20

*** krnlyng <krnlyng!~liar@> has quit IRC (Ping timeout: 264 seconds)00:02
*** olafh__ <olafh__!> has quit IRC (Ping timeout: 264 seconds)00:35
*** locusf <locusf!> has quit IRC (Ping timeout: 255 seconds)00:39
*** locusf <locusf!> has joined #sailfishos-porters00:39
*** ro <ro!> has quit IRC (Ping timeout: 246 seconds)00:49
*** iTune <iTune!> has quit IRC (Ping timeout: 246 seconds)01:35
*** ro <ro!> has joined #sailfishos-porters01:44
*** iTune <iTune!~PhompAng@> has joined #sailfishos-porters01:48
klopsi-u3night vgrade02:07
vgradeklopsi-u3: nn02:08
*** PhompAng <PhompAng!> has joined #sailfishos-porters02:15
*** iTune <iTune!~PhompAng@> has quit IRC (Ping timeout: 244 seconds)02:18
*** PhompAng <PhompAng!> has quit IRC (Ping timeout: 256 seconds)02:26
*** iTune <iTune!~PhompAng@> has joined #sailfishos-porters02:40
*** Vohukain <Vohukain!> has quit IRC (Ping timeout: 264 seconds)03:11
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 250 seconds)03:14
*** iTune <iTune!~PhompAng@> has quit IRC (Ping timeout: 256 seconds)03:17
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters03:26
*** ro <ro!> has quit IRC (Ping timeout: 255 seconds)03:37
*** OrokuSaki <OrokuSaki!470bf285@gateway/web/freenode/ip.> has joined #sailfishos-porters04:35
OrokuSakiif my framebuffer console has a timeout value and then shutting off the backlight and suspending the fb... would that be possibly related?04:40
OrokuSakiI normally do not enable the fbcon04:40
*** swex <swex!~quassel@> has joined #sailfishos-porters04:42
*** wanderer <wanderer!> has joined #sailfishos-porters04:43
*** wanderer <wanderer!> has quit IRC (Client Quit)04:46
*** spiiroin_ <spiiroin_!> has quit IRC (Quit: Leaving)05:09
*** krnlyng <krnlyng!~liar@> has joined #sailfishos-porters05:19
*** harha <harha!> has joined #sailfishos-porters05:41
*** olafh__ <olafh__!> has joined #sailfishos-porters05:47
*** electrolux <electrolux!> has joined #sailfishos-porters05:55
deztructoralin: check that you really have /run/state/namespaces/Battery/Level, it claims there is no such property aka this file06:02
deztructoralso property is subscribed by default06:02
*** electrolux <electrolux!> has quit IRC (Quit: Leaving.)06:33
*** Nokius|jolla <Nokius|jolla!~Nokius|> has quit IRC (Quit: IRC for Sailfish 0.9)06:42
*** carepack <carepack!> has quit IRC (Quit: leaving)06:53
alindeztructor: ok indeed the names are different07:10
*** Tassadar <Tassadar!> has joined #sailfishos-porters07:23
*** mvmsaikrishna <mvmsaikrishna!75c8006f@gateway/web/freenode/ip.> has joined #sailfishos-porters07:26
*** cl_ <cl_!> has joined #sailfishos-porters07:28
alindeztructor: I got them from lipstick git... and probbaly that is ahead of upower names07:30
*** electrolux <electrolux!~Adium@> has joined #sailfishos-porters07:30
alindeztructor:  if I do not subscribe both the state/level seemto be wrong at the beginning07:31
*** carepack <carepack!> has joined #sailfishos-porters07:33
klopsi-u3morning carepack07:33
alindeztructor:fixed thanks... no subscriptions needed and block to wait to be sure the subscription happened07:33
alindeztructor: and theresults are correctnow07:34
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:5875:dd9e:fd30:f1fc> has joined #sailfishos-porters07:38
deztructoralin: it'd better to avoid blocking, if you subscribed you'll get an onChanged event and you can rely on Battery.Level as a sign of data being valid: Level is "unknown" at the beginning07:40
*** mvmsaikrishna <mvmsaikrishna!75c8006f@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)07:45
alinsledges: MSameer deztructor ok.. now works as I think it shall can you have a last look
deztructorcontext properties are async, as also statefs itself, so properties can have stub values sometimes. So, Battery.Level and Battery.ChargingState have special value "unknown"07:48
alindeztructor: ok I will have to think on removing the block in the constructor07:49
deztructorit'd be good to use latest statefs providers and qbatteryinfo (qtsystems) (it has IsValid property too)07:50
alindeztructor: I have no idea where to use the new ones... they arenot provided yes...07:50
*** plfiorini <plfiorini!> has quit IRC (Remote host closed the connection)07:51
alindeztructor: yes the final code shall be integrated in cameraplus which at the moment uses qbatteryinfo07:52
*** mvmsaikrishna <mvmsaikrishna!~SaiKrishn@> has joined #sailfishos-porters07:52
*** mvmsaikrishna <mvmsaikrishna!~SaiKrishn@> has left #sailfishos-porters07:53
* deztructor doesn't how packages are promoted into mer/nemo/sailfish used by porters07:53
alindeztructor: I am looking at the code from github for lipstick notifications/batterynotifier.h07:54
alindeztructor: is clear other provider is used there... consistent with no upower that sledges said is to come07:54
deztructorif the cycle corresponds to the sailfish updates, this stuff will appear soon07:54
deztructors/updates/updates cycle/07:55
alindeztructor: probably... anyhow I suspect I will hack a solution with context like now to make camera plus working and then I worry about later07:58
*** swex <swex!~quassel@> has quit IRC (Remote host closed the connection)08:12
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)08:13
*** hedayat <hedayat!~hedayat@fedora/hedayatvk> has joined #sailfishos-porters08:15
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 272 seconds)08:27
*** tanty_off is now known as tanty08:35
sledgesalin: deztructor: we can up certains versions of packages, like we did with (it worked by dupping on n5 too, so tested fine), we can also test a newer qtsystems the same way08:43
*** s5pik3 <s5pik3!~Spike@> has joined #sailfishos-porters08:45
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 246 seconds)08:59
*** phdeswer <phdeswer!~phdeswer@2001:998:2a:dead:49be:77a1:7856:679a> has joined #sailfishos-porters09:14
deztructorsledges: it'd be good to avoid temporary solutions and hack09:14
sledgesdeztructor: your point addressing alin's last statement?09:15
*** bird__ <bird__!~quassel@> has joined #sailfishos-porters09:15
bird__I see under
bird__bacon is not hammerhead,i do not understand means09:18
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters09:18
tbrbird__: probably a temporary file before the proper storage location was created:
deztructorsledges: not, yours :) update certain packages to get them in use09:23
*** Nokius_ <Nokius_!> has joined #sailfishos-porters09:26
*** Nokius <Nokius!> has quit IRC (Ping timeout: 252 seconds)09:29
sledgesdeztructor: so we shouldn't update certain packages? it's been a known practise after consulting maintainer that they wouldn't recall any abi/api changes introduced in between and then thoroughly tested09:30
sledgesdeztructor: otherwise alin will need to hack something else anyway09:31
*** hedayat <hedayat!~hedayat@fedora/hedayatvk> has quit IRC (Ping timeout: 255 seconds)09:31
sledgeswe can't prevent corner cases, but otherwise then we can't release at all due to main issue blocker09:32
*** vakkov <vakkov!> has joined #sailfishos-porters09:32
deztructorsledges: it'd be very useful to use latest statefs/statefs-providers/statefs-qt/qtsystems09:36
sledgesright, now i start to understand:)09:36
sledgesthat's exactly what we do in mal-'s case, and we can do the same for nexus509:37
sledgesgiven they won't break u11 status quo09:38
alinsledges: ok sledges can you add the statefs packages somewhere build against u11?09:47
*** vakkov <vakkov!> has quit IRC (Ping timeout: 252 seconds)09:48
mal-alin: I use those packages in u1109:48
sledgesmal-: also statefs-qt/qtsystems ?09:49
mal-alin: I can rebuild those after I figure out how to09:49
deztructorsledges: I did not tested it on nexus5 - I do not have it. But worth to try09:49
sledgesdeztructor: more of a question would sbj break if done the same?09:49
deztructorhopefully it will work fine09:49
*** vakkov <vakkov!> has joined #sailfishos-porters09:50
deztructorsledges: sbj should not be broken (if dependent packages are taken): api are the same. hopefully09:51
mal-sledges: maybe I should reorganise those package to some more logical subproject and rebuild for u1109:51
alinmal-: what do you mean?09:51
alinmal-: just add the latest target09:51
alinmal-:  in repositories09:51
alinand that is all09:51
mal-alin: yes, just need to remember how to do that09:51
alinmal-: you can add me temporarly as maintaine09:51
alinand I can do it09:51
sledgesmal-: alin: i'm adding them to experimental09:51
alinsledges: great... mal- no rush09:52
mal-sledges: ok, thanks09:52
alindeztructor: your comment about contextproperty and qbatteryinfo is a little bit confusing... thought using contextproperty is done to fo away with qbatteryinfo which does not work09:52
mal-alin: after sledges does that you should use experimental and not my packages, I might hack those a little at some point09:53
alinmal-: yap I never used yours since were build against the old u1009:54
alinsledges: ping me when they are built09:54
*** bird__ <bird__!~quassel@> has quit IRC (Remote host closed the connection)10:00
mal-sledges: alin I assume when I selected sailfish:latest from repositories list that it's the one for u1110:04
mal-I mean selected project sailfish:latest10:05
sledgesmal-: correct10:05
mal-good, then I have packages for u1110:05
mal-I'll remove the old repo this evening after updating to the new and testing10:06
*** s5pik3 <s5pik3!~Spike@> has quit IRC (Quit: Quitte)10:13
sledgesalin: done build success10:14
*** vrutkovs <vrutkovs!vrutkovs@nat/redhat/x-kxkeilinoyaykahq> has quit IRC (Quit: ZNC -
*** vrutkovs <vrutkovs!vrutkovs@nat/redhat/x-kfbkpzmstzcfkzhf> has joined #sailfishos-porters10:22
alinsledges: ok I will update from it10:24
sledgescameraplus also got rebuilt, consider dupping them all in10:24
alinsledges: got published too?10:25
alinsledges: seems does not want to update10:25
teapotgood day10:25
* teapot can not see the eclipse of the sun from behind the clouds10:25
alinsledges: maybe takes a while for the electrons to make it to dublin10:26
alinsledges: that was10:26
alinsledges: does the camera have the resolutions now?10:27
sledgesalin: has the PR been merged?;p10:27
teapoti stuck on warning about not provided ofono-configs. but zypper say it installed. what is?10:27
alinsledges: I do not know10:27
alinsledges: did not get any message10:27
alinsledges: can you check the latest update?10:27
sledgesteapot: something tells me you haven't added your local adaptation0 repo to mic10:28
sledgesno message - no merge :(10:28
sledgesalin: regarding your last comment:
sledgeswhen i comment only one resolution10:29
sledgesboth duplicates disappear10:29
alinsledges: ignore my comment10:29
alinsledges: the error was that the wrong device was used for front camera10:29
sledgespls update the PR then10:29
alinnow is solved10:29
alinsledges: I did...10:30
sledgesi'll retest10:30
alinsledges: ok got the new statefs10:32
*** zhxt is now known as zhxt_afk10:33
teapotsledges: this -> "repo --name=adaptation0-bacon- --baseurl=file:///home/archie/mer/android/droid/droid-local-repo/bacon"10:35
alindeztructor: got the new one instaleld but I see no statefs/statefs-providers/statefs-qt/qtsystems10:35
teapotsledges: ?10:35
*** s5pik3 <s5pik3!~Spike@> has joined #sailfishos-porters10:37
alindeztructor: the code seems to run without any change10:39
sledgesteapot: did you follow 5. till the end?
sledgesalin: statefs/statefs-providers/statefs-qt/qtsystems get updated when you dup --from experimental10:41
alinsledges: I did10:41
alinsledges: I got Drink Beer but not that ones10:41
alinsledges: indeed the old properties are still there10:41
sledgesif you --dup, it should've removed some packages10:42
alinsledges: yes10:42
alinsledges: something about upower and added upower-udev10:43
sledgesall them obsolete providers10:43
sledgesmaybe some leftovers still? deztructor will know best10:43
alin[10:43:25 root@abbaton:~]: ls /run/state/providers/10:43
alinbasic  bluez  connman  Drink  mce  ofono  power  udev  udev-keyboard10:43
sledgesalin: what do you expect instead?10:44
alin[10:43:43 root@abbaton:~]: ls /run/state/namespaces/10:44
sledgespower is the one you need10:44
alinbattery  Battery  Beer  Bluetooth  Cellular  Internet  maemo_InternalKeyboard  Screen  System  test  Time  Water10:44
alinok... the names are the same10:44
alinso we are fine then10:44
alinthe code still works correctly10:44
alinthe one I put on github... I do not get deztructor comment on qbatteryinfo usage10:44
alinthe problem in the code we have is that the subscription is asynchronous and we may ask before is finished... so I just put a block in the contructor to be sure I have proper values10:45
*** cxl000 <cxl000!> has joined #sailfishos-porters10:46
sledgeswhat dez's comment?10:47
teapotsledges: oops. lost few lines. thank you10:47
sledgesteapot: bril10:47
*** s5ik33 <s5ik33!~Spike@> has joined #sailfishos-porters10:56
*** s5pik3 <s5pik3!~Spike@> has quit IRC (Ping timeout: 256 seconds)10:57
*** Lipevakala_ <Lipevakala_!> has joined #sailfishos-porters10:58
deztructoralin: what is in the /run/state/providers?10:59
deztructoro, I see now10:59
deztructorso, there is power provider but not upower, this is good :)10:59
alindeztructor: yap the code still works unchanged...11:00
alindeztructor: but I do not get your comment on qbatteryinfo11:00
deztructoralin: is this good or bad (works unchanged)? :)11:01
alindeztructor: I think is good11:01
deztructoralin: qbatteryinfo from latest qtsystems (mer-dev branch) should use contextproperties instead of upower11:01
*** vakkov <vakkov!> has quit IRC (Ping timeout: 246 seconds)11:02
deztructorthis one: mer/5.2.0+git711:02
alindeztructor: I see that one needs updated too11:02
alinsledges: ^11:02
alindeztructor: yap I know the package...11:03
deztructoralin: and alos do not forget about latest statefs-qt511:03
alindeztructor: we did that one11:03
deztructorit contains the fix for potential race condition11:03
* deztructor facepalms11:04
alindeztructor: he he we will see seems the camera will not even start11:04
alinsledges: can you confirm?11:04
alinsledges: installed my package works11:05
*** swex <swex!~quassel@> has joined #sailfishos-porters11:05
sledgesalin: deztructor:
sledgesalin: confirm what?11:06
teapotthanks again. building process start. try to flash later.11:08
*** teapot is now known as teapot_out11:08
sledgesteapot_out: good stuff. did you patch updater-script?11:09
*** alin_ <alin_!> has joined #sailfishos-porters11:09
deztructorsledges: is still old - with race condition11:09
deztructor0.2.50 is the current one11:09
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 246 seconds)11:09
alin_sledges: the camera that we have now inside the repo has issue11:10
sledgesdeztructor: building11:10
deztructorgood :)11:10
sledgesalin_: log11:10
alin_sledges: what log?11:11
sledgeswhat issues11:12
alin_sledges: I mean I installed my rpm build locally with the patch and works..11:12
sledgeswhat patch?11:12
alin_sledges: the one from MWC?11:13
alin_sledges: that sammer asked to put in gst11:13
sledgesalin_: that has nothing to do with statefs changes of today right?11:13
sledgesyou're just changing subject;p11:13
sledgescamera still works without patch, just needs restart, there is no releasable solution to that atm11:13
alin_sledges: yes nothing.... I was saying that after dup from the repo... camera got updated and was not starting11:13
sledgespatch is a hack11:13
sledgesalin_: so now the camera never starts except when the patch is in? 8)11:14
alin_sledges: I do not know... why... we will se later for tests I just added my package11:17
alin_sledges: it may be because it misses resolutions11:17
sledgesalin_: yes, reinstall wipes all unmerged stuffs;)11:17
alin_sledges: do not worry about that11:18
* sledges wants a nexus5 cam release :P already failed to take photo of solar eclipse with it ;p11:19
alin_sledges: ha ha ha11:19
alin_sledges: I could have but too many clouds11:19
alin_sledges: will be another one in around 15y so we have time to prepare11:20
*** arielext <arielext!589f9e33@gateway/web/freenode/ip.> has joined #sailfishos-porters11:20
sledgeshope we'll have a release by then11:20
sledgesalin_: done:
arielexthey all, happy to report the current zip boots on my 1+11:23
sledgesarielext: welcome aboard:)11:24
arielextThx! already knew sailfish from the jolla phone11:24
sledgesnow it's scaled up in your eyes and sped up ;)11:25
arielextbut swiping works better on a larger screen imo (maybe I'm getting old)11:25
sledgescan't wait for next update which will introduce hi-res icons11:25
arielextit's amazingly fast; but not very useable for a user atm (which I am, I'm a web developer so I kinda need data before anything else)11:26
sledgesarielext: no mobile internet?11:26
arielextshould that work?11:26
sledgesi wonder about battery life11:26
sledgesarielext: emm, does making phonecalls work?:)11:27
sledgesarielext: also, you can usb tether with our help11:27
arielextsledges: oh lol, need to find a sim11:27
arielextmy sim is cut up and used in my lumia 1520 (main phone)11:27
* sledges is cut too11:28
arielextsledges: I'll test mobile internet when I'm, back home; don't have that extraction tool here to open up the sim bay11:29
sledgesarielext: usb tether? ;p11:29
arielextjust wanted to congratuate you guys with this achievement11:30
sledgesmuch appreciated:)11:30
*** edubai <edubai!uid39243@gateway/web/> has joined #sailfishos-porters11:31
alin_sledges: commented11:32
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters11:33
*** beidl_ <beidl_!> has quit IRC (Ping timeout: 256 seconds)11:33
sledgesalin_: commented back11:34
arielextsledges: ok show me the way of the tether :)11:34
sledgesthe annoying Recharge battery bleep on startup is gone! \o/11:34
sledgesthanks to deztructor!11:34
sledgesand alin's perserverance;)11:35
sledgesarielext: get connected: :)11:35
*** vgrade_ <vgrade_!50e71d14@gateway/web/cgi-irc/> has joined #sailfishos-porters11:35
sledgeso/ vgrade_11:35
sledgesawesome blackout friday it starts:D11:35
vgrade_arielext: thanks for the feedback, and sorry for the false start yesterday11:35
*** Vohukain <Vohukain!> has joined #sailfishos-porters11:35
arielextvgrade: no problem11:36
* vgrade_ is happy it works elsewhere11:36
arielextvgrade: btw loggin in with SSH gives this message: NOTICE: Env value ignored HYBRIS_LD_LIBRARY_PATH=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib11:36
sledgesalin_: camera doesn't take pictures, but no battery banner anymore. somehow my resolutions.ini got preserved (i'm with mwc patch though)11:36
sledgesarielext: non error11:37
arielextsledges: I know; it's a notice :)11:37
vgrade_arielext:out of interest what cm version is your base?11:38
sledgesarielext: i.e. all SFE devices get that :) but pls don't get discouraged from reporting stuffs!11:38
* vgrade_ hopes M911:39
arielextvgrade: CM is now the CM version provided by you11:39
arielextvgrade: but with the newer cm12 radio11:40
vgrade_arielext: ok11:40
vgrade_did M9 not work for you?11:40
arielextnot yesterday11:40
arielextcan try again11:40
vgrade_If you could it would be better as the M9 is still on cm server for folks to download11:41
vgrade_I don't really feel comfortable distributing the Nightly11:41
arielextvgrade: will do! did you know the internal data is not readable by nemo11:42
arielexthad to devel-su in order to check the contents11:42
arielextI mean the contents of /data/media/011:42
sledgescan be11:42
sledgesis it a show stopper?11:43
arielextofc not11:43
arielextcan fix it myself11:43
sledgesis something very rarely done as use case around here:)11:45
sledgesbut xda is fillin up with ways to mount sdcard etc11:45
*** teapot_out <teapot_out!5bca2d2e@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 246 seconds)11:50
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 264 seconds)11:56
arielextvgrade: sideloading m9 atm11:57
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has joined #sailfishos-porters12:00
MSameeralin_: isn't there anything in statefs that tells if the battery is normal or empty?12:01
MSameerdeztructor: ^12:01
arielextvgrade: looks like its working with m912:02
Nokius|jolla=) good news12:02
arielextvgrade: screen went blank; like the 1st time when I tap I get the language selection12:02
arielextvgrade: but that doesn't work; after reboot i can select the language12:03
alin_MSameer: there is12:03
sledgesarielext: sometimes screen goes blank due to timeout, and the next screen after language selection shows up while screen is off; but im sure you tried power key briefly so it's something else12:04
Nokius|jollasledges: did you check the strace from droid-hal-init was there some usefull information in it?12:05
arielextsledges: brief power button works from time to time12:05
arielextbut main news is: M9 works12:05
MSameeralin_: sledges the ??:?? with 16:10 is easy to fix but is 16:10 even a common resolution?12:06
MSameeralin_: sledges the ??:?? with 16:10 is easy to fix but is 16:10 even a common aspect ratio?12:06
sledgesMSameer: it's the 12:10 , defo uncommon12:07
MSameer12:10 then sorry12:08
MSameersledges: do you have any idea how those "resolution independent icons" work?12:09
deztructorMSameer, alin_: Battery.Level + Battery.ChargingState or for combined state - Battery.State12:09
sledgesNokius|jolla: no strace from you12:09
sledgesNokius|jolla: found now12:09
deztructorwe still do not have community autodoc... :/12:09
deztructorit looks like I should publish latest docs on github.io12:10
sledgesNokius|jolla: disable whole qrngd service block in /init*12:10
*** vakkov <vakkov!> has joined #sailfishos-porters12:10
MSameerdeztructor: just make a -doc package and people can check it12:11
MSameeralin_: Battery.Level - (string) [unknown, normal, low, empty] - battery level12:11
deztructorMSameer: I have it12:12
deztructorMSameer: Battery.Level should be used together with ChargingState - they are orthogonal12:12
MSameeralin_: deztructor
deztructoror just Battery.State - mixing both into single state12:12
MSameerdeztructor: State is deprecated12:13
*** alin <alin!> has joined #sailfishos-porters12:13
*** alin <alin!> has quit IRC (Changing host)12:13
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters12:13
*** alin_ <alin_!> has quit IRC (Ping timeout: 250 seconds)12:13
deztructorMSameer: I thought maybe I should rethink: in some cases this combined prop is useful - less used properties12:13
* MSameer pulls alin's cable12:14
MSameerdeztructor: I need it so it's 1 use case :D12:14
alinMSameer: yap12:14
MSameerif battery is charging: pass12:14
MSameerelif battery not low:12:14
deztructorbtw, found one typo in the doc: when charging, current is negative12:14
MSameerraise ...12:14
alinMSameer: battery low is 40%12:14
MSameer40%? too much12:15
alinMSameer: yes...12:15
alinI mean at 40% I expect to be let to get some pictures12:15
alinMSameer: probably the best is to let the user to set a level12:15
alinin percentage12:15
alinand check that from settings12:15
MSameerI'd say ~5% is the limit12:15
alinthat will solve the issuee12:15
MSameerjust an empirical value12:16
*** Vohukain <Vohukain!> has quit IRC (Quit: irc2go)12:16
deztructorso, use ChargePercentage and Level (Level - to get is level known or still "unknown")12:16
deztructorif you want to tweak the threshold12:17
deztructorof course it is possible to assign some crazy value for unknown ChargePercentage, e.g. 101% :)12:17
deztructorbut risky12:18
MSameerChargePercentage seems fine12:18
deztructorif program does not check percentage fits into [0, 100]... and start something based on it12:18
MSameerI wonder if I can use the same code under harmattan :)12:19
MSameerpercentage = CLAMP(0, 100, percentage)12:19
deztructorMSameer: ChargePercentage + Level (you should know does percentage value is real)12:19
deztructorbrr, s/
deztructorPercentage is the number [0, 100], so when it is unknown for some reason we can't assign something else but software should not rely on percentage, so should check Level for "unknown"12:21
deztructorif we assign value >100 inaccurate component consider everything is alright and go for risky business, if we assign e.g. negative value, same component could pretend to switch device off or complain...12:23
vgrade_arielext:thanks for the M9 test, I'm much happier advertising that as a base12:23
deztructorso, State or Level should be checked12:23
MSameerdeztructor: what should we do when it is unknown then?12:23
MSameerabort() ? :D12:24
alinsledges: resolutions done12:24
deztructorMSameer: whatever you think is better to do, it depends on component12:24
MSameerwhy is it unknown ?12:24
MSameerif I know why, I can decide what to do12:24
deztructorsome software just do what it wants, some - asks user (if user still wants to go), explaining level is unknown, so it'd be risky to go12:25
deztructorif "unknown" stays for a long time, there is a chance drivers or statefs provider don't do the right job12:26
deztructorso, in most cases "unknown" can be treated as "low" (but not "empty")12:26
deztructorif you do not plan to annoy user with low bat notifications12:27
*** zGrr <zGrr!~grr@> has joined #sailfishos-porters12:27
Nokius|jollasledges: okay  will do tonight =) thanks12:29
sledgesalin: can't see updated PR12:29
alinsledges: take me slow I do it now12:31
zGrrmoin :)12:31
sledgesalin: lol fixing and PRing should be atomic to save me from checking ;p12:31
alinsledges: done12:36
* vgrade_ reads xda and oneoplus forums during lunch12:40
sledgesposts about sf on opo are exploding exponentially12:40
alinMSameer: if you use contextproperty and a sync after creating you always get reliable results12:41
alinMSameer: and correct as I did in the github thing...12:41
alintried with QbatteryInfo and is still the same situation12:41
sledgesalin: LGTMd12:44
alinsledges: deztructor somehow semes to work12:44
*** Guest49410 <Guest49410!> has quit IRC (Remote host closed the connection)12:44
sledgesMSameer: merger pls
alinsledges: I can take pictures now12:44
alinsledges: and without my hack12:44
alinsledges: let me tripple check but the rpm does not have the hack12:46
vgrade_haha Stefano just posted to 1+ forum12:46
sledgesalin: i've not been following your battery hacks, so grey area for me;p12:47
sledgesof what you're talking about12:47
alinsledges: yes... no worries I will let you know if with the git verion works12:48
MSameersledges: nop. not ready yet12:48
alinsledges: I will give you my rpm to try12:48
sledgesMSameer: what's missing?12:49
*** vakkov <vakkov!> has quit IRC (Ping timeout: 245 seconds)12:49
MSameersledges: remove comments, squash commits, a large number of resolutions added. why?12:49
sledgesalin: ^12:50
alinMSameer: I squased the commits12:50
alinwhich one is not12:50
MSameer Conversation  1412:51
MSameer Commits12:51
MSameer 212:51
MSameer Files changed12:51
MSameer 212:51
sledgesnot squashed:
MSameercommits: 212:51
sledgesalin: and not to leave a chance for user to uncomment non standard resolutions, pls keep .ini clean from commented blocks as per maintainers request ;)12:52
alinsledges: if the phone supports why shall not we give the user the chance to do whatever12:52
sledgesalin: because MSameer says so12:53
sledgeshe's the maintainer12:53
alinMSameer: I believe in choice... otherwise I will use mac or windows...12:53
MSameerjust like jolla supports more resolutions but I am not listing all of them12:53
sledgesi vote for clean .ini, if user wants, they can dump resolutions and add12:54
alini do not like this.. developer does not know better what user wants especially when comes to how the software shall be used...12:54
alinis a dogmatic approach... the software shall make the usage easy and complete...12:55
alinwe shall not go at length by preventing the user to use its hardware12:55
alinpersonally I will not remove the commented supported resolutions from there...12:56
alinif you want you can remove it later... in another commit12:56
*** s5ik33 <s5ik33!~Spike@> has quit IRC (Quit: Quitte)12:56
MSameerand I am rejecting the PR12:56
sledgesor everything or nothing. either you clutter up all files with all possible configs and code or keep it clean so any readers who want to contribute don't get overconfused12:56
MSameerI said that in the early beginning12:56
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@> has joined #sailfishos-porters12:57
MSameerif you want to show all the possible resolutions then work on a configuration option that will either read  resolutions.ini or query gstreamer for the supported stuff and calculates preview and viewfinder resolutions too12:57
MSameerif you don't like the decision, fork the app12:58
MSameerbut trying to twist my arm like that will not work12:58
alinI am not gonna aegue about this freedom of choice is important for me... I better not sr that do something against whay I belive in12:58
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@> has left #sailfishos-porters12:58
sledgeschoice needs to be presented elegantly, and not in comments which mix with other comments if there were any12:59
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@> has joined #sailfishos-porters12:59
sledgesanyone else, an opinion?:)13:01
carepacksame like you'rs sledges. If than elegant fitting to the os13:02
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters13:02
mvmsaikrishnasledges: any fix/workaround for cm12 ?13:03
sledgesmvmsaikrishna: use multirom and have both13:03
MSameeri will not be listing all resolutions like that in the UI. it clutters the UI. just look how android resolution selector is. And you also removed 16:10 (or 12:10) and limited the freedon of your users so the argument becomes void13:03
mvmsaikrishnayeah tried that. got a bootloop!13:03
sledgessfos image needs to be accompanied with cm11 zip, why do you want secondary rom with 12?13:03
sledgesmvmsaikrishna: you need latest twrp13:04
sledgesvgrade_: a link to  TWRP_multirom_bacon_20150317-01.img ?13:04
MSameerlast thing: the stuff is in a text file so people can edit it or someone can even write a 3rd party app that adds all the possible resolutions13:04
MSameerthat's it from me13:04
mvmsaikrishnasledges: Yes, I used the same recovery13:04
* MSameer leaves for now13:04
sledgesmvmsaikrishna: with which cm?13:05
mal-I argee, too much choises is not a very practical option13:05
vgrade_mvmsaikrishna: multirom will not work atm, we need a new version releasing for 1+13:05
sledges00:39 < vgrade> sledges: new zip with asserts removed and chmod changes flashes fine from TWRP_multirom_bacon_20150317-01.img13:05
sledgesvgrade_: ? :)13:05
vgrade_use the recovery to install sailfish on top of cm1113:05
vgrade_sledges:yes as a main rom , not a multirom13:06
sledgesvgrade_: understood13:06
carepacktoo much choices not useful agree too13:06
mvmsaikrishnasledges: sfos with base zip as cm12 gives boot error & base zip as cm11 gives bootloop (cm12 is primary rom).13:06
vgrade_sledges:we need Tassadar changes picked up my multi rom maintainer for multirom boots to work13:06
mvmsaikrishnaok, will wait for nerw recovery :)13:07
sledgesvgrade_: just understood that 17ofMarch was quite a while ago, so many changes since then!;))13:07
sledgesvgrade_: did you DM KINGbabasula on xda?13:07
mvmsaikrishnaanyways..if you need any testing to be done on Oneplus one..i can be of help :)13:07
vgrade_sledges:yes thats thgue13:07
vgrade_the guy13:07
sledgesyou should ping him:)13:08
vgrade_sledges:according to Tassadar he does not come to IRC but he releases often13:08
vgrade_I'll see if I can ping him on xda13:08
sledgesis what i meant:)13:09
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:5875:dd9e:fd30:f1fc> has quit IRC (Quit: Leaving)13:11
vgrade_just in from dansou from xda, "I just requested a new MultiROM build together with recovery which we should get by evening or latest tomorrow so we can test further."13:11
*** dansou901 <dansou901!86820101@gateway/web/freenode/ip.> has joined #sailfishos-porters13:11
dansou901vgrade: I just pinged KINGbabasula on XDA13:12
dansou901he's going to build MultiROM and recovery again13:12
dansou901vgrade: I also PMed you on XDA13:13
locusfgreat progress guys :)13:13
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@> has left #sailfishos-porters13:17
*** dansou901 <dansou901!86820101@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)13:25
*** dansou901 <dansou901!86820101@gateway/web/freenode/ip.> has joined #sailfishos-porters13:25
dansou901For bacon: Thread on XDA is moved from General section to Original Development, now that there is a port available. Thanks for the work guys!13:26
sledgesawesome, thanks dansou901 !13:27
sledgesarielext: 3G is working! \o/13:27
sledges needs a new child ;)13:28
sledgesoh already in! :DD13:28
sledgesthanks to whoever:))13:28
sledgesneeds an update from then13:29
sledgesmore green squares hey hey hey:)13:29
*** dansou901 <dansou901!86820101@gateway/web/freenode/ip.> has quit IRC (Client Quit)13:29
arielextsledges: oh wow; too bad incoming calls don't fully work13:29
arielextsledges: but the progress being made is amazing!13:30
sledgesarielext: i see your point;)13:30
sledgeswell, modem out of the box!13:30
*** situ <situ!> has quit IRC (Excess Flood)13:31
vgrade_sledges:where did you see 3G was working13:32
sledgesvgrade_: in the link post just above13:32
vgrade_I can't keep up :)13:33
vgrade_going to be a busy weekend13:34
vgrade_like this one :)
vgrade_I like this one13:35
vgrade_you know when you are getting close13:35
arielextso the sailfish based one+ can be my daily driver next week huh? ;)13:41
*** spiiroin <spiiroin!> has joined #sailfishos-porters13:43
*** situ <situ!> has joined #sailfishos-porters13:43
carepackif a part on the adaptation list hooked up to hal but not to ui. Where is the best starting point to inspect?13:48
*** zanac <zanac!> has joined #sailfishos-porters13:58
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 256 seconds)14:05
*** electrolux <electrolux!~Adium@> has quit IRC (Quit: Leaving.)14:09
*** zGrr <zGrr!~grr@> has quit IRC (Ping timeout: 252 seconds)14:09
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has quit IRC (Ping timeout: 255 seconds)14:23
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has joined #sailfishos-porters14:26
*** VDVsx <VDVsx!~VDVsx@2001:2060:53:beef:4898:d8f9:155d:934f> has quit IRC (Ping timeout: 256 seconds)14:39
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has quit IRC (Ping timeout: 255 seconds)14:40
*** iTune <iTune!> has joined #sailfishos-porters14:53
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)15:13
*** vgrade_ <vgrade_!50e71d14@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)15:14
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has joined #sailfishos-porters15:18
*** spiiroin <spiiroin!> has quit IRC (Ping timeout: 245 seconds)15:19
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters15:20
*** krnlyng <krnlyng!~liar@> has quit IRC (Ping timeout: 264 seconds)15:20
*** vgrade_ <vgrade_!50e71d14@gateway/web/cgi-irc/> has joined #sailfishos-porters15:23
*** krnlyng <krnlyng!~liar@> has joined #sailfishos-porters15:23
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has quit IRC (Ping timeout: 255 seconds)15:31
vgrade_sledges:new multirom is out and works,
vgrade_thanks again Tassadar15:32
*** spiiroin <spiiroin!> has joined #sailfishos-porters15:33
vgrade_will update the forums tonight15:36
*** bird_ <bird_!~quassel@> has joined #sailfishos-porters15:38
*** VDVsx <VDVsx!> has joined #sailfishos-porters15:48
*** tanty is now known as tanty_off15:49
*** bird_ <bird_!~quassel@> has quit IRC (Remote host closed the connection)15:53
*** phdeswer <phdeswer!~phdeswer@2001:998:2a:dead:49be:77a1:7856:679a> has quit IRC (Ping timeout: 265 seconds)15:58
*** carepack <carepack!> has quit IRC (Quit: Lost terminal)16:09
*** arielext <arielext!589f9e33@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)16:21
*** vgrade_ <vgrade_!50e71d14@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)16:21
*** dsd_ <dsd_!3e2bc1f6@gateway/web/freenode/ip.> has joined #sailfishos-porters16:22
*** vakkov <vakkov!> has joined #sailfishos-porters16:25
*** rbn <rbn!> has joined #sailfishos-porters16:25
*** cl_ <cl_!> has quit IRC (Quit: Konversation terminated!)16:26
*** carepack <carepack!> has joined #sailfishos-porters16:39
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has joined #sailfishos-porters16:42
Nokius|jollasledges: vgrade added bacon to the table16:44
*** vakkov <vakkov!> has quit IRC (Ping timeout: 264 seconds)16:52
sledgesit's his child;)16:54
Nokius|jollanot his baby =D16:55
*** PhompAng <PhompAng!> has joined #sailfishos-porters16:59
*** iTune <iTune!> has quit IRC (Ping timeout: 255 seconds)17:02
Nokius|jollasledges: dud you saw the eclipse?  or was the meeting to long? saw the beginning and was d[^.^]b17:03
klopsi-u3the eclipse wasn't dark enough17:07
Nokius|jollaused a welding goggles17:12
Nokius|jollaand worked good17:13
*** r0kk3rz <r0kk3rz!> has joined #sailfishos-porters17:14
sledgesNokius|jolla: i did see it, the luxury of having a remote meeting - just walk around with your jolla and headset;)17:28
Stskeepsor on the balcony with a beer in shorts17:29
sledgeswhat shorts?17:29
*** PhompAng <PhompAng!> has quit IRC (Ping timeout: 272 seconds)17:34
*** hedayat <hedayat!~hedayat@fedora/hedayatvk> has joined #sailfishos-porters17:39
*** rbn <rbn!> has quit IRC ()17:42
*** spiiroin <spiiroin!> has quit IRC (Ping timeout: 256 seconds)18:00
*** plfiorini <plfiorini!> has joined #sailfishos-porters18:04
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters18:10
*** spiiroin <spiiroin!> has joined #sailfishos-porters18:12
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has quit IRC (Ping timeout: 255 seconds)18:18
vgrade\o/ weeeekend18:19
vgradeTassadar: there is the followng report on 1+ forums, any ideas?18:23
*** phdeswer_ <phdeswer_!> has joined #sailfishos-porters18:24
* vgrade opens a beer18:26
TassadarI can't do anything without logs18:26
vgradeanyone else18:26
Tassadarmaybe the installation ZIPs overwrite something in primary ROM, again, logs18:26
vgradeTassadar: sure I'll see what I can do18:26
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has joined #sailfishos-porters18:27
vgradeTassadar: what logs and from where?18:28
Nokius|jollavgrade: soon for me18:28
* vgrade passes Nokius|jolla a lemonade18:28
*** r0kk3rz <r0kk3rz!> has quit IRC (Quit: ChatZilla [Firefox 35.0.1/20150122214805])18:28
Tassadarrecovery log, adb pull /tmp/recovery.log (or advanced -> copy log to sd) and "adb pull /tmp/last_updater_script" after installation of sailfish as secondary ROM18:29
Nokius|jollavgrade: hopefully u can enjoy it a bit18:29
Nokius|jollavgrade: thanks18:29
*** r0kk3rz <r0kk3rz!> has joined #sailfishos-porters18:33
phdeswer_tbr, sunday is more or less completely free, so should work out great if that suits you18:35
tbrphdeswer_: works for me, just privmessage me your address and at what time I should be there. :)18:36
Nokius|jollacu when home18:52
sledgesvgrade: Tassadar: looks like primary lollipop bootloop was a one-off case, i wonder if it's something to do with the versions of OSs they had on board18:54
Tassadaryeah, I can't tell you anything without logs or access to the device18:55
sledgesim just wondering why it was a one-off..18:55
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@> has quit IRC (Ping timeout: 255 seconds)18:57
mal-sledges: can I just replace droid-hal-iyokan-gstdroid-hack with a new build of gst-droid or do I need replace something else also?18:58
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters18:58
sledgesmal-: just that, nothing else18:59
sledgeshence the reverts18:59
mal-yes, thought so19:00
mal-I'm trying to build the audio-hack version of gst-droid :)19:00
sledgeshack sounds good;)19:01
mal-for now it's a hack19:02
sledgesyes, hack sounds good for the start, what i meant:))19:02
mal-I'm also debugging pulseaudio problem, enable more output from android libraries19:03
mal-just wondering why I make so much typos19:03
sledgeswaht typos?19:04
mal-well those look like stupid grammar mistakes, usually just a result of missing letters19:06
mal-typing too fast and not checking carefully enough19:07
*** spiiroin <spiiroin!> has quit IRC (Ping timeout: 250 seconds)19:07
*** TheWarner66 <TheWarner66!~Warner66@> has joined #sailfishos-porters19:14
*** Warner66 <Warner66!~Warner66@> has quit IRC (Read error: Connection reset by peer)19:14
mal-sledges: if I replace a library in /system/lib/hw should it work directly after that? audio libraries in this case19:18
sledgesmal-: reboot wouldn't jurt19:19
sledgesif you're braver, you can put them under /usr/libexec...hybris19:19
sledgesand by hybris binaries they should get picked from there19:20
sledges(not by android ones though)19:20
sledgesfor less intrusiveness, but you might not waste time trying only for tmp debug info out19:20
*** TheWarner66 <TheWarner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)19:23
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters19:31
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)19:35
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters19:43
*** plfiorini <plfiorini!> has quit IRC (Remote host closed the connection)19:44
*** plfiorini <plfiorini!> has joined #sailfishos-porters19:45
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)19:45
*** phdeswer_ <phdeswer_!> has quit IRC (Ping timeout: 272 seconds)19:47
*** spiiroin <spiiroin!> has joined #sailfishos-porters19:47
*** cmazieri <cmazieri!> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium
mal-sledges: found the reason why I couldn't see the debug output, I modified the wrong libraries19:48
mal-I didn't even know there was such a place for audio sources19:49
mal-it was included in one of the device repos19:50
*** gogeta <gogeta!> has joined #sailfishos-porters19:51
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)20:05
MSameermal-: how is it going with the audio codecs?20:05
mal-fixing compiling errors20:07
MSameerneed help with anything?20:07
mal-not at the moment, have to see what happens first20:08
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters20:10
*** teapot <teapot!5bca2d2e@gateway/web/freenode/ip.> has joined #sailfishos-porters20:18
*** Nokius_ is now known as Nokius20:19
mal-MSameer: it compiled, however no idea if it will work20:22
teapothi again :) can't wait for flash new sailfish to 1+20:25
MSameeri can test it for you mal-20:25
mal-well, does not look good yet20:27
Nokiussledges: let's see qrngd is uncomment20:29
mal-MSameer:  no such element factory "droidcamsrc"20:30
MSameermal-: remove the cache and try again with gst-inspect20:30
teapotbuild sailfish - ok. do backup - ok. so do i need wipe android phone before flash sailfish or not?20:33
mal-MSameer: error in my code, I'll try to fix it20:33
teapotwipe android from phone*20:33
vgradeteapot: no, you need android drivers still in place20:34
*** Nokius|jolla <Nokius|jolla!~Nokius|> has joined #sailfishos-porters20:34
teapotvgrade: thank you.20:34
vgradeyou can just install zip just like a normal ROM20:34
Nokiussledges: looks like it helped20:35
vgradeteapot: you made good progress20:35
teapotvgrade: i always make wipes before flash rom (if it not update) =)20:35
vgradeNokius: no reboot20:35
vgradeteapot: not required for sailfish20:36
Nokiusvgrade: fastboot get me in a 23 session Mer Debug setting up (DONE_SWITCH=no)20:36
Nokiusis that good do I have to continue ?20:36
vgradeyes, continue20:37
vgradebut you said it looked like it helped20:37
Nokiuswas guessing I'm in the right mode now :(20:38
Nokiusvgrade: 2323 now20:38
vgradeand you commented qrngd out20:39
Nokiusvgrade: yes20:40
vgradeNokius: pull the trigger20:42
vgradefingers crossed20:42
sledgesit's a long shot20:42
sledgesit was the last service launched in strace20:42
teapoterm... one more question. is there any way for quick rebuild flashable zip? if i edit some android configs. i mean hal part only20:42
sledges(or actually, failing many times, before init gives up and reboot(?))20:42
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)20:43
Nokiussledges: device booted into recovery20:43
sledgeskeep stracing then20:43
vgradeNokius: or binary chop the services20:45
sledgesor chop services from the bottom of strace20:45
Nokiusshopuld I strace till it fail / rebbots?20:47
*** alin <alin!> has joined #sailfishos-porters20:48
*** alin <alin!> has quit IRC (Changing host)20:48
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters20:48
sledgeshow otherwise?20:50
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters20:50
Nokiusctl + c20:51
sledgesyes but how will you know which was the last service before reboot?20:51
Nokiusyeap but may there is some other fails before?20:52
MSameerdamn, I forgot to git push from work again :/20:54
Nokiussledges: output stoppes here
* Nokius short stop in the kittchen 20:56
MSameeroh crap, I pushed to the wrong branch20:57
*** hedayat <hedayat!~hedayat@fedora/hedayatvk> has left #sailfishos-porters ("PING 1426885166")20:59
Nokiussledges: mh21:00
mal-MSameer: dump_resolutions does not fail anymore21:01
mal-but does not output anything21:01
mal-that's without anything21:01
MSameermal-: those warnings are issues with your code21:02
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)21:03
MSameernot sure what I should do to help21:03
mal-but could those cause it21:03
mal- GST_DEBUG='*:2'21:03
mal-here's the output of inspect
Nokiussledges: drmserver this time?
mal-MSameer: should I add files /etc/gst-droid/gstdroidcamsrcquirks.conf and /etc/gst-droid/gstdroidcamsrc.conf21:08
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters21:08
mal-MSameer: dump_resolutions process does not end, it just does not out anything anymore21:12
MSameermal-: disable shutter sound in cameraservice21:13
vgradeNokius: device/qcom/common/cryptfs_hw/cryptfs_hw.c:    android_reboot(ANDROID_RB_RESTART2, 0, "recovery");21:13
Nokiusvgrade: so not drmserver?21:15
mal-MSameer: do you mean setprop 121:15
mal-MSameer: or something else21:15
Nokiusvgrade: How did you find it out?21:16
MSameermal-: i don;t know if it's supported by your cameraservice or not21:16
vgradeNokius: just trying see if I could find the source code which is calling the reboot21:16
MSameermal-: sledges has the patches needed if it is not supported21:17
mal-did not help21:17
vgradeNokius: grep -Rs reboot * , in source tree21:17
mal-sledges: ping21:18
Nokiusvgrade: so disabling drmserver is not helping?21:18
Nokiusvgrade: source tree == $ANDROID_ROOT?21:20
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)21:22
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters21:22
mal-MSameer: here a strace of that
vgradeNokius: it might I don't know, continue with commenting out and I'll look at source21:25
vgradeyes source tree == $ANDROID_ROOT21:25
Nokiusoh it returns a lot of reboots21:25
MSameermal-: I told you what to do21:26
MSameerstrace is obvious21:26
MSameerioctl(6, BT819_FIFO_RESET_HIGH, 0xbebb6ff0) = 021:26
MSameerioctl(6, BT819_FIFO_RESET_HIGH21:26
vgradeNokius: grep -Rs "\"recovery"\" * , narrows it down a bit21:26
mal-MSameer: but I have no idea where that shutter sound is defined?21:28
Nokiusvgrade: yeap21:28
vgradethis looks likely as its in init, system/core/init/init.c:        android_reboot(ANDROID_RB_RESTART2, 0, "recovery");21:29
vgradeits the selinux reboot21:30
MSameermal-: in your camera service.cpp21:30
vgradeNokius: Nokius after 2323 and before calling init strace do you have the following directory21:33
*** Lipevakala_ <Lipevakala_!> has quit IRC (Ping timeout: 264 seconds)21:33
vgrade   if (access("/sys/fs/selinux", F_OK) != 0) {21:33
teapotгде-то я ошибся((21:33
*** plfiorini <plfiorini!> has quit IRC (Ping timeout: 250 seconds)21:34
teapotoops. sorry21:34
teapotsomewhere i made a mistake21:34
teapotso... better luck next time21:34
*** plfiorini <plfiorini!> has joined #sailfishos-porters21:36
Nokiusvgrade: nope have no /sys/fs/selinux21:38
Nokiusvgrade: all I found in the tree
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)21:47
vgradethats reboot not recovery21:48
vgradegrep -Rs "\"recovery"\"21:49
vgradefound it21:50
vgradeNokius: system/core/init/signal_handler.c21:51
vgradeyou can see the ERROR("critical process '%s' exited %d times in %d minutes; " "rebooting into recovery mode\n", svc->name, CRITICAL_CRASH_THRESHOLD, CRITICAL_CRASH_WINDOW / 60);21:52
vgradepartly written to your strace log21:53
vgradebefore the reboot21:53
vgradepity we can't see the svc->name21:54
vgradeI wonder if we can configure strace to give more info on the %s parameter21:55
vgradewrite(3, "<3>init: critical process 'servi"..., 101) = 10121:55
vgradeNokius: google says "You want the -s strsize option, which specifies the maximum length of a string to display (the default is 32)."21:56
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters21:57
Nokiusvgrade: sorry was a way set -s 100 lets see21:59
vgradeNokius: np21:59
* vgrade gets a refill, another lemonade Nokius ?22:00
*** harha <harha!> has quit IRC (Quit: Leaving.)22:01
Nokiusvgrade: not sure if -s is the way
vgradeNokius: write(3, "<3>init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode"22:05
mal-MSameer: now I get [F] main:51 - Failed to start camera22:05
Nokiusvgrade: oh it really helped22:06
MSameeri hate to say it but seems it's the same issue that affects maguro22:08
MSameermal-: GST_DEBUG='droidcamsrc:7'22:08
Nokiusvgrade: has following entries
mal-MSameer: is it bad?22:09
MSameerwell, vakkov was supposed to be working on fixing it22:10
MSameerI don't know if he did or not22:10
vgradeNokius: sec, checking my rc's, those uncommented onrestarts look odd22:10
mal-MSameer: any idea where the problem is?22:11
MSameermal-: the problem is your camera HAL does not provide video sizes (which is valid for android) but when I was coding droidcamsrc I did not know that22:11
*** arcean <arcean!> has joined #sailfishos-porters22:11
Nokiusvgrade: looks like that it also crash last night coz servicemanager22:11
MSameermal-: so droidcamsrc needs those values to perform caps negotiation on the video recording side of the pipeline (even if it's not used ATM)22:12
MSameermal-: and since it cannot find any values, it gives an error22:12
MSameerthe solution is to simply fix that and only negotiate the video branch when we switch to video mode in camera22:12
MSameerI did not work on it because vakkov mentioned he is doing it22:12
vgradeNokius: don't have those on bacon, please comment the two uncommented onrestart lines22:12
mal-vakkov: are you working on fixing the problem just mentioned?22:13
Nokiusvgrade: done22:13
vgradeI also have critical commented22:14
MSameermal-: what's your phone BTW?22:14
vgradeNokius: lets go with the to onrestarts first22:14
mal-MSameer: sony ericsson xperia pro (iyokan)22:14
* MSameer adds a note22:15
* vgrade check driod-hal-device to see where servicemanager commenting is handled22:15
Nokiusvgrade: again servicemanager
*** gogeta <gogeta!> has quit IRC (Ping timeout: 256 seconds)22:17
vgradeNokius: ok comment critical.22:17
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)22:19
vgradeNokius: looks like without critical it wont cause a reboot22:19
Nokiusvgrade: on the way22:19
*** harha <harha!> has joined #sailfishos-porters22:22
Nokiusvgrade: strace is not booting into recovery looks like it's now in a loop process qrngd (removed the commits and ril-deamon22:23
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters22:24
*** r0kk3rz <r0kk3rz!> has quit IRC (Ping timeout: 255 seconds)22:26
*** harha <harha!> has quit IRC (Ping timeout: 265 seconds)22:26
vgradeNokius: looking better try a continue instead of strace22:27
Nokiusdisabled qrngd again22:28
Nokiusvgrade: gone again22:30
vgradeNokius: looking at your init.rc it looks like its the hybris-11.0-44S branch while my bacon comes from libhybris-1122:33
vgradeyours looked like this before you edits ,
*** Warner66 <Warner66!~Warner66@> has quit IRC (Ping timeout: 252 seconds)22:35
Nokiusirrc repo sync greped 11.0-44S22:35
*** zanac <zanac!> has quit IRC (Quit: Leaving.)22:38
vgradeNokius: ok that explains the difference to bacon22:40
vgradeso you commented critical, and both on restarts but still get the reboot22:40
vgradefrom 2323 continue22:41
vgradebut the running strace does not reboot22:41
*** Warner66 <Warner66!~Warner66@> has joined #sailfishos-porters22:42
Nokiusvgrade: it's bot rebooting from 2323 it's loosing the connection for telnet device screen stays the same22:42
Nokiusvgrade: strace ends in the loop share the gist about the output22:43
Nokiusvgrade: servicemanager
vgradelooks at last gst22:44
Nokiusvgrade: loop gist
Nokiusvgrade: didn't wait may it will reboot but looks to me like a loop22:45
Nokiusso i ctrl + c22:45
Nokiusthat's why disabled qrngd again22:47
vgradeok did you do a strace with qrngd disabled?22:48
vgradeor just a continue22:48
Nokiusjust a continue as you mention22:51
Nokiusmay I try to disable  ril-daemon too?22:54
vgradelets try a strace with qrngd disabled22:56
vgradewas trying to run before I could walk22:56
Nokiuslooks like ril-daemon now22:57
*** teapot <teapot!5bca2d2e@gateway/web/freenode/ip.> has left #sailfishos-porters23:01
vgradeand still servicemanager restarting23:01
Nokiusvgrade: yeap23:01
vgraderemind me of your init.rc23:02
*** Lipevakala_ <Lipevakala_!> has joined #sailfishos-porters23:02
vgradeLipevakala_: \o23:03
*** ballock <ballock!~ballock@> has quit IRC (Ping timeout: 244 seconds)23:06
Nokiusvgrade: looks like this
vgradedo you have /usr/libexec/droid-hybris/system/bin/servicemanager23:11
vgradeon device23:12
Nokiusyes -rwxr-xr-x 1 root root 9672 Mar 15 20:44 /usr/libexec/droid-hybris/system/bin/servicemanager23:13
vgradeNokius: strace servicemanager23:15
vgradebut not rebooted23:19
Nokiusthe same as before connection gone23:20
*** krnlyng <krnlyng!~liar@> has quit IRC (Ping timeout: 246 seconds)23:21
vgradeok comment rild and strace init23:22
vgradebe afk for a while23:24
Nokiusokay I will get some sleep soon23:24
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 244 seconds)23:26
*** krnlyng <krnlyng!~liar@> has joined #sailfishos-porters23:31
Nokiusvgrade: still servicemanager :-/23:37
*** vakkov <vakkov!> has joined #sailfishos-porters23:42
*** Nokius|jolla_ <Nokius|jolla_!~Nokius|> has joined #sailfishos-porters23:46
*** Nokius|jolla <Nokius|jolla!~Nokius|> has quit IRC (Remote host closed the connection)23:46
*** Lipevakala <Lipevakala!> has joined #sailfishos-porters23:49
*** vakkov <vakkov!> has quit IRC (Ping timeout: 250 seconds)23:50
*** Lipevakala_ <Lipevakala_!> has quit IRC (Ping timeout: 256 seconds)23:50
*** krnlyng <krnlyng!~liar@> has quit IRC (Ping timeout: 264 seconds)23:50
vgradehad a thought23:56
vgradeNokius: still up23:56
Nokiusvgrade: yeap23:56
*** krnlyng <krnlyng!~liar@> has joined #sailfishos-porters23:57
vgradeI'm wondering if usbmoded takes usb away23:58
*** arcean <arcean!> has quit IRC (Read error: Connection reset by peer)23:59
mal-Nokius: does the usb disappear completely or does it show something in host dmesg?23:59
Nokiusmal-: let me check23:59

Generated by 2.17.1 by Marius Gedminas - find it at!