Bluetooth funktioniert nicht (Atheros AR5BBU22)

Bluetooth funktioniert nicht (Atheros AR5BBU22)

Mein Laptop kann über Ubuntu keine Bluetooth-Geräte finden. Unter Windows 7 funktioniert es einwandfrei. Ich verwende Ubuntu 12.04 und 11.10

Ausgabe von lsusb:

Bus 001 Gerät 001: ID 1d6b:0002 Linux Foundation 2.0 Root-Hub
Bus 002 Gerät 001: ID 1d6b:0002 Linux Foundation 2.0 Root-Hub
Bus 003 Gerät 001: ID 1d6b:0002 Linux Foundation 2.0 Root-Hub
Bus 004 Gerät 001: ID 1d6b:0003 Linux Foundation 3.0 Root-Hub
Bus 001 Gerät 002: ID 8087:0024 Intel Corp. Integrierter Rate Matching Hub
Bus 002 Gerät 002: ID 8087:0024 Intel Corp. Integrierter Rate Matching Hub
Bus 001 Gerät 003: ID 1bcf:288a Sunplus Innovation Technology Inc.
Bus 001 Gerät 004: ID 0489:e03c Foxconn / Hon Hai
Bus 002 Gerät 003: ID 046d:c52b Logitech, Inc. Unifying-Empfänger

Ausgabe von hciconfig:

hci0: Typ: BR/EDR Bus: USB
   BD-Adresse: 94:39:E5:4E:FA:3A ACL MTU: 1022:8 SCO MTU: 183:5
   PSCAN ISCAN FUNKTIONIERT
   RX-Bytes: 1559 ACL: 0 Sco: 0 Ereignisse: 104 Fehler: 0
   TX Bytes:926 ACL:0 Sco:0 Befehle:81 Fehler:0

Ausgabe von lsmod:

Modulgröße Verwendet von
bbschalter 13355 0
rfcomm 47604 12
bnep 18281 2
parport_pc 32866 0
ppdev 17113 0
binfmt_misc 17540 1
snd_hda_codec_hdmi 32474 1
snd_hda_codec_conexant 62128 1
snd_hda_intel 33773 3
snd_hda_codec 127706 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
joydev 17693 0
snd_hwdep 13668 1 snd_hda_codec
snd_pcm 97188 3 snd_hda_codec_hdmi, snd_hda_intel, snd_hda_codec
snd_seq_midi 13324 0
uvcvideo 72627 0
Videodev 98259 1 UVC-Video
hid_logitech_dj 18593 0
snd_rawmidi 30748 1 snd_seq_midi
usbhid 47199 1 hid_logitech_dj
versteckt 99559 2 versteckt_logitech_dj,usbhid
arc4 12529 2
v4l2_compat_ioctl32 17128 1 Videogerät
snd_seq_midi_event 14899 1 snd_seq_midi
ath9k 132390 0
mac80211 506816 1 ath9k
ath9k_common 14053 1 ath9k
snd_seq 61896 2 snd_seq_midi, snd_seq_midi_Ereignis
ath9k_hw 411112 2 ath9k,ath9k_common
snd_timer 29990 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi, snd_rawmidi, snd_seq
i915 468651 3
psmaus 87603 0
snd 78855 16 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ath 24067 3 ath9k,ath9k_common,ath9k_hw
cfg80211 205544 3 ath9k, mac80211, ath
drm_kms_helper 46978 1 i915
drm 242038 4 i915,drm_kms_helper
btsb 18288 2
mac_hid 13253 0
Bluetooth 180104 23 RFCOM, BNEP, BTUSB
Soundcore 15091 1 Sekunde
acer_wmi 28418 0
mxm_wmi 12979 0
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
i2c_algo_bit 13423 1 i915
sparse_keymap 13890 1 acer_wmi
serio_raw 13211 0
rts_pstor 445196 0
mei 41616 0
wmi 19256 2 acer_wmi,mxm_wmi
Video 19596 1 i915
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
atl1c 41717 0

Ausgabe von uname -a:

Linux-Laptop 3.2.0-23-generisch #36-Ubuntu SMP Dienstag, 10. April 2012, 20:39:51 UTC x86_64 x86_64 x86_64 GNU/Linux

Ausgabe von dmesg | grep Bluetooth:

[ 7.642818] Bluetooth: Core Version 2.16
[ 7.642839] Bluetooth: HCI-Gerät und Verbindungsmanager initialisiert
[ 7.642841] Bluetooth: HCI-Socket-Schicht initialisiert
[ 7.642842] Bluetooth: L2CAP-Socket-Schicht initialisiert
[ 7.642847] Bluetooth: SCO-Socket-Schicht initialisiert
[ 7.700557] Bluetooth: Generischer Bluetooth-USB-Treiber Version 0.6
[ 15.498797] Bluetooth: BNEP (Ethernet-Emulation) Version 1.3
[ 15.498800] Bluetooth: BNEP-Filter: Protokoll-Multicast
[ 15.524883] Bluetooth: RFCOMM TTY-Schicht initialisiert
[ 15.524888] Bluetooth: RFCOMM-Socket-Schicht initialisiert
[ 15.524890] Bluetooth: RFCOMM ver 1.11

Antwort1

Unterstützung fürAtheros AR5BBU22ist seit dem im Kernel enthalten, 3.6.15aber zusätzlich muss die proprietäre Firmware auf dem System installiert werden, damit Bluetooth funktioniert. Sie ist im Paket verfügbar linux-firmware(unter Ubuntu bzw. firmware-atherosunter Debian, nicht frei).

Antwort2

Dieses benötigt einen Patch, um die Firmware richtig zu laden:

--- a/drivers/bluetooth/ath3k.c 2012-04-27 19:17:35.000000000 +0200  
+++ b/drivers/bluetooth/ath3k.c 2012-04-30 01:29:47.081838667 +0200  
@@ -79,6 +79,9 @@ static struct usb_device_id ath3k_table[  
    /* Atheros AR5BBU12 with sflash firmware */  
    { USB_DEVICE(0x0489, 0xE02C) },  

+   /* Atheros AR5BBU22 with sflash firmware */  
+   { USB_DEVICE(0x0489, 0xE03C) },  
+
    { } /* Terminating entry */  
 };  

@@ -95,6 +98,9 @@ static struct usb_device_id ath3k_blist_  
    { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },  
    { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },  

+   /* Atheros AR5BBU22 with sflash firmware */  
+   { USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },  
+
    { } /* Terminating entry */  
 };

--- a/drivers/bluetooth/btusb.c 2012-04-27 19:17:35.000000000 +0200  
+++ b/drivers/bluetooth/btusb.c 2012-04-30 01:31:49.302182281 +0200  
@@ -135,6 +135,9 @@ static struct usb_device_id blacklist_ta  
    /* Atheros AR5BBU12 with sflash firmware */  
    { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },  

+   /* Atheros AR5BBU22 with sflash firmware */  
+   { USB_DEVICE(0x0489, 0xe03c), .driver_info = BTUSB_ATH3012 },  
+
    /* Broadcom BCM2035 */  
    { USB_DEVICE(0x0a5c, 0x2035), .driver_info = BTUSB_WRONG_SCO_MTU },  
    { USB_DEVICE(0x0a5c, 0x200a), .driver_info = BTUSB_WRONG_SCO_MTU },  

verwandte Informationen