*** ggabriel is now known as Guest3580 | 01:05 | |
*** ggabriel is now known as Guest3610 | 09:58 | |
T42 | <rahulyx> @elros34 Quick update: I moved wlan service back to /lib/systemd from /usr/lib/systemd... Also removed bluedroid temporarily. Rebuilt config and wlan0 is visible again after a manual modprobe wlan | 16:06 |
---|---|---|
T42 | <rahulyx> Will check logs shortly | 16:06 |
mal | /usr/lib/systemd is the correct place | 16:07 |
T42 | <rahulyx> Yeah... let me move it again on device and try | 16:09 |
T42 | <rahulyx> Is it possible that bluedroid is interfering with something? | 16:09 |
mal | you mean bluebinder? | 16:10 |
T42 | <rahulyx> Oh sorry, bluebinder | 16:10 |
T42 | <rahulyx> Also, the mac addr for wlan0 looks incorrect | 16:13 |
T42 | <rahulyx> Doesn't match with what's shown on android which i believe is the right one | 16:14 |
T42 | <elros34> dont move systemd service use systemctl mask <servicename >instead | 16:23 |
Mister_Magister | mal: the qa repo can be yeeted right? | 17:02 |
T42 | <elros34> @rahulyx I still have impression that you are building whole image for all these simple changes which takes a lot of time | 17:21 |
T42 | <rahulyx> @elros34 yeah, I've been rebuilding this whole while as I did changes in the defconfig. How do I load only the rebuilt config onto the device? | 17:25 |
T42 | <elros34> if you change defconfig then flash only kernel (hybris-boot.img) for all other changes just do them on device, masking services is on line command | 17:26 |
T42 | <rahulyx> Okay got it! And if I rebuild configs, how do I load it? | 17:27 |
T42 | <elros34> what for? | 17:29 |
T42 | <elros34> ignore configs, fix something on device, if it works apply to your droid-config repos (maybe test at some point) | 17:30 |
T42 | <rahulyx> Okay got it. Let me try that | 17:30 |
mal | Mister_Magister: ? | 17:40 |
T42 | <rahulyx> wlan is okay now and auto starts after moving to /usr. mac address is incorrect. | 17:56 |
Mister_Magister | mal: user had qa repo https://releases.jolla.com/qa/4.6.0.13/armv7hl/ | 18:13 |
Mister_Magister | but it 404's | 18:13 |
T42 | <rahulyx> @mal, you were right! bluebinder_post.sh[5544]: Failed to get bluetooth address! | 18:14 |
mal | Mister_Magister: ok, that is not required | 18:28 |
Mister_Magister | ok another question, how do I debug geoclue? on titan its working fine and on thea it doesn't work ,as in i don't even get compass so almost like if entire hal backend wasn't working, but they share the same codebase and have exact same packages versions so should work exactly the same | 18:29 |
mal | @rahulyx you might need a custom service, you need to check for example from output of getprop if it lists the bt mac address | 18:30 |
mal | *custom script | 18:30 |
T42 | <rahulyx> Yes mal, going thru your previous messages on irc | 18:30 |
mal | once you find where the mac address is then you need to add a script like this https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/bin/droid/droid-get-bt-address.sh (of course modified to use the correct property or in some cases a file) | 18:31 |
Mister_Magister | aaaaaaaaaaaaaaaaaaaaaaaaaaany (geo) clue? xd | 18:36 |
Mister_Magister | i can't remember how was i debugging geoclue in past and running geoclue-master by hand yields nothing nor does it have any options | 18:38 |
T42 | <rahulyx> Thanks @mal, let me try this | 18:39 |
T42 | <elros34> do you have coorect version of geoclue plugin? hal vs binder? | 18:42 |
Mister_Magister | hal | 18:42 |
Mister_Magister | @elros34 it didn't change for the past 9 years so i'm pretty sure especially that the other phone has exact same package and it works | 18:42 |
mal | have you checked it really has correct version, I remember it's possible it picks one randomly if you have both available and haven't forced hal in patterns | 18:44 |
Mister_Magister | the only thing i can imagine causing issue is this https://paste.opensuse.org/pastes/cea1ae7f8eb6 | 18:44 |
Mister_Magister | i | geoclue-provider-hybris-hal | package | 0.2.36-1.11.1.jolla | armv7hl | adaptation-community | 18:45 |
Mister_Magister | so ye pretty sure | 18:45 |
T42 | <elros34> for debugging I think you can use QT_LOGGING_RULES | 18:50 |
Mister_Magister | i'm worried its the android part thats complaining | 18:50 |
Mister_Magister | QT_LOGGING_RULES=*.* /usr/libexec/geoclue-master seems to have no effect | 18:52 |
T42 | <elros34> try hybris one | 18:55 |
T42 | <elros34> QT_LOGGING_RULES="*.debug=true" | 18:56 |
Mister_Magister | oki i think this debugging session has to end prematurely because gps seems to be working fine | 18:56 |
Mister_Magister | even tho thea doesn't have compass | 18:56 |
T42 | <rahulyx> @mal getprop has no BT addr. I ran a find and got ./proc/msm_nv/mac_bt and mac_wifi. Are these files good? However, I'm unable to access them, says permission denied | 19:11 |
T42 | <rahulyx> Looks like they're empty files: https://paste.mozilla.org/Ru1RJdDr | 19:15 |
T42 | <elros34> can't you 'cat' them? | 19:18 |
T42 | <elros34> did you search in /data, /data/vendor, /efs or something like that for anything mac/bluetooth/address related? | 19:20 |
T42 | <rahulyx> Yeah, cat is empty, shows a couple of junk characters | 19:22 |
T42 | <rahulyx> Searching in other directories | 19:23 |
T42 | <elros34> junk characters doesn't mean its empty, it might be in encoded | 19:24 |
T42 | <rahulyx> located the wlan mac at /mnt/vendor/persist/wlan_mac.bin | 19:38 |
T42 | <b100dian> You should `xxd` instead of cat to find the meaning of the junk characters | 20:03 |
T42 | <rahulyx> I just figured that out | 20:04 |
T42 | <rahulyx> Thanks! | 20:04 |
T42 | <b100dian> Example: https://github.com/sailfishos-on-sake/droid-config-sake/blob/master/sparse/usr/bin/droid/droid-get-bt-address.sh | 20:05 |
T42 | <rahulyx> Thanks @b100dian, this is helpful! | 20:06 |
T42 | <rahulyx> BT is good | 20:16 |
T42 | <rahulyx> Let me fix wlan mac now | 20:16 |
T42 | <edp_17> What's the recommended commits for dhd, dcd, dhv and droidmedia for building 4.6? | 20:33 |
T42 | <edp_17> oh and for sensorfw? | 20:33 |
T42 | <edp_17> For building 4.5, I used: | 20:34 |
T42 | <edp_17> droidmedia:0.20230605.1 | 20:34 |
T42 | <edp_17> droid-hal-device:960d6af | 20:34 |
T42 | <Mister_Magister> just look at the fp2 | 20:34 |
T42 | <edp_17> droid-hal-configs:414d96c | 20:34 |
Mister_Magister | or here https://build.sailfishos.org/project/show/nemo:testing:hw:motorola:titan | 20:34 |
T42 | <edp_17> sensorfw: 8014186 | 20:35 |
T42 | <rahulyx> Okay, so I tried to restart the device. This time bluebinder is unmasked. wlan0 doesn't show up. modprobe wlan says no device named wlan. BT MAC is okay, however bluebinder doesn't start, stays at "activating". Masked bluebinder and restarted, wlan works fine. Also, BT works when I start bluebinder service after boot | 20:50 |
T42 | <rahulyx> Could this be related to wlan mac being incorrect? | 20:51 |
T42 | <rahulyx> Checking dmesg | 20:51 |
*** ggabriel is now known as Guest3669 | 21:58 | |
*** ggabriel is now known as Guest3671 | 22:17 | |
T42 | <edp_17> Building drid-hal-version-$DEVICE on OBS is unresolvable. Reason: "have choice for hybris-libsensorfw-qt5: hybris-libsensorfw-qt5-binder hybris-libsensorfw-qt5-hal". How can I solve it? | 23:19 |
T42 | <edp_17> link: https://build.sailfishos.org/package/show/nemo:testing:hw:samsung:treltexx/droid-hal-version-treltexx | 23:20 |
mal | which one do you want to have? | 23:20 |
T42 | <edp_17> Same device, ofono fails to build on OBS when it builds fine locally. link: https://build.sailfishos.org/package/show/nemo:testing:hw:samsung:treltexx/ofono | 23:20 |
T42 | <edp_17> mal: I don't know which one I need. | 23:21 |
mal | which android base | 23:21 |
T42 | <edp_17> los 14.1 | 23:22 |
mal | I assume hal if you have built it, binder one is available in | 23:22 |
mal | check patterns that you force hal version like this https://github.com/mer-hybris/droid-config-f5121/blob/master/patterns/patterns-sailfish-device-adaptation-f512x.inc#L19 | 23:22 |
T42 | <edp_17> Is this 4.6 specific? I didn't need this before. | 23:22 |
mal | ah, it might be that we finally added the hw common from jolla repos to obs also | 23:23 |
mal | which makes the binder versions of some packages available | 23:23 |
mal | usually if you need hal version of sensor plugin or geoclue you should do this https://github.com/mer-hybris/droid-config-f5121/commit/ac3b0a0625d773d4ddd848cdcf4ab386ac8525f7 | 23:24 |
T42 | <edp_17> Hm, it seems I do have that already: https://github.com/edp17/droid-config-treltexx/blob/master/patterns/patterns-sailfish-device-adaptation-treltexx.inc#L20C11-L20C37 | 23:25 |
mal | ok, we can work around that in project config, last line here https://build.sailfishos.org/project/prjconf/nemo:devel:hw:fairphone:fp2-sibon | 23:26 |
T42 | <edp_17> Thanks! This was it. Now only ofono failed, the other one completed. | 23:29 |
T42 | <edp_17> Ofono fails with: FAIL: unit/test-config | 23:30 |
mal | how new is that ofono, there was a fix to unit tests earlier this year | 23:30 |
mal | https://github.com/sailfishos/ofono/commit/cff7c7adb17bcfcb36dedcb6255c570119b5983f | 23:31 |
mal | could be that | 23:31 |
T42 | <edp_17> Thanks! Let me try this. | 23:32 |
T42 | <edp_17> mal: Ofono has succeeded. :) Thanks! | 23:39 |
*** ggabriel is now known as Guest3675 | 23:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!