[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-06-18 Thread Wallcom
Sorry, i forgot on which machine i was on.

With the correct firmware and the patch described in the initial post  (thanks 
for sending it upstream!),
it still hat the loading bug as described in 
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1394368/comments/10


dmesg | egrep 'ath3|ar3|Bluet'
[3.198102] Bluetooth: Core ver 2.19
[3.198140] Bluetooth: HCI device and connection manager initialized
[3.198147] Bluetooth: HCI socket layer initialized
[3.198149] Bluetooth: L2CAP socket layer initialized
[3.198157] Bluetooth: SCO socket layer initialized
[3.205334] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[3.205336] Bluetooth: BNEP filters: protocol multicast
[3.205342] Bluetooth: BNEP socket layer initialized
[3.213183] Bluetooth: RFCOMM TTY layer initialized
[3.213195] Bluetooth: RFCOMM socket layer initialized
[3.213201] Bluetooth: RFCOMM ver 1.11
[3.295666] usbcore: registered new interface driver ath3k
[6.794243] Bluetooth: Error in firmware loading err = -110,len = 448, size 
= 4096
[6.794265] Bluetooth: Loading patch file failed
[6.794271] ath3k: probe of 2-5:1.0 failed with error -110

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-06-18 Thread Wallcom
Kernel: 3.16.0-41-generic

After installing the package with new firmware files:

Output of  "dmesg | egrep 'ath3|ar3|Bluet'":

[2.557837] Bluetooth: Core ver 2.19
[2.557854] Bluetooth: HCI device and connection manager initialized
[2.557861] Bluetooth: HCI socket layer initialized
[2.557863] Bluetooth: L2CAP socket layer initialized
[2.557870] Bluetooth: SCO socket layer initialized
[2.570170] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[2.570173] Bluetooth: BNEP filters: protocol multicast
[2.570180] Bluetooth: BNEP socket layer initialized
[2.579359] Bluetooth: RFCOMM TTY layer initialized
[2.579370] Bluetooth: RFCOMM socket layer initialized
[2.579374] Bluetooth: RFCOMM ver 1.11


Output of "awk -vRS= '/300d/' /sys/kernel/debug/usb/devices":

T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#=  5 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04ca ProdID=300d 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

Still not working ...

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-21 Thread Wallcom
Now, with the support for this ID added, a new Problem exists; the same as with 
many other ath3k users:
It only works sporadically: Works -> Reboot - > Doesn't work -> After a few 
reboots it works again

When it doesnt work:
[ 3.657288] usbcore: registered new interface driver ath3k
[ 4.025700] usb 2-5: new full-speed USB device number 6 using xhci_hcd
[ 4.154563] usb 2-5: New USB device found, idVendor=04ca, idProduct=300d
[ 4.154565] usb 2-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.710941] usbcore: registered new interface driver rtsx_usb
[ 7.155744] Bluetooth: Error in firmware loading err = -110,len = 448, size = 
4096
[ 7.155756] Bluetooth: Loading patch file failed
[ 7.155765] ath3k: probe of 2-5:1.0 failed with error -110
[   13.128354] Bluetooth: RFCOMM TTY layer initialized
[   13.128364] Bluetooth: RFCOMM socket layer initialized
[   13.128369] Bluetooth: RFCOMM ver 1.11
[   15.039498] usb 2-5: reset full-speed USB device number 5 using xhci_hcd
[   15.039537] xhci_hcd :00:14.0: Setup ERROR: setup context command for 
slot 4.
[   15.039542] usb 2-5: hub failed to enable device, error -22
[   15.151621] usb 2-5: reset full-speed USB device number 5 using xhci_hcd
[   15.151645] xhci_hcd :00:14.0: Setup ERROR: setup context command for 
slot 4.
[   15.151651] usb 2-5: hub failed to enable device, error -22
[   15.263518] usb 2-5: reset full-speed USB device number 5 using xhci_hcd
[   15.280189] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with 
disabled ep 8802496fdc00
[   15.280193] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with 
disabled ep 8802496fdc90
[   15.280195] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with 
disabled ep 8802496fdc48
[   15.280197] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with 
disabled ep 88009b164348
[   15.280198] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with 
disabled ep 88009b164300

Just like in these (still open) Bug Reports:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1260825
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1336179

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1260825] Re: 168c:0032 ath3k built-in bluetooth cannot load firmware - sporadic

2014-11-21 Thread Wallcom
(After manually adding it to the Kernel and adding correct firmware
(https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1394368)

I get the same Error with Atheros AR9462 Chipset [04ca:300d] (uses ath3k
for Bluetooth)

[3.657288] usbcore: registered new interface driver ath3k
[4.025700] usb 2-5: new full-speed USB device number 6 using xhci_hcd
[4.154563] usb 2-5: New USB device found, idVendor=04ca, idProduct=300d
[4.154565] usb 2-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[4.710941] usbcore: registered new interface driver rtsx_usb
[7.155744] Bluetooth: Error in firmware loading err = -110,len = 448, size 
= 4096
[7.155756] Bluetooth: Loading patch file failed
[7.155765] ath3k: probe of 2-5:1.0 failed with error -110

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

Title:
  168c:0032 ath3k built-in bluetooth cannot load firmware - sporadic

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
I am aware of that, i just wanted to post the instructions and files to
help other people fixing the bug temporarily.

Well all the other ar3k Firmware files are under this Redistribution license:
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/LICENCE.atheros_firmware

And as AthrBT_0x11020100.dfu  is just a small version change  from 
AthrBT_0x1102.dfu (which is already included) you can assume that it is 
under the same license.
But i guess assumptions are not enough ...

 So the only way is to ask Qualcomm to provide the Firmware with a
licence file?

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
Fix: After installing the dkms module, put this in "lib/firmware/ar3k/"

** Attachment added: "AthrBT_0x11020100.dfu"
   
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1394368/+attachment/4264673/+files/AthrBT_0x11020100.dfu

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
You also have to add this in "lib/firmware/ar3k/".

After a reboot Bluetooth was fully working for me.

Unfortunately, i can't find any sources including a license, I just
extracted these from a Windows Update file.

** Attachment added: "ramps_0x11020100_40.dfu"
   
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1394368/+attachment/4264674/+files/ramps_0x11020100_40.dfu

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
** Description changed:

  This is (kind of) a duplicate of:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
  (please read)
  
  I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
  In the link above, it has been fixed, but not for my Adapter ID/Firmware:
  
  System:
  Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
  
  lspci -nnk
  02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
  Wireless Network Adapter [168c:0034] (rev 01)
   Subsystem: Lite-On Communications Inc Device [11ad:0802]
   Kernel driver in use: ath9k
  
  lsusb (identified Bluetooth Device)
  Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
  
  ath9k.conf
  options ath9k btcoex_enable=1
  
  The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
  
  I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files and
  changed them:
  
  diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
/usr/src/ar9462-1.5.1/ath3k.c
  --- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 00:25:02.0 
+0200
  +++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
  @@ -85,6 +85,7 @@
    { USB_DEVICE(0x04CA, 0x3007) },
    { USB_DEVICE(0x04CA, 0x3008) },
    { USB_DEVICE(0x04CA, 0x300b) },
  + { USB_DEVICE(0x04CA, 0x300d) },
    { USB_DEVICE(0x0930, 0x0219) },
    { USB_DEVICE(0x0930, 0x0220) },
    { USB_DEVICE(0x0b05, 0x17d0) },
  @@ -134,6 +135,7 @@
    { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
  + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
  
  diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
/usr/src/ar9462-1.5.1/btusb.c
  --- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 00:25:02.0 
+0200
  +++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
  @@ -157,6 +157,7 @@
    { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
  + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
  
  sudo dkms add -m ar9462 -v 1.5.1
  sudo dkms build -m ar9462 -v 1.5.1
- sudo dkms install -m ar9462 -v 1.5.1 --force
+ sudo dkms install -m ar9462 -v 1.5.1
  
- NOTE: Since i didn't change the Version in the 2 Files, you have to use 
--force when installing.
- Because of this, the attached deb package (in the same style/versioning as in 
the bug report above)
- doesn't work with autoinstall.
+ (DKMS package in the same style/versioning as in the bug report above)
  
  dkms status
  ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
  
  Now the new output:
  
  dmesg | egrep 'ath3|ar3|Bluet'
  [2.787819] Bluetooth: Core ver 2.19
  [2.787833] Bluetooth: HCI device and connection manager initialized
  [2.787839] Bluetooth: HCI socket layer initialized
  [2.787842] Bluetooth: L2CAP socket layer initialized
  [2.787848] Bluetooth: SCO socket layer initialized
  [2.793551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  [2.793554] Bluetooth: BNEP filters: protocol multicast
  [2.793561] Bluetooth: BNEP socket layer initialized
  [3.130779] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
  [3.130783] Bluetooth: Loading patch file failed
  [3.130788] ath3k: probe of 2-5:1.0 failed with error -12
  [3.130823] usbcore: registered new interface driver ath3k
  [9.776503] Bluetooth: RFCOMM TTY layer initialized
  [9.776512] Bluetooth: RFCOMM socket layer initialized
  [9.776517] Bluetooth: RFCOMM ver 1.11
  
  My patch works, but just like in the bug report above, a Firmware file is 
missing:
  AthrBT_0x11020100.dfu
  
  I found it neither in linux-firmware 
(http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ar3k)
  nor elsewhere.

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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

[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
The problem is, the fix won't work without the firmware "AthrBT_0x11020100.dfu".
I just found a Windows version of the firmware 
(http://driveragent.com/c/archive/f2ea5a6c/Qualcomm-Atheros-Communications-Bluetooth-Controller-software-update-released-in-January--2014?PHPSESSID=09f4763lvg0gd1s9qc3ap62kn2)

I removed the "patch" from the original post, because it isn't really a patch.
Instead, here is a dkms package which adds the ID in btusb.c and ath3k.c
After applying the package and adding the (currently) missing firmware files 
"AthrBT_0x11020100.dfu" (and probably ""ramps_0x11020100_40.dfu") to 
"lib/firmware/ar3k/", Bluetooth should work.

** Attachment added: "ar9462-dkms_1.5.1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+attachment/4264502/+files/ar9462-dkms_1.5.1_all.deb

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-20 Thread Wallcom
** Patch removed: "Patches ath3k.c and btusb.c [WONT WORK WITH AUTOINSTALL]"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+attachment/4264028/+files/ar9462-dkms_1.5.1_all.deb

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-19 Thread Wallcom
** Tags added: 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/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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


[Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-19 Thread Wallcom
** Description changed:

- This is (kind of) a duplicate of: 
+ This is (kind of) a duplicate of:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
  (please read)
  
- I can't use Bluetooth with my AR9462 WLAN/BT-Combo. 
+ I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
  In the link above, it has been fixed, but not for my Adapter ID/Firmware:
  
  System:
  Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
  
- lspci -nnk 
+ lspci -nnk
  02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
  Wireless Network Adapter [168c:0034] (rev 01)
-   Subsystem: Lite-On Communications Inc Device [11ad:0802]
-   Kernel driver in use: ath9k
+  Subsystem: Lite-On Communications Inc Device [11ad:0802]
+  Kernel driver in use: ath9k
  
  lsusb (identified Bluetooth Device)
- Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp. 
+ Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
  
  ath9k.conf
  options ath9k btcoex_enable=1
  
  The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
  
  I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files and
  changed them:
  
  diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
/usr/src/ar9462-1.5.1/ath3k.c
  --- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 00:25:02.0 
+0200
  +++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
  @@ -85,6 +85,7 @@
-   { USB_DEVICE(0x04CA, 0x3007) },
-   { USB_DEVICE(0x04CA, 0x3008) },
-   { USB_DEVICE(0x04CA, 0x300b) },
+   { USB_DEVICE(0x04CA, 0x3007) },
+   { USB_DEVICE(0x04CA, 0x3008) },
+   { USB_DEVICE(0x04CA, 0x300b) },
  + { USB_DEVICE(0x04CA, 0x300d) },
-   { USB_DEVICE(0x0930, 0x0219) },
-   { USB_DEVICE(0x0930, 0x0220) },
-   { USB_DEVICE(0x0b05, 0x17d0) },
+   { USB_DEVICE(0x0930, 0x0219) },
+   { USB_DEVICE(0x0930, 0x0220) },
+   { USB_DEVICE(0x0b05, 0x17d0) },
  @@ -134,6 +135,7 @@
-   { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
  + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
  
  diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
/usr/src/ar9462-1.5.1/btusb.c
  --- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 00:25:02.0 
+0200
  +++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
  @@ -157,6 +157,7 @@
-   { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
  + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
-   { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
  
  sudo dkms add -m ar9462 -v 1.5.1
  sudo dkms build -m ar9462 -v 1.5.1
  sudo dkms install -m ar9462 -v 1.5.1 --force
  
  NOTE: Since i didn't change the Version in the 2 Files, you have to use 
--force when installing.
- Because of this, the attached deb package (in the same style/versioning as in 
the bug report above) 
+ Because of this, the attached deb package (in the same style/versioning as in 
the bug report above)
  doesn't work with autoinstall.
  
  dkms status
  ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
  
  Now the new output:
  
  dmesg | egrep 'ath3|ar3|Bluet'
  [2.787819] Bluetooth: Core ver 2.19
  [2.787833] Bluetooth: HCI device and connection manager initialized
  [2.787839] Bluetooth: HCI socket layer initialized
  [2.787842] Bluetooth: L2CAP socket layer initialized
  [2.787848] Bluetooth: SCO socket layer initialized
  [2.793551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  [2.793554] Bluetooth: BNEP filters: protocol multicast
  [2.793561] Bluetoo

[Bug 1394368] [NEW] Bluetooth with AR9462 doesn't work (New ID /Firmware)

2014-11-19 Thread Wallcom
Public bug reported:

This is (kind of) a duplicate of:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
(please read)

I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
In the link above, it has been fixed, but not for my Adapter ID/Firmware:

System:
Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64

lspci -nnk
02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
Wireless Network Adapter [168c:0034] (rev 01)
 Subsystem: Lite-On Communications Inc Device [11ad:0802]
 Kernel driver in use: ath9k

lsusb (identified Bluetooth Device)
Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.

ath9k.conf
options ath9k btcoex_enable=1

The "04ca:300d" ID is not in the Kernel, so i added it via dkms.

I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files and
changed them:

diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c /usr/src/ar9462-1.5.1/ath3k.c
--- ./linux-3.16.0/drivers/bluetooth/ath3k.c2014-08-04 00:25:02.0 
+0200
+++ /usr/src/ar9462-1.5.1/ath3k.c   2014-11-19 21:12:46.646265890 +0100
@@ -85,6 +85,7 @@
  { USB_DEVICE(0x04CA, 0x3007) },
  { USB_DEVICE(0x04CA, 0x3008) },
  { USB_DEVICE(0x04CA, 0x300b) },
+   { USB_DEVICE(0x04CA, 0x300d) },
  { USB_DEVICE(0x0930, 0x0219) },
  { USB_DEVICE(0x0930, 0x0220) },
  { USB_DEVICE(0x0b05, 0x17d0) },
@@ -134,6 +135,7 @@
  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c /usr/src/ar9462-1.5.1/btusb.c
--- ./linux-3.16.0/drivers/bluetooth/btusb.c2014-08-04 00:25:02.0 
+0200
+++ /usr/src/ar9462-1.5.1/btusb.c   2014-11-19 21:12:46.646265890 +0100
@@ -157,6 +157,7 @@
  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
+   { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

sudo dkms add -m ar9462 -v 1.5.1
sudo dkms build -m ar9462 -v 1.5.1
sudo dkms install -m ar9462 -v 1.5.1 --force

NOTE: Since i didn't change the Version in the 2 Files, you have to use --force 
when installing.
Because of this, the attached deb package (in the same style/versioning as in 
the bug report above)
doesn't work with autoinstall.

dkms status
ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed

Now the new output:

dmesg | egrep 'ath3|ar3|Bluet'
[2.787819] Bluetooth: Core ver 2.19
[2.787833] Bluetooth: HCI device and connection manager initialized
[2.787839] Bluetooth: HCI socket layer initialized
[2.787842] Bluetooth: L2CAP socket layer initialized
[2.787848] Bluetooth: SCO socket layer initialized
[2.793551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[2.793554] Bluetooth: BNEP filters: protocol multicast
[2.793561] Bluetooth: BNEP socket layer initialized
[3.130779] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
[3.130783] Bluetooth: Loading patch file failed
[3.130788] ath3k: probe of 2-5:1.0 failed with error -12
[3.130823] usbcore: registered new interface driver ath3k
[9.776503] Bluetooth: RFCOMM TTY layer initialized
[9.776512] Bluetooth: RFCOMM socket layer initialized
[9.776517] Bluetooth: RFCOMM ver 1.11

My patch works, but just like in the bug report above, a Firmware file is 
missing:
AthrBT_0x11020100.dfu

I found it neither in linux-firmware 
(http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ar3k)
nor elsewhere.

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


** Tags: utopic

** Patch added: "Patches ath3k.c and btusb.c [WONT WORK WITH AUTOINSTALL]"
   
https://bugs.launchpad.net/bugs/1394368/+attachment/4264028/+files/ar9462-dkms_1.5.1_all.deb

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

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

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

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