Atheros 1525/QCA6174 BT issue
Hi,
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504
In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use BTUSB_QCA_ROM instead of BTUSB_ATH3012.
And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
So this made me wonder what's going on. I see that the BTUSB_ATH3012 quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?
I'm happy to get any fix patch and can provide a test kernel to the reporter.
FWIW, the device looks like:
T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3004 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
And the lsusb output:
Bus 001 Device 004: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0
thanks,
Takashi
Marcel Holtmann
maintainerHi Takashi,
Quoted 8 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.
Quoted 8 lines
And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?
not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
Regards
Marcel
Quoted 15 lines · Marcel Holtmann
Hi Takashi,
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. The BTUSB_ATH3012 quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
thanks,
Takashi
-- 8< --
From: Takashi Iwai <[email protected]>
Subject: [PATCH] Bluebooth: btusb: Fix quirk for Atheros 1525/QCA6174
The Atheros 1525/QCA6174 BT doesn't seem working properly on the recent kernels, as it tries to load a wrong firmware ar3k/AthrBT_0x00000200.dfu and it fails.
This seems to have been a problem for some time, and the known workaround is to apply BTUSB_QCA_ROM quirk instead of BTUSB_ATH3012.
The device in question is:
T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3004 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
Bugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=1082504
--- drivers/bluetooth/btusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btusb.c +1 -1
@@ -231,7 +231,6 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0930, 0x0227), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x0036), .driver_info = BTUSB_ATH3012 }, - { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311e), .driver_info = BTUSB_ATH3012 },
@@ -264,6 +263,7 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe03c), .driver_info = BTUSB_ATH3012 }, /* QCA ROME chipset */ + { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe007), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe009), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe010), .driver_info = BTUSB_QCA_ROME },
Signature · 1 line
2.16.2
Quoted 25 lines · Takashi Iwai
Quoted 15 lines · Marcel Holtmann
Hi Takashi,
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
Quoted 7 lines
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.
thanks,
Takashi
Quoted 76 lines
thanks,
Takashi
-- 8< --
From: Takashi Iwai <[email protected]>
Subject: [PATCH] Bluebooth: btusb: Fix quirk for Atheros 1525/QCA6174The Atheros 1525/QCA6174 BT doesn't seem working properly on the recent kernels, as it tries to load a wrong firmware ar3k/AthrBT_0x00000200.dfu and it fails.
This seems to have been a problem for some time, and the known workaround is to apply
BTUSB_QCA_ROMquirk instead ofBTUSB_ATH3012.The device in question is:
T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3004 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1msBugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=1082504
Cc <[email protected]>Signed-off-by Takashi Iwai <[email protected]>--- drivers/bluetooth/btusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/bluetooth/btusb.c +1
-1@@ -231,7 +231,6 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0930, 0x0227), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x0036), .driver_info = BTUSB_ATH3012 }, - { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311e), .driver_info = BTUSB_ATH3012 },@@ -264,6 +263,7 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe03c), .driver_info = BTUSB_ATH3012 }, /* QCA ROME chipset */ + { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe007), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe009), .driver_info = BTUSB_QCA_ROME }, { USB_DEVICE(0x0cf3, 0xe010), .driver_info = BTUSB_QCA_ROME },Signature · 1 line
2.16.2
Marcel Holtmann
maintainerHi Takashi,
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.
wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Regards
Marcel
Quoted 27 lines · Marcel Holtmann
Hi Takashi,
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" version
(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
thanks,
Takashi
Marcel Holtmann
maintainerHi Takashi,
Quoted 41 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" version
Quoted 7 lines
(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
I think there are two patches that are not yet in Linus’ tree and waiting in Dave’s net tree. We actually removed the Yoga DMI entry again since it was found that it is not needed. However there is a Dell OptiPlex entry that was needed.
Regards
Marcel
Quoted 48 lines · Marcel Holtmann
Hi Takashi,
Quoted 45 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" version(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
Quoted 7 lines
Quoted 3 lines
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
I think there are two patches that are not yet in Linus’ tree and waiting in Dave’s net tree. We actually removed the Yoga DMI entry again since it was found that it is not needed. However there is a Dell OptiPlex entry that was needed.
In our case, the target machine is a MSI laptop, so these changes should be irrelevant. Or do you suggest to try the same DMI reset quirk matching with the MSI machine?
thanks,
Takashi
Marcel Holtmann
maintainerHi Takashi,
Quoted 49 lines
Quoted 49 lines
Quoted 48 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" version(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
Quoted 7 lines
Quoted 3 lines
I think there are two patches that are not yet in Linus’ tree and waiting in Dave’s net tree. We actually removed the Yoga DMI entry again since it was found that it is not needed. However there is a Dell OptiPlex entry that was needed.
In our case, the target machine is a MSI laptop, so these changes should be irrelevant. Or do you suggest to try the same DMI reset quirk matching with the MSI machine?
that is maybe needed. I honestly do not know. Someone needs to root cause this. And obviously bi-secting a root-cause git commit would be helpful as well.
Regards
Marcel
Quoted 54 lines · Marcel Holtmann
Hi Takashi,
Quoted 51 lines
Quoted 51 lines
Quoted 41 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" versionQuoted 7 lines
(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
I think there are two patches that are not yet in Linus’ tree and waiting in Dave’s net tree. We actually removed the Yoga DMI entry again since it was found that it is not needed. However there is a Dell OptiPlex entry that was needed.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
In our case, the target machine is a MSI laptop, so these changes should be irrelevant. Or do you suggest to try the same DMI reset quirk matching with the MSI machine?
that is maybe needed.
OK, now the results:
4.15.9 vanilla -> BAD
4.16-rc5 vanilla -> BAD
4.16-rc5 with DMI quirk -> BAD
So, btusb_needs_reset_resume_table[] doesn't help in our case.
And the patch was confirmed to work on both 4.15.9 and 4.16-rc5.
I'll resubmit the patch.
thanks,
Takashi
Marcel Holtmann
maintainerHi Takashi,
Quoted 65 lines
Quoted 51 lines
Quoted 51 lines
Quoted 51 lines
Quoted 41 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
we've got a but report about the broken Atheros BT on the recent kernels:
http://bugzilla.opensuse.org/show_bug.cgi?id=1082504In short, btusb can't load the patch ar3k/AthrBT_0x00000200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use
BTUSB_QCA_ROMinstead ofBTUSB_ATH3012.And this looks like a long-standing problem, at least for over two years. Many web pages suggest the same patch, but it's never merged to upstream.
Quoted 6 lines
Quoted 4 lines
So this made me wonder what's going on. I see that the
BTUSB_ATH3012quirk was originally introduced just for this chip id (0cf3:3004). Is it a different variant from the original chip that causes a problem?not all patches from distro kernel are sent upstream. I have not heard of this specific issues, but happy to accept patches to get it fixed.
OK, basically it's like below.
But, as mentioned, this made me wonder whether it's the right fix. TheBTUSB_ATH3012quirk was introduced exactly for this chip ID (0cf3:3004), and now this chip is moved to another quirk...Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
If this is the right move, I can re-submit via git-send-email, too. Just let me know.
Marcel, could you take a look at this?
If it sucks, let's seek for a better solution.wasn’t the confusion that this is fixed with a recent kernel? I am lost in this thread. I mean if people add Tested-by, then I can take this as well. Otherwise we might need someone from Qualcomm to shed some light into these.
Well, *this* thread is likely different from the recent other threads.
Isn't 4.15.7 recent enough? At least, it already contains the backport of relevant fixes:
Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a
"rewritten" versionQuoted 7 lines
(And it's not Yoga but MSI GS40 laptop, so DMI doesn't matter.) According to Ivan, the reporter of the bug (now Cc'ed), 4.15.7 didn't work without the patch, so the problem is still there, as it seems.
In anyway, I'm going to build a kernel with my patch on top of 4.15.9 for testing again. Maybe also a patched 4.16-rc5 kernel, too. If it's confirmed, will report back with tested-by tag.
I think there are two patches that are not yet in Linus’ tree and waiting in Dave’s net tree. We actually removed the Yoga DMI entry again since it was found that it is not needed. However there is a Dell OptiPlex entry that was needed.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
In our case, the target machine is a MSI laptop, so these changes should be irrelevant. Or do you suggest to try the same DMI reset quirk matching with the MSI machine?
that is maybe needed.
OK, now the results:
4.15.9 vanilla -> BAD
4.16-rc5 vanilla -> BAD
4.16-rc5 with DMI quirk -> BAD
Quoted 5 lines
So, btusb_needs_reset_resume_table[] doesn't help in our case.
And the patch was confirmed to work on both 4.15.9 and 4.16-rc5.
I'll resubmit the patch.
thanks for verifying. Lets run with your patch.
Regards
Marcel