[Bug 681080] New: Pairing headset with KDE 4.6: a2dp function doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c0 Summary: Pairing headset with KDE 4.6: a2dp function doesn't work Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: ciriarte@personal.net.py QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16 At last I'm able to pair my Nokia BH-505 headset with KDE 4.6. The multimedia buttons work play/pause (apparently it's not smooth either) but the audio doesn't work. This is all I find in the logs: ---- Mar 19 19:31:06 roamer pulseaudio[3668]: module-bluetooth-device.c: Skipping 5410592 us (= 954428 bytes) in audio stream Mar 19 19:31:14 roamer bluetoothd[1663]: Suspend: Connection timed out (110) Mar 19 19:31:14 roamer bluetoothd[1663]: suspend failed Mar 19 19:31:14 roamer pulseaudio[3668]: module-bluetooth-device.c: Received error condition: Error de entrada/salida Mar 19 19:31:17 roamer bluetoothd[1663]: Abort: Connection timed out (110) ---- Reproducible: Always Steps to Reproduce: 1. Pair a2dp headset 2. Play media with amarok 3. Actual Results: I can hear a really short fragment of audio every a couple of minutes. It's not possible to get what music is being played Expected Results: Smooth audio playback... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c1 --- Comment #1 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-20 00:11:04 UTC --- Created an attachment (id=420358) --> (http://bugzilla.novell.com/attachment.cgi?id=420358) supportconfig output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c2 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@novell.com AssignedTo|tiwai@novell.com |vbotka@novell.com --- Comment #2 from Takashi Iwai <tiwai@novell.com> 2011-03-20 16:29:53 UTC --- Vlado, could you take a look? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c3 Vladimir Botka <vbotka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Vladimir Botka <vbotka@novell.com> 2011-03-21 10:16:17 UTC --- The Bluetooth (BT) adapter is BCM2046. To find out why the probe failed [4] would it be possible (as root) to install bluez-hcidump [5], post the output [6], clear the messages [7], start BT debug [8], start the BT packet dumping [9], turn the headset on, list the modules of pulseaudio (as user) [10] and try to play something ? Then kill the hcidump with Ctrl-C, turn the debug off [10] and attach the /var/log/messages, test [9] and pactl.list [10]. [1] Bus 005 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth [2] bluez 4.88-2.1 [3] pulseaudio 0.9.22 [4] Mar 19 19:20:42 roamer bluetoothd[1663]: input-headset driver probe failed for device 00:22:66:FF:DC:35 [5] # zypper in bluez-hcidump [6] # hciconfig -a [7] # cat /dev/null > /var/log/messages [8] # echo "module bluetooth +p" > /sys/kernel/debug/dynamic_debug/control [9] # hcidump -t -w test [10] # pactl list > pactl.list [10] # echo "module bluetooth -p" > /sys/kernel/debug/dynamic_debug/control -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c4 Vladimir Botka <vbotka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ciriarte@personal.net.py --- Comment #4 from Vladimir Botka <vbotka@novell.com> 2011-03-21 10:17:53 UTC --- neddinfo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c5 Ciro Iriarte <ciriarte@personal.net.py> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ciriarte@personal.net.py | --- Comment #5 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-24 04:13:57 UTC --- Created an attachment (id=421035) --> (http://bugzilla.novell.com/attachment.cgi?id=421035) "pactl list" output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c6 --- Comment #6 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-24 04:19:47 UTC --- Created an attachment (id=421037) --> (http://bugzilla.novell.com/attachment.cgi?id=421037) /var/log/messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c7 --- Comment #7 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-24 04:24:31 UTC --- Created an attachment (id=421038) --> (http://bugzilla.novell.com/attachment.cgi?id=421038) output from "hcidump -t -w test" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c8 Vladimir Botka <vbotka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ciriarte@personal.net.py --- Comment #8 from Vladimir Botka <vbotka@novell.com> 2011-03-24 11:35:56 UTC --- The BT device is connected and PA module loaded [1]. But there seems to be a timing problem in the BT protocols [2]. During the obex transfer (packages 82-92 in [2]) the BT headset disconnects (88-89) and once the obex transfer finishes BT headset connects again (93). It can be seen from the following dump that the sound transfer wasn't interrupted without the obex transfer running. Would it be possible to confirm, that the BT headset is working as expected when you switch all other BT devices off ? [1] Módulo #18 Nombre: module-bluetooth-device Argumento: address="00:1E:DE:20:C4:32" path="/org/bluez/1661/hci0/dev_00_1E_DE_20_C4_32" [2] No. Time Source Info 82 1.621009 RFCOMM Rcvd Obex fragment 83 1.622506 RFCOMM Sent Obex fragment 84 1.623007 HCI_EVT Number of Completed Packets 85 1.626009 L2CAP Rcvd Connection oriented channel 86 1.626255 SDP Sent SDP_ServiceSearchAttributeResponse 87 1.630013 HCI_EVT Number of Completed Packets 88 1.637030 L2CAP Rcvd Disconnect Request 89 1.637161 L2CAP Sent Disconnect Response 90 1.638009 RFCOMM Rcvd Obex fragment 91 1.638266 RFCOMM Sent Obex fragment 92 1.643020 HCI_EVT Number of Completed Packets 93 2.838950 L2CAP Sent Connection Request -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c9 Ciro Iriarte <ciriarte@personal.net.py> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ciriarte@personal.net.py | --- Comment #9 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-24 12:03:27 UTC --- During the tested, the only other BT device present was my phone, which had the BT radio disabled... The headset works fine with the phone so far.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c10 --- Comment #10 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-24 13:29:18 UTC --- s/tested/test/g -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c11 Vladimir Botka <vbotka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ciriarte@personal.net.py --- Comment #11 from Vladimir Botka <vbotka@novell.com> 2011-03-24 14:09:11 UTC --- (In reply to comment #9)
During the tested, the only other BT device present was my phone, which had the BT radio disabled... The headset works fine with the phone so far..
Then I have no more ideas. From the dump I can only see that the adapter doesn't even attempt to setup the synchronous connection after configuration. For the record, would it be possible to post the output of "hwinfo --bluetooth" ? I'll try and report it to the upstream. Does the command "hciconfig hci0 reset" produce the error "Connection timed out (110)" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c12 Ciro Iriarte <ciriarte@personal.net.py> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ciriarte@personal.net.py | --- Comment #12 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-27 02:14:51 UTC --- "hciconfig hci0 reset" as root doesn't give any output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c13 --- Comment #13 from Ciro Iriarte <ciriarte@personal.net.py> 2011-03-27 02:18:05 UTC --- Created an attachment (id=421568) --> (http://bugzilla.novell.com/attachment.cgi?id=421568) output from hwinfo --bluetooth -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c14 --- Comment #14 from Vladimir Botka <vbotka@novell.com> 2011-03-27 12:50:13 UTC --- Summary reported to upstream "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>, you are in the CC. Summary: bluetoothd is aborted with Nokia BH-505 and BCM2045 [1] in 2.6.37. The multimedia buttons work (play/pause), but the audio doesn't work. From /var/log/messages can be seen: ---- Mar 19 19:31:06 roamer pulseaudio[3668]: module-bluetooth-device.c: Skipping 5410592 us (= 954428 bytes) in audio stream Mar 19 19:31:14 roamer bluetoothd[1663]: Suspend: Connection timed out (110) Mar 19 19:31:14 roamer bluetoothd[1663]: suspend failed Mar 19 19:31:14 roamer pulseaudio[3668]: module-bluetooth-device.c: Received error condition: Error de entrada/salida Mar 19 19:31:17 roamer bluetoothd[1663]: Abort: Connection timed out (110) -- [1] Model: "Dell BCM2045" Hotplug: USB Vendor: usb 0x413c "Dell Computer Corp." Device: usb 0x8126 "BCM2045" [2] /var/log/messages with bluetooth debug https://bugzilla.novell.com/show_bug.cgi?id=681080#c6 [3] # hcidump -t -w test https://bugzilla.novell.com/show_bug.cgi?id=681080#c7 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c15 --- Comment #15 from Vladimir Botka <vbotka@novell.com> 2011-03-31 17:17:14 UTC --- For the record: BCM2045 was not able to connect the Anycom BSH100 BT headset [1], but connected the Jabra BT620s [2]. [1] Bluetooth HCI Event - Synchronous Connection Complete Event Code: Synchronous Connection Complete (0x2c) Parameter Total Length: 17 Status: Host Timeout (0x10) Connection Handle: 0x0000 BD_ADDR:0015:0e:3d3d99 (Openbrai_3d:3d:99) Link Type: eSCO connection (0x02) Transmit Interval: 6 slots (3.75 msec) Retransmit Window: 0 slots (0 msec) Rx Packet Length: 30 Tx Packet Length: 30 Air Mode: CVSD (2) [2] Bluetooth HCI Event - Synchronous Connection Complete Event Code: Synchronous Connection Complete (0x2c) Parameter Total Length: 17 Status: Success (0x00) Connection Handle: 0x0001 BD_ADDR:0013:17:72cdff (GnNetcom_72:cd:ff) Link Type: SCO connection (0x00) Transmit Interval: 0 slots (0 msec) Retransmit Window: 0 slots (0 msec) Rx Packet Length: 0 Tx Packet Length: 0 Air Mode: CVSD (2) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c16 --- Comment #16 from Vladimir Botka <vbotka@novell.com> 2011-04-07 15:42:47 UTC --- Created an attachment (id=423772) --> (http://bugzilla.novell.com/attachment.cgi?id=423772) script to manually attach the headset When the attached script is used the SCO connection fails as before but then the mode change is requested, confirmed and the audio starts playing. 92 9.344520 HCI_EVT Synchronous Connection Complete 93 9.345528 HCI_EVT Max Slots Change 94 9.448524 HCI_EVT Max Slots Change 95 9.486541 HCI_EVT Mode Change 96 9.987563 L2CAP Rcvd Configure Response -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c17 --- Comment #17 from Ciro Iriarte <ciriarte@personal.net.py> 2011-04-07 17:21:18 UTC --- Well, blind execution on a second host (that has the same issue) with the device paired, gives: ------ iriartec@pcsissto-asu03:~/Downloads> ./a2dp.sh process 4074: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1202. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace process 4076: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1202. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace /a2dp.sh: línea 24: 4076 Abortado dbus-send --system --dest=org.bluez --print-reply=literal "$DEVICE" org.bluez.AudioSink.Connect ------ I'll test it on my laptop as soon as I get home.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c18 Vladimir Botka <vbotka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ciriarte@personal.net.py --- Comment #18 from Vladimir Botka <vbotka@novell.com> 2011-04-13 11:26:45 UTC --- (In reply to comment #17)
process 4074: arguments to dbus_message_new_method_call() were incorrect,
Change the HP_BDADDR to match the BT address of your headphones. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c19 Ciro Iriarte <ciriarte@personal.net.py> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ciriarte@personal.net.py | --- Comment #19 from Ciro Iriarte <ciriarte@personal.net.py> 2011-04-14 02:32:12 UTC --- Ok, this is the output: --- ciro@roamer:~/bin> ./a2dp.sh Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. --- After running the script, I paired the headset with KDE applet and the sound worked with Kmix test!!! The thing is that after modifying the sound configuration to use the headset instead of the sound card, it doesn't switch. After going back to the configuration the sound card is still the selected audio channel. After some tests, the audio test starts to fail (I'm where I started) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681080 https://bugzilla.novell.com/show_bug.cgi?id=681080#c20 --- Comment #20 from Tomas Cech <tcech@novell.com> 2011-04-14 05:22:58 UTC --- interesting behaviour. please, it would be more helpful to run the script like bash -x a2dp.sh and attach output here -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=681080 Bugzilla Account Maintenance <autobugz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|vbotka@suse.com |tiwai@suse.com Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #22 from Takashi Iwai <tiwai@suse.com> --- Closed as too old bug. Please reopen the bug if it still happens with openSUSE 13.2. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com