Debian не работает bluetooth

Не работает Bluetooth в Debian 10

Понимаю, что на тему неработающего Bluetooth в Linux расписано уже достаточно много, но ни один из опробованных мною способов не заработал (в некоторой степени из-за того, что в старых темах файлы с драйверами уже недоступны).

В общем, имеется ноутбук Acer TravelMate P257-M-539K с Debian 10 на борту. На этом же компьютере Windows 7 Bluetooth видит, в Linux dmesg выводит:

 ~$ sudo dmesg|grep -i blue [ 6.558428] Bluetooth: Core ver 2.22 [ 6.558443] Bluetooth: HCI device and connection manager initialized [ 6.558447] Bluetooth: HCI socket layer initialized [ 6.558449] Bluetooth: L2CAP socket layer initialized [ 6.558455] Bluetooth: SCO socket layer initialized [ 27.546865] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 27.546867] Bluetooth: BNEP filters: protocol multicast [ 27.546871] Bluetooth: BNEP socket layer initialized 

Практически все программы и доступные в репозитории драйвера и firmware, которые связаны с Bluetooth установлены, но все они его не видят. Драйверов на официальном сайте для Linux’а нет.

~$ uname -a Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux 

Подскажите, пожалуйста, как можно решить эту проблему?

А lspci её видит? Какой модуль используется для него? А вообще, многим карточкам, где блюпуп объединён с вайфаем надо прописывать правило, чтобы оба чипа работали одновременно. У меня, например, в /etc/modprobe.d есть файл iwlwifi.conf со следующим содержимым:

options iwlwifi bt_coex_active=0
~$ lspci 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b) 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) 00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01) 

У меня, например, в /etc/modprobe.d есть файл iwlwifi.conf

Я так понимаю, если файла нет, то его нужно создать?

Читайте также:  Вай фай мешает блютуз наушники

Ну вот, последним пунктом у тебя Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter. Это и есть гибридный чип. Для начала установить пакет фирмвари для Atheros (не помню как он дебьяне называется). Потом, при помощи команды «modinfo ath9k» увидишь, что есть опция «btcoex_enable». Поищи инфу, её тебе надо включить, или выключить. И создай файл в /etc/modprobe.d, например, ath9k.conf и запиши туда:

options ath9k btcoex_enable=1

И ещё, совскм забыл, а что говорит rfkill list про твои карточки? Может блюпуп просто залочен после винды?

Deleted ( 03.03.18 18:27:15 MSK )
Последнее исправление: Chelobaka 03.03.18 18:30:11 MSK (всего исправлений: 1)

Firmware для Atheros уже установлен:

~$ aptitude search Atheros i firmware-atheros - Binary firmware for Atheros wireless cards 

Вот что выдал modinfo ath9k:

~$ sudo modinfo ath9k . alias: pci:v0000168Cd00000029sv0000168Csd00002096bc*sc*i* alias: pci:v0000168Cd00000027sv*sd*bc*sc*i* alias: pci:v0000168Cd00000024sv*sd*bc*sc*i* alias: pci:v0000168Cd00000023sv*sd*bc*sc*i* depends: mac80211,ath9k_hw,ath9k_common,cfg80211,ath intree: Y name: ath9k vermagic: 4.14.0-3-amd64 SMP mod_unload modversions parm: debug:Debugging mask (uint) parm: nohwcrypt:Disable hardware encryption (int) parm: blink:Enable LED blink on activity (int) parm: led_active_high:Invert LED polarity (int) parm: btcoex_enable:Enable wifi-BT coexistence (int) parm: bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int) parm: ps_enable:Enable WLAN PowerSave (int) 

Исходя из того, что написано в 4-й строке снизу, одновременная работа разрешена. Тем не менее я создал файл ath9k.conf там где нужно и поставил опцию btcoex_enable=0. После перезапуска вывод команды modinfo ath9k не изменился и даже btcoex_enable=1 и дальнейший перезапуск ничего, к сожалению, не дал — никто не видит Bluetooth.

И ещё, совскм забыл, а что говорит rfkill list про твои карточки? Может блюпуп просто залочен после винды?

Уже проверял, нигде блокировок не стоит:

~$ sudo rfkill list 0: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 

Точнее, в 3-й строчке снизу.

Bluetooth обычно по usb подключают. Смотреть нужно в lsusb.

lsusb | grep -i blue Bus 002 Device 012: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) 

Bluetooth обычно по usb подключают. Смотреть нужно в lsusb.

Это было давно. Теперь я уже и забыл, когда последний раз видел такое.

Извини, идей нет. А другой дистрибутив пробовал? Просто с лайфа загрузиться, проверить, работает или нет?

А ты не грепай, а так посмотри.

Bus 001 Device 005: ID 0b05:1825 ASUSTek Computer, Inc. 

Десктопная плата второй половины 2017-го, Qualcomm Atheros QCA6174 🙂

Загрузить с live archlinux и посмотри определяется ли он там.

Нет, не пробовал, завтра думаю сделать это.

Всё-равно спасибо за помощь 🙂

~$ lsusb Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 002 Device 004: ID 0bda:57cc Realtek Semiconductor Corp. Bus 002 Device 002: ID 09da:f613 A4Tech Co., Ltd. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

Погоди, а у тебя используется модуль ath9k? Посмотри в «lspci -k», какие модули загружены?

Погоди, а у тебя используется модуль ath9k? Посмотри в «lspci -k», какие модули загружены?

~$ lspci -k 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) Subsystem: Acer Incorporated [ALI] Haswell-ULT DRAM Controller Kernel driver in use: hsw_uncore 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) Subsystem: Acer Incorporated [ALI] Haswell-ULT Integrated Graphics Controller Kernel driver in use: i915 Kernel modules: i915 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b) Subsystem: Acer Incorporated [ALI] Haswell-ULT HD Audio Controller Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series USB xHCI HC Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series HECI Kernel driver in use: mei_me Kernel modules: mei_me 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series HD Audio Controller Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series USB EHCI Kernel driver in use: ehci-pci Kernel modules: ehci_pci 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series LPC Controller Kernel driver in use: lpc_ich Kernel modules: lpc_ich 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series SATA Controller 1 [AHCI mode] Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04) Subsystem: Acer Incorporated [ALI] 8 Series SMBus Controller Kernel driver in use: i801_smbus Kernel modules: i2c_i801 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Kernel driver in use: r8169 Kernel modules: r8169 03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01) Subsystem: Foxconn International, Inc. QCA9565 / AR9565 Wireless Network Adapter Kernel driver in use: ath9k Kernel modules: ath9k 

Пробовал только что с Mint 18.2 загрузиться — не видит. С Arch попробую позже, нужно перезаписывать флешку.

Читайте также:  Tp link 500 bluetooth драйвер

К счастью, свою проблему с Bluetooth мне удалось решить.

Создал файл /etc/modprobe.d/btconfig.conf:

blacklist acer_wmi options ath9k btcoex_enable=1 bt_ant_diversity=1 
options ath9k btcoex_enable=1 bt_ant_diversity=1 ps_enable=0 
options ath9k btcoex_enable=1 

Источник

Debian User Forums

Administrator

arochester Administrator
Posts: 2324 Joined: 2010-12-07 19:55 Has thanked: 13 times Been thanked: 38 times

Re: Debian version 11.5 does not work Bluetooth

#2 Post by arochester » 2022-10-19 16:54

Re: Debian version 11.5 does not work Bluetooth

#3 Post by mteixeira » 2022-10-22 17:20

Re: Debian version 11.5 does not work Bluetooth

#4 Post by Joe2Shoe » 2022-10-22 18:37

Try this:
rfkill unblock bluetooth
or
rfkill unblock all
or
rfkill unblock 0

Re: Debian version 11.5 does not work Bluetooth

#5 Post by Joe2Shoe » 2022-10-22 18:38

If the above doesn’t work, try this:
1. Open the Terminal & type: (one after another, pressing Enter after each)
sudo apt-get install bluetooth bluez bluez-tools rfkill -y
sudo rfkill list
sudo rfkill unblock bluetooth
sudo service bluetooth start
sudo apt-get install blueman -y && blueman-manager

Re: Debian version 11.5 does not work Bluetooth

#6 Post by mteixeira » 2022-10-24 15:58

linux@linux-Vostro:~$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

Re: Debian version 11.5 does not work Bluetooth

#7 Post by Joe2Shoe » 2022-10-24 20:27

sudo apt-get install blueman -y && blueman-manager
Reboot.

If that doesn’t work, post output of the 2 following commands:
dmesg | egrep -i ‘blue|firm’

systemctl status bluetooth

Re: Debian version 11.5 does not work Bluetooth

#8 Post by mteixeira » 2022-11-14 18:56

Читайте также:  What is bluetooth device class

linux@linux-vostro:~$ sudo dmesg | egrep -i ‘blue|firm’
[ 0.351278] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 8.199979] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[ 8.266291] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[ 8.441469] Bluetooth: Core ver 2.22
[ 8.441505] Bluetooth: HCI device and connection manager initialized
[ 8.442350] Bluetooth: HCI socket layer initialized
[ 8.442353] Bluetooth: L2CAP socket layer initialized
[ 8.442359] Bluetooth: SCO socket layer initialized
[ 8.579372] usb 1-1.4: firmware: failed to load ath3k-1.fw (-2)
[ 8.579378] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 8.579380] usb 1-1.4: Direct firmware load for ath3k-1.fw failed with error -2
[ 8.579384] Bluetooth: Firmware file «ath3k-1.fw» not found
[ 18.087063] r8169 0000:05:00.0: firmware: failed to load rtl_nic/rtl8168e-2.fw (-2)
[ 18.087106] r8169 0000:05:00.0: Direct firmware load for rtl_nic/rtl8168e-2.fw failed with error -2
[ 18.087122] r8169 0000:05:00.0: Unable to load firmware rtl_nic/rtl8168e-2.fw (-2)
[ 23.895761] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 23.895763] Bluetooth: BNEP filters: protocol multicast
[ 23.895767] Bluetooth: BNEP socket layer initialized

● bluetooth.service — Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-11-14 15:34:15 -03; 21min ago
Docs: man:bluetoothd(8)
Main PID: 54057 (bluetoothd)
Status: «Running»
Tasks: 1 (limit: 9378)
Memory: 688.0K
CPU: 15ms
CGroup: /system.slice/bluetooth.service
└─54057 /usr/libexec/bluetooth/bluetoothd

Источник

Оцените статью
Adblock
detector