Bluetooth が動作しない (Atheros AR5BBU22)

Bluetooth が動作しない (Atheros AR5BBU22)

私のラップトップは、Ubuntu経由でBluetoothデバイスを見つけることができません。Windows 7では正常に動作しています。私はUbuntu 12.04と11.10を使用しています。

lsusbの出力:

バス 001 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルート ハブ
バス 002 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルート ハブ
バス 003 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルート ハブ
バス 004 デバイス 001: ID 1d6b:0003 Linux Foundation 3.0 ルート ハブ
バス 001 デバイス 002: ID 8087:0024 Intel Corp. 統合レート マッチング ハブ
バス 002 デバイス 002: ID 8087:0024 Intel Corp. 統合レート マッチング ハブ
バス 001 デバイス 003: ID 1bcf:288a Sunplus Innovation Technology Inc.
バス 001 デバイス 004: ID 0489:e03c Foxconn / Hon Hai
バス 002 デバイス 003: ID 046d:c52b Logitech, Inc. Unifying レシーバー

hciconfig の出力:

hci0: タイプ: BR/EDR バス: USB
   BD アドレス: 94:39:E5:4E:FA:3A ACL MTU: 1022:8 SCO MTU: 183:5
   PSCAN 実行中 ISCAN
   RX バイト:1559 ACL:0 SCO:0 イベント:104 エラー:0
   TX バイト:926 ACL:0 SCO:0 コマンド:81 エラー:0

lsmod の出力:

モジュールサイズの使用
bbswitch 13355 0
rf通信 47604 12
18281 2 ネップ
パーポート_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
ジョイデブ 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
uvcビデオ 72627 0
ビデオデバイス 98259 1 uvcビデオ
hid_logitech_dj 18593 0
snd_rawmidi 30748 1 snd_seq_midi
usbhid 47199 1 hid_logitech_dj
hid 99559 2 hid_logitech_dj、usbhid
アーク4 12529 2
v4l2_compat_ioctl32 17128 1 ビデオデバイス
snd_seq_midi_イベント 14899 1 snd_seq_midi
132390 0 いいね
mac80211 506816 1 ath9k
ath9k_common 14053 1 ath9k
snd_seq 61896 2 snd_seq_midi、snd_seq_midi_イベント
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
psマウス 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
18288 2 ...
mac_hid 13253 0
ブルートゥース 180104 23 rfcomm、bnep、btusb
サウンドコア 15091 1 秒
エイサー_wmi 28418 0
12979 0 です
snd_page_alloc 18529 2 snd_hda_intel、snd_pcm
i2c_algo_bit 13423 1 i915
スパースキーマップ 13890 1 acer_wmi
セリオ_raw 13211 0
rts_pstor 445196 0
メイ 41616 0
wmi 19256 2 acer_wmi、mxm_wmi
ビデオ 19596 1 i915
17799 0 再生回数
パーポート 46562 3 パーポート_pc、ppdev、lp
atl1c 41717 0

uname -aの出力:

Linux ラップトップ 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

dmesg | grep Bluetooth の出力:

[ 7.642818] Bluetooth: コアバージョン2.16
[ 7.642839] Bluetooth: HCIデバイスと接続マネージャーが初期化されました
[ 7.642841] Bluetooth: HCIソケットレイヤーが初期化されました
[ 7.642842] Bluetooth: L2CAPソケット層が初期化されました
[ 7.642847] Bluetooth: SCO ソケット レイヤーが初期化されました
[ 7.700557] Bluetooth: 汎用 Bluetooth USB ドライバー バージョン 0.6
[ 15.498797] Bluetooth: BNEP (イーサネットエミュレーション) バージョン 1.3
[ 15.498800] Bluetooth: BNEP フィルター: プロトコル マルチキャスト
[ 15.524883] Bluetooth: RFCOMM TTY レイヤーが初期化されました
[ 15.524888] Bluetooth: RFCOMM ソケット層が初期化されました
[ 15.524890] Bluetooth: RFCOMM バージョン 1.11

答え1

へのサポートアセロス AR5BBU22カーネルに組み込まれています3.6.15が、Bluetooth を動作させるには、さらに独自のファームウェアをシステムにインストールする必要があります。これはパッケージで利用可能ですlinux-firmware(Ubuntu の場合、またはfirmware-atherosDebian の場合、非フリー)。

答え2

ファームウェアを適切にロードするには、パッチが必要です:

--- 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 },  

関連情報