* [Bluez-users] Instability with BlueZ under medium load
@ 2007-12-11 16:00 vcallegari
0 siblings, 0 replies; only message in thread
From: vcallegari @ 2007-12-11 16:00 UTC (permalink / raw)
To: bluez-users
Hello,
There are some very odd situations with an application running on a 2.6.22 kernel, using dbus-glib, and several
bluetooth dongles on USB with a hub. All dongles are hci version 2.0, CSR bluecore 4, class 2, the hubs are
cheapo no names. It works correctly while there are only a few bluetooth device in the area, but as soon as the
number of peers reaches a certain level, the follwoing messages pop up in the kernel log files:
add_conn: Failed to register connection
hci_cmd_task: hci0 command tx timeout
These lines are repeated several times, the second being more frequent, but from there on, most connections
will fail, the
g_io_watch callback getting an G_IO_ERR. It seems that once this happens, all lines refer to the same device,
which doesn't need to be hci0. At that moment the dbus-method ListConnections returns an empty list or with at
most one or two entries. The failure of the connections and these messages don't seem to happen at the same
instant, but once the connections start to fail, the kernel log certainly will show them. hcidump doesn't
indicate any problem, it's just that the connection had timed out. This effect was reproduced with different
computers, different dongles, and hubs. All computers have USB from VIA, but there is one which has USB from
Intel, which also shows this effect.
The only method to restore this situation is to switch off the computer, wait a few minutes and restart it with
no peers in the
area. One really funny thing is, when the application is restarted without reboot in such a situation, but
choosing different dongles
which where formerly present but not used. Then it can happen that performance improves somewhat (though not to
normal operation) while the messages in the kernel log files refer to a device which is not even being used.
Is this a problem with BlueZ, USB in Linux or is this hardware related? Where would be the best place to ask?
And most importantly, what can be done about it?
Thanks for your reply.
Valter
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-11 16:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 16:00 [Bluez-users] Instability with BlueZ under medium load vcallegari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox