bluetooth with Nokia N9 smartphone
Hi, I would like to connect my N9 to my desktop for making phone calls and listening to music coming from the N9. How could I achieve this please? Sometimes after pairing I get music but no phone, and sometimes phone but no music. It seems to be related to these messages: kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 TIA for any help, -- Peter
On Fri, May 21 2021, Peter Münster wrote:
It seems to be related to these messages: kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
Sorry, here is the full log, whenever I try to use the phone: --8<---------------cut here---------------start------------->8--- pipewire[30041]: [W][000362204.657321][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd1 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 pipewire[30041]: [W][000362215.578205][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd1 pipewire[30041]: [W][000362215.580726][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd1 rtkit-daemon[2443]: Supervising 12 threads of 6 processes of 2 users. rtkit-daemon[2443]: Successfully made thread 30662 of process 26641 (/usr/bin/pulseaudio) owned by 'peter' RT at priority 5. rtkit-daemon[2443]: Supervising 13 threads of 6 processes of 2 users. pulseaudio[26641]: W: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 68.54 ms --8<---------------cut here---------------end--------------->8--- My system is Leap 15.2. -- Peter
On 21/05/2021 23.03, Peter Münster wrote:
Hi,
I would like to connect my N9 to my desktop for making phone calls and listening to music coming from the N9. How could I achieve this please?
Sometimes after pairing I get music but no phone, and sometimes phone but no music.
It seems to be related to these messages: kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
TIA for any help,
My efforts to use BT to connect my phone and computer did not succeed. I can manually (CLI commands) join my headphones to the computer and listen to it, but the microphone results too noisy (chopped sound) and is not usable for video conferences. It is desktop dependent. XFCE is not there. Gnome is better. Did not try Plasma. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.1 x86_64 (Minas Tirith))
On 21/05/2021 23:03, Peter Münster wrote:
Hi,
I would like to connect my N9 to my desktop for making phone calls and listening to music coming from the N9. How could I achieve this please?
Sometimes after pairing I get music but no phone, and sometimes phone but no music.
It seems to be related to these messages: kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
TIA for any help,
I have a Nokia 808, which I connect via bluetooth to my Plasma desktop on Leap 15.2 usually just for brief file transfers. I also play music on my PC via bluetooth to an amp. The other day I was playing music and wanted to connect the phone for a moment. When I did so the PC music cut out. I know once or twice that incidental audio from the phone has passed directly through to the amp when I've had them both connected so I think the phone audio gets afforded priority over the PC audio. Not sure where that is configured but I don't run into this situation often enough for it to pose a problem. The 808 runs Symbian/Delight whereas I believe your N9 is Meego? I use the Plasma bluetooth applet to setup devices. gumb
On Sat, May 22 2021, gumb wrote:
I think the phone audio gets afforded priority over the PC audio. Not sure where that is configured
Yes, it would be nice to know.
The 808 runs Symbian/Delight whereas I believe your N9 is Meego?
Yes. And in my car, everything is working fine (music and phone).
I use the Plasma bluetooth applet to setup devices.
I've tried several utilities: KDE-applet, GNOME-applet, blueman-manager bluetoothctl, but I never get the phone connected, only the music... I've also seen this message, when trying to switch audio-profile in blueman-manager: pulseaudio[26641]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_audio_gateway: Not connected -- Peter
Op zondag 23 mei 2021 09:36:20 CEST schreef Peter Münster:
On Sat, May 22 2021, gumb wrote:
I think the phone audio gets afforded priority over the PC audio. Not sure where that is configured
Yes, it would be nice to know.
The 808 runs Symbian/Delight whereas I believe your N9 is Meego?
Yes. And in my car, everything is working fine (music and phone).
I use the Plasma bluetooth applet to setup devices.
I've tried several utilities: KDE-applet, GNOME-applet, blueman-manager bluetoothctl, but I never get the phone connected, only the music...
I've also seen this message, when trying to switch audio-profile in blueman-manager:
pulseaudio[26641]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_audio_gateway: Not connected Install pavucontrol, run it and have a look at the Configuration tab. It lets you choose between the various option, and HSP is amongst them.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
On Sun, May 23 2021, Knurpht-openSUSE wrote:
Install pavucontrol, run it and have a look at the Configuration tab. It lets you choose between the various option, and HSP is amongst them.
Thanks. I've tried, but without success. Here the log: - connection with blueman-manager: 13:02:46 ws kded5[7499]: bluedevil: Adding place QUrl("obexftp://40-98-4e-b8-6d-75") 13:02:46 ws kded5[10249]: bluedevil: Adding place QUrl("obexftp://40-98-4e-b8-6d-75") 13:02:47 ws bluetoothd[24213]: Unable to connect Headset Voice gateway: connect: Device or resource busy (16) 13:02:47 ws bluetoothd[24213]: Connecting Headset Voice gateway failed: Input/output error 13:02:47 ws kernel: input: 40:98:4E:B8:6D:75 as /devices/virtual/input/input39 13:02:47 ws systemd-logind[1098]: Watching system buttons on /dev/input/event23 (40:98:4E:B8:6D:75) 13:02:48 ws pipewire[30041]: [W][000416129.183882][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 1 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws bluetoothd[24213]: /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2: fd(38) ready 13:02:50 ws pipewire[30041]: [W][000416131.336037][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Successfully made thread 31205 of process 26641 (/usr/bin/pulseaudio) owned by 'peter' RT at priority 5. 13:02:50 ws rtkit-daemon[2443]: Supervising 2 threads of 2 processes of 2 users. 13:02:50 ws pulseaudio[26641]: W: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 68.54 ms 13:02:55 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:02:55 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 - calling the phone: 13:03:53 ws pipewire[30041]: [W][000416194.553668][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:58 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:03:58 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:04:05 ws pipewire[30041]: [W][000416206.654785][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:04:05 ws pipewire[30041]: [W][000416206.655988][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:04:05 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 1 users. 13:04:05 ws rtkit-daemon[2443]: Successfully made thread 31235 of process 26641 (/usr/bin/pulseaudio) owned by 'peter' RT at priority 5. 13:04:05 ws rtkit-daemon[2443]: Supervising 2 threads of 2 processes of 1 users. 13:04:05 ws pulseaudio[26641]: W: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 68.54 ms - changing profile with pavucontrol from "A2DP Source" to Headset Audio Gateway: 13:04:25 ws pulseaudio[26641]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_audio_gateway: Not connected After that, nothing changes. Also no change after switching to "Headset Head Unit"... -- Peter
Op zondag 23 mei 2021 14:38:16 CEST schreef Peter Münster:
On Sun, May 23 2021, Knurpht-openSUSE wrote:
Install pavucontrol, run it and have a look at the Configuration tab. It lets you choose between the various option, and HSP is amongst them.
Thanks. I've tried, but without success. Here the log:
- connection with blueman-manager:
13:02:46 ws kded5[7499]: bluedevil: Adding place QUrl("obexftp://40-98-4e-b8-6d-75") 13:02:46 ws kded5[10249]: bluedevil: Adding place QUrl("obexftp://40-98-4e-b8-6d-75") 13:02:47 ws bluetoothd[24213]: Unable to connect Headset Voice gateway: connect: Device or resource busy (16) 13:02:47 ws bluetoothd[24213]: Connecting Headset Voice gateway failed: Input/output error 13:02:47 ws kernel: input: 40:98:4E:B8:6D:75 as /devices/virtual/input/input39 13:02:47 ws systemd-logind[1098]: Watching system buttons on /dev/input/event23 (40:98:4E:B8:6D:75) 13:02:48 ws pipewire[30041]: [W][000416129.183882][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 1 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:02:50 ws bluetoothd[24213]: /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2: fd(38) ready 13:02:50 ws pipewire[30041]: [W][000416131.336037][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:02:50 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 2 users. 13:02:50 ws rtkit-daemon[2443]: Successfully made thread 31205 of process 26641 (/usr/bin/pulseaudio) owned by 'peter' RT at priority 5. 13:02:50 ws rtkit-daemon[2443]: Supervising 2 threads of 2 processes of 2 users. 13:02:50 ws pulseaudio[26641]: W: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 68.54 ms 13:02:55 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:02:55 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257
- calling the phone:
13:03:53 ws pipewire[30041]: [W][000416194.553668][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:53 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0 13:03:58 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:03:58 ws kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257 13:04:05 ws pipewire[30041]: [W][000416206.654785][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:04:05 ws pipewire[30041]: [W][000416206.655988][bluez5-dbus.c:2140 filter_cb()] Properties changed in unknown transport /org/bluez/hci0/dev_40_98_4E_B8_6D_75/fd2 13:04:05 ws rtkit-daemon[2443]: Supervising 1 threads of 1 processes of 1 users. 13:04:05 ws rtkit-daemon[2443]: Successfully made thread 31235 of process 26641 (/usr/bin/pulseaudio) owned by 'peter' RT at priority 5. 13:04:05 ws rtkit-daemon[2443]: Supervising 2 threads of 2 processes of 1 users. 13:04:05 ws pulseaudio[26641]: W: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 68.54 ms
- changing profile with pavucontrol from "A2DP Source" to Headset Audio Gateway:
13:04:25 ws pulseaudio[26641]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_audio_gateway: Not connected
After that, nothing changes.
Also no change after switching to "Headset Head Unit"... AFAIK you need HSP as the setting.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
On Sun, May 23 2021, Knurpht-openSUSE wrote:
AFAIK you need HSP as the setting.
"Headset Audio Gateway" is "HSP/HFP". Here is the output of "list-cards" in pacmd: name: <bluez_card.40_98_4E_B8_6D_75> driver: <module-bluez5-device.c> owner module: 49 properties: device.description = "Nokia N9" device.string = "40:98:4E:B8:6D:75" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "phone" bluez.path = "/org/bluez/hci0/dev_40_98_4E_B8_6D_75" bluez.class = "0x5a020c" bluez.alias = "Nokia N9" device.icon_name = "audio-card-bluetooth" profiles: headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no) a2dp_source: High Fidelity Capture (A2DP Source) (priority 20, available: yes) headset_audio_gateway: Headset Audio Gateway (HSP/HFP) (priority 10, available: no) off: Off (priority 0, available: yes) active profile: <a2dp_source> sources: bluez_source.40_98_4E_B8_6D_75.a2dp_source/#36: Nokia N9 ports: phone-output: Phone (priority 0, latency offset 0 usec, available: no) properties: phone-input: Phone (priority 0, latency offset 0 usec, available: yes) properties: It seems, that the question is: why is the HSP/HFP unavailable? And how could that be changed? -- Peter
On Sun, 23 May 2021 14:38:16 +0200 Peter Münster wrote:
On Sun, May 23 2021, Knurpht-openSUSE wrote:
Install pavucontrol, run it and have a look at the Configuration tab. It lets you choose between the various option, and HSP is amongst them.
Thanks. I've tried, but without success. Here the log:
8< - - - - - - - - - - snipped for brevity - - - - - - - - - - >8
- changing profile with pavucontrol from "A2DP Source" to Headset Audio Gateway:
13:04:25 ws pulseaudio[26641]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_audio_gateway: Not connected
After that, nothing changes.
Also no change after switching to "Headset Head Unit"...
Hi Peter, Untangling my own set of bluetooth issues a couple of years ago was quite a frustrating experience, so I definitely "feel your pain!" Maybe you've seen and tried some or all of the commands and tools I've listed, below, but "just in case" you haven't and for posterity, here they are: - - - - - 8< - - - - - See: https://www.maketecheasier.com/setup-bluetooth-in-linux/ https://www.linux-magazine.com/Issues/2017/197/Command-Line-bluetoothctl https://brltty.app/doc/Bluetooth.html bluetoothctl - command-line bluetooth manager https://www.youtube.com/watch?v=di1tjmmH3Tc man bluetoothctl $ lsusb | grep Bluetooth $ dmesg | grep Bluetooth $ systemctl status bluetooth $ bluetoothctl [bluetooth]# help [bluetooth]# list [bluetooth]# show {mac address of bluetooth adapter - no curly braces} [bluetooth]# show {mac address of headset - no curly braces} [bluetooth]# scan on [bluetooth]# devices $ hciconfig $ hciconfig -a hci0 $ hciconfig -a hci0 features - - - - - 8< - - - - - regards, Carl
On Sun, May 23 2021, Carl Hartung wrote:
Maybe you've seen and tried some or all of the commands and tools I've listed, below, but "just in case" you haven't and for posterity, here they are:
Thanks for your help. Finally, I've found the solution thanks to 2 web-pages: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Blue... https://unix.stackexchange.com/a/508222/253256 As root (once): zypper in ofono systemctl enable ofono As user (for every connection): echo power on | bluetoothctl echo connect 40:98:4E:B8:6D:75 | bluetoothctl Finally, it works all as expected! Thanks to all for your efforts, -- Peter
On Sunday 23 May 2021 16:26:17 IST Peter Münster wrote:
Finally, it works all as expected!
Thanks to all for your efforts,
Interesting phone! I didn't have one, but I did get a Jolla and currently have an Xperia 10 running Sailfish. It's a great shame Nokia went down the disastrous Windows Mobile route instead of MeeGo. Eoin
participants (6)
-
Carl Hartung
-
Carlos E. R.
-
Eoin Kirwan
-
gumb
-
Knurpht-openSUSE
-
Peter Münster