Can’t type on bluetoothctl
My OS is Arch Linux. I just trying to use the bluetooth of my laptop using the terminal. I used bluetoothctl command, but I can’t type anymore on it. I also run it with root privilege.
[x@X ~]$ sudo bluetoothctl [sudo] password for X: [bluetooth]#
I also check my bluetooth daemon using the systemctl status bluetooth command and it print something that I don’t know what it is and I also don’t know what to do next.
[x@X ~]$ systemctl status bluetooth ● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:bluetoothd(8)
3 Answers 3
Your bluetooth service is dead [ Active: inactive (dead) ], so you can’t use it.
To get it active and running [ Active: active (running) ], just do the following:
- Load the generic bluetooth driver, if not already loaded by typing the following in your terminal:
sudo systemctl start bluetooth.service
Check the status again [ systemctl status bluetooth.service ] and you should find it’s now active and running [ Active: active (running) ]
Your bluetoothd is not running, try sudo systemctl start bluetooth
This must be a security feature. it’s really annoying when dealing with a SOC device with only one USB port, that reboots whenever you change the USB device due to constrained power.
chip@chip:~$ systemctl status bluetooth � bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled) Active: active (running) since Thu 2018-12-27 04:17:24 UTC; 44min ago Docs: man:bluetoothd(8) Main PID: 394 (bluetoothd) Status: "Running" CGroup: /system.slice/bluetooth.service ��394 /usr/lib/bluetooth/bluetoothd chip@chip:~$ bluetoothctl [bluetooth]#
Can’t type! Works fine on terminal. just remotely it doesn’t.
chip@chip:~$ sudo bluetoothctl
Bluetooth не работает в Ubuntu 21.04
Выключите компьютер и начните снова, убедитесь, что вы отсоединили зарядный кабель.
Вы пытались перезапустить его? service bluetooth restart
У меня была такая же проблема после нового обновления, хотя статус показывался активным, но Bluetooth не работал.
У меня была такая же проблема, из-за которой Bluetooth не включался. Это исправлено: перезапуск службы Bluetooth
Это ошибка в пакете. Это было исправлено в:
Просто обновите свою систему (или bluez только пакет), чтобы решить проблему:
$ sudo apt update $ sudo apt full-upgrade # or $ sudo apt --only-upgrade install bluez
В моем случае это было аудиоустройство, отправляющее звук с моего старого усилителя Harmon Kardon (Bluetooth-передатчик Logitech) на bluetooth-ключ в одном из моих USB-портов. Симптомом был цикл подключения-отключения примерно каждые три секунды. Действительно раздражает. После перезагрузки это не помогло, я удалил ключ и удалил устройство из диспетчера Bluetooth (blueman-applet), нажал кнопку сопряжения на передатчике, переустановил ключ, и теперь все заработало. Я надеюсь, что этот низкотехнологичный совет поможет кому-то.
Только что установил Ubuntu на свой Raspberry Pi 4 (8 ГБ). Но я ненавижу провода, поэтому хочу подключить свою BT клавиатуру и мышь. Однако я получаю сообщение [Пожалуйста, подключите ключ], когда я открываю настройки BT.
Я также пытался обновить программное обеспечение и прошивку, а также такие команды, как
sudo systemctl restart bluetooth service bluetooth restart
service bluetooth service
bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-09-10 17:22:56 BST; 36min ago Docs: man:bluetoothd(8) Main PID: 1155 (bluetoothd) Status: "Running" Tasks: 1 (limit: 8964) Memory: 1.6M CGroup: /system.slice/bluetooth.service └─1155 /usr/lib/bluetooth/bluetoothd Sep 10 17:22:56 rob-R****1 systemd[1]: Starting Bluetooth service. Sep 10 17:22:56 rob-R****1 bluetoothd[1155]: Bluetooth daemon 5.56 Sep 10 17:22:56 rob-R****1 systemd[1]: Started Bluetooth service. Sep 10 17:22:56 rob-R****1 bluetoothd[1155]: Starting SDP server Sep 10 17:22:57 rob-R****1 bluetoothd[1155]: Bluetooth management interface 1.19 initialized
Я пробовал все вышеперечисленное, чтобы не авиал.
Я также заметил, что журнал файлов конфигурации пуст? Это нормально? Я понял это только когда разогнал процессор.
Linux Mint Forums
Bluetooth service inactive (dead) after run update and upgrade
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Bluetooth service inactive (dead) after run update and upgrade
Post by wllc » Thu Nov 18, 2021 8:40 am
Everyday before work I run sudo apt update -y && sudo apt upgrade -y.
Today, while the commands were running, my bluetooth disconnected and the message «No bluetooth adapters found» appeared.
I found the «reinstall bluetooth packages» solution here, but didnt work.
I tried to run systemctl start bluetooth because the bluetooth service status is «inactive (dead)», but it didnt output any error.
dmesg | egrep -i ‘blue|firm’
09:32:50 with wallace at DTIC-DSV-05-Linux in ~ $ dmesg | egrep -i 'blue|firm' [ 0.470416] DMAR: [Firmware Bug]: RMRR entry for device 02:00.0 is broken - applying workaround [ 1.073937] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 88.384418] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
09:33:10 with wallace at DTIC-DSV-05-Linux in ~ $ systemctl status bluetooth.service ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: man:bluetoothd(8) Nov 18 09:20:31 DTIC-DSV-05-Linux systemd[1]: Condition check resulted in Bluetooth service being skipped. Nov 18 09:21:04 DTIC-DSV-05-Linux systemd[1]: Condition check resulted in Bluetooth service being skipped. Nov 18 09:22:52 DTIC-DSV-05-Linux systemd[1]: Condition check resulted in Bluetooth service being skipped. Nov 18 09:25:53 DTIC-DSV-05-Linux systemd[1]: Condition check resulted in Bluetooth service being skipped.
09:33:17 with wallace at DTIC-DSV-05-Linux in ~ $ inxi -Fxz System: Kernel: 5.4.0-90-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.7 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal Machine: Type: Desktop System: Dell product: XPS 8930 v: 1.1.18 serial: Mobo: Dell model: 06HKRH v: A00 serial: UEFI: Dell v: 1.1.18 date: 09/06/2021 CPU: Topology: 8-Core model: Intel Core i7-9700 bits: 64 type: MCP arch: Kaby Lake rev: D L2 cache: 12.0 MiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 48000 Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 Graphics: Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 Device-2: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Dell driver: nvidia v: 470.82.00 bus ID: 01:00.0 Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz, 1920x1080~60Hz OpenGL: renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 470.82.00 direct render: Yes Audio: Device-1: Intel 200 Series PCH HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 Device-2: NVIDIA GP106 High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 01:00.1 Sound Server: ALSA v: k5.4.0-90-generic Network: Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell driver: ath10k_pci v: kernel port: e000 bus ID: 03:00.0 IF: wlp3s0 state: down mac: Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Dell driver: alx v: kernel port: d000 bus ID: 04:00.0 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: Drives: Local Storage: total: 2.05 TiB used: 76.04 GiB (3.6%) ID-1: /dev/nvme0n1 vendor: LITE-ON model: CA3-8D256 size: 238.47 GiB ID-2: /dev/sda vendor: Seagate model: ST2000VM003-1CT164 size: 1.82 TiB temp: 34 C Partition: ID-1: / size: 50.46 GiB used: 39.41 GiB (78.1%) fs: ext4 dev: /dev/nvme0n1p4 Sensors: System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 39 C Fan Speeds (RPM): N/A gpu: nvidia fan: 42% Info: Processes: 296 Uptime: 14m Memory: 15.35 GiB used: 2.64 GiB (17.2%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: zsh v: 5.8 inxi: 3.0.38
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Arch Linux
I installed Arch + KDE Plasma on a laptop that has an Intel 8260 wifi+bluetooth card.
Network: Card-1: Intel Wireless 8260 driver: iwlwifi Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller driver: r8169
Wifi works, but bluetooth does not work. bluez and bluedevil are installed and the bluetooth service has been enabled:
● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled) Active: inactive (dead) Docs: man:bluetoothd(8)
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no
I am running the stock Arch kernel (4.14.8-1-ARCH). I booted using the zen kernel but it did not help. Prior to installing Arch on this Laptop I ran Manjaro KDE on it and bluetooth worked flawlessly.
Suggestions are welcome. Thank you in advance.
EDIT: SOLVED by two cold boots.
Last edited by cribari (2017-12-27 16:53:01)
Linux, street photography and Baroque music enthusiast.
#2 2017-12-27 14:44:40
Re: [SOLVED] Bluetooth does not work
More information. After issuing
sudo modprobe btusb sudo systemctl restart bluetooth
systemctl status bluetooth returns
● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2017-12-27 11:34:48 -03; 4min 31s ago Docs: man:bluetoothd(8) Main PID: 3602 (bluetoothd) Status: "Running" Tasks: 1 (limit: 4915) CGroup: /system.slice/bluetooth.service └─3602 /usr/lib/bluetooth/bluetoothd Dec 27 11:34:48 darwin5 systemd[1]: Starting Bluetooth service. Dec 27 11:34:48 darwin5 bluetoothd[3602]: Bluetooth daemon 5.47 Dec 27 11:34:48 darwin5 systemd[1]: Started Bluetooth service. Dec 27 11:34:48 darwin5 bluetoothd[3602]: Starting SDP server Dec 27 11:34:48 darwin5 bluetoothd[3602]: Bluetooth management interface 1.14 initialized
However, still no bluetooth adapter found.
[bluetooth]# devices No default controller available [bluetooth]#
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21) 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1) 00:1c.3 PCI bridge: Intel Corporation Device 9d13 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
The output of bt-device —list is
** ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self)) Aborted (core dumped)
EDIT: The output of lsmod | grep blue is
[cribari@darwin5]: ~>$ lsmod | grep blue bluetooth 626688 11 btrtl,btintel,bnep,btbcm,btusb ecdh_generic 24576 1 bluetooth rfkill 28672 9 bluetooth,cfg80211 crc16 16384 2 bluetooth,ext4
Last edited by cribari (2017-12-27 15:03:24)
Linux, street photography and Baroque music enthusiast.