お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-01-01 23:29:57

astrorobot110
メンバ
登録日: 2012-07-18

bluetoothが使えない

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

とのことでこれ以上の情報は探し方が分かりません

どなたかご教授おねがいします

オフライン

 

#2 2014-01-01 23:53:26

hellfire
メンバ
From: 日本/神奈川県
登録日: 2006-11-21

Re: bluetoothが使えない

astrorobot110 様へ。

astrorobot110 による投稿:

ubuntuからPLAYSTATION3のSIXAXISが使えるとのことで設定してみたところ
突然bluetoothが使えなくなりました

具体的にどのように設定されたのか、どこのサイトを参照されたのかがわからないので、
何とも対処しにくいのですが、bluetooth のデーモンを再起動する場合は、
最初の sudo /etc/init.d/... でもいいのですが、最近は

コード:

$ sudo service bluetooth restart

とする流れになってきています。

オフライン

 

#3 2014-01-02 00:00:23

astrorobot110
メンバ
登録日: 2012-07-18

Re: bluetoothが使えない

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

と出ているのですが…

オフライン

 

#4 2014-01-02 00:11:55

hellfire
メンバ
From: 日本/神奈川県
登録日: 2006-11-21

Re: bluetoothが使えない

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

となっていますが。

オフライン

 

#5 2014-01-02 10:02:05

astrorobot110
メンバ
登録日: 2012-07-18

Re: bluetoothが使えない

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を入れたあたりから挙動がおかしくなったはずです
実際のところどこでおかしくなったかよく覚えてないもので…

オフライン

 

#6 2014-01-02 10:19:36

astrorobot110
メンバ
登録日: 2012-07-18

Re: bluetoothが使えない

すいません自己解決しました

試しにbluezをアンインストールしてみてからbluetoothを再インストールしてみた所
何事もなくbluetoothdが起動
その後bluemanのインストールで問題なく使えるようになりました

おそらく原因はsixadがサービスとして残っていたので
bluetooothと競合したのかなと考えています

オフライン

 

#7 2014-01-02 21:53:07

hellfire
メンバ
From: 日本/神奈川県
登録日: 2006-11-21

Re: bluetoothが使えない

astrorobot110 様へ。

解決したようで何よりです:)

オフライン

 

Board footer

Powered by FluxBB