2004-06-30 19:02:06

by Sjoerd Simons

[permalink] [raw]
Subject: [Bluez-devel] btaddr <-> name bug ?

Hi,

Doing hcitool scan a few times gives some weird output:

$ hcitool scan
Scanning ...
00:0D:93:08:60:89 familiar (0)
00:02:C7:0B:97:F9 spring-0
$ hcitool scan
Scanning ...
00:0D:93:08:60:89 spring-0
00:02:C7:0B:97:F9 familiar (0)
$ hcitool scan
Scanning ...
00:0D:93:08:60:89 spring-0
00:02:C7:0B:97:F9 familiar (0)
$ hcitool scan
Scanning ...
00:0D:93:08:60:89 familiar (0)
00:02:C7:0B:97:F9 spring-0

The second and third run provide the right information, the first and last =
are=20
wrong.

I see this behaviour on both my powerbook and my destop machine. Both are=
=20
running debian unstable (bluez-libs and bluez-utils 2.7) with kernel 2.6.7.

Desktop dongle information:
hci0: Type: USB
BD Address: 00:02:72:00:FD:64 ACL MTU: 192:8 SCO MTU: 64:8
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x2=
0d
Manufacturer: Cambridge Silicon Radio (10)

Powerbook builtin bluetooth information:
hci0: Type: USB
BD Address: 00:0D:93:08:60:89 ACL MTU: 192:8 SCO MTU: 64:8
HCI Ver: 1.1 (0x1) HCI Rev: 0x20e LMP Ver: 1.1 (0x1) LMP Subver: 0x=
20e
Manufacturer: Cambridge Silicon Radio (10)

Sjoerd
--=20
Logic is a little bird, sitting in a tree; that smells *_____=08=08=08=08=
=08awful*.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit http://www.blackhat.com
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-06-30 21:30:36

by Sjoerd Simons

[permalink] [raw]
Subject: Re: [Bluez-devel] btaddr <-> name bug ?

On Wed, Jun 30, 2004 at 11:18:24PM +0200, Marcel Holtmann wrote:
> Hi Sjoerd,
>
> > Doing hcitool scan a few times gives some weird output:
> >
> > $ hcitool scan
> > Scanning ...
> > 00:0D:93:08:60:89 familiar (0)
> > 00:02:C7:0B:97:F9 spring-0
> > $ hcitool scan
> > Scanning ...
> > 00:0D:93:08:60:89 spring-0
> > 00:02:C7:0B:97:F9 familiar (0)
> > $ hcitool scan
> > Scanning ...
> > 00:0D:93:08:60:89 spring-0
> > 00:02:C7:0B:97:F9 familiar (0)
> > $ hcitool scan
> > Scanning ...
> > 00:0D:93:08:60:89 familiar (0)
> > 00:02:C7:0B:97:F9 spring-0
> >
> > The second and third run provide the right information, the first and last are
> > wrong.
>
> provide us with the output of "hcidump -x" while you are running
> "hcitool scan".

Attached is the hcidump -x output, while doing a hcitool scan which provided
the wrong information.

Sjoerd
--
Let us not look back in anger or forward in fear, but around us in awareness.
-- James Thurber


Attachments:
(No filename) (1.04 kB)
hcidump-namemixup (4.50 kB)
Download all attachments

2004-06-30 21:18:24

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btaddr <-> name bug ?

Hi Sjoerd,

> Doing hcitool scan a few times gives some weird output:
>
> $ hcitool scan
> Scanning ...
> 00:0D:93:08:60:89 familiar (0)
> 00:02:C7:0B:97:F9 spring-0
> $ hcitool scan
> Scanning ...
> 00:0D:93:08:60:89 spring-0
> 00:02:C7:0B:97:F9 familiar (0)
> $ hcitool scan
> Scanning ...
> 00:0D:93:08:60:89 spring-0
> 00:02:C7:0B:97:F9 familiar (0)
> $ hcitool scan
> Scanning ...
> 00:0D:93:08:60:89 familiar (0)
> 00:02:C7:0B:97:F9 spring-0
>
> The second and third run provide the right information, the first and last are
> wrong.

provide us with the output of "hcidump -x" while you are running
"hcitool scan".

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit http://www.blackhat.com
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel