[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:57382] Re: run PulseAudio as system-wide daemon



こんにちは。松尾です。

岩松さんアドバイスありがとうございます。
trust していませんでした。
ということで再度やってみたのですがうまくいきませんでした。

---8<------8<------8<---
# bluetoothctl
[NEW] Controller 00:1B:DC:03:85:4F s70-0 [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1B:DC:03:85:4F Discovering: yes
[NEW] Device 00:1D:DF:5E:EB:7F SC-MC10
[CHG] Device 00:1D:DF:5E:EB:7F RSSI: -68
[CHG] Device 00:1D:DF:5E:EB:7F RSSI: -76
[bluetooth]# pair 00:1D:DF:5E:EB:7F
Attempting to pair with 00:1D:DF:5E:EB:7F
[CHG] Device 00:1D:DF:5E:EB:7F Connected: yes
[CHG] Device 00:1D:DF:5E:EB:7F UUIDs:
        0000110b-0000-1000-8000-00805f9b34fb
        0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1D:DF:5E:EB:7F Paired: yes
Pairing successful
[CHG] Device 00:1D:DF:5E:EB:7F Connected: no
[CHG] Device 00:1D:DF:5E:EB:7F Connected: yes
[CHG] Device 00:1D:DF:5E:EB:7F Connected: no
[bluetooth]# scan off
[CHG] Device 00:1D:DF:5E:EB:7F RSSI is nil
[CHG] Controller 00:1B:DC:03:85:4F Discovering: no
Discovery stopped
[bluetooth]# trust 00:1D:DF:5E:EB:7F
[CHG] Device 00:1D:DF:5E:EB:7F Trusted: yes
Changing 00:1D:DF:5E:EB:7F trust succeeded
[bluetooth]# connect 00:1D:DF:5E:EB:7F
Attempting to connect to 00:1D:DF:5E:EB:7F
Failed to connect: org.bluez.Error.Failed
---8<------8<------8<---

syslog
---8<------8<------8<---
Nov 6 10:24:23 s70 bluetoothd[539]: a2dp-sink profile connect failed for 00:1D:DF:5E:EB:7F: Protocol not available
---8<------8<------8<---

別のスピーカーでもテストしてみました。
---8<------8<------8<---
# bluetoothctl
[NEW] Controller 00:1B:DC:03:85:4F s70-0 [default]
[NEW] Device 00:1D:DF:5E:EB:7F SC-MC10
[bluetooth]# remove 00:1D:DF:5E:EB:7F
[DEL] Device 00:1D:DF:5E:EB:7F SC-MC10
Device has been removed
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1B:DC:03:85:4F Discovering: yes
[NEW] Device 00:1A:7D:20:00:AE MXSP-BT03J
[bluetooth]# pair 00:1A:7D:20:00:AE
Attempting to pair with 00:1A:7D:20:00:AE
[CHG] Device 00:1A:7D:20:00:AE Connected: yes
[CHG] Device 00:1A:7D:20:00:AE UUIDs:
        00001108-0000-1000-8000-00805f9b34fb
        0000110b-0000-1000-8000-00805f9b34fb
        0000110c-0000-1000-8000-00805f9b34fb
        0000110e-0000-1000-8000-00805f9b34fb
        0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1A:7D:20:00:AE Paired: yes
Pairing successful
[CHG] Device 00:1A:7D:20:00:AE Connected: no
[bluetooth]# trust 00:1A:7D:20:00:AE
[CHG] Device 00:1A:7D:20:00:AE Trusted: yes
Changing 00:1A:7D:20:00:AE trust succeeded
[bluetooth]# scan off
[CHG] Device 00:1A:7D:20:00:AE RSSI is nil
Discovery stopped
[CHG] Controller 00:1B:DC:03:85:4F Discovering: no
[bluetooth]# connect 00:1A:7D:20:00:AE
Attempting to connect to 00:1A:7D:20:00:AE
Failed to connect: org.bluez.Error.Failed
---8<------8<------8<---

syslog
---8<------8<------8<---
Nov 6 10:27:35 s70 bluetoothd[539]: a2dp-sink profile connect failed for 00:1A:7D:20:00:AE: Protocol not available
---8<------8<------8<---


module-bluetooth-discover もロードされているのでokだと思うのですが…
---8<------8<------8<---
# pactl list short
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() は真を返しました
0       module-udev-detect
1 module-alsa-card device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
2       module-native-protocol-unix
3       module-stream-restore
4       module-device-restore
5       module-default-device-restore
6       module-rescue-streams
7       module-always-sink
8       module-bluetooth-policy
9       module-bluetooth-discover
10      module-bluez5-discover
11      module-bluez4-discover
12      module-suspend-on-idle
13      module-position-event-sounds
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED 0 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED 1 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1       protocol-native.c       pactl
0       alsa_card.pci-0000_00_1b.0      module-alsa-card.c
---8<------8<------8<---

試しに無理やりロードしてみました
(本当は module-bluez5-discover が
 引数を渡しつつロードすると思われます)
---8<------8<------8<---
# pactl load-module module-bluez5-device
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() は真を返しました
失敗: モジュール初期化失敗
---8<------8<------8<---

syslog
---8<------8<------8<---
Nov 6 11:05:14 s70 pulseaudio[5295]: E: [pulseaudio] module-bluez5-device.c: Failed to get device path from module arguments Nov 6 11:05:14 s70 pulseaudio[5295]: E: [pulseaudio] module.c: Failed to load module "module-bluez5-device" (argument: ""): initialization failed.
---8<------8<------8<---

むむー。


On 2014/11/06 7:05, Nobuhiro Iwamatsu wrote:
こんにちは。岩松です。

BT のスピーカは持っていないのですが、オーディオレシーバでテストしています。
デバイスとしては同じなので、問題はないと思います。
また、testing ではまだテストしていないので、後日試して報告します。

[bluetooth]# scan off
[CHG] Device 00:1D:DF:5E:EB:7F RSSI is nil
[CHG] Controller 00:1B:DC:03:85:4F Discovering: no
Discovery stopped
[bluetooth]# devices
Device 00:1D:DF:5E:EB:7F SC-MC10

trust 00:1D:DF:5E:EB:7F
を実行してみてください。

この後、connect したらどうなりますか。

正しく接続されている場合、pactlコマンドで BTデバイスが出力されます。
$ pactl list cards short
0 alsa_card.pci-0000_00_03.0 module-alsa-card.c
1 alsa_card.pci-0000_00_1b.0 module-alsa-card.c
3 bluez_card.00_1B_41_03_D9_58 module-bluez5-device.c

---
このEメールはアバスト アンチウイルスによりウイルススキャンされています。
http://www.avast.com