All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Bluetooth parings on dual-boot
@ 2007-04-03 15:50 Steve Drew
  2007-04-03 17:05 ` Claudio Takahasi
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Drew @ 2007-04-03 15:50 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]

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
 

[-- Attachment #1.2: Type: text/html, Size: 2573 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Bluetooth parings on dual-boot
  2007-04-03 15:50 [Bluez-users] Bluetooth parings on dual-boot Steve Drew
@ 2007-04-03 17:05 ` Claudio Takahasi
  2007-04-03 17:17   ` Brad Midgley
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Takahasi @ 2007-04-03 17:05 UTC (permalink / raw)
  To: BlueZ users

On 4/3/07, Steve Drew <steve.drew@paphotos.com> 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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Bluetooth parings on dual-boot
  2007-04-03 17:05 ` Claudio Takahasi
@ 2007-04-03 17:17   ` Brad Midgley
  2007-04-03 22:46     ` Steve Drew
  0 siblings, 1 reply; 4+ messages in thread
From: Brad Midgley @ 2007-04-03 17:17 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Bluetooth parings on dual-boot
  2007-04-03 17:17   ` Brad Midgley
@ 2007-04-03 22:46     ` Steve Drew
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Drew @ 2007-04-03 22:46 UTC (permalink / raw)
  To: BlueZ users

Hi brad,

I've found a workaround, I installed bdaddr from the bluez-utils source
(it wasn't included in the SuSE rpm) which you can use to change the MAC
address of the bluetooth device:

 ./bdaddr -r -t -i hci0 NE:WM:AC:AD:RE:SS

Putting it into the init script seems to work a treat.

Cheers

steve

  

-----Original Message-----
From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of Brad
Midgley
Sent: 03 April 2007 18:17
To: BlueZ users
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=DEVDE
V
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-03 22:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 15:50 [Bluez-users] Bluetooth parings on dual-boot Steve Drew
2007-04-03 17:05 ` Claudio Takahasi
2007-04-03 17:17   ` Brad Midgley
2007-04-03 22:46     ` Steve Drew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.