Испорченная конфигурация Bluetooth, не видьте или соединитесь с bluetooth-устройствами

После незначительного сбоя я пытался переустановить свои пакеты Bluetooth (Как попытка удалить Bluetooth в диспетчере устройств в Windows) и hcitool scan поднимает ошибку:

Device is not available: No such device"

После "sudo service bluetooth restart Я добираюсь:

Job for bluetooth.service failed because the control process exited with error code. See "systemctl status bluetooth.service" and "journalctl -xe" for details.

Вывод:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/bluetooth.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Mon 2016-02-01 14:59:53 MST; 5min ago
     Docs: man:bluetoothd(8)
  Process: 7249 ExecStartPost=/usr/sbin/chmod o+rw /var/run/sdp (code=exited, status=203/EXEC)
  Process: 7248 ExecStart=/usr/lib/bluetooth/bluetoothd --compat (code=exited, status=0/SUCCESS)
 Main PID: 7248 (code=exited, status=0/SUCCESS)
   Status: "Quitting"

Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[1]: Starting Bluetooth service...
Feb 01 14:59:53 will-Lenovo-Edge-15 bluetoothd[7248]: Bluetooth daemon 5.35
Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[7249]: bluetooth.service: Failed ...
Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[1]: bluetooth.service: Control p...3
Feb 01 14:59:53 will-Lenovo-Edge-15 bluetoothd[7248]: Starting SDP server
Feb 01 14:59:53 will-Lenovo-Edge-15 bluetoothd[7248]: Terminating
Feb 01 14:59:53 will-Lenovo-Edge-15 bluetoothd[7248]: Stopping SDP server
Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[1]: Failed to start Bluetooth se....
Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[1]: bluetooth.service: Unit ente....
Feb 01 14:59:53 will-Lenovo-Edge-15 systemd[1]: bluetooth.service: Failed wi....
Hint: Some lines were ellipsized, use -l to show in full.

Как я фиксирую это? (Ubuntu 15 с оболочкой Gnome, на Lenovo Edge 15)

1
задан 7 February 2016 в 23:14

1 ответ

/etc/systemd/system/dbus-org.bluez.service и изменив эту строку

ExecStart=/usr/lib/bluetooth/bluetoothd на эту

ExecStart=/usr/lib/bluetooth /bluetoothd --compat

, а затем перезапустите Bluetooth, как показано ниже

sudo systemctl daemon-reload
sudo systemctl restart bluetooth

, и вам также придется изменить разрешения на /var/run/sdp

sudo chmod 777 /var/run/sdp

0
ответ дан 28 October 2020 в 05:40

Другие вопросы по тегам:

Похожие вопросы: