All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Oops with multiple hcitool commands
@ 2007-02-12 16:09 Williams, Richard
  2007-02-12 19:33 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Williams, Richard @ 2007-02-12 16:09 UTC (permalink / raw)
  To: bluez-devel


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

Hello All,
 
I am building a project that will use multiple HCI devices on a single
Linux PC. I have a USB hub, and several Linksys Bluetooth dongles. On my
PC I open two terminal windows and then run the following commands:
 
window 1#  hcitool -i hci0 info 00:18:C5:2C:5E:C2
window 2#  hcitool -i hci1 info 00:18:C5:2C:5E:C2
 
The two commands must run simultaneously. Just these two commands run
quickly one after the other will almost always cause the oops. The
problem does not occur if the two hcitool info commands are examining
different remote devices. You must go after the same remote device.
 
Its very easy to demonstrate the problem with two simple scripts:
 
window 1 # while true
> do
> hcitool -i hci0 info 00:18:C5:2C:5E:C2
> sleep 1
> done
 
and the same script in window 2 using hci1. Within a few seconds, you
will get a collision and then oops!
 
 
I am running Fedora Core 2.6.19-1.2895.fc6
Bluez-libs-3.9
Bluez-utils-3.9
 
I realize that two hcitool info commands toward the same remote device
is probably not a good thing to do, but it should not cause an oops!
 
Thanks very much.
 
Rich Williams
New Jersey, USA
 
 
 
 
 

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

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

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

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

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

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

end of thread, other threads:[~2007-03-16 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 16:09 [Bluez-devel] Oops with multiple hcitool commands Williams, Richard
2007-02-12 19:33 ` Marcel Holtmann
2007-02-13 14:02   ` Williams, Richard
2007-02-13 14:04     ` Marcel Holtmann
2007-02-13 14:08       ` Williams, Richard
2007-02-13 14:12         ` Marcel Holtmann
2007-03-16 14:52           ` Williams, Richard

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.