Bug 127781

Summary: Bluetooth Doesn't work
Product: [openSUSE] SUSE Linux 10.1 Reporter: Tilo Lutz <TiloLutz>
Component: Mobile DevicesAssignee: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: behlert, mlasars, suse-beta
Version: Beta 3   
Target Milestone: Beta 4   
Hardware: 32bit   
OS: SUSE Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tilo Lutz 2005-10-12 12:43:39 UTC
With default setup bluetooth doesn't work with opensuse 10.0 (for me).  
I use kde.  
The problem is the computer looses pairing information and always  
try to repair devices. 
 
Pairing information should be stored in /etc/bluetooth/link_key. 
It is stored in /usr/var/lib/bluetooth/MAC/linkkeys 
MAC is the MAC of my bluetooth dongle. 
 
After I changed kbluetoothd to use this file everything is working. 
For me this path looks wrong because nothing else is stored in /usr/var
Comment 1 Stefan Behlert 2005-11-11 13:34:00 UTC
The path is wrong, yes :( 
It will be fixed in next autobuild-run.
I'll keep this bug open because I have to cross-check with kbluetoothd.
Comment 2 Martin Lasarsch 2005-11-28 10:39:04 UTC
Stefan: is bug #135592 releated to this?
Comment 3 Stefan Behlert 2005-11-28 11:08:21 UTC
No, that looks like something different.
Comment 4 Christian Boltz 2005-12-19 22:49:30 UTC
What's the status of this bug?

David Geiger <info AT david-geiger DOT de> just reported in the suse-linux mailinglist he had this problem - he seems to run 10.0 final.

Subject: [SOLVED] Re: Bluetooth/BlueZ merkt sich Paired-Devices nicht
Message-ID: <43A7034B.10002@david-geiger.de>
Comment 5 Boldizsar Nagy 2005-12-30 22:30:16 UTC
The path is not fixed in SUSE 10.0 final too!! (bluez-libs-2.19-2)
Therefore i can not estabilish a connection between my phone and PC. This is a very serious bug!

Please fix it, or is there any workaround??
Comment 6 Christian Boltz 2005-12-31 16:43:41 UTC
http://lists.suse.com/archive/suse-linux/2005-Oct/0840.html says
- Bluez uses /usr/var/lib/bluetooth/MAC/linkkeys
- kbluetoothd uses /etc/bluetooth/link_keys 

Workaround:
Change one of the settings or create a symlink.
Comment 7 Christian Boltz 2006-01-29 19:52:07 UTC
Stefan, is this fixed in 10.1 beta?
Comment 8 Stefan Behlert 2006-02-02 14:05:34 UTC
No. Sorry, I was off sick.
Comment 9 Christian Boltz 2006-02-02 17:18:58 UTC
updating version to make sure this doesn't get forgotten ;-)
(I hope beta3 is OK)
Comment 10 Stefan Behlert 2006-02-03 09:50:17 UTC
Seife, can you take a short look for me? Thanks.
Comment 12 Forgotten User ZhJd0F0L3x 2006-02-05 10:52:43 UTC
i checked in a partial fix to bluez-utils and kdebluetooth.

whenever a new device is paired (the linkkey file is written), a symlink is generated from
/var/lib/bluetooth/<device-id>/linkkeys to
/var/lib/bluetooth/linkkeys

and the kcm_btpaired module now looks per default at /var/lib/bluetooth/linkkeys instead of /etc/bluetooth/linkkeys.

If you have multiple bluetooth adapters, you will only see the last one, that paired a device, but AFAICS kcm_btpaired does not support mutliple adapters, so this work around is all i can do now and it is a 90%-solution since most machines will only have one BT adapter.
Comment 13 Forgotten User ZhJd0F0L3x 2006-02-13 18:15:48 UTC
in 10.1 it should be fixed with Beta4.