0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesn't work with 3.11 or 3.13 kernels

Bug #1221995 reported by jorge alexandre
184
This bug affects 38 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

SRU Justification:

Impact: Bluetooth device stopped working. Device support regression.
Fix: Upstream, f9f462faa02777f497eb25255683a94e0c054de6
Testcase: Comment #10

Original Description:

Bluetooth device stopped working after upgrading ubuntu to 13.10.

~$ lsusb:
 Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

~$ hciconfig
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:1B:10:00:0F:46 ACL MTU: 1017:8 SCO MTU: 64:0
 DOWN
 RX bytes:457 acl:0 sco:0 events:16 errors:0
 TX bytes:68 acl:0 sco:0 commands:16 errors:0
~$ hcitool dev
Devices:

device simply doesnt appear on bluetooth manager. blueman UI is broken.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-4-generic 3.11.0-4.9
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jorge 1954 F.... pulseaudio
 /dev/snd/controlC0: jorge 1954 F.... pulseaudio
Date: Fri Sep 6 22:32:45 2013
HibernationDevice: RESUME=UUID=707ce71f-40a6-4fc3-b0a1-d24329b1c781
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: MEGAWARE MW-H61M-2H
MarkForUpload: True
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-4-generic root=UUID=3480d68a-ee68-452e-b349-a2398ce3da52 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-4-generic N/A
 linux-backports-modules-3.11.0-4-generic N/A
 linux-firmware 1.113
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to saucy on 2013-08-23 (15 days ago)
dmi.bios.date: 08/28/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F5 MW
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MW-H61M-2H
dmi.board.vendor: MEGAWARE
dmi.board.version: v1.3 - 17/07/2012 - MWX
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MEGAWARE
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5MW:bd08/28/2012:svnMEGAWARE:pnMW-H61M-2H:pvrv1.3-17/07/2012-MWX:rvnMEGAWARE:rnMW-H61M-2H:rvrv1.3-17/07/2012-MWX:cvnMEGAWARE:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: MW-H61M-2H
dmi.product.version: v1.3 - 17/07/2012 - MWX
dmi.sys.vendor: MEGAWARE

Revision history for this message
jorge alexandre (jorge-alcantarafilho-q) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesnt work on ubuntu 13.10

jorge Alexandre, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: needs-upstream-testing regression-release
removed: bluetooth bluez
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
jorge alexandre (jorge-alcantarafilho-q) wrote :
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.11-saucy
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

jorge Alexandre, the next step is to bisect from the previously working release to Saucy, in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
jorge alexandre (jorge-alcantarafilho-q) wrote :

it worked on v3.9.11-saucy and on v3.10-rc1-saucy it stopped working.
thats the bisection right? the good release succeded by the bad one.
which tag i am supposed to add now?
Thank you for your patience.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: bisect-done
Revision history for this message
penalvch (penalvch) wrote :

jorge alexandre, now that you found the kernel version regression, one would need to commit bisect between those two versions to identify the commit that caused this regression via https://wiki.ubuntu.com/Kernel/KernelBisection .

tags: added: performing-bisect
removed: bisect-done
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
jorge alexandre (jorge-alcantarafilho-q) wrote :

unfortunately, i dont have the knowledge necessary to commit bisect between those versions yet.
I've never used git.
 Is there a more basic tutorial?
thanks for the replies

Revision history for this message
penalvch (penalvch) wrote :

jorge alexandre, the article previously mentioned is that basic tutorial.

Revision history for this message
Aditya (code-aditya) wrote :

I am also affected by this bug after upgrading to Saucy. I am following the instructions mentioned at https://wiki.ubuntu.com/Kernel/KernelBisection.

I have downloaded and installed the kernals from https://launchpad.net/ubuntu/saucy/+source/linux

- 3.9.0-7.15 works for me
- 3.10.0-0.6 doesn't work

So, the issue is between these two releases. For further commit bisecting, I have downloaded the git repository of `ubuntu-saucy` by running:

    $ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-saucy.git`

To see how many commits are there in between, I run the following command:

    $ git log --oneline Ubuntu-3.9.0-7.15..Ubuntu-3.10.0-0.6 | wc

Its output is:

      14802 117434 922801

Please, help me further. Are there 14802 commits?

Revision history for this message
penalvch (penalvch) wrote :

Aditya, please file a new report so this may tracked to the hardware this is being plugged into via a terminal:
ubuntu-bug linux

Revision history for this message
Aditya (code-aditya) wrote :

@Christopher

Thanks for your reply. I have filed LP Bug #1245150 in this regard.

tags: added: needs-bisect
Revision history for this message
Zsoltee (zsoltee-the-programmer) wrote :

What do you think, can you solve the problem?

Revision history for this message
penalvch (penalvch) wrote :

Zsoltee, so your hardware may be tracked, could you please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Revision history for this message
Aditya (code-aditya) wrote :

I have been facing the similar issue.. There is a patch available on Kernel Bug Tracker over here: https://bugzilla.kernel.org/show_bug.cgi?id=60824#c6.. Applying this patch worked for me..

Revision history for this message
Margarita Manterola (marga-9) wrote :

Trusty is still affected by this bug. Please apply the patch to the trusty kernel.

Philipp Kern (pkern)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Sebastián Perruolo (sebastianperruolo+ubuntu) wrote :

I have the same device: "Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)".

I updated to trusty yesterday, so bluetooth is not working now.

Revision history for this message
penalvch (penalvch) wrote : Re: 0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesnt work on ubuntu 13.10

Margarita Manterola / Philipp Kern / Sebastián Perruolo, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

summary: - Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesnt work on ubuntu
- 13.10
+ 0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesnt work on
+ ubuntu 13.10
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Sebastián Perruolo (sebastianperruolo+ubuntu) wrote :
Revision history for this message
Margarita Manterola (marga-9) wrote :

I really don't understand why this need of asking users to file duplicate bugs. This is a bug with a specific piece of hardware. Any user that has this piece of hardware is affected. Why do you want one bug per user? This makes it much harder to track the progress on the issue... For example, on the bug Sebastian filed, someone asked him since when was this happening, which was already answered here (since 13.10).

Also, that other bugs includes the information that this is fixed in v3.15-rc3-utopic, but this bug doesn't, because of the absurd split in information.

summary: - 0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesnt work on
- ubuntu 13.10
+ 0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesn't work
+ with 3.11 or 3.13 kernels
Revision history for this message
Margarita Manterola (marga-9) wrote :

Adding more information from other sources.

The bugzilla bug (https://bugzilla.kernel.org/show_bug.cgi?id=60824) says that it's working since 3.14.1

This is the commit where it's fixed:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/net/bluetooth/hci.h?id=f9f462faa02777f497eb25255683a94e0c054de6

It was applied on 2014-01-04 for the 3.14 kernel. Getting this patch backported to 3.13 will likely fix it for Trusty.

Revision history for this message
Margarita Manterola (marga-9) wrote :

My link was to specific file in the commit, but from it you can get to the whole patch. Link to the full patch:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/?id=f9f462faa02777f497eb25255683a94e0c054de6

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
assignee: nobody → Rafael David Tinoco (inaddy)
description: updated
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Attaching patch that is being sent to Kernel Team by e-mail.

tags: added: patch
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Both commits:

f9f462faa02777f497eb25255683a94e0c054de6 - Bluetooth: Add quirk for disabling Delete Stored Link Key command
81cac64ba258ae823f52cfaec0cad26ecb31adc3 - Bluetooth: Deal with USB devices that are faking CSR vendor

together seem to address this issue...

First time they appeared was: v3.14-rc1. The second one's description is:

"""
There exists a set of Bluetooth USB devices that show up on the USB
bus as 0a12:0001 and identify themselves as devices from CSR. However
they are not. When sending Read Local Version command they now have
a split personality and say they are from Broadcom.

  < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
  > HCI Event: Command Complete (0x0e) plen 12
      Read Local Version Information (0x04|0x0001) ncmd 1
      status 0x00
      HCI Version: 2.0 (0x3) HCI Revision: 0x3000
      LMP Version: 2.0 (0x3) LMP Subversion: 0x420b
      Manufacturer: Broadcom Corporation (15)

The assumption is that they are neither CSR nor Broadcom based devices
and that they are designed and manufactured by someone else.

For the most parts they follow the Bluetooth HCI specification and
can be used as standard Bluetooth devices. However they have the
minor problem that the Delete Stored Link Key command is not working
as it should.

During the Bluetooth controller setup, this command is needed if
stored link keys are supported. For these devices it has to be
assumed that this is broken and so just set a quirk to clearly
indicate the behavior. After that the setup can just proceed.

Now the trick part is to detect these faulty devices since we do
not want to punish all CSR and all Broadcom devices. The original
devices do actually work according to the specification.

What is known so far is that these broken devices set the USB bcdDevice
revision information to 1.0 or less.

T: Bus=02 Lev=01 Prnt=01 Port=08 Cnt=03 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 1.00
S: Manufacturer=Bluetooth v2.0
S: Product=Bluetooth V2.0 Dongle

T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 0.07

In case of CSR devices, the bcdDevice revision contains the firmware
build ID and that is normally a higher value. If the bcdDevice revision
is 1.0 or less, then an extra setup stage is checking if Read Local
Version returns CSR manufacturer information. If not then it will be
assumed that this is a broken device and the Delete Stored Link Key
command will be marked as broken.

Signed-off-by: Marcel Holtmann <email address hidden>
Signed-off-by: Johan Hedberg <email address hidden>
"""

Building a kernel from ubuntu-trusty tree with both patches for testing.
Will provide public PPA soon.

* Will rely on community tests to suggest fix to stable-kernel team *

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Ok, here it goes... whoever suffers from this issue please do test kernel available from this PPA:

ppa:inaddy/sf00069767 -> https://launchpad.net/~inaddy/+archive/ubuntu/sf00069767

And provide feedback if it solves this issue. As soon as I get testing results I'll sent a SRU request
for the stable kernel team to include this into Trusty's kernel.

Revision history for this message
Aditya (code-aditya) wrote :

@Rafael

I have added your ppa but when I run `sudo apt update && sudo apt upgrade` it only offers me to upgrade `linux-libc-dev` package and nothing else. Is that good? I suppose it should offer me to update 4-5 linux related packages from your repository and have I haven't installed the update.

Right now I am running the mainline kernel version 3.14.15.

===============================================================================

$ uname -a
Linux aditya-desktop 3.14.15-031415-generic #201407311853 SMP Thu Jul 31 23:13:16 UTC 2014 i686 athlon i686 GNU/Linux

===============================================================================

$ dpkg -l | grep "linux\-[a-z]*\-"
ii linux-headers-3.13.0-32 3.13.0-32.57 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-32-generic 3.13.0-32.57 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.14.15-031415 3.14.15-031415.201407311853 all Header files related to Linux kernel version 3.14.15
ii linux-headers-3.14.15-031415-generic 3.14.15-031415.201407311853 i386 Linux kernel headers for version 3.14.15 on 32 bit x86 SMP
ii linux-headers-generic 3.13.0.32.38 i386 Generic Linux kernel headers
rc linux-image-3.13.0-30-generic 3.13.0-30.55 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-32-generic 3.13.0-32.57 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.14.15-031415-generic 3.14.15-031415.201407311853 i386 Linux kernel image for version 3.14.15 on 32 bit x86 SMP
rc linux-image-extra-3.13.0-30-generic 3.13.0-30.55 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-32-generic 3.13.0-32.57 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-generic 3.13.0.32.38 i386 Generic Linux kernel image
ii linux-libc-dev:i386 3.13.0-32.57 i386 Linux Kernel Headers for development
ii linux-sound-base 1.0.25+dfsg-0ubuntu4 all base package for ALSA and OSS sound systems

===============================================================================

Let me know if I should install it..

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: [Bug 1221995] 0a12:0001 Bluetooth Dongle (Cambridge Silicon Radio, Ltd) doesn't work with 3.11 or 3.13 kernels

You are using 3.14 and I have created a patched 3.13 version. You have to install linux-image-3.13.0-33 (and apt-get will get it from the PPA after an apt-get update). Make sure you boot into this kernel (3.13.0-33.58ff00069767v20140730b1), choosing this option in the boot loader.

-Rafael

On Aug 03, 2014, at 03:53 PM, Aditya <email address hidden> wrote:

> @Rafael
>
> I have added your ppa but when I run `sudo apt update && sudo apt
> upgrade` it only offers me to upgrade `linux-libc-dev` package and
> nothing else. Is that good? I suppose it should offer me to update 4-5
> linux related packages from your repository and have I haven't installed
> the update.
>
> Right now I am running the mainline kernel version 3.14.15.
>

Revision history for this message
Aditya (code-aditya) wrote :

@Rafael,

I have uninstalled the mainline kernel v3.14.15 and booted into v3.13.0-32, but still it only offers me to upgrade `linux-libc-dev` and nothing else.

$ uname -a
Linux aditya-desktop 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 athlon i686 GNU/Linux

$ dpkg -l | grep "linux\-[a-z]*\-" | awk '{print $2}'
linux-headers-3.13.0-32
linux-headers-3.13.0-32-generic
linux-headers-generic
linux-image-3.13.0-30-generic
linux-image-3.13.0-32-generic
linux-image-extra-3.13.0-30-generic
linux-image-extra-3.13.0-32-generic
linux-image-generic
linux-libc-dev:i386
linux-sound-base

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Since this is a test-only kernel you can install it directly:

# apt-get install linux-image-3.13.0-33

and it will get the kernel from the appropriate PPA:

inaddy@woodypecker:~$ apt-get install linux-image-3.13.0-33-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-33-generic
The following NEW packages will be installed:
  linux-image-3.13.0-33-generic
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 15.1 MB of archives.
After this operation, 42.0 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/inaddy/sf00069767/ubuntu/ trusty/main linux-image-3.13.0-33-generic amd64 3.13.0-33.58hf00069767v20140730b1 [15.1 MB]
...

Revision history for this message
Aditya (code-aditya) wrote :

@Rafael,

I manually installed the `linux-image-3.13.0-33-generic` package, but it doesn't seem to solve the problem. Booting to this kernel says "No bluetooth adapters found" (as against "Bluetooth is diabled" in v3.13.0-32) although I have the adapter connected.

Moreover, the kernel creates additional problems. It doesn't recognize my mouse and the display is stretched on the monitor with lower resolution.

In short, the package doesn't work. Let me know if you need any assistance.

Revision history for this message
Margarita Manterola (marga-9) wrote :

You need to install the image-extra package.

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Marga,

Could you confirm if this fixes the issue for me ? So I can propose this SRU to our kernel team ?

Thank you!

Revision history for this message
exzemat (exzemat) wrote :

I tested lastest mainline linux-headers-3.17.0-031700rc1-generic_3.17.0-031700rc1.201408161335_amd64.deb.
my Cambridge Silicon Radio bluetooth dongle zork on this kernel.
I make a rapport to complet.

Revision history for this message
exzemat (exzemat) wrote :

lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2548:1002
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

hciconfig
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:1B:10:00:2A:EC ACL MTU: 1017:8 SCO MTU: 64:0
 UP RUNNING PSCAN
 RX bytes:512 acl:0 sco:0 events:23 errors:0
 TX bytes:336 acl:0 sco:0 commands:23 errors:0

hcitool scan
Scanning ...
 04:FE:31:47:71:15 GT-B2710()

uname -r
3.17.0-031700rc1-generic

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

I'm holding until I can get a feedback on the hot fixed kernel I have provided into PPA. Marga said to Aditya to install extra kernel package and we haven't heart if it worked or not. After confirmation... if positive I'll ask kernel team to SRU the fix, if negative I'll dig into upstream code to cherry-pick the fix.

Thank you.

-Rafael

Revision history for this message
Kedar Patil (patilkedar) wrote :

Hi Rafael,

The kernel from your ppa is not working for me. I installed:

$ sudo add-apt-repository ppa:inaddy/sf00069767
$ sudo apt-get install linux-image-3.13.0-33-generic
$ sudo apt-get install linux-image-extra-3.13.0-33-generic
# rebooted into linux-image-3.13.0-33-generic
$ uname -a
Linux soni 3.13.0-33-generic #58hf00069767v20140730b1-Ubuntu SMP Wed Jul 30 19:35:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsusb
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ hciconfig
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:1B:10:00:2A:EC ACL MTU: 1017:8 SCO MTU: 64:0
 DOWN
 RX bytes:494 acl:0 sco:0 events:20 errors:0
 TX bytes:75 acl:0 sco:0 commands:20 errors:0

$ hcitool scan
Device is not available: No such device

Thanks,
Kedar

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Perfect. I'll dig into upstream changes to provide another built kernel based on -stable version.

Let you all know soon.

Tks

-Rafael

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Kedar: Could you test the following kernel:

Ubuntu-lts-3.16.0-12.17

(lts-backport-utopic for Trusty) and see if fixes the issue ?

Easier for me to cherry-pick something that was already fixed for Utopic.

Thank you!

-Rafael

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

@inaddy, which kernel are you suggesting to test from where? i can't find it in the ppa or anywhere in the repos, but i have the hardware and the same problem on 3.13.0-43-generic in trusty.

Revision history for this message
penalvch (penalvch) wrote :

Walter Lapchynski, he's referring to:
apt-cache policy linux-generic-lts-utopic
linux-generic-lts-utopic:
  Installed: 3.16.0.28.21
  Candidate: 3.16.0.28.21
  Version table:
     3.16.0.29.22 0
        400 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
 *** 3.16.0.28.21 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

I didn't have a chance to test that last night but I tried the same hardware on a Kubuntu Trusty with 3.13.0-40-generic and had no problem. Worked right out of the box. Are we *sure* this is a kernel issue?

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

No luck on linux-generic-lts-utopic on Lubuntu Trusty. Weird.

penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-3.11 needs-upstream-testing
removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.11-saucy
Revision history for this message
Kedar Patil (patilkedar) wrote :

@Rafael,

The linux-generic-lts-utopic kernel does not work for me too.

$ sudo apt-get install linux-generic-lts-utopic
<reboot>

$ uname -a
Linux soni 3.16.0-28-generic #38-Ubuntu SMP Sat Dec 13 16:13:28 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

$ apt-cache policy linux-generic-lts-utopic
linux-generic-lts-utopic:
  Installed: 3.16.0.28.21
  Candidate: 3.16.0.28.21
  Version table:
 *** 3.16.0.28.21 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status

$ lsusb | grep Bluetooth
Bus 001 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

$ hciconfig
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:1B:10:00:2A:EC ACL MTU: 1017:8 SCO MTU: 64:0
 DOWN
 RX bytes:494 acl:0 sco:0 events:20 errors:0
 TX bytes:75 acl:0 sco:0 commands:20 errors:0

$ hcitool scan
Device is not available: No such device

Revision history for this message
Kedar Patil (patilkedar) wrote :

After upgrading the kernel using software updater today I found that "hcitools scan" has stopped saying "no such device". However the scan does not find any bluetooth devices. I tried with a phone and a tablet.

$ uname -a
Linux soni 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64

$ sudo dmesg -c > /dev/null

# plug in the BT dongle at this point

$ lsusb | grep "luetooth"
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth

$ hciconfig
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:1B:10:00:2A:EC ACL MTU: 1017:8 SCO MTU: 64:0
 UP RUNNING PSCAN
 RX bytes:512 acl:0 sco:0 events:23 errors:0
 TX bytes:336 acl:0 sco:0 commands:23 errors:0

$ hcitool scan
Scanning ...

$ echo $? # Nothing happened so see if there is error code...
0

$ dmesg
[ 899.894436] usb 2-1.7: new full-speed USB device number 4 using ehci-pci
[ 900.056153] usb 2-1.7: New USB device found, idVendor=0a12, idProduct=0001
[ 900.056158] usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 900.056160] usb 2-1.7: Product: Bluetooth V2.0 Dongle
[ 900.056163] usb 2-1.7: Manufacturer: Bluetooth v2.0

-Kedar

Revision history for this message
Watcharapol Tadtiang (aborigines) wrote :

this bug cause kernel module btusb not autoload.

$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

$ uname -r
3.16.0-31-generic

$ lsusb | grep Bluetooth
Bus 007 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

$ hciconfig

$ hcitool scan
Device is not available: No such device

$ lsmod |grep btusb

$ sudo modprobe btusb

$ lsmod |grep btusb
btusb 32497 0
bluetooth 446409 22 bnep,btusb,rfcomm

$ hcitool dev
Devices:
 hci0 00:1A:7D:DA:71:10

good luck .

Revision history for this message
Bleish (manubia) wrote :

I have btusb module loaded, but bug goes on.

bleish@edesktop ~ $ uname -r
3.11.0-12-generic

bleish@edesktop ~ $ lsusb | grep Bluet
Bus 003 Device 010: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

bleish@edesktop ~ $ lsmod | grep btusb
btusb 28267 0
bluetooth 371874 12 bnep,btusb,rfcomm

bleish@edesktop ~ $ hcitool dev
Devices:

bleish@edesktop ~ $ hcitool scan
Device is not available: No such device
bleish@edesktop ~ $

Changed in linux (Ubuntu):
assignee: Rafael David Tinoco (inaddy) → nobody
Revision history for this message
Julian Lam (julian-lam) wrote :

This bug affects me, and I can attempt patches/fixes if any are still outstanding?

Revision history for this message
Julian Lam (julian-lam) wrote :

Confirming that updating to a 3.16 kernel does not resolve the issue:

$ uname -a
Linux arya 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Julian,

If you are willing to help, could you check 3.19 ?

To have all latest kernels (3.13, 3.16 and 3.19) you can use the following PPA (for testing purposes only):

https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa

Thank you

Revision history for this message
Thomas Becker (peterlwl) wrote :

I can confirm this. I have:
3.19.0-15-generic kernel

and this device is down most of the time. But it was at one time up ... dont know why :(

Revision history for this message
Norbert (asterix52) wrote :

I have now this problem with kernel 4.0 and 4.1 (wily).

On my system it works fine with kernel 3.19

Revision history for this message
Norbert (asterix52) wrote :

For kernel 4.1 is there a bugreport:

https://bugzilla.kernel.org/show_bug.cgi?id=103451

Is some able to build new kernel modules with that patch?

Revision history for this message
Peter Rosenberg (peter-rosenberg-dk) wrote :

I too observe this bug, not sure when it came - I use my BT dongle (LogiLink) infrequently. But I have a gut feeling it came after I went from Linux Mint 16, to Linux Mint 17 (both Mate distribution).
My uname -a:
Linux xxxxxxx-netbook-X110 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 i686 i686 i686 GNU/Linux

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
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.