Armadilloフォーラム

armadillo-840 bluetoothd起動でエラー

yoshizu

2016年11月4日 10時40分

yoshizuです
お世話になります

armadillo-840を利用してbluetooth(BLE)のperipheralとして動作させるため

  linux-3.4-at9
  atmark-dist-20140131
  bluez-5.21をatde環境でコンパイルしbluetoothdをarmadilloへ転送し
  bluetoothdを以下を実行しましたが以下のようにエラーしてしまいます。

事前にhciconfig hci0 upにより、Bluetooth USBドングルは
UP RUNNING状態となっています。

[root@armadillo840-0 (pts/0) /home/ftp/pub]# ./bluetoothd --plugin=time -n
bluetoothd[9286]: Bluetooth daemon 5.21
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
bluetoothd[9286]: Unable to get on D-Bus
[root@armadillo840-0 (pts/0) /home/ftp/pub]#

皆目、見当がつきません。
ご教授を、お願い致します。

コメント

at_yashi

2016年11月10日 17時01分

dbus daemon が動いていないため、dbus deamon が作成しているはずの
system bus 用の socket が無いと言っています。

そして、ごめんなさい。atmark dist には、dbus が含まれていません。
build するか、debian から持ってきてください。

at_takuya.sasaki

2016年11月10日 17時28分

佐々木です。

昔、Armadillo-840にbluezとd-busを入れた時の手順が残ってたので、添付します。
ただ、当時ブログにしようと思っていたのを、何かしらの理由で保留にしていた記憶があり、もしかすると
うまく動かないかもしれませんが、参考になれば幸いです。

#そのうち、再度試してブログにしてみようかと思います。

ファイル ファイルの説明
840ble.txt 840+BLE手順