All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
@ 2016-07-22  7:49 bugzilla-daemon
  2016-07-22  7:50 ` [Bug 139041] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-07-22  7:49 UTC (permalink / raw)
  To: linux-bluetooth

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

            Bug ID: 139041
           Summary: QCA Bluetooth [0cf3:e007] failed to initialize if
                    Bluez's "[Policy] AutoEnable=true" was set
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
          Assignee: linux-bluetooth@vger.kernel.org
          Reporter: kai.heng.feng@canonical.com
        Regression: No

Currently, Ubuntu uses a udev rule, "50-bluetooth-hci-auto-poweron.rules",
which uses "hciconfig hci* up" to power the device on at boot.

But that udev rule will make BT failed to pair some BLE devices [1][2].

By following Bluez's release note [3], we should use "AutoEnable=true" instead
of hciconfig, and this change at least works on Intel 7260 & Intel 7265.

But it's not the case on QCA Rome [0cf3:e007], which failed to power on when
Bluez tried to start adapter.

This can be solved by using hdev->setup instead of data->setup_on_usb, but
looks like there are some concerns which I am not fully understand [4][5].

[1] https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1510570
[2] https://bugzilla.kernel.org/show_bug.cgi?id=104011#c5
[3] http://www.bluez.org/release-of-bluez-5-35/
[4] https://marc.info/?l=linux-bluetooth&m=142290091920257&w=2
[5] https://marc.info/?l=linux-bluetooth&m=142316166001267&w=4

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 139041] QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
  2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
@ 2016-07-22  7:50 ` bugzilla-daemon
  2016-07-22  7:50 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-07-22  7:50 UTC (permalink / raw)
  To: linux-bluetooth

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

--- Comment #1 from Kai-Heng Feng <kai.heng.feng@canonical.com> ---
Created attachment 224901
  --> https://bugzilla.kernel.org/attachment.cgi?id=224901&action=edit
usb-devices

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 139041] QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
  2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
  2016-07-22  7:50 ` [Bug 139041] " bugzilla-daemon
@ 2016-07-22  7:50 ` bugzilla-daemon
  2016-07-22  7:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-07-22  7:50 UTC (permalink / raw)
  To: linux-bluetooth

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

--- Comment #2 from Kai-Heng Feng <kai.heng.feng@canonical.com> ---
Created attachment 224911
  --> https://bugzilla.kernel.org/attachment.cgi?id=224911&action=edit
dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 139041] QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
  2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
  2016-07-22  7:50 ` [Bug 139041] " bugzilla-daemon
  2016-07-22  7:50 ` bugzilla-daemon
@ 2016-07-22  7:50 ` bugzilla-daemon
  2019-03-21  9:29 ` bugzilla-daemon
  2019-03-21  9:29 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-07-22  7:50 UTC (permalink / raw)
  To: linux-bluetooth

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

--- Comment #3 from Kai-Heng Feng <kai.heng.feng@canonical.com> ---
Created attachment 224921
  --> https://bugzilla.kernel.org/attachment.cgi?id=224921&action=edit
journalctl -b

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 139041] QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
  2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-07-22  7:50 ` bugzilla-daemon
@ 2019-03-21  9:29 ` bugzilla-daemon
  2019-03-21  9:29 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-03-21  9:29 UTC (permalink / raw)
  To: linux-bluetooth

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

--- Comment #4 from Kai-Heng Feng (kai.heng.feng@canonical.com) ---
Fixed by this commit:
commit c7e163fe282f34efdf77fb09b333529de97a6a10
Author: Ethan Hsieh <ethan.hsieh@canonical.com>
Date:   Fri Oct 7 12:06:42 2016 +0800

    Bluetooth: btusb: Fix atheros firmware download error

    Move usb_autopm_get_interface() ahead of setup_on_usb() to prevent
    device from sending usb control message in usb suspend mode.

    The error message is as below:

    [   83.944103] btusb 1-2:1.1: usb_suspend_interface: status 0
    [   83.944107] btusb 1-2:1.0: usb_suspend_interface: status 0
    [   83.960132] usb 1-2: usb auto-suspend, wakeup 0
    [   83.976156] usb 1-2: usb_suspend_device: status 0
    [   83.976162] usb 1-2: usb_suspend_both: status 0
    [  298.689106] Bluetooth: hci0
    [  298.689399] Bluetooth: hci0: Failed to access otp area (-113)

    Signed-off-by: Ethan Hsieh <ethan.hsieh@canonical.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 139041] QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set
  2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-03-21  9:29 ` bugzilla-daemon
@ 2019-03-21  9:29 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-03-21  9:29 UTC (permalink / raw)
  To: linux-bluetooth

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

Kai-Heng Feng (kai.heng.feng@canonical.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2019-03-21  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-22  7:49 [Bug 139041] New: QCA Bluetooth [0cf3:e007] failed to initialize if Bluez's "[Policy] AutoEnable=true" was set bugzilla-daemon
2016-07-22  7:50 ` [Bug 139041] " bugzilla-daemon
2016-07-22  7:50 ` bugzilla-daemon
2016-07-22  7:50 ` bugzilla-daemon
2019-03-21  9:29 ` bugzilla-daemon
2019-03-21  9:29 ` bugzilla-daemon

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.