T42 | <TheVancedGamer> mal: would it make sense to add a delay in gbinder while getting binder service? android waits 5 seconds if it doesn't initially find a service and that's usually enough for the service to start up | 07:44 |
---|---|---|
T42 | <TheVancedGamer> however we've noticed on UT that systemd services start too early and they can't get binder service | 07:44 |
T42 | <Cvb> How to perform a factory reset of sfos on c2 | 08:23 |
mal | @Cvb it's also possible to reflash the device yourself with fastboot at least in linux or windows | 10:21 |
mal | @Cvb you could also try if for some reason the update went wrong to manually try to update all packages, first check what release version "ssu re" gives, if it's latest sailfish release i.e. 5.0.0.67 then just run either "version --dup" | 10:24 |
T42 | <abranson> muhammad: that sounds like something too high level for gbinder? In sfos if a service isn't found then the client will go into a sleep loop and retry until it appears, and also drop into that when it disappears. but the behaviour can differ in each case. | 10:25 |
T42 | <TheVancedGamer> hmm | 10:26 |
T42 | <TheVancedGamer> it depends I guess | 10:26 |
T42 | <CrossRehk> #notes | 10:26 |
T42 | <TheVancedGamer> IBinder's getService() on android will wait for 5 seconds | 10:26 |
mal | which service is the problem? | 10:29 |
T42 | <TheVancedGamer> vibrator hal, Bluetooth hal and biometrics hall | 10:29 |
T42 | <TheVancedGamer> biometrics hal is especially troubling because its startup class is moved to late_start | 10:30 |
mal | which middleware is using the vibrator hal? | 10:30 |
T42 | <TheVancedGamer> hfd-service in our case | 10:30 |
mal | can you point me to the source? | 10:31 |
T42 | <TheVancedGamer> https://gitlab.com/ubports/development/core/hfd-service | 10:31 |
mal | ok, seems that is using sync api not async api of getting binder service | 10:32 |
T42 | <TheVancedGamer> yeah, probably should try async | 10:32 |
mal | for bluetooth do you use bluebinder? | 10:33 |
T42 | <TheVancedGamer> yes | 10:33 |
T42 | <TheVancedGamer> it's very racy though | 10:33 |
T42 | <TheVancedGamer> sometimes bluebinder starts too early and we have no BT | 10:34 |
Mister_Magister | mal: quick question, I want to listen to rotation from c++ side, do you know perhaps which sfos software would give me that info? | 17:22 |
mal | just c++ or Qt? | 17:22 |
Mister_Magister | c++ with qt but no qml | 17:23 |
mal | QSensors? | 17:24 |
Mister_Magister | oh thanks | 17:24 |
Mister_Magister | I wrote tiny software that listens to pulseaudio when it changes sink to active and sets the rotation control via alsa | 17:24 |
Mister_Magister | now I just need actual rotation value and voila | 17:24 |
Mister_Magister | mal: it does provide device orientation but i was thinking more screen rotation | 17:30 |
Mister_Magister | that would be more lipstick | 17:30 |
Mister_Magister | or Page.orientation | 17:31 |
Mister_Magister | but no qml :P | 17:31 |
rinigus | I have a problem with enrolling fingerprint on nagara port (LOS21 based) using community FPD. while gatekeeper fills up curPwdHandle blob in response to its enrollment, verify quietly fails. | 17:38 |
rinigus | during verify step, c++ lambda is called with rsp.code=-1 and auth_token is not filled. in logs, I have (E KeymasterUtils: rsp_header->status: -30) which is probably KM_ERROR_VERIFICATION_FAILED | 17:38 |
rinigus | https://github.com/sailfishos-open/sailfish-fpd-community/blob/master/android/hybris/biometry_fp_hidl_for_hybris.cpp#L309 | 17:38 |
rinigus | tips? | 17:39 |
rinigus | looks like keystore2 is not initialized in nagara properly. as vold is disabled, nothing calls earlyBootEnded() and I get later error with status #LOCKED . something that's absent in LOS | 19:08 |
rinigus | do we have any replacement for vold? something that would call earlyBootEnded? | 19:09 |
rinigus | or am I wondering in wrong direction? | 19:10 |
mal | what does earlyBootEnded do? | 19:15 |
Mister_Magister | mal: any idea for the screen rotation perhaps? for now I used QOrientationSensor but if the device is just laying flat its not helping much. But if not, i'll just stick to it | 19:19 |
rinigus | mal: not sure. its defined in system/security/keystore2/src/maintenance.rs and looks to be setting up database. let me paste the logs | 19:20 |
rinigus | mal: https://paste.opensuse.org/pastes/ede1878a20ec | 19:22 |
rinigus | its logcat grepped for keystore. avc errors can be ignored - its in permissive | 19:23 |
rinigus | so, looks like difference starts from earlyBootEnded - something that is triggered by vold | 19:24 |
nephros | Mister_Magister: does usr/include/lipstick-qt5/lipstickcompositor.h from lipstick-qt5-devel help? | 19:36 |
nephros | Q_PROPERTY(Qt::ScreenOrientation topmostWindowOrientation | 19:37 |
Mister_Magister | nephros: perhaps | 19:37 |
Mister_Magister | thanks | 19:37 |
Mister_Magister | nephros: hmmm but like⦠how do I talk to it | 19:39 |
Mister_Magister | do I make my own instance of compositor? that doesn't sound right | 19:40 |
Mister_Magister | LipstickCompositor::instance() is null | 19:55 |
nephros | not sure i just saw it and thought it looked useful. | 20:00 |
Mister_Magister | well thanks anyway | 20:01 |
Mister_Magister | nephros: turns out if you just have QGuiApplication and get screen from it, it has orientation lol | 20:23 |
Mister_Magister | hmm but its not sending changed signal | 20:32 |
Mister_Magister | oh wait you gotta tell it you want updates | 20:36 |
Mister_Magister | kinda hacky workaround but now i have working audio orientation! | 20:39 |
Mister_Magister | speaking of which i wonder how that works on stereo devices | 20:39 |
Mister_Magister | if landscape inverted is taken into consideration | 20:39 |
Mister_Magister | GUESS WHAT | 20:54 |
Mister_Magister | ITS NOT | 20:54 |
Mister_Magister | XD | 20:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!