10.04 on iMac 27" i7: "No Bluetooth adapters present".

Bug #575366 reported by jisaac
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Maverick by RussianNeuroMancer

Bug Description

Binary package hint: bluez

My bluetooth adapter is working perfectly on OSX (everything turned on) but Ubuntu can not detect it.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bluez 4.60-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue May 4 21:32:22 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
InterestingModules: rfcomm l2cap bluetooth
MachineType: Apple Inc. iMac11,1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=02a82120-063c-408a-9773-0d288ab0d6c8 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: bluez
dmi.bios.date: 10/30/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: IM111.88Z.0034.B00.0910301727
dmi.board.name: Mac-F2268DAE
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2268DAE
dmi.modalias: dmi:bvnAppleInc.:bvrIM111.88Z.0034.B00.0910301727:bd10/30/09:svnAppleInc.:pniMac11,1:pvr1.0:rvnAppleInc.:rnMac-F2268DAE:rvr:cvnAppleInc.:ct13:cvrMac-F2268DAE:
dmi.product.name: iMac11,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
hciconfig:

rfkill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
syslog:

Revision history for this message
jisaac (jisaac) wrote :
Revision history for this message
Manoj Iyer (manjo) wrote :

Can you please attach the output of the following command ?

$ sudo lsusb -vv

Revision history for this message
jisaac (jisaac) wrote :
Revision history for this message
Cyril Lacoux (clacoux-ifeelgood) wrote :

Same problem here with a Debian Sid / 2.6.34-1-amd64.

The adapter seems to be in HID mode[1] at boot time, ie wireless keyboard and mouse are working but in restricted mode (no multimedia keys, no fn key, etc..).

I tried to play with hid2hci tool with no luck:
 - changing the bluetooth adapter to hci mode has no effect.
 - changing the pseudo usb hub (0a5c:4500) to hci mode causes the bluetooth host (05ac:8215), keyboard (05ac:820a) and mouse (05ac:820b) to be disconnected but then launching `hcitool dev` reports no device.

Interesting part from lsusb:
Bus 001 Device 007: ID 05ac:820b Apple, Inc. Bluetooth HOST
Bus 001 Device 006: ID 05ac:820a Apple, Inc. Keyboard
Bus 001 Device 005: ID 05ac:8215 Apple, Inc. Mouse
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)

[1] : http://idebian.wordpress.com/2008/07/06/manage-hid-bluetooth-devices-in-linux/

Revision history for this message
Cyril Lacoux (clacoux-ifeelgood) wrote :

I think the problem is that bDeviceClass for 05ac:8215 is 255 (Vendor Specific) instead of 224 (Wireless).
Il solved this by adding the device to the generic bluetooth usb kernel driver.

Now it works but I had to remove keyboard and mouse from OS X before adding them in Debian => HID emulation do not work anymore at boot time...

Revision history for this message
Cyril Lacoux (clacoux-ifeelgood) wrote :
tags: added: patch
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

This patch is a part of 2.6.35 kernel?
This issue is reproducible in Maverick Beta LiveCD?

Revision history for this message
Cyril Lacoux (clacoux-ifeelgood) wrote :

The patch is a part of the following upstream versions:
 * 2.6.32.19, see http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.32.19
 * 2.6.34.4, see http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.34.4
 * 2.6.35.2, see http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35.2

And will be a part of the upcoming 2.6.36 release.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Still issue in Natty?

Revision history for this message
Cyril Lacoux (clacoux-ifeelgood) wrote :

As I said, I don't use Ubuntu, but it should be fixed since kernel version for Natty is 2.6.38.

Changed in bluez (Ubuntu):
status: New → Fix Released
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.