linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Q] Crappy bluetooth usb adapter is timing out
@ 2012-05-07 18:10 Ezequiel Garcia
  2012-05-07 18:20 ` Ezequiel Garcia
  0 siblings, 1 reply; 5+ messages in thread
From: Ezequiel Garcia @ 2012-05-07 18:10 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I have some generic (chinese) bluetooth usb adapter
that I want to use on linux 2.6.23.17 box, I'm using
bluez 4.95 stack.

(I now the kernel is very old, but I just need some
generic clue ;)

When I run this code:

  for i in 1 2 3 4 5 6 7 8 9 10
  do
      hciconfig hci0 reset
  done

I get this message:
"Can't init device hci0: Connection timed out (110)"

I've tracked this down to hciconfig.c, when it calls
HCIDEVUP ioctl.

I just wanted to know if I'm doing anything wrong, and
if I can raise any timer value, so I don't get the timeout error.

I guess I just could retry the operation, but it's a nice oportunity
to dive into interesting code.

Thanks in advance,
Ezequiel.

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

end of thread, other threads:[~2012-05-07 23:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 18:10 [Q] Crappy bluetooth usb adapter is timing out Ezequiel Garcia
2012-05-07 18:20 ` Ezequiel Garcia
2012-05-07 20:07   ` Ezequiel Garcia
2012-05-07 23:30     ` Ezequiel Garcia
2012-05-07 23:46       ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).