
Ubuntu日本語フォーラム

ログインしていません。
ubuntuからPLAYSTATION3のSIXAXISが使えるとのことで設定してみたところ
突然bluetoothが使えなくなりました
いろいろ調べてみたのですが
me@mypc:~$ sudo /etc/init.d/bluetooth restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service bluetooth restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop bluetooth ; start bluetooth. The restart(8) utility is also available.
start: Job failed to start
me@mypc:~$ stop bluetooth
stop:不明なジョブ: bluetooth
me@mypc:~$ start bluetooth
start:不明なジョブ: bluetooth
とのことでこれ以上の情報は探し方が分かりません
どなたかご教授おねがいします
オフライン
astrorobot110 様へ。
astrorobot110 による投稿:
ubuntuからPLAYSTATION3のSIXAXISが使えるとのことで設定してみたところ
突然bluetoothが使えなくなりました
具体的にどのように設定されたのか、どこのサイトを参照されたのかがわからないので、
何とも対処しにくいのですが、bluetooth のデーモンを再起動する場合は、
最初の sudo /etc/init.d/... でもいいのですが、最近は
$ sudo service bluetooth restart
とする流れになってきています。
オフライン
hellfire による投稿:
具体的にどのように設定されたのか、どこのサイトを参照されたのかがわからないので、
何とも対処しにくいのですが、bluetooth のデーモンを再起動する場合は、
最初の sudo /etc/init.d/... でもいいのですが、最近はコード:
$ sudo service bluetooth restartとする流れになってきています。
返信有難うございます
やってみたのですが
me@mypc:~$ sudo service bluetooth restart stop: Unknown instance: start: Job failed to start
とのことです
dmesgで様子見れないかと思ったので確認したんですが
me@mypc:~$ dmesg (中略) [ 5998.376532] init: Failed to spawn bluetooth main process: unable to execute: Permission denied
と出ているのですが…
オフライン
astrorobot110 様へ。
具体的に何をしたのかが分からないことには…。
dmesg を見る限りでは、設定とやらでファイルのパーミッションか、
ユーザのグループを変えて、にっちもさっちもいかない状況のように見えますね。
bluetooth ファイルのパーミッションとかはどうなってます?
なお、私の所では
% ls -l /etc/init.d/bluetooth lrwxrwxrwx 1 root root 21 12月 8 13:06 /etc/init.d/bluetooth -> /lib/init/upstart-job $ ls -l /lib/init/upstart-job -rwxr-xr-x 1 root root 3591 10月 10 00:41 /lib/init/upstart-job
となっていますが。
オフライン
hellfire による投稿:
dmesg を見る限りでは、設定とやらでファイルのパーミッションか、
ユーザのグループを変えて、にっちもさっちもいかない状況のように見えますね。
bluetooth ファイルのパーミッションとかはどうなってます?
$ ls -l /etc/init.d/bluetooth lrwxrwxrwx 1 root root 21 12月 6 16:34 /etc/init.d/bluetooth -> /lib/init/upstart-job sasa@comet:~$ ls -l /lib/init/upstart-job -rwxr-xr-x 1 root root 3591 10月 9 23:59 /lib/init/upstart-job
参考にしたサイトなんですが
http://tclip.blog.fc2.com/blog-entry-78.html
を参考にして何故かうまく行かなかったんで
Ckigashirapenguin.blog15.fc2.com/blog-entry-51.html
を更に試してみたんですが
ここでhiddを使うためにbluez-compatを入れたあたりから挙動がおかしくなったはずです
実際のところどこでおかしくなったかよく覚えてないもので…
オフライン
すいません自己解決しました
試しにbluezをアンインストールしてみてからbluetoothを再インストールしてみた所
何事もなくbluetoothdが起動
その後bluemanのインストールで問題なく使えるようになりました
おそらく原因はsixadがサービスとして残っていたので
bluetooothと競合したのかなと考えています
オフライン