[Bug 722722] New: Bluetooth completely broken (at least in GNOME)
https://bugzilla.novell.com/show_bug.cgi?id=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c0 Summary: Bluetooth completely broken (at least in GNOME) Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: vuntz@suse.com QAContact: qa@suse.de CC: seife@novell.slipkontur.de Found By: --- Blocker: --- I can't get anything related to bluetooth to work in GNOME in Factory. There are lots of crashes in gnome-bluetooth; my patch in https://bugzilla.gnome.org/show_bug.cgi?id=661118 helps a bit (but is not enough). But even without the crashes, I have other issues: Looking at /var/log/messages, I can see the following stuff when bluetooth is activated: Bluetooth daemon 4.96 Starting SDP server D-Bus failed to register org.bluez.Proximity interface Parsing /etc/bluetooth/input.conf failed: No such file or directory Parsing /etc/bluetooth/audio.conf failed: No such file or directory Listening for HCI events on hci0 HCI dev 0 up Parsing /etc/bluetooth/serial.conf failed: No such file or directory input-headset driver probe failed for device 00:1D:6E:29:27:DB input-headset driver probe failed for device D8:75:33:56:D8:BB input-headset driver probe failed for device 00:1C:43:7D:CC:A6 Adapter /org/bluez/17059/hci0 has been enabled I'm unsure why org.bluez.Proximity can't be registered (funny thing is that I see it in d-feet after enabling bluetooth). Pulseaudio also complains: [pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod [pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod [pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod And later, when enabling my bluetooth headset, pulseaudio complains with: [pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="00:02:72:E6:CF:6D" path="/org/bluez/17059/hci0/dev_00_02_72_E6_CF_6D""): initialization failed. When I try to send a file, I get this: obex-client[17083]: Connection refused (111) -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c1 --- Comment #1 from Vincent Untz <vuntz@suse.com> 2011-10-07 14:41:59 UTC --- Stefan: any idea how I can debug any of this? -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c2 --- Comment #2 from Vincent Untz <vuntz@suse.com> 2011-10-07 14:47:54 UTC --- (In reply to comment #0)
input-headset driver probe failed for device 00:1D:6E:29:27:DB input-headset driver probe failed for device D8:75:33:56:D8:BB input-headset driver probe failed for device 00:1C:43:7D:CC:A6
and
[pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod [pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod [pulseaudio] bluetooth-util.c: Error from RegisterEndpoint reply: org.freedesktop.DBus.Error.UnknownMethod
are likely related: three of my four registered bluetooth devices are not headset devices, so I guess this is "harmless". Someone in meego wrote this patch to help a bit (although the new error message looks wrong): http://build.meego.com/package/view_file?file=not-log-bluez-media-api-err.patch&package=pulseaudio-modules-tablet&project=home%3Amengdong%3Abranches%3AMeeGo%3A1.2%3Aoss%3ATesting -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c3 --- Comment #3 from Vincent Untz <vuntz@suse.com> 2011-10-07 14:53:21 UTC --- (In reply to comment #0)
And later, when enabling my bluetooth headset, pulseaudio complains with:
[pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="00:02:72:E6:CF:6D" path="/org/bluez/17059/hci0/dev_00_02_72_E6_CF_6D""): initialization failed.
Forgot the error message before this: [pulseaudio] module-bluetooth-device.c: Received error condition: Erreur inconnue 240 -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c4 --- Comment #4 from Vincent Untz <vuntz@suse.com> 2011-10-07 15:13:46 UTC --- (In reply to comment #3)
(In reply to comment #0)
And later, when enabling my bluetooth headset, pulseaudio complains with:
[pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="00:02:72:E6:CF:6D" path="/org/bluez/17059/hci0/dev_00_02_72_E6_CF_6D""): initialization failed.
Forgot the error message before this:
[pulseaudio] module-bluetooth-device.c: Received error condition: Erreur inconnue 240
Interesting, after killing various processes, disabling/enabling/disabling/etc. bluetooth, and removing all other connected users, this now works. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c5 --- Comment #5 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-10-08 16:47:42 CEST --- The bluetooth errors are most of the time more of an informational type. For example, I get the following on boot: Oct 5 19:21:29 susi bluetoothd[4892]: HCI dev 0 registered Oct 5 19:21:29 susi bluetoothd[4892]: Listening for HCI events on hci0 Oct 5 19:21:30 susi bluetoothd[4892]: HCI dev 0 up Oct 5 19:21:30 susi bluetoothd[4892]: Parsing /etc/bluetooth/serial.conf failed: No such file or directory Oct 5 19:21:30 susi bluetoothd[4892]: input-headset driver probe failed for device 00:12:EE:23:CE:EA Oct 5 19:21:30 susi bluetoothd[4892]: input-headset driver probe failed for device 00:23:F1:B1:1B:29 Oct 5 19:21:30 susi bluetoothd[4892]: input-headset driver probe failed for device B4:EE:D4:59:7C:26 Oct 5 19:21:30 susi bluetoothd[4892]: input-headset driver probe failed for device C0:E4:22:68:82:5E Oct 5 19:21:30 susi bluetoothd[4892]: input-headset driver probe failed for device 00:24:EF:D1:B3:23 I think that's for all known (paired) devices, nothing is connected at that time. Later, when I connect my headset, I get: Oct 8 15:59:08 susi bluetoothd[4889]: Connection refused (111) And it still works fine. This is probably because my Headset has two different operation modes (Telephone and a2dp/HiFi Stereo) and only one is enabled. So it is unfortunately not that easy to find the real errors out of the huge amount of logspam the bluetooth subsystem generates :-( Note that it works pretty well for me (with bluetooth-applet from gnome3 within XFCE), so it seems there is at least some way to get it working. ISTR that after the switch to gnome3 I also had to remove and re-pair all devices in order to get them going again correctly, but I don't remember the details and back then I just credited this to the unfinished state of gnome3. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c6 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |seife@novell.slipkontur.de --- Comment #6 from Vincent Untz <vuntz@suse.com> 2011-10-14 13:43:01 UTC --- Current status: I fixed various crashes in gnome-bluetooth and others. But I still cannot send files, with the same "Connection refused (111)" error. However, I believe this part might not be a GNOME-only issue, but really an issue in the low-level parts: $ python /usr/share/doc/packages/obexd/examples/send-files D8:75:33:56:D8:BB README Traceback (most recent call last): File "/usr/share/doc/packages/obexd/examples/send-files", line 80, in <module> client.SendFiles({ "Destination": sys.argv[1] }, files, path) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.openobex.Error.Failed: Connection refused (111) With hcidump, I can see this: L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 3 status 0 Connection refused - security block Stefan: is there any way I can move forward on debugging this? -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c7 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vbotka@suse.com --- Comment #7 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-10-15 17:30:45 CEST --- Hi Vincent, I'm still on vacation for another week and thus am not able to debug this now. The "connection refused" errors could come from the fact that setup / configuration of the devices does not correctly work, e.g. that the phone is not set up to receive obex-push stuff or not paired, or does reject the push for some reason. If you install the bluez-test package, there are small python script that should be able to test most trivial functions of the bluetooth stack. I see no obex-test in there unfortunately :-( I'm adding Vlado to CC as he also has profound bluetooth knowledge and might have an idea on what is going on 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.
https://bugzilla.novell.com/show_bug.cgi?id=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c8 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|seife@novell.slipkontur.de | --- Comment #8 from Vincent Untz <vuntz@suse.com> 2011-10-20 07:14:18 UTC --- Still no luck, the bluez-test package didn't really help me find any issue. What I can tell, though, is that this is not an issue in the gnome stack since I was able to pair with my phone from the command line, and was still not able to send files. At this point, I just have no clue how to move forward :/ -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c9 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |vuntz@suse.com --- Comment #9 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-11 16:26:33 CET --- Vincent, I tried to reproduce this and could not (I have not tested everything, but I tried obex push aka "send file", obexftp aka "browse device" and "obex push receive" aka "receive file from phone"). I first tried from an xfce session, after configuring gnome-file-share-properties and starting from gnome-file-share. Then I tried it (after removing all bluetooth config from /var/lib/bluetooth and rebooting) with a new user from a GNOME3 fallback session - with the same result: - obex push in both directions, even without pairing - obex ftp browsing the phone works after pairing - the android phone did not work with gnome-phone-manager, but a SonyEriccson C510 did so could you please describe what exactly you are trying to do? I had no time to try the a2dp audio, but I'm using it regularly on my factory machine (albeit with an existing config), so I'm pretty sure it will work too. If all I'm describing here fails for you, is there the possibility to try it with another bluetooth dongle? -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c10 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|vuntz@suse.com | --- Comment #10 from Vincent Untz <vuntz@suse.com> 2011-11-14 10:00:24 UTC --- (In reply to comment #9)
so could you please describe what exactly you are trying to do?
I'm just trying to send a file to my phone (with bluetooth-sendto, for instance). I'm starting to believe that it's an issue with my phone, though :/ But I don't have another device to test things... -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c11 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Bluetooth completely broken |bluetooth-sendto does not |(at least in GNOME) |work with a particular | |phone --- Comment #11 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-15 07:33:57 CET --- Ok. I've just tried bluetooth-sendto from a terminal and it did work to a SonyEriccson C510. I did send to other devices when testing for comment#9 (Motorola defy / Android 2.2 with "Bluetooth File Transfer" application installed) So I think it is something with either your phone or maybe the bluetooth dongle. I'm adjusting the subject to make it less scary ;-) Unfortunately it's hard for me to help here withouth the hardware (and without much knowledge about the lower BT layers, to be honest ;). Maybe going upstream to the bluez-devel list, with a "hcidump -Xt" of the failed send would be best. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c12 --- Comment #12 from Vincent Untz <vuntz@suse.com> 2011-11-15 08:11:52 UTC --- (In reply to comment #11)
Unfortunately it's hard for me to help here withouth the hardware (and without much knowledge about the lower BT layers, to be honest ;).
I understand :-) Thanks for your help so far. I'll try to get another phone to play with. (FWIW, the dongle is just the bluetooth chip in my thinkpad -- I doubt that's the issue, or many other people would see it too) -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c13 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #13 from Vincent Untz <vuntz@suse.com> 2011-11-17 19:43:55 UTC --- Ok, I was able to test with another phone and it works. So it's an issue on my phone -- I quickly searched and I see other people have issues too, so... -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c14 --- Comment #14 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-18 08:56:11 CET --- What phone is this? I might try to get one just for testing fun :-) -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c15 Gustavo Rubio <gustavo@42ideas.mx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gustavo@42ideas.mx --- Comment #15 from Gustavo Rubio <gustavo@42ideas.mx> 2011-11-20 09:09:31 UTC --- I have exactly the same issue as Vincent. The difference is that mine shows a "Permission denied (13)" message. I paired with a Samsung Galaxy Gio and as Vincent, I can send files from phone to the computer but not viceversa. Relevant info: Machine: Thinkpad Edge, Core i5 OpenSuSE 12.1 w/Gnome3 Phone: Samsung Galaxy Gio (GT-S5660L) If I can help you with any debugging information or anything please let me know. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c16 --- Comment #16 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-20 10:55:16 CET --- Note that Android phones often don't have software for receiving obex push or for obexftp installed, so you might need to install additional apps to make this work, so this is probably is not a bluez issue on you computer, but on your phone. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c17 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #17 from Vincent Untz <vuntz@suse.com> 2011-11-21 07:38:14 UTC --- Stefan: my phone is a N900. I tried with another N900 this week-end and had the same issue. But I also tried connecting my N900 to a Fedora system and... it worked! So there's something wrong with my install (or openSUSE in general) for N900s... (reopening) -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c18 --- Comment #18 from Gustavo Rubio <gustavo@42ideas.mx> 2011-11-21 07:47:00 UTC --- I just installed an app from the android market called "Bluetooth file transfer" and I was able to receive a file from the gnome shell applet. The app can be downloaded from here: https://market.android.com/details?id=it.medieval.blueftp&feature=search_result I read somewhere yesterday that indeed some android models did not implemented OBEX push which is, if I'm not wrong, what gnome userland uses to send the files. It seems that this app that I downloaded works just fine so I'm guessing that either the phone indeed does not implement OBEX and this app has some layer that does, or, the phone does implement OBEX but the way that gnome communicates with the default phone BT implementation is somehow not compatible with it. I'm on a Samsung Galaxy Gio with android 2.3.1 (gingerbread) -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c19 --- Comment #19 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-21 19:18:59 CET --- Gustavo: I have the same app on my Motorola Milestone (Droid) and my Motorola Defy. Both don't have obex push or obexftp implemented "out of the box". Vincent: I'm doing nothing special in our bluez package, it is mostly without patches and plain upstream config. I'll have to check what difference there is to the fedora package and if they maybe have some magic patch which fixes this. Your best bet will indeed be to take this upstream to the bluez mailing list at linux-bluetooth@vger.kernel.org Some Nokia guys are reading there and they probably know best if there is something special to be done. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c20 --- Comment #20 from Stefan Seyfried <seife@novell.slipkontur.de> 2011-11-21 19:34:05 CET --- I took a quick look at the F16 package and cannot find any significant difference to ours. Maybe it is in bluetooth-applet or bluetooth-sendto? -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c21 --- Comment #21 from Vincent Untz <vuntz@suse.com> 2012-01-06 08:09:56 UTC --- For reference: this all works fine in Factory now. -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c22 Tob Sch <Tob_Sch@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Tob_Sch@gmx.de --- Comment #22 from Tob Sch <Tob_Sch@gmx.de> 2012-01-23 20:51:26 UTC --- Same here, but with KDE on openSUSE 12.1 and newest updates: I can send files from my phone to my computer but not from my computer to my phone. Computer: LENOVO T500 Phone: SANSUMG GALAXY S I9000 the only entry in /var/log/messages: : Jan 23 21:14:32 mylaptop obex-client[4914]: Permission denied (13) : I also found this: https://bugs.launchpad.net/ubuntu/+source/obexd/+bug/872044 -- 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=722722 https://bugzilla.novell.com/show_bug.cgi?id=722722#c23 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #23 from Stefan Seyfried <seife@novell.slipkontur.de> 2012-01-24 16:30:55 CET --- KDE not working is a different bug, please open a bug to the KDE maintainers. -- 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.
participants (1)
-
bugzilla_noreply@novell.com