Настройки системы Ubuntu 14.04: Bluetooth отключен

1122 Я сделал что-то, что я не знаю, как исправить, и теперь мне нужна помощь. Я пытался заставить работать Bluetooth, поэтому я установил Bluez 5.39 с bluez-5.39.tar.xz со страницы загрузки с ./configure, make и sudo make install. (Мне не нравится устанавливать вещи таким способом, и я не должен был этого делать.) Это не решило проблему: не удалось создать соединение LE. Тогда я решил удалить Bluez 5.39. (Почему ???)

Из каталога bluez-5.39 я запускал sudo make uninstall. И тут началась настоящая проблема: ссылка на изображение сообщения «Bluetooth отключен» в Системных настройках Ubuntu . Включение или выключение Bluetooth не влияет на сообщение на левой стороне.

Это то, что сделала деинсталляция, и я заметил, что важные файлы исчезли, когда было уже слишком поздно.

bluez-5.39$ sudo make uninstall
 ( cd '/usr/bin' && rm -f bluetoothctl btmon hciattach hciconfig hcitool hcidump rfcomm rctest l2test l2ping sdptool ciptool bccmd bluemoon hex2hcd mpris-proxy )
 ( cd '/usr/lib/cups/backend' && rm -f bluetooth )
 ( cd '/etc/dbus-1/system.d' && rm -f bluetooth.conf )
 ( cd '/usr/share/dbus-1/services' && rm -f org.bluez.obex.service )
 ( cd '/usr/share/dbus-1/system-services' && rm -f org.bluez.service )
 ( cd '/usr/libexec/bluetooth' && rm -f bluetoothd obexd )
 ( cd '/usr/share/man/man1' && rm -f hciattach.1 hciconfig.1 hcitool.1 hcidump.1 rfcomm.1 rctest.1 l2ping.1 sdptool.1 ciptool.1 bccmd.1 hid2hci.1 )
 ( cd '/usr/share/man/man8' && rm -f bluetoothd.8 )
 ( cd '/lib/udev/rules.d' && rm -f 97-hid2hci.rules )
 ( cd '/lib/systemd/system' && rm -f bluetooth.service )
 ( cd '/usr/lib/systemd' && rm -f obex.service )
 ( cd '/lib/udev' && rm -f hid2hci )

Пытаясь исправить неразбериху, я сделал следующее:

$ sudo apt-get --reinstall install bluez bluez-alsa bluez-audio bluez-btsco bluez-compat bluez-cups bluez-dbg bluez-gstreamer bluez-hcidump bluez-pcmcia-support bluez-tools bluez-utils python-bluez bluewho indicator-bluetooth libbluetooth-dev libgnome-bluetooth11 libbluetooth3 python-gobject python-dbus

И это вызвало у меня ошибку зависимости.

Тогда я сделал:

$ sudo apt-get build-dep bluetooth

И он установил bluez, bluez-alsa:amd64, bluez-gstreamer, bluez-audio, bluez-dbg, indicator-bluetooth.

И затем, кажется, следующее было установлено правильно:

$ sudo apt-get --reinstall install bluez-btsco bluez-compat bluez-cups bluez-gstreamer bluez-hcidump bluez-pcmcia-support bluez-tools bluez-utils python-bluez bluewho libbluetooth-dev libgnome-bluetooth11 libbluetooth3 python-gobject python-dbus

Я попытался найти файл по умолчанию bluetooth.conf в Google, но не нашел его, и я считаю, что это не единственный вещь, которая отсутствует.

В настоящее время dmesg | grep -i blue выводит на терминал следующее:

$ dmesg | grep -i blue
[    3.394321] Bluetooth: Core ver 2.20
[    3.394342] Bluetooth: HCI device and connection manager initialized
[    3.394346] Bluetooth: HCI socket layer initialized
[    3.394349] Bluetooth: L2CAP socket layer initialized
[    3.394356] Bluetooth: SCO socket layer initialized
[    4.084818] Bluetooth: RFCOMM TTY layer initialized
[    4.084824] Bluetooth: RFCOMM socket layer initialized
[    4.084828] Bluetooth: RFCOMM ver 1.11
[    4.120553] init: bluetooth main process (811) terminated with status 1
[    4.120566] init: bluetooth main process ended, respawning
[    4.186711] init: bluetooth main process (924) terminated with status 1
[    4.186720] init: bluetooth main process ended, respawning
[    4.201162] init: bluetooth main process (935) terminated with status 1
[    4.201176] init: bluetooth main process ended, respawning
[    4.212252] init: bluetooth main process (946) terminated with status 1
[    4.212266] init: bluetooth main process ended, respawning
[    4.224325] init: bluetooth main process (960) terminated with status 1
[    4.224334] init: bluetooth main process ended, respawning
[    4.239237] init: bluetooth main process (973) terminated with status 1
[    4.239251] init: bluetooth main process ended, respawning
[    4.248063] init: bluetooth main process (982) terminated with status 1
[    4.248077] init: bluetooth main process ended, respawning
[    4.256712] init: bluetooth main process (991) terminated with status 1
[    4.256725] init: bluetooth main process ended, respawning
[    4.265736] init: bluetooth main process (1000) terminated with status 1
[    4.265751] init: bluetooth main process ended, respawning
[    4.274191] init: bluetooth main process (1009) terminated with status 1
[    4.274207] init: bluetooth main process ended, respawning
[    4.283039] init: bluetooth main process (1018) terminated with status 1
[    4.283048] init: bluetooth respawning too fast, stopped

Когда я пытаюсь bluetoothd на терминале, ничего не происходит, но /var/log/syslog получает это:

bluetoothd[3517]: Bluetooth daemon 4.101
bluetoothd[3517]: Unable to get on D-Bus

Вопрос стал довольно длинным, потому что я пытаюсь детализировать то, что я сделал до сих пор. (И я не использую какой-либо USB-адаптер для Bluetooth.)

Есть ли какой-либо другой журнал, который мне нужно опубликовать?

Итог: как заставить Bluetooth работать снова?

1
задан 4 May 2016 в 20:07

1 ответ

Я скопировал файлы ниже с другого компьютера под управлением Ubuntu 14.04, где bluetoothd -v 4.101 также.

/etc/dbus-1/system.d/bluetooth.conf
/lib/systemd/system/bluetooth.service
/lib/udev/hid2hci
/lib/udev/rules.d/97-hid2hci.rules
/usr/lib/cups/backend/bluetooth
/usr/share/man/man1/bluetooth.1.gz /usr/share/man/man1/
/usr/share/man/man1/{hcitool.1,rfcomm.1,rctest.1,sdptool.1,ciptool.1} /usr/share/man/man1/
/usr/share/man/man8/{hciattach.8,hciconfig.8,hid2hci.8,l2ping.8,bccmd.8,bluetoothd.8} /usr/share/man/man8/
1
ответ дан 5 May 2016 в 06:07
  • 1
    @rplaughlin I haven' t бывший в состоянии к и все еще can' t делают это все же. Я должен ожидать 2 часа для принятия моего собственного ответа согласно системе на месте. – Aric 12 October 2017 в 08:41

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

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