[Bug 79941] New: bluetoothd won't read stored device key upon restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=79941

            Bug ID: 79941
           Summary: bluetoothd won't read stored device key upon restart
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.14.11
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
          Assignee: linux-bluetooth@xxxxxxxxxxxxxxx
          Reporter: 4nykey@xxxxxxxxx
        Regression: No

After daemon restart, previously added device won't reconnect.

Reproducible: Always

Steps to Reproduce:
1. Add a BT device (tested with Logitech M555b mouse via bluetoothctl
pair-trust-connect)
2. Restart bluetoothd

Actual Results:
Added device won't reconnect

Expected Results:  
Previously added device will restore connection

The device key is present in
'/var/lib/bluetooth/<adapter:addr>/<device:addr>/info' under [LinkKey].

When I restart bluetoothd (hibernate/thaw, manual daemon or system restart),
running '/usr/libexec/bluetooth/bluetoothd -dn' will produce:

> src/adapter.c:load_link_keys() hci0 keys 0 debug_keys 0

When I'll move the mouse I'll get these lines in syslog:

> bluetoothd[1234]: Refusing input device connect: No such file or directory (2)
> bluetoothd[1234]: Refusing connection from xx:xx:xx:xx:xx:xx: unknown device

Then '/var/lib/bluetooth/<adapter:addr>/<device:addr>/info' will be removed and
recreated with an other key, if I'll add the mouse again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux