2007-04-03 15:50:33

by Steve Drew

[permalink] [raw]
Subject: [Bluez-users] Bluetooth parings on dual-boot

Hi,

I'm having a problem with my dual boot laptop, and my google skills seem
to be failing me, was wondering if anyone had come across this before or
had any suggestions.

The laptops are dual booting XP (sp2) and SuSE 10.2 ( 2.6.18.2 kernel,
bluez 3.7.14)

The phone (Nokia 6680) pairs and work correctly for dial up networking,
but once it has been paired for use under XP, it has to be repaired
under Linux (and vice versa).

The laptop has a different Bluetooth hostname under XP and SuSE, but the
problem still occurs. Is there anyway round this, or am I going to have
to do this due to the same Bluetooth MAC of the adapter in the laptop?

I've also used the same key when pairing the phone under XP and SusE but
again the problem occurs.

Any suggestions etc gratefully received.

Thanks

steve


Attachments:
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-04-03 17:17:13

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-users] Bluetooth parings on dual-boot

hey Claudio!

> This problem happens because the hcid returns the stored link key.
> It is basically the same problem that I reported in the item 6 of
> BlueZ TODO list:
> http://wiki.bluez.org/wiki/TODO
>
> Just remove the stored link key and pair it again.

is there a workaround for this problem so the pairing doesn't have to be
redone? like changing the adapter to use an alternate bdaddr inside
linux so the phone thinks it's a different device?

brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-04-03 17:05:22

by Claudio Takahasi

[permalink] [raw]
Subject: Re: [Bluez-users] Bluetooth parings on dual-boot

On 4/3/07, Steve Drew <[email protected]> wrote:
>
>
> Hi,
>
> I'm having a problem with my dual boot laptop, and my google skills seem to
> be failing me, was wondering if anyone had come across this before or had
> any suggestions.
>
> The laptops are dual booting XP (sp2) and SuSE 10.2 ( 2.6.18.2 kernel, bluez
> 3.7.14)
>
> The phone (Nokia 6680) pairs and work correctly for dial up networking, but
> once it has been paired for use under XP, it has to be repaired under Linux
> (and vice versa).
>
> The laptop has a different Bluetooth hostname under XP and SuSE, but the
> problem still occurs. Is there anyway round this, or am I going to have to
> do this due to the same Bluetooth MAC of the adapter in the laptop?
>
> I've also used the same key when pairing the phone under XP and SusE but
> again the problem occurs.
>
> Any suggestions etc gratefully received.
>
> Thanks
>
> steve
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>

Hi Steve,

This problem happens because the hcid returns the stored link key.
It is basically the same problem that I reported in the item 6 of
BlueZ TODO list:
http://wiki.bluez.org/wiki/TODO

Just remove the stored link key and pair it again.

$dbus-send --system --type=method_call --print-reply --dest=org.bluez
/org/bluez/hci0 org.bluez.Adapter.RemoveBonding
string:aa:bb:cc:dd:ee:ff

or

remove the remote device entry from the file=>
/var/lib/bluetooth/aa:bb:cc:dd:ee:ff/linkkeys


BR,
Claudio.
--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users