Re: [Bluez-devel] why do the keyboard en mouse not reconnect on startup of bluetoothd (solved)

Jelle de Jong
2008-11-16T10:17:41Z

Jelle de Jong wrote:
> 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.
>
> Kind regards,
>
> Jelle

Some good news,

After talking showing the problem to Marcel Holtmann, he pointed out
that there was some bug with some devices that did not reset there
connections after reboot. He solved this with the newest kernel but for
now I had to use a workaround like the below:

cat /etc/modprobe.conf
options hci_usb reset=1

Hope this also helps some other people.