Public bug reported:

Ubuntu 12.04 Precise Pangolin 32bit - 3.2.0-23.36-generic 3.2.14
Product Brief
http://www.google.com/url?sa=t&rct=j&q=ar9462&source=web&cd=1&ved=0CFAQFjAA&url=http%3A%2F%2Fwww.qca.qualcomm.com%2Fmedia%2Fproduct%2Fproduct_112_file1.pdf&ei=Hzj3T7bVAcjfsgbE7Ym1BQ&usg=AFQjCNFdCVTSZr6iAYO5VbRD1Nir4wnnwg&cad=rja

WLAN:
0d:00.0 Network controller [0280]: Atheros Communications Inc. AR9462 Wireless 
Network Adapter [168c:0034] (rev 01)
        Subsystem: Lite-On Communications Inc Device [11ad:6621]
        Kernel driver in use: ath9k
        Kernel modules: ath9k

lsusb (BT-device identified as):
Bus 002 Device 003: ID 04ca:3006 Lite-On Technology Corp.

iProduct value is 2, so it must be a AR3012 based chipset for BT (see
attachment).

I have adjusted in accordance with
http://wireless.kernel.org/en/users/Drivers/ath3k  the source codefor
ath3k.c and btusb.c

See attachment for further informations and Terminal output.

Used CW snapshots and firmware:
compat-wireless-2012-07-03
linux-firmware-HEAD-e0836e6

Options for ath9k are set in /etc/modprobe.d/ath9k.conf:   options ath9k
btcoex_enable=1

First try with this patch to add the needed ID an blacklist this device
for btusb:

diff -urN compat-wireless-2012-07-03/drivers/bluetooth/ath3k.c 
compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/ath3k.c
--- compat-wireless-2012-07-03/drivers/bluetooth/ath3k.c        2012-07-04 
02:38:39.000000000 +0200
+++ compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/ath3k.c 
2012-07-13 23:29:04.000000000 +0200
@@ -76,6 +76,7 @@
        { USB_DEVICE(0x0CF3, 0x311D) },
        { USB_DEVICE(0x13d3, 0x3375) },
        { USB_DEVICE(0x04CA, 0x3005) },
+       { USB_DEVICE(0x04CA, 0x3006) },
        { USB_DEVICE(0x13d3, 0x3362) },
        { USB_DEVICE(0x0CF3, 0xE004) },
        { USB_DEVICE(0x0930, 0x0219) },
@@ -101,6 +102,7 @@
        { USB_DEVICE(0x0cf3, 0x311D), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
+       { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
diff -urN compat-wireless-2012-07-03/drivers/bluetooth/btusb.c 
compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/btusb.c
--- compat-wireless-2012-07-03/drivers/bluetooth/btusb.c        2012-07-04 
02:38:39.000000000 +0200
+++ compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/btusb.c 
2012-07-13 23:30:35.000000000 +0200
@@ -130,6 +130,7 @@
        { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
+       { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },

... leads to the following error
[   38.428012] Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu
[   38.428015] Bluetooth: Loading patch file failed
[   38.428021] ath3k: probe of 2-1.6:1.0 failed with error -2

the file AthrBT_0x11020000.dfu is not available in linux-firmware-HEAD-
e0836e6/ar3k , so i try this patch:

2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/ath3k.c
--- compat-wireless-2012-07-03/drivers/bluetooth/ath3k.c        2012-07-04 
02:38:39.000000000 +0200
+++ compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/ath3k.c 
2012-07-13 23:29:04.000000000 +0200
@@ -76,6 +76,7 @@
        { USB_DEVICE(0x0CF3, 0x311D) },
        { USB_DEVICE(0x13d3, 0x3375) },
        { USB_DEVICE(0x04CA, 0x3005) },
+       { USB_DEVICE(0x04CA, 0x3006) },
        { USB_DEVICE(0x13d3, 0x3362) },
        { USB_DEVICE(0x0CF3, 0xE004) },
        { USB_DEVICE(0x0930, 0x0219) },

diff -urN compat-wireless-2012-07-03/drivers/bluetooth/btusb.c 
compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/btusb.c
--- compat-wireless-2012-07-03/drivers/bluetooth/btusb.c        2012-07-04 
02:38:39.000000000 +0200
+++ compat-wireless-2012-07-03_bt_ath3k_04ca_3006_mod/drivers/bluetooth/btusb.c 
2012-07-13 23:30:35.000000000 +0200
@@ -130,6 +130,7 @@
        { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
+       { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
        { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },

The driver will not now need to install a patch

An now we have this output:

dmesg | egrep 'ath3|ar3|Bluet'
[   15.770583] Bluetooth: Core ver 2.16
[   15.770601] Bluetooth: HCI device and connection manager initialized
[   15.770603] Bluetooth: HCI socket layer initialized
[   15.770604] Bluetooth: L2CAP socket layer initialized
[   15.770609] Bluetooth: SCO socket layer initialized
[   18.979363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.979366] Bluetooth: BNEP filters: protocol multicast
[   19.003989] Bluetooth: RFCOMM TTY layer initialized
[   19.003995] Bluetooth: RFCOMM socket layer initialized
[   19.003997] Bluetooth: RFCOMM ver 1.11
[   19.213474] Bluetooth: Error in firmware loading err = -110,len = 0, size = 
4096
[   19.213506] ath3k: probe of 2-1.6:1.0 failed with error -110
[   19.213539] usbcore: registered new interface driver ath3k

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: ar3012 ath3k bluetooth

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1024884

Title:
  Bluetooth with AR9462 WLAN/BT-Combo don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to