Bluetooth not finding any device

Bug #1506615 reported by David Baumann on 2015-10-15
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Pilot6
Precise
Undecided
Unassigned
Trusty
Undecided
Unassigned
Vivid
Undecided
Unassigned
Wily
Undecided
Unassigned

Bug Description

I can not connect to any of my bluetooth devices.
hcitool scan runs for some seconds, then shows no devices.

WORKAROUND:

sudo add-apt-repository ppa:hanipouspilot/bluetooth
sudo apt-get update
sudo apt-get install btusb-lp1506615-dkms

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-4.2.0-16-generic 4.2.0-16.19
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: david 2188 F.... pulseaudio
 /dev/snd/controlC0: david 2188 F.... pulseaudio
Date: Thu Oct 15 21:53:43 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-13 (488 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
MachineType: Dell Inc. Precision M4800
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=/dev/mapper/xubuntu--vg-root ro quiet nosplash
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-16-generic N/A
 linux-backports-modules-4.2.0-16-generic N/A
 linux-firmware 1.149
SourcePackage: linux
UpgradeStatus: Upgraded to wily on 2015-07-20 (87 days ago)
dmi.bios.date: 09/29/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd09/29/2015:svnDellInc.:pnPrecisionM4800:pvr00:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
dmi.product.name: Precision M4800
dmi.product.version: 00
dmi.sys.vendor: Dell Inc.

David Baumann (davidbaumann) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Pilot6 (hanipouspilot) wrote :

I built a test module for your kernel. Install it this way

wget https://launchpad.net/~hanipouspilot/+archive/ubuntu/bluetooth/+files/btusb-lp1506615-dkms_0.1_all.deb
sudo dpkg -i btusb-lp1506615-dkms_0.1_all.deb

If there are build errors, please post them.

Reboot after install. If the bluetooth does not work after reboot, please post output of

dmesg | grep -i blue

Pilot6 (hanipouspilot) wrote :

wget <url> is a one command.

Changed in linux (Ubuntu):
assignee: nobody → Pilot6 (hanipouspilot)
David Baumann (davidbaumann) wrote :

You're awesome.
Now the bluetooth-led is turned on, and I can find my speaker.
But it won't connect. I used bluetooth-wizard to add the device (put it in paring-mode before).

But it's not connecting.

Pilot6 (hanipouspilot) wrote :

First try to pair something else, like a phone. And also please post output of

dmesg | grep -i blue

Pilot6 (hanipouspilot) wrote :

And also try to power off the computer, then power on. Not just reboot.

Changed in linux (Ubuntu):
status: Confirmed → In Progress
Pilot6 (hanipouspilot) wrote :

And also please posy output of

usb-devices | awk '/0cf3/' RS=

This output is needed to send a patch upstream.

Jeremy (wa113y3s) wrote :

Your speaker might need the use of

sudo pactl load-module module-bluetooth-discover

then pair with the device. If you have Blueman installed, you may have to use that command every boot

David Baumann (davidbaumann) wrote :

Great! Just listening to music, thank you very much!
So is there anything I can help you, developing the patch?

usb-devices | awk '/0cf3/' RS=
T: Bus=04 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0cf3 ProdID=817b Rev=00.02
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
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

David Baumann (davidbaumann) wrote :

Should the bluetooth led really be blinking? I think it's blinking at 1hz.
Also there is some lag in music playback, running nothing but chromium, playing from local ssd.

Pilot6 (hanipouspilot) wrote :

I do not know about blinking, it depends on hardware.

Regarding the lags, etc it can be fixed by

sudo tee /etc/modprobe.d/ath9k.conf <<< "options ath9k btcoex_enable=1"

Pilot6 (hanipouspilot) wrote :

That will be applied after reboot.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Pilot6 (hanipouspilot) on 2015-10-23
description: updated
David Baumann (davidbaumann) wrote :

So still about the LED:
It's now always on. I even did a rfkill block, but it's always on. Also if I disable using Ubuntu's bluetooth settings...

Pilot6 (hanipouspilot) wrote :

This should be another report about the led. It is not related to the bluetooth driver.
It can be fixed in a platform module.

David Baumann (davidbaumann) wrote :

Hello Pilot,

how to create a bug report about it?

Thanks for your help!

Pilot6 (hanipouspilot) wrote :

The same way as you created this bug report

ubuntu-bug linux

You can post a link to this bug there too.

Pilot6 (hanipouspilot) wrote :

The fix is committed. It should appear in the next kernel build.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 4.3.0-5.16

---------------
linux (4.3.0-5.16) xenial; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1526986
  * [Config] Spell ignore.modules correctly
    Fixes FTBS

 -- Tim Gardner <email address hidden> Wed, 16 Dec 2015 15:52:52 -0700

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Luis Henriques (henrix) wrote :

This patch in in through upstream stable updates, thus I am tagging it as verified for all the series.

Changed in linux (Ubuntu Precise):
status: New → Fix Committed
Changed in linux (Ubuntu Trusty):
status: New → Fix Committed
Changed in linux (Ubuntu Vivid):
status: New → Fix Committed
Changed in linux (Ubuntu Wily):
status: New → Fix Committed
tags: added: verification-done-precise verification-done-trusty verification-done-vivid verification-done-wily
tags: added: verification-done-utopic
Launchpad Janitor (janitor) wrote :
Download full text (10.4 KiB)

This bug was fixed in the package linux - 3.2.0-98.138

---------------
linux (3.2.0-98.138) precise; urgency=low

  [ Luis Henriques ]

  * Release Tracking Bug
    - LP: #1532774

  [ Upstream Kernel Changes ]

  * Revert "xhci: don't finish a TD if we get a short transfer event mid
    TD"
    - LP: #1529077
  * PCI: Fix devfn for VPD access through function 0
    - LP: #1524292
  * PCI: Use function 0 VPD for identical functions, regular VPD for others
    - LP: #1524292
  * mac80211: fix driver RSSI event calculations
    - LP: #1524292
  * HID: core: Avoid uninitialized buffer access
    - LP: #1524292
  * wm831x_power: Use IRQF_ONESHOT to request threaded IRQs
    - LP: #1524292
  * mwifiex: fix mwifiex_rdeeprom_read()
    - LP: #1524292
  * mtd: mtdpart: fix add_mtd_partitions error path
    - LP: #1524292
  * devres: fix a for loop bounds check
    - LP: #1524292
  * packet: fix match_fanout_group()
    - LP: #1524292
  * Btrfs: added helper btrfs_next_item()
    - LP: #1524292
  * Btrfs: fix file corruption and data loss after cloning inline extents
    - LP: #1524292
  * iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints
    - LP: #1524292
  * ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode
    - LP: #1524292
  * Btrfs: don't use ram_bytes for uncompressed inline items
    - LP: #1524292
  * Btrfs: fix truncation of compressed and inlined extents
    - LP: #1524292
  * ext4, jbd2: ensure entering into panic after recording an error in
    superblock
    - LP: #1524292
  * Bluetooth: ath3k: Add new AR3012 0930:021c id
    - LP: #1502781, #1524292
  * Bluetooth: ath3k: Add support of AR3012 0cf3:817b device
    - LP: #1506615, #1524292
  * staging: rtl8712: Add device ID for Sitecom WLA2100
    - LP: #1524292
  * ACPI: Use correct IRQ when uninstalling ACPI interrupt handler
    - LP: #1524292
  * MIPS: atomic: Fix comment describing atomic64_add_unless's return
    value.
    - LP: #1524292
  * ALSA: hda - Disable 64bit address for Creative HDA controllers
    - LP: #1524292
  * megaraid_sas: Do not use PAGE_SIZE for max_sectors
    - LP: #1524292
  * can: Use correct type in sizeof() in nla_put()
    - LP: #1524292
  * mtd: blkdevs: fix potential deadlock + lockdep warnings
    - LP: #1524292
  * crypto: algif_hash - Only export and import on sockets with data
    - LP: #1524292
  * megaraid_sas : SMAP restriction--do not access user memory from IOCTL
    code
    - LP: #1524292
  * recordmcount: Fix endianness handling bug for nop_mcount
    - LP: #1524292
  * ipv6: fix tunnel error handling
    - LP: #1524292
  * ALSA: hda - Apply pin fixup for HP ProBook 6550b
    - LP: #1524292
  * firewire: ohci: fix JMicron JMB38x IT context discovery
    - LP: #1524292
  * scsi: restart list search after unlock in scsi_remove_target
    - LP: #1524292
  * x86/cpu: Call verify_cpu() after having entered long mode too
    - LP: #1524292
  * Btrfs: fix race leading to incorrect item deletion when dropping
    extents
    - LP: #1524292
  * Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow
    - LP: #1524292
  * perf: Fix inherited events vs. tracepoint filters
    - LP: #1524292
  * scsi_s...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
Andy Whitcroft (apw) wrote :

Fix released in 3.19.0-47.53

Changed in linux (Ubuntu Vivid):
status: Fix Committed → Fix Released
Andy Whitcroft (apw) wrote :

Fix released in 4.2.0-27.32

Changed in linux (Ubuntu Wily):
status: Fix Committed → Fix Released
Andy Whitcroft (apw) wrote :

Fix released in 3.13.0-77.121

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers