Bug 450107

Summary: Kbluetooth applet does not recognize internal bluetooth adapter
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User l5QCzUHucG <forgotten_l5QCzUHucG>
Component: KDE3Assignee: E-mail List <kde-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dencorpos, jreuter, karaffa, medwin, radomir.cernoch, rainer.klier, squealernet
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: lsusb-v output

Description Forgotten User l5QCzUHucG 2008-11-28 15:01:20 UTC
Created attachment 256611 [details]
lsusb-v output

I have installed OpenSuse Factory(last updated today) with KDE3 on a Samsung NC10.
The bluetooth adapter that is part of the laptop is not recognised by the KDE bluetooth applet. 

I can bring the adapter up as root with hciconfig hci0 up and I can then scan for available devices using "hcitool scan" and also "sdptool search DUN". In both cases my phone is found.

However. the KBluetooth applet is completely grayed out and does not offer anything to be configured or chosen.

I also installed the gnome bluetooth applet which does recognise my phone but then fails to connect to it with a "Nautilus cannot handle obex locations" error message.

I also tried it with an external bluetooth adapter with the same result.

I have attached the lsusb -v output.

Please let me know if you need any more information.

Cheers,
 Steve
Comment 1 Radomír Černoch 2008-11-29 13:27:47 UTC
There is exactly the same behaviour on my T42. Moreover Clark Tompsett in https://bugzilla.novell.com/show_bug.cgi?id=438956#c5 seems to have the same issue.
Comment 2 Manuel K 2008-12-21 12:55:05 UTC
Also in the final release of 11.1 still no working bluetooth with neither kde3 nor kde4 bluetoothstack. I could partly get some function back with the gnome-bluetooth applets, but still the laptop (inspiron mini9) doesn't accept files (service not found on the phone) but i could send files from the laptop to the mobile and also get the bluetooth remotecontrol to fully work.
The issue with kde not recognizing the bluetooth device also happens with os11.1 and my desktop with a noname dongle and also with another laptop and a belkin dongle, so the fault seems to be in the kde stack.
Comment 3 Rainer Klier 2008-12-23 11:37:18 UTC
(In reply to comment #2 from Michael Luftikus)
> The issue with kde not recognizing the bluetooth device also happens with
> os11.1 and my desktop with a noname dongle and also with another laptop and a
> belkin dongle, so the fault seems to be in the kde stack.
> 

same here!

but i think it is not only the kde bluetooth-stack, because like Steve wrote in comment #1 i also get a "Nautilus cannot handle obex locations" error message.

i was able to detect my mobile phone, i was able to pair the phone with the notebook, but i was not able to browse files on the phone with nautilus.

so the gnome-solution also does NOT work!
Comment 4 Rainer Klier 2008-12-23 14:05:38 UTC
(In reply to comment #3 from Rainer Klier)

> but i think it is not only the kde bluetooth-stack, because like Steve wrote in
> comment #1 i also get a "Nautilus cannot handle obex locations" error message.
> 
> i was able to detect my mobile phone, i was able to pair the phone with the
> notebook, but i was not able to browse files on the phone with nautilus.
> 
> so the gnome-solution also does NOT work!

this is not exactly correct.
as i said in bug #438956 it works from within a gnome-session.
Comment 5 Manuel K 2008-12-23 22:45:18 UTC
I tried some more times, now i removed everything with kblue*4 and stayed with the version 3 tools.

- kbtobexclient works, i could find my phone and successfully send a file
- kbluetoothd  stays in tray with "no adapter found"
- kbluemon  mouns about "no adapter found"
- kbluelock starts, but does show nothing
- gnome-obex-server works, send picture from phone without problems

all that in an kde4 eviroment. for the moment I can live with this sollution of using some gnome or kde3 apps, but hopefully the kde4 tools are back soon.
Comment 6 M. Edwin Zakaria 2008-12-26 17:53:08 UTC
I have similar problem, openSUSE 11.1 KDE 3.5.10. I can do hcitool scan, sdptool search DUN, but I cannot make a pairing with my Nokia E51 handphone. From the phone searching the laptop bluetooth  resulting "No Bluetooth devices found".

Pointing the mouse to kbluetooth icon on the taskbar showing "No Bluetooth Adapter"

I vote for this bug.
Comment 7 Radek Karaffa 2008-12-29 20:38:54 UTC
Same problem on ThinkPad T43p (oSuSE 11.0 works fine). Problem is on low level.
Message from syslog after "hciconfig hci0 reset" :
-----
Dec 29 21:32:51 rknb bluetoothd[3838]: HCI dev 0 down
Dec 29 21:32:51 rknb bluetoothd[3838]: Adapter /org/bluez/3838/hci0 has been disabled
Dec 29 21:32:51 rknb bluetoothd[3838]: Stopping security manager 0
Dec 29 21:32:51 rknb bluetoothd[3838]: HCI dev 0 up
Dec 29 21:32:56 rknb bluetoothd[3838]: Can't write inquiry mode for /org/bluez/3838/hci0: Connection timed out (110)
Dec 29 21:32:56 rknb bluetoothd[3838]: Failed to listen on interrupt channel
Dec 29 21:32:56 rknb bluetoothd[3838]: D-Bus failed to register org.bluez.Service interface
Dec 29 21:32:56 rknb bluetoothd[3838]: Unable to allocate new io channel
Dec 29 21:32:56 rknb bluetoothd[3838]: Adapter /org/bluez/3838/hci0 has been enabled
Dec 29 21:32:56 rknb bluetoothd[3838]: Starting security manager 0
Dec 29 21:32:56 rknb kernel: hci_cmd_task: hci0 command tx timeout
----
bluez 4.19-1.5, KDE3 .. all from oSuSE 11.1 final.
Comment 8 Radek Karaffa 2008-12-29 20:45:30 UTC
This bug look like https://bugzilla.novell.com/show_bug.cgi?id=461369
Comment 9 Tom Patzig 2009-01-19 00:23:55 UTC
These problems where mostly caused by solid-bluetooth incompatibility to bluez4.

Today i released kdebluetooth4-0.3. This version together with updated and fixed solid-bluetooth provides full bluez4 support.

To use this version the latest solid-bluetooth (kdebase4-workspace) must be
installed. Latest Bluez4 and obex-data-server are also needed.

Please test this new version and let me know if this bug is still valid.


1-Click Install for openSUSE 11.1:
http://software.opensuse.org/ymp/KDE:KDE4:STABLE:Desktop/openSUSE_11.1/kdebluetooth4.ymp

1-Click Install for openSUSE Factory:
http://software.opensuse.org/ymp/KDE:KDE4:Factory:Desktop/openSUSE_Factory/kdebluetooth4.ymp


Please have in mind, that i do not do anymore coding in the KDE3 kdebluetooth version. So please use the latest kdebluetooth4 KDE4 version.
Although if you want to use the KDE3 kdebluetooth version, you have to downgrade your bluez version.

KDE3 kdebluetooth needs bluez-utils and bluez-libs in the latest 3.x version.

KDE4 kdebluetooth4 need the latest bluez4 and obex-data-server.
Comment 10 Rainer Klier 2009-01-19 07:24:25 UTC
(In reply to comment #9)

> Today i released kdebluetooth4-0.3. This version together with updated and
> fixed solid-bluetooth provides full bluez4 support.

sounds great.

> Although if you want to use the KDE3 kdebluetooth version, you have to
> downgrade your bluez version.
> 
> KDE3 kdebluetooth needs bluez-utils and bluez-libs in the latest 3.x version.
> 
> KDE4 kdebluetooth4 need the latest bluez4 and obex-data-server.

what, if i want to use both (kde3 AND kde4) and have both installed?
until now, this was no problem.
will this be a problem now?
do i have to decide which version of kde works with bluetooth, and which not?
Comment 11 Forgotten User l5QCzUHucG 2009-01-19 20:54:42 UTC
Tom,

I just installed kde3 again together with your repository.I started the kbluetooth4 applet and it detects my bluetooth adapter and I can pair it with my mobile phone. However, I don't seem to be able to use konqueror 3.5.10 to browse the paired phone using any of the following kio-slaves: obex, bluetooth or sdp.
So my bluetooth adapter is now recognised but I guess fully working bluetooth support in kde 3.5 in 11.1 is still not quite there ( I guess this is a separate bug or there might already be a workaround that I'm not aware of). 
I have switched to Gnome for 11.1 due to the various issues I had with KDE (3.5 and 4.1) which works without a problem... but having installed 3.5 again I can do some more testing if required.

As far as this bug is concerned, I guess this can probably be closed now.
Cheers,
 Steve
Comment 12 Rainer Klier 2009-01-20 07:53:35 UTC
(In reply to comment #11)

> As far as this bug is concerned, I guess this can probably be closed now.

no, i don't think so.
this bug is about Kbluetooth in KDE3 not working.

and until now, only kbluetooth4 in kde4 has been fixed by tom.
Kbluetooth in KDE3 is still NOT working.
(ok, it is working with the workaround of downgrading bluez4 to bluez3. but that's only a workaround, not a real solution).

this bug can be closed when someone with opensuse11.1 running kde3 is able to work with bluetooth without using an additional repo (except the official update-repo) and/or additional desktop (kde4, gnome).
Comment 13 Forgotten User l5QCzUHucG 2009-01-20 11:42:02 UTC
I believe this is now a duplicate of the following bug:

https://bugzilla.novell.com/show_bug.cgi?id=438956

Cheers,
 Steve
Comment 14 Rainer Klier 2009-01-20 12:16:41 UTC
(In reply to comment #13)
> I believe this is now a duplicate of the following bug:
> 
> https://bugzilla.novell.com/show_bug.cgi?id=438956

not exactly.
this bug #450107 is about Kbluetooth in KDE3 not working.
and bug #438956 is about kbluetooth4 in KDE4 not working.

so, after toms fixes (see comment #9) bug #438956 seems fixed.
bug #450107 is still open. only a workaround exists.
Comment 15 Rainer Klier 2009-01-26 11:47:46 UTC
*** Bug 469177 has been marked as a duplicate of this bug. ***
Comment 17 Rainer Klier 2009-04-16 15:59:17 UTC
i wonder if there will ever be a real solution for this bug..... :-(
Comment 18 Forgotten User l5QCzUHucG 2009-04-16 16:37:51 UTC
I doubt it. I'm in the "lucky" position that I only use KDE3 and hence have no problems with just running the bluetooth stack provided by:

http://download.opensuse.org/repositories/home:/enzokiel:/bluez3/openSUSE_11.1_Update/


Let's hope that KDE4 is finally usable in 11.2...
Comment 19 Rainer Klier 2009-04-17 06:42:00 UTC
(In reply to comment #18)
> I doubt it. I'm in the "lucky" position that I only use KDE3 and hence have no
> problems with just running the bluetooth stack provided by:
> 
> http://download.opensuse.org/repositories/home:/enzokiel:/bluez3/openSUSE_11.1_Update/

yes, me too.
this is also the workaround i am using.

thanks to enzokiel we have this workaround....
Comment 20 Lubos Lunak 2009-12-01 17:24:36 UTC
It is unlikely there will be a fix for the KDE3 version, and KDE3 is no longer included in new openSUSE releases. I suggest using the KDE4 version.
Comment 21 Rainer Klier 2009-12-02 07:17:05 UTC
(In reply to comment #20)
> It is unlikely there will be a fix for the KDE3 version, and KDE3 is no longer
> included in new openSUSE releases. I suggest using the KDE4 version.

this is "funny", because the KDE4 version is even worse!

here the bluetooth adapter is recognized and working, BUT you can not pair devices and can not browse through the directory structure of bluetooth devices connected to you computer.
with the working KDE3 version, you could pair (for instance) an mobile phone, and then browse through the directory structure of this connected mobile phone und watch photos or play/copy mp3 files stored on that phone and whatsoever.

until today this is NOT possible with KDE4!!!

:-(