0489:e076 - Qualcomm Atheros - Ubuntu 14.10 bluetooth does not see any devices

Bug #1425252 reported by Jukka Niiranen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

This bug is related to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1352821

Bluetooth on Ubuntu 14.10 running on Acer Aspire V3-371-79RJ laptop does not work. WiFi on the same device works normally and also bluetooth seems to work normally, but when searching for external devices Ubuntu cannot see any bluetooth devices.

I've tried to connect to both bluetooth mouse and an Android phone, no luck. On another Ubuntu laptop the same external bluetooth devices are visible and work ok.

lspci -nnk printout includes this:
02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01)
 Subsystem: Foxconn International, Inc. Device [105b:e07d]
 Kernel driver in use: ath9k

and lsusb printout includes this:
Bus 002 Device 002: ID 0489:e076 Foxconn / Hon Hai

Full listings are attached.

What was expected to happen:
- Expected that Ubuntu would find my bluetooth mouse and phone when searching for new bluetooth devices.

What happened instead:
- Everything seemed to work ok, but nothing happened. Ubuntu does not see any bluetooth devices.

Background Information:
- Description: Ubuntu 14.10
- Release: 14.10
- gnome-bluetooth 3.8.2.1-0ubuntu9
- Hardware used: Acer Aspire V3-371-79RJ
---
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jniirane 2414 F.... pulseaudio
 /dev/snd/controlC1: jniirane 2414 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.10
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-01-03 (52 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: Acer Aspire V3-371
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-31-generic root=UUID=c66b9d81-d91d-4201-85b9-a288b70f371f ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.16.0-31.41~lp1352821v1-generic 3.16.7-ckt5
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-31-generic N/A
 linux-backports-modules-3.16.0-31-generic N/A
 linux-firmware 1.138.1
Tags: utopic
Uname: Linux 3.16.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/05/2014
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.12
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire V3-371
dmi.board.vendor: Acer
dmi.board.version: V1.12
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.12
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.12:bd09/05/2014:svnAcer:pnAspireV3-371:pvrV1.12:rvnAcer:rnAspireV3-371:rvrV1.12:cvnAcer:ct10:cvrV1.12:
dmi.product.name: Aspire V3-371
dmi.product.version: V1.12
dmi.sys.vendor: Acer

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1425252

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: utopic
Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : BootDmesg.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : CRDA.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : IwConfig.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : Lspci.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : Lsusb.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : ProcModules.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : PulseList.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : RfKill.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : UdevDb.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : UdevLog.txt

apport information

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hi Jukka,

Can you post the output from the following comman:

sudo cat /sys/kernel/debug/usb/devices

That will give use the required information when the patch to fix this is sent upstream.

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : Re: [Bug 1425252] Re: 0489:e076 - Qualcomm Atheros - Ubuntu 14.10 bluetooth does not see any devices

*Hi Joseph,*

Please find the requested output attached.

Let me know if there is anything else I can help you with.

*Best Regards,*
Jukka

2015-02-25 0:19 GMT+02:00 Joseph Salisbury <email address hidden>:

> Hi Jukka,
>
> Can you post the output from the following comman:
>
> sudo cat /sys/kernel/debug/usb/devices
>
> That will give use the required information when the patch to fix this
> is sent upstream.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1425252
>
> Title:
> 0489:e076 - Qualcomm Atheros - Ubuntu 14.10 bluetooth does not see any
> devices
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1425252/+subscriptions
>

--
Mr. Jukka Niiranen (Firstname Lastname)
Katajasaarenkatu 6 A 16
FI-53900 Lappeenranta
Finland

Tel: +358 (0)40 502 8201
Email Home: <email address hidden>
Email Work: <email address hidden>
Skype: niirajukka
Web Home: http://www.niiranen.fi/
Web Work: http://www.arnora.com/

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built an upstream test kernel with my patch. It can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1425252/

Can you test this kernel and see if it resolves this bug?

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote :

@Joseph

Thanks. Just installed "linux-image-4.0.0-040000rc1-generic_4.0.0-040000rc1.201502261652_amd64.deb" - should I have installed somenthing else also? There was no "linux-image-extra" available this time.

Now - after installing and restart - the Bluetooth disappeared alltogether. It doesn't appear in menu bar anymore and if I go through Settings -> Bluetooth everthing is greyed out.

--------

:~$ uname -a
Linux Cake 4.0.0-040000rc1-generic #201502261652 SMP Thu Feb 26 16:56:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

--------

:~$ dmesg | grep error
[ 2.680416] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 2.953753] usb 1-5: Direct firmware load for ar3k/AthrBT_0x11020100.dfu failed with error -2
[ 2.953770] ath3k: probe of 1-5:1.0 failed with error -2

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for Testing!

I also built a Vivid test kernel with the patch. Can you also test this kernel to see if there are additional changes needed for an upstream version of the patch? The Vivid test kernel can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1425252/vivid/

For this kernel, you need to install both the linux-image and linux-image-extra .deb packages.

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote :

@Joseph

Thanks. I just installed both
- linux-image-3.18.0-14-generic_3.18.0-14.15~lp1425252v1_amd64.deb and
- linux-image-extra-3.18.0-14-generic_3.18.0-14.15~lp1425252v1_amd64.deb

Unfortunately the result was the same as with the previous 4.0.0.-040000rc1:

Bluetooth doesn't show up in menu bar and in Settings -> Bluetooth everything is grayed out. WiFi works ok.

Are there any logs or other info I can provide to you that would help?

----------------

:~$ uname -a
Linux Cake 3.18.0-14-generic #15 SMP Fri Feb 27 18:38:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

----------------

:~$ dmesg | grep error
[ 2.954299] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 3.213746] usb 1-5: Direct firmware load for ar3k/AthrBT_0x11020100.dfu failed with error -2
[ 3.213759] ath3k: probe of 1-5:1.0 failed with error -2

Revision history for this message
Jeremy (wa113y3s) wrote :

Do you have Windows on the same computer? The firmware can be found in Program Files\Common Files\QCA-Bluetooth and needs to be copied into /lib/firmware/ar3k

penalvch (penalvch)
tags: added: latest-bios-1.12
removed: atheros bluetooth qualcomm
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The missing firmware seems to be a duplicate of bug 1394368

Changed in linux (Ubuntu):
status: In Progress → Incomplete
assignee: Joseph Salisbury (jsalisbury) → nobody
Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote :

@Jeremy and @Joseph
I'm commenting here (and to 1394368) to conclude the discussion should anyone else be fighting with the same issue.

As Jeremy suggested I copied both these files from Windows' (Program Files\Common Files\QCA-Bluetooth) to Ubuntu's /lib/firmware/ar3k -folder:
- AthrBT_0x11020100.dfu
- ramps_0x11020100_40.dfu

Now there are no more errors on the dmesg and Bluetooth is working on both of these experimental kernels:
- 3.18.0-14-generic #15 SMP Fri Feb 27 18:38:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
- 4.0.0-040000rc1-generic #201502261652 SMP Thu Feb 26 16:56:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Bluetooth still does not work on published kernels:
- 3.16.0-31-generic #41~lp1352821v1 SMP Fri Feb 20 20:52:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux OR
- 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Even though Bluetooth now works, at least bluetooth mouse doesn't automatically reconnect after restart. Instead mouse text "flickers" in Bluetooth GUI screen. After clicking "ON" button (on bluetooth gui) for several time the bluetooth mouse might reconnect - or not.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

It is not a duplicate because VID & PID are different.

Revision history for this message
Juan Villa (gianpamx) wrote :

Hi!

Just to complement Jukka comment #27 with the provided dfu files here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368 my device didn't work, failing to load the firmware and going into an infinite loop.

I had to copy the files from the windows driver (I'm thinking that they were modified specifically for the Acer Aspire V3), you can download this files from

 The two files are:
AthrBT_0x11020100.dfu
https://www.dropbox.com/s/n9x6lxaynw346ab/AthrBT_0x11020100.dfu?dl=0

ramps_0x11020100_40.dfu
https://www.dropbox.com/s/eh6dfi7s8rm4f4b/ramps_0x11020100_40.dfu?dl=0

And if you want more information, go this forum post:
https://forums.gentoo.org/viewtopic-t-1013336-highlight-.html

Revision history for this message
Juan Villa (gianpamx) wrote :

Not a duplicate, different device IDs

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.