2007-06-28 14:04:59

by Williams, Richard

[permalink] [raw]
Subject: [Bluez-devel] hcidump with multiple dongles

Hello,

I've been working on a project that requires multiple Bluetooth dongles
on a single PC. I have a USB 2.0 hub with two dongles. I can create my
problem in the following manner:

- window 1 l2ping xx:xx:xx:xx:xx:xx - so this command is running
constantly.
- window 2 hcidump -i hci0 - this command is dumping
the output correctly.
- window 3 hcitool scan -i hci1
- window 4 hcidump -i hci1

After a little while ( sometimes immediately ) the hcitool scan in
window 3 will fail:

# hcitool scan -i hci1
Scanning...

Inquiry failed. Connection timed out.
#
#

The test works fine if I do NOT use hcidump. That is, I can run window 1
and 3 all day with no problem. When I add hcidump, the "hcitool scan -i
hci1" will then begin to fail to connect to the hci device.

Have you seen this ? Any fixes?

thank you.

Rich Williams


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

2007-06-28 14:57:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] hcidump with multiple dongles

Hi Richard,

> I've been working on a project that requires multiple Bluetooth
> dongles on a single PC. I have a USB 2.0 hub with two dongles. I can
> create my problem in the following manner:
>
> - window 1 l2ping xx:xx:xx:xx:xx:xx - so this command is running
> constantly.
> - window 2 hcidump -i hci0 - this command is dumping
> the output correctly.
> - window 3 hcitool scan -i hci1

this must be hcitool -i hci1 scan.

> - window 4 hcidump -i hci1
>
> After a little while ( sometimes immediately ) the hcitool scan in
> window 3 will fail:
>
> # hcitool scan -i hci1
> Scanning...
>
> Inquiry failed. Connection timed out.
> #
> #
>
> The test works fine if I do NOT use hcidump. That is, I can run window
> 1 and 3 all day with no problem. When I add hcidump, the "hcitool scan
> -i hci1" will then begin to fail to connect to the hci device.

Does using "hcitool inq" helps?

Regards

Marcel




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel