linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bluetoothd: Refusing input device connect: Operation already in progress (114)
@ 2012-09-15 10:15 Pacho Ramos
  2012-09-18 19:01 ` Pacho Ramos
  2012-09-21 12:43 ` Johan Hedberg
  0 siblings, 2 replies; 5+ messages in thread
From: Pacho Ramos @ 2012-09-15 10:15 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

Hello

Downstream we got the following report:
https://bugs.gentoo.org/show_bug.cgi?id=431624

After adding mouse (via Blueman's "Add device" dialog) it works fine
until sleeping or powering off. After that it fails reconnecting.
In /var/log/messages appears strings like these:

Aug 16 15:40:31 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)
Aug 16 15:45:13 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)
Aug 16 15:45:16 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)
Aug 16 15:45:17 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)
Aug 16 15:45:19 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)
Aug 16 15:47:46 user bluetoothd[3222]: Refusing input device connect:
Operation already in progress (114)

Searching, I found this thread that pointed to the culprit, but I
haven't found what finally occurred with it, if patch was reverted or a
different fix was pulled in:
http://www.spinics.net/lists/linux-bluetooth/msg26442.html

Thanks

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: bluetoothd: Refusing input device connect: Operation already in progress (114)
  2012-09-15 10:15 bluetoothd: Refusing input device connect: Operation already in progress (114) Pacho Ramos
@ 2012-09-18 19:01 ` Pacho Ramos
  2012-09-21 12:43 ` Johan Hedberg
  1 sibling, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2012-09-18 19:01 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]

El sáb, 15-09-2012 a las 12:15 +0200, Pacho Ramos escribió:
> Hello
> 
> Downstream we got the following report:
> https://bugs.gentoo.org/show_bug.cgi?id=431624
> 
> After adding mouse (via Blueman's "Add device" dialog) it works fine
> until sleeping or powering off. After that it fails reconnecting.
> In /var/log/messages appears strings like these:
> 
> Aug 16 15:40:31 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:13 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:16 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:17 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:19 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:47:46 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> 
> Searching, I found this thread that pointed to the culprit, but I
> haven't found what finally occurred with it, if patch was reverted or a
> different fix was pulled in:
> http://www.spinics.net/lists/linux-bluetooth/msg26442.html
> 
> Thanks

No idea? :/


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: bluetoothd: Refusing input device connect: Operation already in progress (114)
  2012-09-15 10:15 bluetoothd: Refusing input device connect: Operation already in progress (114) Pacho Ramos
  2012-09-18 19:01 ` Pacho Ramos
@ 2012-09-21 12:43 ` Johan Hedberg
  2012-09-21 19:00   ` Pacho Ramos
  1 sibling, 1 reply; 5+ messages in thread
From: Johan Hedberg @ 2012-09-21 12:43 UTC (permalink / raw)
  To: Pacho Ramos; +Cc: linux-bluetooth

Hi,

On Sat, Sep 15, 2012, Pacho Ramos wrote:
> Downstream we got the following report:
> https://bugs.gentoo.org/show_bug.cgi?id=431624
> 
> After adding mouse (via Blueman's "Add device" dialog) it works fine
> until sleeping or powering off. After that it fails reconnecting.
> In /var/log/messages appears strings like these:
> 
> Aug 16 15:40:31 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:13 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:16 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:17 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:45:19 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> Aug 16 15:47:46 user bluetoothd[3222]: Refusing input device connect:
> Operation already in progress (114)
> 
> Searching, I found this thread that pointed to the culprit, but I
> haven't found what finally occurred with it, if patch was reverted or a
> different fix was pulled in:
> http://www.spinics.net/lists/linux-bluetooth/msg26442.html

This is a different issue but the cause seems to be similar. You don't
need to patch bluetoothd though but just disable the mgmt part by
passing -P mgmtops to bluetoothd. For whatever reason the connection
state isn't cleaned up with mgmt (which shouldn't be dependent on mgmt
to begin with) and the input_device_set_channel function returns
-EALREADY when accepting a connection.

Johan

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

* Re: bluetoothd: Refusing input device connect: Operation already in progress (114)
  2012-09-21 12:43 ` Johan Hedberg
@ 2012-09-21 19:00   ` Pacho Ramos
  2012-09-21 19:07     ` Johan Hedberg
  0 siblings, 1 reply; 5+ messages in thread
From: Pacho Ramos @ 2012-09-21 19:00 UTC (permalink / raw)
  To: Johan Hedberg; +Cc: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]

