Re: [BUG bluetoothd] reconnecting input devices results in org.bluez.Error.NotAvailable

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

 



Hi David,

On Wed, Sep 04, 2013, David Herrmann wrote:
> I run the following commands in bluetoothctl on bluez-5.7-1 (but I
> know this bug since I started using bluetoothctl (probably 5.0 or
> 5.1), just didn't get around reporting it, yet. Sorry.):
>   [bluetooth]# power on
>     [CHG] Controller 00:25:00:50:C4:C9 Class: 0x00010c
>     Changing power on succeeded
>     [CHG] Controller 00:25:00:50:C4:C9 Powered: yes
>   [bluetooth]# connect 00:1E:35:3B:7E:6D
>     Attempting to connect to 00:1E:35:3B:7E:6D
>     Connection successful
>     [CHG] Device 00:1E:35:3B:7E:6D Connected: yes
> 
> Works just fine. Then I disconnect the device by removing its
> batteries. bluez notices this and removes the connection:
>     [CHG] Device 00:1E:35:3B:7E:6D Connected: no
> 
> However, a following connect always fails immediately:
>   [bluetooth]# connect 00:1E:35:3B:7E:6D
>     Attempting to connect to 00:1E:35:3B:7E:6D
>     Failed to connect: org.bluez.Error.NotAvailable
> 
> Any following commands, whether "connect" or "info" on the given
> device result in:
>   [bluetooth]# info  00:1E:35:3B:7E:6D
>     Device  00:1E:35:3B:7E:6D not available
> 
> power off -> power on doesn't help. I need to restart bluetoothd to
> make it work again. The related debug log is appended below. Any hints
> where to start debugging is welcome.
> 
> I tested this with two HIDP devices.

I fixed a few issues like this for 5.8. Could you try with that (or even
better with latest git) before we proceed further with this.

Johan
--
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