* [Bluez-devel] Bonding
@ 2006-11-07 15:16 Jose Vasconcellos
2006-11-07 15:26 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 15:16 UTC (permalink / raw)
To: bluez-devel
Hello,
I see that the dbus message RemoveBonding clears the link key
on the bluetooth adapter but does not remove the entry from the
linkkeys file. Afterwards ListBondings still shows a bonding and
CreateBonding reports that a bonding already exists. Is this the
correct behavior?
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 15:16 [Bluez-devel] Bonding Jose Vasconcellos
@ 2006-11-07 15:26 ` Marcel Holtmann
2006-11-07 17:16 ` Jose Vasconcellos
0 siblings, 1 reply; 12+ messages in thread
From: Marcel Holtmann @ 2006-11-07 15:26 UTC (permalink / raw)
To: BlueZ development
Hi Jose,
> I see that the dbus message RemoveBonding clears the link key
> on the bluetooth adapter but does not remove the entry from the
> linkkeys file. Afterwards ListBondings still shows a bonding and
> CreateBonding reports that a bonding already exists. Is this the
> correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise
this is a bug. Can you check the log files for errors.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 15:26 ` Marcel Holtmann
@ 2006-11-07 17:16 ` Jose Vasconcellos
2006-11-07 18:25 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 17:16 UTC (permalink / raw)
To: BlueZ development
Marcel Holtmann wrote:
> Hi Jose,
>
>
>> I see that the dbus message RemoveBonding clears the link key
>> on the bluetooth adapter but does not remove the entry from the
>> linkkeys file. Afterwards ListBondings still shows a bonding and
>> CreateBonding reports that a bonding already exists. Is this the
>> correct behavior?
>>
>
> actually it should remove the entry from the linkkeys file. Otherwise
> this is a bug. Can you check the log files for errors.
>
> Regards
>
> Marcel
>
Hi Marcel,
I don't see any error message in syslog or anywhere else.
The commands themselves don't seem to report anything
unusual.
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 17:16 ` Jose Vasconcellos
@ 2006-11-07 18:25 ` Marcel Holtmann
2006-11-07 19:36 ` Jose Vasconcellos
0 siblings, 1 reply; 12+ messages in thread
From: Marcel Holtmann @ 2006-11-07 18:25 UTC (permalink / raw)
To: BlueZ development
Hi Jose,
> >> I see that the dbus message RemoveBonding clears the link key
> >> on the bluetooth adapter but does not remove the entry from the
> >> linkkeys file. Afterwards ListBondings still shows a bonding and
> >> CreateBonding reports that a bonding already exists. Is this the
> >> correct behavior?
> >
> > actually it should remove the entry from the linkkeys file. Otherwise
> > this is a bug. Can you check the log files for errors.
>
> I don't see any error message in syslog or anywhere else.
> The commands themselves don't seem to report anything
> unusual.
I am pretty sure that it works as expected. What distro do you have
running. Maybe SELinux is restricting access to /var/lib/bluetooth/
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 18:25 ` Marcel Holtmann
@ 2006-11-07 19:36 ` Jose Vasconcellos
2006-11-07 20:41 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 19:36 UTC (permalink / raw)
To: BlueZ development
Marcel Holtmann wrote:
> Hi Jose,
>
>
>>>> I see that the dbus message RemoveBonding clears the link key
>>>> on the bluetooth adapter but does not remove the entry from the
>>>> linkkeys file. Afterwards ListBondings still shows a bonding and
>>>> CreateBonding reports that a bonding already exists. Is this the
>>>> correct behavior?
>>>>
>>> actually it should remove the entry from the linkkeys file. Otherwise
>>> this is a bug. Can you check the log files for errors.
>>>
>> I don't see any error message in syslog or anywhere else.
>> The commands themselves don't seem to report anything
>> unusual.
>>
>
> I am pretty sure that it works as expected. What distro do you have
> running. Maybe SELinux is restricting access to /var/lib/bluetooth/
>
> Regards
>
> Marcel
>
OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not
remove it from the linkkeys file. You must use upper case.
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 19:36 ` Jose Vasconcellos
@ 2006-11-07 20:41 ` Marcel Holtmann
2006-11-07 19:50 ` Jose Vasconcellos
0 siblings, 1 reply; 12+ messages in thread
From: Marcel Holtmann @ 2006-11-07 20:41 UTC (permalink / raw)
To: BlueZ development
Hi Jose,
> >>>> I see that the dbus message RemoveBonding clears the link key
> >>>> on the bluetooth adapter but does not remove the entry from the
> >>>> linkkeys file. Afterwards ListBondings still shows a bonding and
> >>>> CreateBonding reports that a bonding already exists. Is this the
> >>>> correct behavior?
> >>>>
> >>> actually it should remove the entry from the linkkeys file. Otherwise
> >>> this is a bug. Can you check the log files for errors.
> >>>
> >> I don't see any error message in syslog or anywhere else.
> >> The commands themselves don't seem to report anything
> >> unusual.
> >>
> >
> > I am pretty sure that it works as expected. What distro do you have
> > running. Maybe SELinux is restricting access to /var/lib/bluetooth/
>
> OK, I did a little bit of digging and here's a better description:
> Removing a device that has lower case hex numbers does not
> remove it from the linkkeys file. You must use upper case.
that should have been fixed. What version of bluez-utils are you
running.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 20:41 ` Marcel Holtmann
@ 2006-11-07 19:50 ` Jose Vasconcellos
2006-11-07 20:00 ` [Bluez-devel] Role switching Olivier Le Pogam
2006-11-07 20:57 ` [Bluez-devel] Bonding Marcel Holtmann
0 siblings, 2 replies; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 19:50 UTC (permalink / raw)
To: BlueZ development
Marcel Holtmann wrote:
> Hi Jose,
>
>
>>>>>> I see that the dbus message RemoveBonding clears the link key
>>>>>> on the bluetooth adapter but does not remove the entry from the
>>>>>> linkkeys file. Afterwards ListBondings still shows a bonding and
>>>>>> CreateBonding reports that a bonding already exists. Is this the
>>>>>> correct behavior?
>>>>>>
>>>>>>
>>>>> actually it should remove the entry from the linkkeys file. Otherwise
>>>>> this is a bug. Can you check the log files for errors.
>>>>>
>>>>>
>>>> I don't see any error message in syslog or anywhere else.
>>>> The commands themselves don't seem to report anything
>>>> unusual.
>>>>
>>>>
>>> I am pretty sure that it works as expected. What distro do you have
>>> running. Maybe SELinux is restricting access to /var/lib/bluetooth/
>>>
>> OK, I did a little bit of digging and here's a better description:
>> Removing a device that has lower case hex numbers does not
>> remove it from the linkkeys file. You must use upper case.
>>
>
> that should have been fixed. What version of bluez-utils are you
> running.
>
> Regards
>
> Marcel
>
>
I'm running the latest, version 3.7 on Ubuntu 6.06.
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bluez-devel] Role switching
2006-11-07 19:50 ` Jose Vasconcellos
@ 2006-11-07 20:00 ` Olivier Le Pogam
2006-11-07 20:57 ` [Bluez-devel] Bonding Marcel Holtmann
1 sibling, 0 replies; 12+ messages in thread
From: Olivier Le Pogam @ 2006-11-07 20:00 UTC (permalink / raw)
To: BlueZ development
Hi,
I've tried two concurrent "connect" to 2 remote devices (a mobile
phone and a XP RFCOMM server) and systematically get a errno
110 on the "connect" that goes to the XP box.
I have followed Marcel advice (lm set to master) and I have recompiled
my 2.18.2002 kernel with the MH7 patch.
A "hcidump" shows that XP server is trying to switch master / slave so I
suppose that's the reason of my errno 110 (the mobile remains in slave)
Just in case ... has anybody worked a bit on the MS stack / driver and
could tell me if it's possible to disable role switch so it could remain as
slave ?
There is a parameter under Windows CE (NoRoleSwitch) but could not
find the same for XP SP2.
Regards,
Oli
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.30/521 - Release Date: 07/11/2006
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 19:50 ` Jose Vasconcellos
2006-11-07 20:00 ` [Bluez-devel] Role switching Olivier Le Pogam
@ 2006-11-07 20:57 ` Marcel Holtmann
2006-11-07 20:22 ` Jose Vasconcellos
2006-11-07 20:28 ` [Bluez-devel] Case handling (was: Bonding) Jose Vasconcellos
1 sibling, 2 replies; 12+ messages in thread
From: Marcel Holtmann @ 2006-11-07 20:57 UTC (permalink / raw)
To: BlueZ development
Hi Jose,
> >>>>>> I see that the dbus message RemoveBonding clears the link key
> >>>>>> on the bluetooth adapter but does not remove the entry from the
> >>>>>> linkkeys file. Afterwards ListBondings still shows a bonding and
> >>>>>> CreateBonding reports that a bonding already exists. Is this the
> >>>>>> correct behavior?
> >>>>>>
> >>>>>>
> >>>>> actually it should remove the entry from the linkkeys file. Otherwise
> >>>>> this is a bug. Can you check the log files for errors.
> >>>>>
> >>>>>
> >>>> I don't see any error message in syslog or anywhere else.
> >>>> The commands themselves don't seem to report anything
> >>>> unusual.
> >>>>
> >>>>
> >>> I am pretty sure that it works as expected. What distro do you have
> >>> running. Maybe SELinux is restricting access to /var/lib/bluetooth/
> >>>
> >> OK, I did a little bit of digging and here's a better description:
> >> Removing a device that has lower case hex numbers does not
> >> remove it from the linkkeys file. You must use upper case.
> >>
> >
> > that should have been fixed. What version of bluez-utils are you
> > running.
> >
> I'm running the latest, version 3.7 on Ubuntu 6.06.
check the CVS when it was fixed (if we didn't forget it). I am pretty
sure that if was fixed before 3.7, but I might be mistaken here. If it
is still broken or the patch was incomplete, please fix it and send in a
patch for it.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-devel] Bonding
2006-11-07 20:57 ` [Bluez-devel] Bonding Marcel Holtmann
@ 2006-11-07 20:22 ` Jose Vasconcellos
2006-11-07 20:28 ` [Bluez-devel] Case handling (was: Bonding) Jose Vasconcellos
1 sibling, 0 replies; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 20:22 UTC (permalink / raw)
To: BlueZ development
Marcel Holtmann wrote:
> Hi Jose,
>
>
>>>>>>>> I see that the dbus message RemoveBonding clears the link key
>>>>>>>> on the bluetooth adapter but does not remove the entry from the
>>>>>>>> linkkeys file. Afterwards ListBondings still shows a bonding and
>>>>>>>> CreateBonding reports that a bonding already exists. Is this the
>>>>>>>> correct behavior?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> actually it should remove the entry from the linkkeys file. Otherwise
>>>>>>> this is a bug. Can you check the log files for errors.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> I don't see any error message in syslog or anywhere else.
>>>>>> The commands themselves don't seem to report anything
>>>>>> unusual.
>>>>>>
>>>>>>
>>>>>>
>>>>> I am pretty sure that it works as expected. What distro do you have
>>>>> running. Maybe SELinux is restricting access to /var/lib/bluetooth/
>>>>>
>>>>>
>>>> OK, I did a little bit of digging and here's a better description:
>>>> Removing a device that has lower case hex numbers does not
>>>> remove it from the linkkeys file. You must use upper case.
>>>>
>>>>
>>> that should have been fixed. What version of bluez-utils are you
>>> running.
>>>
>>>
>> I'm running the latest, version 3.7 on Ubuntu 6.06.
>>
>
> check the CVS when it was fixed (if we didn't forget it). I am pretty
> sure that if was fixed before 3.7, but I might be mistaken here. If it
> is still broken or the patch was incomplete, please fix it and send in a
> patch for it.
>
> Regards
>
> Marcel
>
Looks like the problem is that the function textfile_del in
common/textfile.c
calls write_key with the icase parameter set to 0. This is NOT fixed in CVS.
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bluez-devel] Case handling (was: Bonding)
2006-11-07 20:57 ` [Bluez-devel] Bonding Marcel Holtmann
2006-11-07 20:22 ` Jose Vasconcellos
@ 2006-11-07 20:28 ` Jose Vasconcellos
2006-11-07 21:37 ` Marcel Holtmann
1 sibling, 1 reply; 12+ messages in thread
From: Jose Vasconcellos @ 2006-11-07 20:28 UTC (permalink / raw)
To: BlueZ development
Hi Marcel,
Looking at this code I find the logic a bit convoluted.
I don't see the point of the case checking. Wouldn't
be easier to convert any address coming from the dbus
to upper case once?
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-11-07 21:37 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 15:16 [Bluez-devel] Bonding Jose Vasconcellos
2006-11-07 15:26 ` Marcel Holtmann
2006-11-07 17:16 ` Jose Vasconcellos
2006-11-07 18:25 ` Marcel Holtmann
2006-11-07 19:36 ` Jose Vasconcellos
2006-11-07 20:41 ` Marcel Holtmann
2006-11-07 19:50 ` Jose Vasconcellos
2006-11-07 20:00 ` [Bluez-devel] Role switching Olivier Le Pogam
2006-11-07 20:57 ` [Bluez-devel] Bonding Marcel Holtmann
2006-11-07 20:22 ` Jose Vasconcellos
2006-11-07 20:28 ` [Bluez-devel] Case handling (was: Bonding) Jose Vasconcellos
2006-11-07 21:37 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox