Share:
Notifications
Clear all

Probleme Pulse Audio

Page 1 / 2
Alain25
(@alain25)
Active Member

Salut Slobberdone

Comme tu vois je t'ai suivi de Jeedom à ici

Merci pour ta réponse concernant mes logs qui semblent propres, mais alors dis moi pourquoi j'ai ce genre de message et comment le contourner

Mes logs : une fois que j'ai appairée à la main l'enceinte
Cannot find HOME directory.
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
Terminal type `unknown' is not defined.

Tu me dis également que ma sortie audio enceinte Bluetooth n'est ^pas par défaut

Alors comment le faire et pourquoi en SSH cela fonctionne ? en Play tts ?

Est ce que je dois voir mon enceinte dans le panneau de contrôle  ?

Merci pour ta réponse et ton aide 😉

This topic was modified Il y a 3 années by Alain25
Quote
Topic starter Posté : 18/10/2018 6:53
Topic Tags
slobberbone
(@slobberbone)
Membre Admin

Salut Alain et bienvenue parmi nous 🙂 !

En gros, tes logs indiquent que tout est ok. l'erreur sur le home c'est le test qui te le retourne mais ça n'empeche pas que le fichier audio soit joué.

Là tout problème c'est que ta sortie son configurée par défaut n'est pas la bonne. Tu as 2 possibilités :

  1. Aller sur la configuration du plugin, tu a un outils pour gérer le volume et la sortie son par défaut
  2. Te connecter en SSH et utiliser les commandes suivantes :
pactl list sinks
pactl set-default-sink [name of the sink you want]

Ca devrait te débloquer !

RépondreQuote
Posté : 18/10/2018 11:33
Alain25
(@alain25)
Active Member

Merci pour ta réponse

mais ... 

pi@raspberrypi:~ $ sudo pactl list sinks
sudo: pactl : commande introuvable

Aye ! Aye ! Aye !!!

RépondreQuote
Topic starter Posté : 19/10/2018 12:04
slobberbone
(@slobberbone)
Membre Admin

Dans ce cas tu peux installer le paquet pactl

sudo apt-get install pactl
RépondreQuote
Posté : 19/10/2018 9:33
Alain25
(@alain25)
Active Member

Ok Commande passée sans erreur .. mais ....

Toujours du son en SSH et aucu sous Jeedom ... je désespère ....

😩

J'ai ca sous Pulse [attach]102[/attach]

Mais le nom de  l'enceinte BB n'apparaît pas

Et j'ai ca aussi sur le service Pulse

Unit pulseaudio-speaker-service-aa.service could not be found.

Merci pour ton aide

This post was modified Il y a 3 années 3 times by Alain25
RépondreQuote
Topic starter Posté : 19/10/2018 7:28
slobberbone
(@slobberbone)
Membre Admin

Alors essaie de désactiver ton equipement, enreigstre, puis active-le, et enregistre à nouveau !

RépondreQuote
Posté : 21/10/2018 9:12
Alain25
(@alain25)
Active Member

Salut,

J'avais déjà lu ça dans un Forum, et j'ai déjà essayé ............ mais rien ... ça passe pas ...

Pourquoi est ce que je ne trouve pas mon enceinte BB dans le Panel ?
Quelle est la dernière bonne version de ton Plugin ?

Et est ce normal que même sans ton Plugin , Play TTS fonctionne en SSH mais pas sous Jeedom ?

Je désespère .... ça fait 2 mois que je suis là dessus et je n'y arrive pas 😪 

Peut-être est ce que je dois redescendre de strecth à jessie ?

APRES REINSTALLATION PROPRE DU RASPBERRY, j'ai réinstallé ton Plugin Version Master, mais j'ai des erreurs en fin des Logs

############################################################################
# Installation in progress
############################################################################
############################################################################
# Update repository packages and install dependencies
############################################################################
Hit:1  http://raspbian.raspberrypi.org/raspbian  stretch InRelease
Hit:2  http://archive.raspberrypi.org/debian  stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
pi-bluetooth is already the newest version (0.1.9).
The following additional packages will be installed:
bluez-obexd gir1.2-appindicator3-0.1 gir1.2-notify-0.7 libappindicator3-1
libdbusmenu-glib4 libdbusmenu-gtk3-4 libical2 libindicator3-7
libpulse-mainloop-glib0 notification-daemon
The following NEW packages will be installed:
blueman bluez-obexd gir1.2-appindicator3-0.1 gir1.2-notify-0.7
libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libical2
libindicator3-7 libpulse-mainloop-glib0 notification-daemon
0 upgraded, 11 newly installed, 0 to remove and 1 not upgraded.
Need to get 2467 kB of archives.
After this operation, 7173 kB of additional disk space will be used.
Get:1  http://archive.raspberrypi.org/debian  stretch/main armhf bluez-obexd armhf 5.43-2+rpt2+deb9u2 [176 kB]
Get:2  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libical2 armhf 2.0.0-0.5+b1 [164 kB]
Get:3  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf notification-daemon armhf 3.20.0-1 [55.4 kB]
Get:4  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libpulse-mainloop-glib0 armhf 10.0-1+deb9u1 [43.9 kB]
Get:5  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf gir1.2-notify-0.7 armhf 0.7.7-2 [9740 B]
Get:6  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libdbusmenu-glib4 armhf 12.10.2-2 [96.8 kB]
Get:7  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libdbusmenu-gtk3-4 armhf 12.10.2-2 [85.6 kB]
Get:8  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libindicator3-7 armhf 0.5.0-3 [49.5 kB]
Get:9  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libappindicator3-1 armhf 0.4.92-4+b2 [50.4 kB]
Get:10  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf gir1.2-appindicator3-0.1 armhf 0.4.92-4+b2 [38.7 kB]
Get:11  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf blueman armhf 2.0.4-1+b4 [1698 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2467 kB in 24s (101 kB/s)
Selecting previously unselected package libical2:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 129749 files and directories currently installed.)
Preparing to unpack .../00-libical2_2.0.0-0.5+b1_armhf.deb ...
Unpacking libical2:armhf (2.0.0-0.5+b1) ...
Selecting previously unselected package bluez-obexd.
Preparing to unpack .../01-bluez-obexd_5.43-2+rpt2+deb9u2_armhf.deb ...
Unpacking bluez-obexd (5.43-2+rpt2+deb9u2) ...
Selecting previously unselected package notification-daemon.
Preparing to unpack .../02-notification-daemon_3.20.0-1_armhf.deb ...
Unpacking notification-daemon (3.20.0-1) ...
Selecting previously unselected package libpulse-mainloop-glib0:armhf.
Preparing to unpack .../03-libpulse-mainloop-glib0_10.0-1+deb9u1_armhf.deb ...
Unpacking libpulse-mainloop-glib0:armhf (10.0-1+deb9u1) ...
Selecting previously unselected package gir1.2-notify-0.7:armhf.
Preparing to unpack .../04-gir1.2-notify-0.7_0.7.7-2_armhf.deb ...
Unpacking gir1.2-notify-0.7:armhf (0.7.7-2) ...
Selecting previously unselected package libdbusmenu-glib4:armhf.
Preparing to unpack .../05-libdbusmenu-glib4_12.10.2-2_armhf.deb ...
Unpacking libdbusmenu-glib4:armhf (12.10.2-2) ...
Selecting previously unselected package libdbusmenu-gtk3-4:armhf.
Preparing to unpack .../06-libdbusmenu-gtk3-4_12.10.2-2_armhf.deb ...
Unpacking libdbusmenu-gtk3-4:armhf (12.10.2-2) ...
Selecting previously unselected package libindicator3-7:armhf.
Preparing to unpack .../07-libindicator3-7_0.5.0-3_armhf.deb ...
Unpacking libindicator3-7:armhf (0.5.0-3) ...
Selecting previously unselected package libappindicator3-1:armhf.
Preparing to unpack .../08-libappindicator3-1_0.4.92-4+b2_armhf.deb ...
Unpacking libappindicator3-1:armhf (0.4.92-4+b2) ...
Selecting previously unselected package gir1.2-appindicator3-0.1:armhf.
Preparing to unpack .../09-gir1.2-appindicator3-0.1_0.4.92-4+b2_armhf.deb ...
Unpacking gir1.2-appindicator3-0.1:armhf (0.4.92-4+b2) ...
Selecting previously unselected package blueman.
Preparing to unpack .../10-blueman_2.0.4-1+b4_armhf.deb ...
Unpacking blueman (2.0.4-1+b4) ...
Setting up libindicator3-7:armhf (0.5.0-3) ...
Setting up gir1.2-notify-0.7:armhf (0.7.7-2) ...
Setting up libical2:armhf (2.0.0-0.5+b1) ...
Setting up libpulse-mainloop-glib0:armhf (10.0-1+deb9u1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for libglib2.0-0:armhf (2.50.3-2) ...
Setting up libdbusmenu-glib4:armhf (12.10.2-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up bluez-obexd (5.43-2+rpt2+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up notification-daemon (3.20.0-1) ...
Setting up libdbusmenu-gtk3-4:armhf (12.10.2-2) ...
Setting up libappindicator3-1:armhf (0.4.92-4+b2) ...
Setting up gir1.2-appindicator3-0.1:armhf (0.4.92-4+b2) ...
Setting up blueman (2.0.4-1+b4) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.6.32-2).
dbus-x11 is already the newest version (1.10.26-0+deb9u1).
dbus-x11 set to manually installed.
lsb-release is already the newest version (9.20161125+rpi1).
mplayer is already the newest version (2:1.3.0-6).
bluez is already the newest version (5.43-2+rpt2+deb9u2).
bluez set to manually installed.
bluez-firmware is already the newest version (1.2-3+rpt6).
bluez-firmware set to manually installed.
The following additional packages will be installed:
libasound2-plugins libpulsedsp libspeexdsp1 pulseaudio-utils rtkit
tcl-expect tcl8.6 tk8.6
Suggested packages:
pavumeter pavucontrol paman paprefs tcl-tclreadline
The following NEW packages will be installed:
expect libasound2-plugins libpulsedsp libspeexdsp1 pulseaudio
pulseaudio-module-bluetooth pulseaudio-module-zeroconf pulseaudio-utils
rtkit tcl-expect tcl8.6 tk8.6
0 upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
Need to get 1916 kB of archives.
After this operation, 7691 kB of additional disk space will be used.
Get:1  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libspeexdsp1 armhf 1.2~rc1.2-1 [42.9 kB]
Get:2  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf tcl-expect armhf 5.45-7+deb9u1 [120 kB]
Get:3  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf expect armhf 5.45-7+deb9u1 [164 kB]
Get:4  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libasound2-plugins armhf 1.1.1-1 [72.9 kB]
Get:5  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf libpulsedsp armhf 10.0-1+deb9u1 [52.0 kB]
Get:6  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf pulseaudio-utils armhf 10.0-1+deb9u1 [82.8 kB]
Get:7  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf pulseaudio armhf 10.0-1+deb9u1 [1020 kB]
Get:8  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf pulseaudio-module-zeroconf armhf 10.0-1+deb9u1 [52.2 kB]
Get:9  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf rtkit armhf 0.11-4 [31.2 kB]
Get:10  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf tcl8.6 armhf 8.6.6+dfsg-1 [123 kB]
Get:11  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf tk8.6 armhf 8.6.6-1 [71.3 kB]
Get:12  http://mirrors.ircam.fr/pub/raspbian/raspbian  stretch/main armhf pulseaudio-module-bluetooth armhf 10.0-1+deb9u1 [83.9 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1916 kB in 25s (75.8 kB/s)
Selecting previously unselected package libspeexdsp1:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 130271 files and directories currently installed.)
Preparing to unpack .../00-libspeexdsp1_1.2~rc1.2-1_armhf.deb ...
Unpacking libspeexdsp1:armhf (1.2~rc1.2-1) ...
Selecting previously unselected package tcl-expect:armhf.
Preparing to unpack .../01-tcl-expect_5.45-7+deb9u1_armhf.deb ...
Unpacking tcl-expect:armhf (5.45-7+deb9u1) ...
Selecting previously unselected package expect.
Preparing to unpack .../02-expect_5.45-7+deb9u1_armhf.deb ...
Unpacking expect (5.45-7+deb9u1) ...
Selecting previously unselected package libasound2-plugins:armhf.
Preparing to unpack .../03-libasound2-plugins_1.1.1-1_armhf.deb ...
Unpacking libasound2-plugins:armhf (1.1.1-1) ...
Selecting previously unselected package libpulsedsp:armhf.
Preparing to unpack .../04-libpulsedsp_10.0-1+deb9u1_armhf.deb ...
Unpacking libpulsedsp:armhf (10.0-1+deb9u1) ...
Selecting previously unselected package pulseaudio-utils.
Preparing to unpack .../05-pulseaudio-utils_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio-utils (10.0-1+deb9u1) ...
Selecting previously unselected package pulseaudio.
Preparing to unpack .../06-pulseaudio_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio (10.0-1+deb9u1) ...
Selecting previously unselected package pulseaudio-module-zeroconf.
Preparing to unpack .../07-pulseaudio-module-zeroconf_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
Selecting previously unselected package rtkit.
Preparing to unpack .../08-rtkit_0.11-4_armhf.deb ...
Unpacking rtkit (0.11-4) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../09-tcl8.6_8.6.6+dfsg-1_armhf.deb ...
Unpacking tcl8.6 (8.6.6+dfsg-1) ...
Selecting previously unselected package tk8.6.
Preparing to unpack .../10-tk8.6_8.6.6-1_armhf.deb ...
Unpacking tk8.6 (8.6.6-1) ...
Selecting previously unselected package pulseaudio-module-bluetooth.
Preparing to unpack .../11-pulseaudio-module-bluetooth_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio-module-bluetooth (10.0-1+deb9u1) ...
Setting up tk8.6 (8.6.6-1) ...
Setting up libpulsedsp:armhf (10.0-1+deb9u1) ...
Setting up pulseaudio-utils (10.0-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up tcl-expect:armhf (5.45-7+deb9u1) ...
Setting up rtkit (0.11-4) ...
Setting up tcl8.6 (8.6.6+dfsg-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Setting up libspeexdsp1:armhf (1.2~rc1.2-1) ...
Setting up expect (5.45-7+deb9u1) ...
Setting up libasound2-plugins:armhf (1.1.1-1) ...
Setting up pulseaudio (10.0-1+deb9u1) ...
Adding user pulse to group audio
Setting up pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
Setting up pulseaudio-module-bluetooth (10.0-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
############################################################################
# Add root and jeedom users to pulse-access group
############################################################################
Adding user `root' to group `pulse-access' ...
Adding user root to group pulse-access
Done.
adduser: The user `jeedom' does not exist.
Adding user `www-data' to group `pulse-access' ...
Adding user www-data to group pulse-access
Done.
Adding user `pi' to group `pulse-access' ...
Adding user pi to group pulse-access
Done.
############################################################################
# Authorize PulseAudio - which will run as user pulse - to use BlueZ D-BUS interface:
############################################################################
############################################################################
# Load Bluetooth discover module in SYSTEM MODE:
############################################################################
############################################################################
# Load Network module in SYSTEM MODE:
############################################################################
############################################################################
# Load Simultaneous module in SYSTEM MODE:
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
############################################################################
# Create a systemd service for running pulseaudio in System Mode as user 'pulse'.
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
Created symlink /etc/systemd/system/multi-user.target.wants/pulseaudio.service -> /etc/systemd/system/pulseaudio.service.
############################################################################
# Linking scripts
############################################################################
############################################################################
# Installation Information
############################################################################
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
5.43
############################################################################
# Services Information
############################################################################
* bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-10-21 10:52:36 CEST; 2s ago
Docs: man:bluetoothd(8)
Main PID: 9963 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
`-9963 /usr/lib/bluetooth/bluetoothd
Oct 21 10:52:35 raspberrypi systemd[1]: Starting Bluetooth service...
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Bluetooth daemon 5.43
Oct 21 10:52:36 raspberrypi systemd[1]: Started Bluetooth service.
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Starting SDP server
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Bluetooth management interface 1.14 initialized
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Failed to obtain handles for "Service Changed" characteristic
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Sap driver initialization failed.
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: sap-server: Operation not permitted (1)
Oct 21 10:52:36 raspberrypi bluetoothd[9963]: Endpoint registered: sender=:1.34 path=/A2DP/SBC/Source/1
* pulseaudio.service - PulseAudio Daemon
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-10-21 10:52:37 CEST; 1s ago
Main PID: 10149 (pulseaudio)
CGroup: /system.slice/pulseaudio.service
`-10149 /usr/bin/pulseaudio --system --realtime --disallow-exit --no-cpu-limit
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] main.c: Please read  http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/  for an explanation why system mode is usually a bad idea.
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': Aucun fichier ou dossier de ce type
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': Aucun fichier ou dossier de ce type
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-cookie': Aucun fichier ou dossier de ce type
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.pulse-cookie': Aucun fichier ou dossier de ce type
Oct 21 10:52:38 raspberrypi pulseaudio[10149]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.36" (uid=115 pid=10149 comm="/usr/bin/pulseaudio --system --realtime --disallow") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=9963 comm="/usr/lib/bluetooth/bluetoothd ")
############################################################################
# Installation finnished
############################################################################

Et au lancement de Ton Plugin, il ne trouve pas mon enceinte BT alors que avant il la trouvait .......
Merci pour ton aide

This post was modified Il y a 3 années 2 times by Alain25
RépondreQuote
Topic starter Posté : 21/10/2018 10:40
slobberbone
(@slobberbone)
Membre Admin

Donc pulseaudio fonctionnait bien avant, c'est je pense que tu devais pas utiliser la bonne sortie son pour playTTS ...

Là c'est l'une des dépendances du plugin qui ne s'sintalle pas comme il faudrait j'ai l'impression ...

Tente ceci :

sudo systemctl enable bluetooth

Puis relance l'installation des dépendances du plugin ...

RépondreQuote
Posté : 21/10/2018 1:57
slobberbone
(@slobberbone)
Membre Admin

Au passage, pour playTTS, forcé le passage par PulseAudio :

-ao pulse -af scaletempo -speed 0.9 -volume 45


                        
This post was modified Il y a 3 années 2 times by slobberbone
RépondreQuote
Posté : 21/10/2018 2:00
Alain25
(@alain25)
Active Member

Merci Merci .... Mais ................ Toujours les même erreurs

ET après 10 0000 réinstallations ... je suis pas loin de divorcer ... 😥 

Je passe plus de temps avec Ton Plgin  ... qu'avec ma Femme   ... 😀  😏 

1 - Pourquoi est ce que je ne trouve pas mon enceinte BB dans le Panel ?
2 - Quelle est la dernière bonne version de ton Plugin ?

3 - Et est ce normal que même sans ton Plugin , Play TTS fonctionne en SSH mais pas sous Jeedom ?

4 - Peut-être est ce que je dois redescendre de strecth à jessie ?

Help

RépondreQuote
Topic starter Posté : 22/10/2018 3:27
slobberbone
(@slobberbone)
Membre Admin

Oula si tu passes plus de temps avec mon plugin qu'avec ta femme, je préfère te le dire tout de suite ... ta femme fais bcp plus de choses que le plugin !!! ^^

Hum ... bon sinon, en fait dès le départ si tu n'avais pas réinstallé, le plugin pulseaudio fonctionnait très bien, c'est la configuration de playTTS qui n'utilisait pas pulseaudio ... d'où la commande que j'ai remis plus haut ( -ao pulse) qui permet d'utiliser pulseaudio pour playtts.

Ensuite, tu as tout réinstallé mais du coup là tu as un autre problème c'est que des dépendances (non gérées par moi mais par Debian, qui propose un paquet pour un projet nommé PulseAudio)  qui à priori ne s'installe pas comme il faut sur ta plateforme.

J'ai peut-être une piste, qui serait que le plugin avait été fait pour Jessie et que le paquet doit exister pour stretch sans passer par un dépot particulier ... ( https://packages.debian.org/stretch/pulseaudio )

Si tu vas dans le plugin, dossier 3rdparty, tu édites le fichier install.sh et tu commentes cette partie :

echo "############################################################################"
echo "# Installation in progress"
echo "############################################################################"
echo "############################################################################"
echo "# Update repository packages and install dependencies"
echo "############################################################################"
if ! grep -q "contrib non-free" /etc/apt/sources.list; then
$sudo_prefix cp /etc/apt/sources.list /etc/apt/sources.list_backup_pulseaudio
$sudo_prefix sed -i.bak "s| jessie main| jessie main contrib non-free|g" /etc/apt/sources.list
$sudo_prefix sed -i.bak "s| jessie-updates main| jessie-updates main contrib non-free|g" /etc/apt/sources.list
fi

Tu relances l'installation des dépendances, voir si ça change quelque chose ...

Si c'est bon ca veut dire que je dois corriger ça !

RépondreQuote
Posté : 22/10/2018 5:15
Alain25
(@alain25)
Active Member

Salut à toi

Ca y est j'ai réussi à faire fonctionner ton PlugIn ... je ne sais pas comment , mais ça marche
Ca a fonctionné avant de rééditer install.sh

Mais j'ai toujours  au niveau du status :

Unit pulseaudio-speaker-service-BT.service could not be found.
Ce qui fait que ça va être plus compliqué de diriger le son sur différentes enceintes

Je vais faire une image de Raspberry, et j'essayerais la manipulation que tu m'as donné et te tiendrais au courant

Je te laisse aussi les logs si ça peux aider (j'ai juste une toute petite erreur que tu sauras certainement expliquer )
(Je viens du monde microsoft ....... Je sais .. Je sais .... personne n'est parfait 🙄 ...)

Mille Merci à toi et au Forum

############################################################################
# Installation in progress
############################################################################
############################################################################
# Update repository packages and install dependencies
############################################################################
Hit:1  http://raspbian.raspberrypi.org/raspbian  stretch InRelease
Hit:2  http://archive.raspberrypi.org/debian  stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
blueman is already the newest version (2.0.4-1+b4).
pi-bluetooth is already the newest version (0.1.9).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.6.32-2).
dbus-x11 is already the newest version (1.10.26-0+deb9u1).
expect is already the newest version (5.45-7+deb9u1).
lsb-release is already the newest version (9.20161125+rpi1).
mplayer is already the newest version (2:1.3.0-6).
pulseaudio is already the newest version (10.0-1+deb9u1).
pulseaudio-module-bluetooth is already the newest version (10.0-1+deb9u1).
bluez is already the newest version (5.43-2+rpt2+deb9u2).
bluez-firmware is already the newest version (1.2-3+rpt6).
The following NEW packages will be installed:
pulseaudio-module-zeroconf
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/52.2 kB of archives.
After this operation, 141 kB of additional disk space will be used.
Selecting previously unselected package pulseaudio-module-zeroconf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 131214 files and directories currently installed.)
Preparing to unpack .../pulseaudio-module-zeroconf_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
Setting up pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
############################################################################
# Add root and jeedom users to pulse-access group
############################################################################
The user `root' is already a member of `pulse-access'.
The user `jeedom' is already a member of `pulse-access'.
The user `www-data' is already a member of `pulse-access'.
The user `pi' is already a member of `pulse-access'.
############################################################################
# Authorize PulseAudio - which will run as user pulse - to use BlueZ D-BUS interface:
############################################################################
############################################################################
# Load Bluetooth discover module in SYSTEM MODE:
############################################################################
############################################################################
# Load Network module in SYSTEM MODE:
############################################################################
############################################################################
# Load Simultaneous module in SYSTEM MODE:
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
############################################################################
# Create a systemd service for running pulseaudio in System Mode as user 'pulse'.
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
############################################################################
# Linking scripts
############################################################################
############################################################################
# Installation Information
############################################################################
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
5.43
############################################################################
# Services Information
############################################################################
* bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 17:30:40 CEST; 1s ago
Docs: man:bluetoothd(8)
Main PID: 5504 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
`-5504 /usr/lib/bluetooth/bluetoothd
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.17 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.17 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
* pulseaudio.service - PulseAudio Daemon
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 17:30:42 CEST; 584ms ago
Main PID: 5690 (pulseaudio)
CGroup: /system.slice/pulseaudio.service
`-5690 /usr/bin/pulseaudio --system --realtime --disallow-exit --no-cpu-limit
Oct 22 17:30:42 raspberrypi systemd[1]: Started PulseAudio Daemon.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: Please read  http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/  for an explanation why system mode is usually a bad idea.
############################################################################
# Installation finnished
############################################################################

RépondreQuote
Topic starter Posté : 22/10/2018 10:04
Alain25
(@alain25)
Active Member

Salut à toi

Ca y est j'ai réussi à faire fonctionner ton PlugIn ... je ne sais pas comment , mais ça marche
Ca a fonctionné avant de rééditer install.sh

Mais j'ai toujours  au niveau du status :

Unit pulseaudio-speaker-service-BT.service could not be found.
Ce qui fait que ça va être plus compliqué de diriger le son sur différentes enceintes

Je vais faire une image de Raspberry, et j'essayerais la manipulation que tu m'as donné et te tiendrais au courant

Je te laisse aussi les logs si ça peux aider (j'ai juste une toute petite erreur que tu sauras certainement expliquer )
(Je viens du monde microsoft ....... Je sais .. Je sais .... personne n'est parfait 🙄 ...)

Mille Merci à toi et au Forum

############################################################################
# Installation in progress
############################################################################
############################################################################
# Update repository packages and install dependencies
############################################################################
Hit:1  http://raspbian.raspberrypi.org/raspbian  stretch InRelease
Hit:2  http://archive.raspberrypi.org/debian  stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
blueman is already the newest version (2.0.4-1+b4).
pi-bluetooth is already the newest version (0.1.9).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.6.32-2).
dbus-x11 is already the newest version (1.10.26-0+deb9u1).
expect is already the newest version (5.45-7+deb9u1).
lsb-release is already the newest version (9.20161125+rpi1).
mplayer is already the newest version (2:1.3.0-6).
pulseaudio is already the newest version (10.0-1+deb9u1).
pulseaudio-module-bluetooth is already the newest version (10.0-1+deb9u1).
bluez is already the newest version (5.43-2+rpt2+deb9u2).
bluez-firmware is already the newest version (1.2-3+rpt6).
The following NEW packages will be installed:
pulseaudio-module-zeroconf
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/52.2 kB of archives.
After this operation, 141 kB of additional disk space will be used.
Selecting previously unselected package pulseaudio-module-zeroconf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 131214 files and directories currently installed.)
Preparing to unpack .../pulseaudio-module-zeroconf_10.0-1+deb9u1_armhf.deb ...
Unpacking pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
Setting up pulseaudio-module-zeroconf (10.0-1+deb9u1) ...
############################################################################
# Add root and jeedom users to pulse-access group
############################################################################
The user `root' is already a member of `pulse-access'.
The user `jeedom' is already a member of `pulse-access'.
The user `www-data' is already a member of `pulse-access'.
The user `pi' is already a member of `pulse-access'.
############################################################################
# Authorize PulseAudio - which will run as user pulse - to use BlueZ D-BUS interface:
############################################################################
############################################################################
# Load Bluetooth discover module in SYSTEM MODE:
############################################################################
############################################################################
# Load Network module in SYSTEM MODE:
############################################################################
############################################################################
# Load Simultaneous module in SYSTEM MODE:
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
############################################################################
# Create a systemd service for running pulseaudio in System Mode as user 'pulse'.
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
############################################################################
# Linking scripts
############################################################################
############################################################################
# Installation Information
############################################################################
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
5.43
############################################################################
# Services Information
############################################################################
* bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 17:30:40 CEST; 1s ago
Docs: man:bluetoothd(8)
Main PID: 5504 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
`-5504 /usr/lib/bluetooth/bluetoothd
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.17 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.17 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:41 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 22 17:30:42 raspberrypi bluetoothd[5504]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
* pulseaudio.service - PulseAudio Daemon
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 17:30:42 CEST; 584ms ago
Main PID: 5690 (pulseaudio)
CGroup: /system.slice/pulseaudio.service
`-5690 /usr/bin/pulseaudio --system --realtime --disallow-exit --no-cpu-limit
Oct 22 17:30:42 raspberrypi systemd[1]: Started PulseAudio Daemon.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Oct 22 17:30:42 raspberrypi pulseaudio[5690]: W: [pulseaudio] main.c: Please read  http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/  for an explanation why system mode is usually a bad idea.
############################################################################
# Installation finnished
############################################################################

RépondreQuote
Topic starter Posté : 22/10/2018 10:05
Alain25
(@alain25)
Active Member

Salut à toi

Comme convenu je t’envoie les logs : ... toujours une erreur d'installe

Puisque le service statut ne fonctionne pas (Unit pulseaudio-speaker-service-essai.service could not be found.)

Comment je peux faire pour diriger l'audio sur différents périphériques (sortie audio du Raspberry, autre enceinte bluetooth, ...) ?

Mille merci encore à toi

###########################################################################
# Installation in progress
############################################################################
############################################################################
# Update repository packages and install dependencies
############################################################################
Hit:1  http://archive.raspberrypi.org/debian  stretch InRelease
Hit:2  http://raspbian.raspberrypi.org/raspbian  stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
blueman is already the newest version (2.0.4-1+b4).
pi-bluetooth is already the newest version (0.1.9).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.6.32-2).
dbus-x11 is already the newest version (1.10.26-0+deb9u1).
expect is already the newest version (5.45-7+deb9u1).
lsb-release is already the newest version (9.20161125+rpi1).
mplayer is already the newest version (2:1.3.0-6).
pulseaudio is already the newest version (10.0-1+deb9u1).
pulseaudio-module-bluetooth is already the newest version (10.0-1+deb9u1).
pulseaudio-module-zeroconf is already the newest version (10.0-1+deb9u1).
bluez is already the newest version (5.43-2+rpt2+deb9u2).
bluez-firmware is already the newest version (1.2-3+rpt6).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
############################################################################
# Add root and jeedom users to pulse-access group
############################################################################
The user `root' is already a member of `pulse-access'.
The user `jeedom' is already a member of `pulse-access'.
The user `www-data' is already a member of `pulse-access'.
The user `pi' is already a member of `pulse-access'.
############################################################################
# Authorize PulseAudio - which will run as user pulse - to use BlueZ D-BUS interface:
############################################################################
############################################################################
# Load Bluetooth discover module in SYSTEM MODE:
############################################################################
############################################################################
# Load Network module in SYSTEM MODE:
############################################################################
############################################################################
# Load Simultaneous module in SYSTEM MODE:
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
############################################################################
# Create a systemd service for running pulseaudio in System Mode as user 'pulse'.
############################################################################
############################################################################
# Restart Bluetooth and check its status
############################################################################
############################################################################
# Linking scripts
############################################################################
############################################################################
# Installation Information
############################################################################
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
5.43
############################################################################
# Services Information
############################################################################
* bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 10:20:06 CEST; 25s ago
Docs: man:bluetoothd(8)
Main PID: 2374 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
`-2374 /usr/lib/bluetooth/bluetoothd
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Failed to obtain handles for "Service Changed" characteristic
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Sap driver initialization failed.
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: sap-server: Operation not permitted (1)
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Endpoint registered: sender=:1.6 path=/MediaEndpoint/A2DPSource
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Endpoint registered: sender=:1.6 path=/MediaEndpoint/A2DPSink
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Endpoint registered: sender=:1.6 path=/MediaEndpoint/A2DPSource
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Endpoint registered: sender=:1.6 path=/MediaEndpoint/A2DPSink
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: Endpoint registered: sender=:1.26 path=/A2DP/SBC/Source/1
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Oct 26 10:20:06 raspberrypi bluetoothd[2374]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
* pulseaudio.service - PulseAudio Daemon
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 10:18:46 CEST; 1min 45s ago
Main PID: 332 (pulseaudio)
CGroup: /system.slice/pulseaudio.service
`-332 /usr/bin/pulseaudio --system --realtime --disallow-exit --no-cpu-limit
Oct 26 10:18:46 raspberrypi pulseaudio[332]: N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
Oct 26 10:18:46 raspberrypi pulseaudio[332]: W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Oct 26 10:18:46 raspberrypi pulseaudio[332]: W: [pulseaudio] main.c: Please read  http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/  for an explanation why system mode is usually a bad idea.
Oct 26 10:18:47 raspberrypi pulseaudio[332]: W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': Aucun fichier ou dossier de ce type
Oct 26 10:18:47 raspberrypi pulseaudio[332]: W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': Aucun fichier ou dossier de ce type
Oct 26 10:18:47 raspberrypi pulseaudio[332]: W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-cookie': Aucun fichier ou dossier de ce type
Oct 26 10:18:47 raspberrypi pulseaudio[332]: W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.pulse-cookie': Aucun fichier ou dossier de ce type
Oct 26 10:18:59 raspberrypi pulseaudio[332]: No protocol specified
Oct 26 10:18:59 raspberrypi pulseaudio[332]: E: [pulseaudio] x11wrap.c: XOpenDisplay() failed
Oct 26 10:18:59 raspberrypi pulseaudio[332]: E: [pulseaudio] module.c: Failed to load module "module-x11-publish" (argument: "display=:0"): initialization failed.
############################################################################
# Installation finnished
############################################################################
RépondreQuote
Topic starter Posté : 26/10/2018 10:28
slobberbone
(@slobberbone)
Membre Admin

C'est très étrange tout ça, tu peux me dire quel version du plugin tu as ? (github Nextdom, quelle branche ?)

RépondreQuote
Posté : 26/10/2018 12:16
Page 1 / 2
Share:
fr_FRFrançais
fr_FRFrançais