Re: [Bluez-devel] why do the keyboard en mouse not reconnect on startup of bluetoothd (see hcidump and bluetooth debug logs)

Jelle de Jong
2008-11-04T16:50:05Z

Jelle de Jong wrote:
> Hello everybody,
>
> I attached a logfile with hcidump and bluetooth --debug logs
>
> I have two trusted devices but the do nor reconnect after staring up
> bluetoothd. hcidump does show that they are sending information. What is
> going on here?
>
> Kind regards,
>
> Jelle
>

I did some more debugging on this issue, and it seems this is the situation:

when a device is turned on then paired with an running bluetoothd the
device works. then you restart your system or the bluetoothd without
switching the devices off/on. So the device is still running as before
the reboot. hicdump shows it successfully transmits the data, but
bluetoothd does not do anything with the data. When turning the device
off and then on hcidump shows a disconnect and mode change and after
that bluetootd will connect the device again and its working. This means
turning off on all devices after bluetoothd restarts. This is kind of a
bug in my opinion, what do the developers think?

I am willing to donate some dutch stroopwafels if this can be fixed.