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

2015-12-12 Thread Pichalsi
Hi
I have exactly the same problem - 
[6.605042] Bluetooth: RFCOMM ver 1.11
[9.528354] Bluetooth: Error in firmware loading err = -110,len = 448, size 
= 4096
[9.528379] Bluetooth: Loading patch file failed
Any news for this issue? Is there any kernel version where this works?

Thanks
Michal

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

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

Status in linux package in Ubuntu:
  Triaged

Bug description:
  This is on an ASUS N550JV. Basically, the Bluetooth is sporadically
  available after restart/login. When not available, we get an error msg
  in dmesg about a patch that failed to load.

  $ sudo lsusb -v
  Bus 003 Device 016: ID 13d3:3402 IMC Networks
  Device Descriptor:
    bDeviceProtocol 1 Bluetooth
    idVendor   0x13d3 IMC Networks
    idProduct  0x3402
    bcdDevice0.02
    iManufacturer   1 Atheros Communications
    iProduct2 Bluetooth USB Host Controller
    iSerial 3 Alaska Day 2006

  $ sudo lspci
  04:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter 
(rev 01)

  dmesg:
  [   13.663135] Bluetooth: Error in firmware loading err = -110,len = 448, 
size = 4096
  [   13.663173] Bluetooth: Loading patch file failed
  [   13.663198] ath3k: probe of 3-5:1.0 failed with error -110
  [   13.663229] usbcore: registered new interface driver ath3k

  Things already tried (to no much avail):
  - Update BIOS to latest version
  - Install "bluetooth" package
  - Enable ath9k bt coexistence (as per 
http://5thpeephole.blogspot.be/2013/10/install-ubuntu-1310-in-asus-n550jv.html)
  - unload / reload ath3k module:
  $ sudo modprobe -r ath3k; sleep 1; sudo modprobe ath3k

  Upstream URL: http://article.gmane.org/gmane.linux.bluez.kernel/48232

  ---
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Dependencies:

  DistroRelease: Ubuntu 13.10
  InstallationDate: Installed on 2013-12-07 (5 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MarkForUpload: True
  Package: linux-firmware 1.116
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
  Tags:  saucy
  Uname: Linux 3.11.0-14-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
  ---
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  marie  2252 F pulseaudio
   /dev/snd/controlC0:  marie  2252 F pulseaudio
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=b1848df9-3a67-4cb5-b9c4-1857d2d1f57b
  InstallationDate: Installed on 2013-12-07 (134 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MachineType: ASUSTeK COMPUTER INC. N550JV
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic.efi.signed 
root=UUID=6d1c5f5b-76e4-467b-9de2-e50ec2279947 ro quiet splash acpi_osi= 
vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware 1.127
  StagingDrivers: rts5139
  Tags:  trusty staging
  Uname: Linux 3.13.0-24-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-04-20 (1 days ago)
  UserGroups:

  _MarkForUpload: True
  dmi.bios.date: 11/19/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: N550JV.208
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: N550JV
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrN550JV.208:bd11/19/2013:svnASUSTeKCOMPUTERINC.:pnN550JV:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN550JV:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: N550JV
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-12-12 Thread Pichalsi
Hi,
same problem here. I tried latest ubuntu with kernel 4.2, didnt work. Then 
tried previous version, downgrading from 3.19 to 3.16, followed the instruction 
for 3.16, but now the problem is that bluetooth works only on every other 
reboot - as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1260825 . Any news about 
the issue or kernel versions where this works?

Michal

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

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

Status in linux package in Ubuntu:
  Fix Released
Status in linux-firmware package in Ubuntu:
  Confirmed
Status in linux source package in Vivid:
  Fix Released
Status in linux-firmware source package in Vivid:
  Confirmed

Bug description:
  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

  (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.

To manage notifications about this bug go to: