bluetoothd: Refusing input device connect: Operation already in progress (114)
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
Quoted 20 lines · Pacho Ramos
Hello
Downstream we got the following report:
https://bugs.gentoo.org/show_bug.cgi?id=431624After adding mouse (via Blueman's "Add device" dialog) it works fine until sleeping or powering off. After that it fails reconnecting. In
/var/log/messagesappears 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:
Quoted 8 lines
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.htmlThanks
No idea? :/
Hi,
Quoted 18 lines · Pacho Ramos
Downstream we got the following report:
https://bugs.gentoo.org/show_bug.cgi?id=431624After adding mouse (via Blueman's "Add device" dialog) it works fine until sleeping or powering off. After that it fails reconnecting. In
/var/log/messagesappears 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:
Quoted 6 lines
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
Quoted 28 lines · Johan Hedberg
Hi,
Quoted 18 lines · Pacho Ramos
Downstream we got the following report:
https://bugs.gentoo.org/show_bug.cgi?id=431624After adding mouse (via Blueman's "Add device" dialog) it works fine until sleeping or powering off. After that it fails reconnecting. In
/var/log/messagesappears 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:Quoted 6 lines
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
Quoted 9 lines
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_channelfunction returns-EALREADYwhen 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 :)
Hi Pacho,
Quoted 12 lines · Pacho Ramos
Quoted 11 lines
Quoted 4 lines
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.htmlThis 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_channelfunction returns-EALREADYwhen accepting a connection.
Quoted 3 lines
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