Bluetoothが「オン」にもオフになっています。

Bluetoothが「オン」にもオフになっています。

Fedora 30を実行するThinkpad X1 Carbonの第7世代を使用しています。私の問題は、Bluetoothを操作できないことです。私はこの問題を解決するためにいくつかの方法を試しましたが、役に立ちませんでした。

  • 設定GUI経由

設定/ブルートゥースに移動すると、Bluetoothの電源を入れることができます(右上にあるトグルスイッチ)。ところで文字は変わらず、Bluetoothがオフになっていると浮かびます。

ここに画像の説明を入力してください。

  • iwlwifi.conf

もちろん、BIOSでBluetoothが有効になっていることも確認してみました。さらに、/etc/modprobe.d/iwlwifi.conf次のように生成します。

options iwlwifi bt_coex_active=0
  • TLP

最後にこれを次のように設定しました/etc/default/tlp(関連抜粋のみ)。

[…]

# Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown      
# on system startup: 0=disable, 1=enable.                                        
# Note: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below       
#   are ignored when this is enabled.                                            
# Default: 0                                                                     
RESTORE_DEVICE_STATE_ON_STARTUP=0                                                

# Radio devices to disable on startup: bluetooth, wifi, wwan.                    
# Separate multiple devices with spaces.                                         
# Default: <none>                                                                
#DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"                                       

# Radio devices to enable on startup: bluetooth, wifi, wwan.                     
# Separate multiple devices with spaces.                                         
# Default: <none>                                                                
DEVICES_TO_ENABLE_ON_STARTUP="wifi bluetooth"                                    

# Radio devices to disable on shutdown: bluetooth, wifi, wwan.                   
# (workaround for devices that are blocking shutdown).                           
# Default: <none>                                                                
DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"                             

# Radio devices to enable on shutdown: bluetooth, wifi, wwan.                    
# (to prevent other operating systems from missing radios).                      
# Default: <none>                                                                
#DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"                                            

# Radio devices to enable on AC: bluetooth, wifi, wwan.                          
# Default: <none>                                                                
#DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"                                   

# Radio devices to disable on battery: bluetooth, wifi, wwan.                    
# Default: <none>                                                                
#DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"                                 

# Radio devices to disable on battery when not in use (not connected):           
#   bluetooth, wifi, wwan.                                                       
# Default: <none>                                                                
#DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"

[…]

# ------------------------------------------------------------------------------ 
# tlp-rdw - Parameters for the radio device wizard                               
# Possible devices: bluetooth, wifi, wwan.                                       

# Notes:                                                                         
# - Parameters are disabled by default, remove the leading # to enable them      
# - Separate multiple radio devices with spaces                                  

# Default: <none> (for all parameters below)                                     

# Radio devices to disable on connect.                                           
DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"                                    
#DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"                                       
#DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"                                       

# Radio devices to enable on disconnect.                                         
DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi "                                      
#DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""                                         
#DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""                                         

# Radio devices to enable/disable when docked.                                   
#DEVICES_TO_ENABLE_ON_DOCK=""                                                    
#DEVICES_TO_DISABLE_ON_DOCK=""                                                   

# Radio devices to enable/disable when undocked.                                 
#DEVICES_TO_ENABLE_ON_UNDOCK="wifi"                                              
#DEVICES_TO_DISABLE_ON_UNDOCK=""
  • 人間とコンピュータの相互作用の構成

また、Bluetoothの電源最適化を無効にしようとしましたが、切り替えたいときに実行しようとpowertopしました。>> /usr/sbin/hciconfig hci0 up &> /dev/null &

>> Good          Bluetooth device interface status

フェドラ実行時(?)がなく、bin手動で実行sbinしますsudo /usr/bin/hciconfig hci0 up &> /dev/null

  • CLI経由でBluetoothをオンにする
$ sudo hciconfig up                                                                                                                                        
hci0:   Type: Primary  Bus: USB
    BD Address: DC:71:96:99:3F:A8  ACL MTU: 1021:4  SCO MTU: 96:6
    DOWN 
    RX bytes:16660 acl:0 sco:0 events:2700 errors:0
    TX bytes:666973 acl:0 sco:0 commands:2698 errors:0
  • rfkill状態確認

