All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] Set Powered=true doesn't power up the adapter
@ 2013-05-21  2:07 Alex Deymo
       [not found] ` <CAE6HaMnFF7ym+FCWpVHCi=7=OJZeaS+uiF_qQDKHgpbzLUUu_w@mail.gmail.com>
  2013-05-22  6:45 ` Marcel Holtmann
  0 siblings, 2 replies; 12+ messages in thread
From: Alex Deymo @ 2013-05-21  2:07 UTC (permalink / raw)
  To: linux-bluetooth, keybuk

Hello,

I'm seeing a problem while trying to power on the adapter once in a
while just after reboot. What happens is that sending a dbus call to
power on the adapter doesn't return. You can read a more detailed
description of the bug here [1] but the resume is as follows:

Sending org.freedesktop.DBus.Properties.Set for power up the adapter
doesn't return (dbus timeouts after a while) just after reboot. Is a
very rare bug, but happens from time to time. Restarting bluetoothd
with -n -d to get the logs made it start returning with the error
org.bluez.Error.Failed to the same call. I don't see any HCI command
with btmon while doing this, so I think it's not a firmware issue at
that point (could be some other thing before). From this state, I can
call Set several times to power up the adapter, but doesn't work.
What is interesting is that if instead of sending MGMT_OP_SET_POWERED
from bluetoothd, we try to power up the adapter with hciconfig
(calling ioctl(ctl, HCIDEVUP, hdev) ) the adapter goes up and
everything works fine from there. We are running kernel 3.8, I don't
know if this was already reported in a newer version.

Hope it helps, I'll try to have more debugging information... but it
would be useful it someone can tell me where to look at, since this is
not very easy to reproduce.
Best regards,
Alex.

[1] https://code.google.com/p/chromium/issues/detail?id=239896#c11

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

end of thread, other threads:[~2013-05-30  2:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-21  2:07 [BUG] Set Powered=true doesn't power up the adapter Alex Deymo
     [not found] ` <CAE6HaMnFF7ym+FCWpVHCi=7=OJZeaS+uiF_qQDKHgpbzLUUu_w@mail.gmail.com>
2013-05-22  3:55   ` Fwd: " Vinicius Gomes
2013-05-22  6:47     ` Marcel Holtmann
2013-05-22 17:22       ` Vinicius Costa Gomes
2013-05-22 17:49         ` Marcel Holtmann
2013-05-28  7:13           ` Johan Hedberg
2013-05-28  7:36             ` Marcel Holtmann
2013-05-28  7:49               ` Johan Hedberg
2013-05-28  8:09                 ` Marcel Holtmann
2013-05-29 21:51             ` Alex Deymo
2013-05-30  2:04               ` Marcel Holtmann
2013-05-22  6:45 ` Marcel Holtmann

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.