*** amccarthy is now known as Guest28229 | 13:50 | |
*** amccarthy_ is now known as amccarthy | 13:50 | |
rinigus | I am trying to figure out why there is no sound on phone calls via bluetooth headset on nagara/LOS21. overall, BT seems to work in terms of playback. | 16:04 |
---|---|---|
rinigus | when on call, I can also hangup by pressing a button on headset. but sound is routed via phone speaker | 16:04 |
rinigus | using bluebinder, vendor.qti.hardware.bluetooth_audio@2.{0,1}::IBluetoothAudioProvidersFactory/default | 16:04 |
rinigus | in the logs, E PAL: ResourceManager: setParameter: 7988: SCO output and input devices are all unavailable | 16:04 |
rinigus | logs at https://github.com/sailfishos-sony-nagara/main/issues/35#issuecomment-3359177961 | 16:04 |
rinigus | any tips? | 16:04 |
rinigus | re hidl service, android.hardware.bluetooth@1.0::IBluetoothHci is used via bluebinder | 16:07 |
mal | just a question, how new droid-config submodule do you have? | 16:13 |
rinigus | not very new. will have to check | 16:16 |
mal | ok, just making sure it's not the latest | 16:17 |
rinigus | mal: its https://github.com/mer-hybris/droid-hal-configs/tree/c883606f38e9285939c6b30900f2ad2830705f38 | 16:19 |
mal | yeah, that's fine | 16:20 |
mal | rinigus: can you grep kernel config on device for BT_ or something to check for bt related kernel options | 16:21 |
rinigus | mal: https://dpaste.org/KRQ2P | 16:23 |
rinigus | and config common has %define ofono_enable_plugins bluez5,hfp_ag_bluez5 | 16:25 |
mal | rinigus: does other bt audio work? | 16:34 |
rinigus | mal: listening from web works fine | 16:35 |
rinigus | I am trying to dive into logs and see if something shows up. so far, all I found was in the issue link | 16:36 |
mal | do you use normal audio or the halium wrapper? | 16:36 |
mal | which android base? | 16:36 |
rinigus | android base - lineage 21 | 16:40 |
rinigus | mal: what was "normal" audio and "halium wrapper"? sorry for confusion | 16:41 |
mal | I mean normal one just the usual droid pulse module without anything and the halium way is the hidl_compat hw module https://github.com/Halium/android_vendor_halium_hardware | 16:45 |
mal | of course latter also uses droid pulse module but the hw module used is different | 16:46 |
rinigus | how do we set it up? in configs add some package? | 16:49 |
rinigus | sorry, was a while when I was working on that - had major volte project in between :) | 16:49 |
rinigus | this one is in requires: pulseaudio-modules-droid-hidl | 16:50 |
rinigus | as in https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/d5a07f8ec43298af14a97d86e70d504c296653d9/patterns/patterns-sailfish-device-adaptation.inc#L44 | 16:52 |
rinigus | mal: I'll be afk for probably ~hour. will ping you when I am ready to reply in reasonable time. thanks for helping out! | 16:56 |
mal | rinigus: that pulseaudio-modules-droid-hidl is not related to what I was talking about | 18:10 |
rinigus | mal: what should I look for then | 18:10 |
rinigus | reading source - don't think I have it anywhere | 18:13 |
rinigus | (android_vendor_halium_hardware) | 18:13 |
mal | that hidl_compat is something built in ha_build env | 18:15 |
mal | I use that fairphones but there the issue was call audio in general not sure bt calls if I remember correctly | 18:16 |
rinigus | mal: interesting. so, you just start that service on boot? I can try to compile and run it. is there anything else I need to enable on pulseaudio or anywhere else? | 18:19 |
rinigus | looking now on your code in https://github.com/mlehtima/droid-config-fp5/blob/b604efd9a38d90d10ec3534fda2af5e9209e1e39/sparse/usr/libexec/droid-hybris/system/lib64/hw/audio.primary.lahaina.so | 18:21 |
mal | you also need to make sure the android side audio service is running | 18:43 |
mal | I have overriden the disabled_services.rc from submodule to get it enabled | 18:44 |
rinigus | thanks! will try. have to restore build env, so it would take some time | 18:47 |
rinigus | looks like you patched vendor.audio-hal to be started | 18:53 |
mal | yes, that's the one | 18:53 |
T42_ | <hjicks> is there a list of supported devices? | 19:39 |
T42_ | <b100dian> rinigus: only now reached the September 28th messages - pretty thorough work and testing for call swap, thank you! | 19:41 |
T42_ | <b100dian> not sure I understand the 3rd case, merge calls work except the UI or nothing works? | 19:41 |
T42_ | <b100dian> For hangup on handover to GSM I think I agree that deterministic is better for now. Just remember to not talk in the elevator? ;) | 19:41 |
rinigus | @b100dian: that's only if you have call on hold. Active call is fine, handover will work | 19:45 |
T42_ | <b100dian> even better | 19:45 |
rinigus | Merging calls in ims don't work at all. We could probably make it work, but for me bt issue is of more interest. Never used merged calls before | 19:47 |
T42_ | <b100dian> Yes, agreed that is a corner case. I used that 2 times in my life and one was tens of years ago | 19:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!