ここではそれが問題ではないようです。

$ rfkill                                                                                                                                                    
ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 bluetooth hci0                unblocked unblocked
 2 wlan      phy0                unblocked unblocked
  • 調査を通過dmesg を使用して手動イベントを追加しました# comments。コンピュータの電源を入れて左上のメニューに移動すると、Bluetoothを「オフ」にすることができます...ステータスは「オフ」です!

ここに画像の説明を入力してください。

$ sudo dmesg | grep -E 'Bluetooth|hci0|intel/ibt|iwl|usb 1-10'                                                                                             
[    3.038389] usb 1-10: new full-speed USB device number 5 using xhci_hcd
[    3.166272] usb 1-10: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02
[    3.166273] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.560006] Bluetooth: Core ver 2.22
[   12.560023] Bluetooth: HCI device and connection manager initialized
[   12.560025] Bluetooth: HCI socket layer initialized
[   12.560027] Bluetooth: L2CAP socket layer initialized
[   12.560031] Bluetooth: SCO socket layer initialized
[   12.591904] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   12.614868] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015
[   12.615864] Bluetooth: hci0: Device revision is 2
[   12.615865] Bluetooth: hci0: Secure boot is enabled
[   12.615865] Bluetooth: hci0: OTP lock is enabled
[   12.615865] Bluetooth: hci0: API lock is enabled
[   12.615866] Bluetooth: hci0: Debug lock is disabled
[   12.615866] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   12.617782] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[   12.624703] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[   12.624704] iwlwifi 0000:00:14.3: Found debug configuration: 0
[   12.624901] iwlwifi 0000:00:14.3: loaded firmware version 46.93e59cf4.0 op_mode iwlmvm
[   12.750348] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x318
[   12.756808] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   12.756956] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[   12.803914] iwlwifi 0000:00:14.3: base HW address: dc:71:96:99:3f:a4
[   12.888770] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   12.892885] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   14.288430] Bluetooth: hci0: Waiting for firmware download to complete
[   14.288852] Bluetooth: hci0: Firmware loaded in 1635914 usecs
[   14.288894] Bluetooth: hci0: Waiting for device to boot
[   14.301955] Bluetooth: hci0: Device booted in 12769 usecs
[   14.302307] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-17-16-1.ddc
[   14.305022] Bluetooth: hci0: Applying Intel DDC parameters completed
[   30.630541] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   30.745533] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   30.810557] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[   30.843148] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   30.957796] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   31.022390] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[   34.449002] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   34.566179] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   34.633419] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
# In the top-left menu, I "Turn off" the Bluetooth… that is already off (see picture)
[  136.308722] usb 1-10: USB disconnect, device number 5
# In "Settings/Bluetooth", I click on the toggle button to switch it on.
[  157.642145] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[  157.771145] usb 1-10: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02
[  157.771151] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  157.775067] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015
[  157.776096] Bluetooth: hci0: Device revision is 2
[  157.776098] Bluetooth: hci0: Secure boot is enabled
[  157.776100] Bluetooth: hci0: OTP lock is enabled
[  157.776103] Bluetooth: hci0: API lock is enabled
[  157.776104] Bluetooth: hci0: Debug lock is disabled
[  157.776107] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[  157.776872] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[  159.727328] Bluetooth: hci0: Waiting for firmware download to complete
[  159.727931] Bluetooth: hci0: Firmware loaded in 1907957 usecs
[  159.728175] Bluetooth: hci0: Waiting for device to boot
[  159.740907] Bluetooth: hci0: Device booted in 12575 usecs
[  159.741009] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-17-16-1.ddc
[  159.743971] Bluetooth: hci0: Applying Intel DDC parameters completed

これらすべてはまだ効果がありません。

Bluetoothを実際に動作させるには?

ベストアンサー1

まあ、ちょっと変な感じもするけど…Bluetoothデーモンはまったく動作しません

だから私はこの問題を次のように解決しました。

systemctl enable bluetooth

望むより!

おすすめ記事