All of lore.kernel.org
 help / color / mirror / Atom feed
* BlueZ 5:50: First key sent from Ble device lost after initing bluetoothd
@ 2019-03-21  9:41 Miguel Sancho
  2019-03-22 11:41 ` Miguel Sancho
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Sancho @ 2019-03-21  9:41 UTC (permalink / raw)
  To: linux-bluetooth

Hi,
using BlueZ 5.50, I observe that if bluetoothd is re-initialized, the
first key from a previously BLE paired device is not being processed.
Looking into bluetoothd log, upon first key pressed in the device
after bluetoothd re-init, bluetoothd connects to the device and
creates the uHID device:
bluetoothd[9023]: profiles/input/hog-lib.c:report_map_read_cb() HoG
created uHID device

In the second and further connections, key works fine, this is the
only output related to HoG:
    Line 401: bluetoothd[9023]: src/service.c:change_state() 0xd0b98:
device profile input-hog state changed: disconnected -> connected (0)
    Line 402: bluetoothd[9023]: plugins/policy.c:service_cb() Added
input-hog reconnect 0

Is this expected behavior? Can it be avoided? I wonder whether the
uHID device can be created upon bluetoothd initialization instead of
waiting to first connection.

Thanks in advance

Miguel

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

end of thread, other threads:[~2019-03-22 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21  9:41 BlueZ 5:50: First key sent from Ble device lost after initing bluetoothd Miguel Sancho
2019-03-22 11:41 ` Miguel Sancho

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.