Thursday, 2025-10-02

*** amccarthy is now known as Guest2822913:50
*** amccarthy_ is now known as amccarthy13:50
rinigusI 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
riniguswhen on call, I can also hangup by pressing a button on headset. but sound is routed via phone speaker16:04
rinigususing bluebinder, vendor.qti.hardware.bluetooth_audio@2.{0,1}::IBluetoothAudioProvidersFactory/default16:04
rinigusin the logs, E PAL: ResourceManager: setParameter: 7988: SCO output and input devices are all unavailable16:04
riniguslogs at https://github.com/sailfishos-sony-nagara/main/issues/35#issuecomment-335917796116:04
rinigusany tips?16:04
rinigusre hidl service, android.hardware.bluetooth@1.0::IBluetoothHci is used via bluebinder16:07
maljust a question, how new droid-config submodule do you have?16:13
rinigusnot very new. will have to check16:16
malok, just making sure it's not the latest16:17
rinigusmal: its https://github.com/mer-hybris/droid-hal-configs/tree/c883606f38e9285939c6b30900f2ad2830705f3816:19
malyeah, that's fine16:20
malrinigus: can you grep kernel config on device for BT_ or something to check for bt related kernel options16:21
rinigusmal: https://dpaste.org/KRQ2P16:23
rinigusand config common has %define ofono_enable_plugins bluez5,hfp_ag_bluez516:25
malrinigus: does other bt audio work?16:34
rinigusmal:  listening from web works fine16:35
rinigusI am trying to dive into logs and see if something shows up. so far, all I found was in the issue link16:36
maldo you use normal audio or the halium wrapper?16:36
malwhich android base?16:36
rinigusandroid base - lineage 2116:40
rinigusmal: what was "normal" audio and "halium wrapper"? sorry for confusion16:41
malI 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_hardware16:45
malof course latter also uses droid pulse module but the hw module used is different16:46
rinigushow do we set it up? in configs add some package?16:49
rinigussorry, was a while when I was working on that - had major volte project in between :)16:49
rinigusthis one is in requires: pulseaudio-modules-droid-hidl16:50
rinigusas in https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/d5a07f8ec43298af14a97d86e70d504c296653d9/patterns/patterns-sailfish-device-adaptation.inc#L4416:52
rinigusmal: 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
malrinigus: that pulseaudio-modules-droid-hidl is not related to what I was talking about18:10
rinigusmal: what should I look for then18:10
rinigusreading source - don't think I have it anywhere18:13
rinigus(android_vendor_halium_hardware)18:13
malthat hidl_compat is something built in ha_build env18:15
malI use that fairphones but there the issue was call audio in general not sure bt calls if I remember correctly18:16
rinigusmal: 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
riniguslooking 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.so18:21
malyou also need to make sure the android side audio service is running18:43
malI have overriden the disabled_services.rc from submodule to get it enabled18:44
rinigusthanks! will try. have to restore build env, so it would take some time18:47
riniguslooks like you patched vendor.audio-hal to be started18:53
malyes, that's the one18: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 work19:45
T42_<b100dian> even better19:45
rinigusMerging 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 before19:47
T42_<b100dian> Yes, agreed that is a corner case. I used that 2 times in my life and one was tens of years ago19:55

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!