El vie, 21-09-2012 a las 15:43 +0300, Johan Hedberg escribió:
> Hi,
> 
> On Sat, Sep 15, 2012, Pacho Ramos wrote:
> > Downstream we got the following report:
> > https://bugs.gentoo.org/show_bug.cgi?id=431624
> > 
> > After adding mouse (via Blueman's "Add device" dialog) it works fine
> > until sleeping or powering off. After that it fails reconnecting.
> > In /var/log/messages appears strings like these:
> > 
> > Aug 16 15:40:31 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > Aug 16 15:45:13 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > Aug 16 15:45:16 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > Aug 16 15:45:17 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > Aug 16 15:45:19 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > Aug 16 15:47:46 user bluetoothd[3222]: Refusing input device connect:
> > Operation already in progress (114)
> > 
> > Searching, I found this thread that pointed to the culprit, but I
> > haven't found what finally occurred with it, if patch was reverted or a
> > different fix was pulled in:
> > http://www.spinics.net/lists/linux-bluetooth/msg26442.html
> 
> This is a different issue but the cause seems to be similar. You don't
> need to patch bluetoothd though but just disable the mgmt part by
> passing -P mgmtops to bluetoothd. For whatever reason the connection
> state isn't cleaned up with mgmt (which shouldn't be dependent on mgmt
> to begin with) and the input_device_set_channel function returns
> -EALREADY when accepting a connection.
> 
> Johan
> 

But it sounds like a workaround as mgmt is still broken as compared with
bluetoothd previous above change was committed, no? Thanks for the
info :)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: bluetoothd: Refusing input device connect: Operation already in progress (114)
  2012-09-21 19:00   ` Pacho Ramos
@ 2012-09-21 19:07     ` Johan Hedberg
  0 siblings, 0 replies; 5+ messages in thread
From: Johan Hedberg @ 2012-09-21 19:07 UTC (permalink / raw)
  To: Pacho Ramos; +Cc: linux-bluetooth

Hi Pacho,

On Fri, Sep 21, 2012, Pacho Ramos wrote:
> > > Searching, I found this thread that pointed to the culprit, but I
> > > haven't found what finally occurred with it, if patch was reverted or a
> > > different fix was pulled in:
> > > http://www.spinics.net/lists/linux-bluetooth/msg26442.html
> > 
> > This is a different issue but the cause seems to be similar. You don't
> > need to patch bluetoothd though but just disable the mgmt part by
> > passing -P mgmtops to bluetoothd. For whatever reason the connection
> > state isn't cleaned up with mgmt (which shouldn't be dependent on mgmt
> > to begin with) and the input_device_set_channel function returns
> > -EALREADY when accepting a connection.
> 
> But it sounds like a workaround as mgmt is still broken as compared with
> bluetoothd previous above change was committed, no? Thanks for the
> info :)

Yes, it's still a workaround and the real cause needs to be figured out
and fixed (either with more detailed logs or by the developers
reproducing this themselves).

Johan

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

end of thread, other threads:[~2012-09-21 19:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15 10:15 bluetoothd: Refusing input device connect: Operation already in progress (114) Pacho Ramos
2012-09-18 19:01 ` Pacho Ramos
2012-09-21 12:43 ` Johan Hedberg
2012-09-21 19:00   ` Pacho Ramos
2012-09-21 19:07     ` Johan Hedberg

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