Le port n'est pas configuré

Bonjour

J’ai toujours ce message dans le plugin BLEA

est-ce que quelqu’un peut m’aider ?

j’ai essayer ces lignes de codes mais rien n’y fait
sudo systemctl enable hciuart
sudo systemctl start hciuart
sudo hciconfig hcio down
sudo hciconfig hcio up

Merci de votre aide

Bonjour tu a quelle message ?

Essai de rebooter (plusieurs fois si il le faut)

Bonjour,

Peux tu préciser ta version de rasbian, ta version de Jeedom, ton type de matériel et des logs serait les bienvenue.

Et également la page du plugin

Bonjour

Jeedom version v4.0.40
Sur Raspberry B3+ avec Rasbian GNU/Linux 9 (stretch) 32 bit (armv7l)


Log :
BLEA

[2020-02-22 11:05:22][INFO] : Launching remotes ...
[2020-02-22 11:05:28][INFO] : Updating files on remotes ...
[2020-02-22 11:05:33][INFO] : Launching remotes ...
[2020-02-22 11:06:28][INFO] : Updating files on remotes ...
[2020-02-22 11:06:29][INFO] : Updating remotes ...

BLEA_Local
[--pidfile PIDFILE] [--callback CALLBACK] [--apikey APIKEY]
[--socketport SOCKETPORT] [--sockethost SOCKETHOST]
[--daemonname DAEMONNAME] [--cycle CYCLE]
[--noseeninterval NOSEENINTERVAL]
[--scaninterval SCANINTERVAL] [--scanmode SCANMODE]
blead.py: error: argument --device: expected one argument
usage: blead.py [-h] [--device DEVICE] [--loglevel LOGLEVEL]
[--pidfile PIDFILE] [--callback CALLBACK] [--apikey APIKEY]
[--socketport SOCKETPORT] [--sockethost SOCKETHOST]
[--daemonname DAEMONNAME] [--cycle CYCLE]
[--noseeninterval NOSEENINTERVAL]
[--scaninterval SCANINTERVAL] [--scanmode SCANMODE]
blead.py: error: argument --device: expected one argument
usage: blead.py [-h] [--device DEVICE] [--loglevel LOGLEVEL]
[--pidfile PIDFILE] [--callback CALLBACK] [--apikey APIKEY]
[--socketport SOCKETPORT] [--sockethost SOCKETHOST]
[--daemonname DAEMONNAME] [--cycle CYCLE]
[--noseeninterval NOSEENINTERVAL]
[--scaninterval SCANINTERVAL] [--scanmode SCANMODE]
blead.py: error: argument --device: expected one argument
usage: blead.py [-h] [--device DEVICE] [--loglevel LOGLEVEL]
[--pidfile PIDFILE] [--callback CALLBACK] [--apikey APIKEY]
[--socketport SOCKETPORT] [--sockethost SOCKETHOST]
[--daemonname DAEMONNAME] [--cycle CYCLE]
[--noseeninterval NOSEENINTERVAL]
[--scaninterval SCANINTERVAL] [--scanmode SCANMODE]
blead.py: error: argument --device: expected one argument
BLEA_SYNCONF
[2020-02-22 11:05:49][INFO] : Arrêt du démon en cours
[2020-02-22 11:05:50][INFO] : Arrêt du démon fait
[2020-02-22 11:05:50][INFO] : sudo  /bin/bash /var/www/html/plugins/blea/core/class/../../resources/syncconf.sh >> /var/www/html/core/class/../../log/blea_syncconf 2>&1
Lancement de la synchronisation des configurations
Déplacement dans le répertoire de travail
Récupération des sources (cette étape peut durer quelques minutes)
Cloning into 'plugin-blea'...
Suppression des configurations Jeedom existantes
Copie des nouvelles configurations Jeedom
amazfit
awoxmesh
beagle
beewismartdoor
blpnr
default
divoompixoo
divoomtimeboxmini
dotti
dreamscreen
fitbit
flowerpower
gigaset
hector
itag
jinlin
kst1
logiswitch
lywsd02
lywsd03
meyerdom
meyerdom4contacts
miband
miflora
miscale
miscale2
myfox
niu
noke
nut
parrotpot
playbulb
ropot
ruuvi
smartplug
tb05
ticatag
tile
wistiki
xiaomiht
yeelight
Suppression des configurations Blea python existantes
Copie des nouvelles configurations Blea Python
__init__.py
amazfitgtr.py
awoxmesh.py
beagle.py
beewismartdoor.py
blpnr.py
divoompixoo.py
divoomtimeboxmini.py
dotti.py
dreamscreen.py
fitbit.py
gigaset.py
hector.py
itag.py
jinlin.py
kst1.py
logiswitch.py
lywsd02.py
lywsd03.py
meyerdom2analog.py
meyerdom4contacts.py
meyerdomcontactvocal.py
miband.py
miband2.py
miband3.py
miband4.py
miflora.py
miscale.py
miscale2.py
myfox.py
niu.py
noke.py
nut.py
parrotplant.py
pixoo
playbulb.py
ropot.py
ruuvi.py
smartplug.py
tb05.py
ticatag.py
tile.py
timebox
wistiki.py
xiaomiht.py
yeelight.py
yeelightcandela.py
Nettoyage du répertoire de travail
Vos configurations sont maintenant à jour !
Le démon va se relancer, vous pouvez fermer cette fenêtre

BLEA_UPDATE

******************************************************** * Installation des dépendances * ******************************************************** Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB] Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB] Hit:4 https://deb.nodesource.com/node_12.x stretch InRelease Fetched 11.7 MB in 1min 26s (135 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.3). libatlas-base-dev is already the newest version (3.10.3-1+rpi1). libffi-dev is already the newest version (3.2.1-6). libssl-dev is already the newest version (1.1.0l-1~deb9u1). libtiff5 is already the newest version (4.0.8-2+deb9u4). python3-dev is already the newest version (3.5.3-1). python3-pyudev is already the newest version (0.21.0-1). python3-requests is already the newest version (2.12.4-1). python3-serial is already the newest version (3.2.1-1). python3-setuptools is already the newest version (33.1.1-1). rfkill is already the newest version (0.5-1). bluetooth is already the newest version (5.43-2+rpt2+deb9u2). libbluetooth-dev is already the newest version (5.43-2+rpt2+deb9u2). The following packages will be upgraded: libopenjp2-7 1 upgraded, 0 newly installed, 0 to remove and 79 not upgraded. Need to get 109 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf libopenjp2-7 armhf 2.1.2-1.1+deb9u4 [109 kB] Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 243, in <module> main(config) File "/usr/bin/apt-listchanges", line 106, in main frontend.update_progress() File "/usr/share/apt-listchanges/apt_listchanges.py", line 300, in update_progress ALCLog.info(_("Reading changelogs") + "...") File "/usr/share/apt-listchanges/ALCLog.py", line 36, in info print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stdout); UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 15: ordinal not in range(128) 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 109 kB in 4s (24.8 kB/s) (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 ... 126093 files and directories currently installed.) Preparing to unpack .../libopenjp2-7_2.1.2-1.1+deb9u4_armhf.deb ... Unpacking libopenjp2-7:armhf (2.1.2-1.1+deb9u4) over (2.1.2-1.1+deb9u3) ... Setting up libopenjp2-7:armhf (2.1.2-1.1+deb9u4) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Reading package lists... Building dependency tree... Reading state information... 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, 0 newly installed, 1 reinstalled, 0 to remove and 79 not upgraded. Need to get 0 B/142 kB of archives. After this operation, 0 B of additional disk space will be used. (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 ... 126093 files and directories currently installed.) Preparing to unpack .../python3-pip_9.0.1-2+rpt2_all.deb ... Unpacking python3-pip (9.0.1-2+rpt2) over (9.0.1-2+rpt2) ... Setting up python3-pip (9.0.1-2+rpt2) ... Processing triggers for man-db (2.7.6.1-2) ... Collecting setuptools Downloading https://files.pythonhosted.org/packages/3d/72/1c1498c1e908e0562b1e1cd30012580baa7d33b5b0ffdbeb5fde2462cc71/setuptools-45.2.0-py3-none-any.whl (584kB) Installing collected packages: setuptools Found existing installation: setuptools 45.1.0 Uninstalling setuptools-45.1.0: Not removing or modifying (outside of prefix): /usr/bin/easy_install Successfully uninstalled setuptools-45.1.0 Successfully installed setuptools-45.2.0 Reading package lists... Building dependency tree... Reading state information... git is already the newest version (1:2.11.0-3+deb9u5). The following additional packages will be installed: libglib2.0-0 libglib2.0-bin Suggested packages: libglib2.0-doc The following packages will be upgraded: libglib2.0-0 libglib2.0-bin libglib2.0-dev 3 upgraded, 0 newly installed, 0 to remove and 76 not upgraded. Need to get 6912 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf libglib2.0-dev armhf 2.50.3-2+deb9u2 [2775 kB] Get:2 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf libglib2.0-bin armhf 2.50.3-2+deb9u2 [1609 kB] Get:3 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf libglib2.0-0 armhf 2.50.3-2+deb9u2 [2528 kB] Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 243, in <module> main(config) File "/usr/bin/apt-listchanges", line 106, in main frontend.update_progress() File "/usr/share/apt-listchanges/apt_listchanges.py", line 300, in update_progress ALCLog.info(_("Reading changelogs") + "...") File "/usr/share/apt-listchanges/ALCLog.py", line 36, in info print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stdout); UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 15: ordinal not in range(128) 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 6912 kB in 48s (143 kB/s) (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 ... 126093 files and directories currently installed.) Preparing to unpack .../libglib2.0-dev_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-dev (2.50.3-2+deb9u2) over (2.50.3-2+deb9u1) ... Preparing to unpack .../libglib2.0-bin_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-bin (2.50.3-2+deb9u2) over (2.50.3-2+deb9u1) ... Preparing to unpack .../libglib2.0-0_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.50.3-2+deb9u2) over (2.50.3-2+deb9u1) ... Setting up libglib2.0-0:armhf (2.50.3-2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libglib2.0-bin (2.50.3-2+deb9u2) ... Setting up libglib2.0-dev (2.50.3-2+deb9u2) ... Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages Requirement already satisfied: requests in /usr/lib/python3/dist-packages Requirement already satisfied: pybluez in /usr/local/lib/python3.5/dist-packages Requirement already satisfied: pillow in /usr/lib/python3/dist-packages Requirement already satisfied: numpy in /usr/lib/python3/dist-packages Cloning into 'bluepy'... running build running build_py creating build creating build/lib creating build/lib/bluepy copying bluepy/blescan.py -> build/lib/bluepy copying bluepy/scan_fuzz.py -> build/lib/bluepy copying bluepy/sensortag.py -> build/lib/bluepy copying bluepy/thingy52.py -> build/lib/bluepy copying bluepy/btle.py -> build/lib/bluepy copying bluepy/get_services.py -> build/lib/bluepy copying bluepy/__init__.py -> build/lib/bluepy copying bluepy/scanner.py -> build/lib/bluepy copying bluepy/uuids.json -> build/lib/bluepy copying bluepy/bluez-src.tgz -> build/lib/bluepy copying bluepy/bluepy-helper.c -> build/lib/bluepy copying bluepy/Makefile -> build/lib/bluepy running install Working dir is /tmp/bluepy execute make -C ./bluepy clean execute make -C bluepy -j1 running build running build_py copying bluepy/bluepy-helper -> build/lib/bluepy running install_lib copying build/lib/bluepy/bluepy-helper -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/blescan.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/scan_fuzz.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/sensortag.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/thingy52.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/uuids.json -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/Makefile -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/bluepy-helper.c -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/btle.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/get_services.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/bluez-src.tgz -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/__init__.py -> /usr/local/lib/python3.5/dist-packages/bluepy copying build/lib/bluepy/scanner.py -> /usr/local/lib/python3.5/dist-packages/bluepy byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/blescan.py to blescan.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/sensortag.py to sensortag.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/thingy52.py to thingy52.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/btle.py to btle.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/get_services.py to get_services.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scanner.py to scanner.cpython-35.pyc running install_egg_info running egg_info creating bluepy.egg-info writing entry points to bluepy.egg-info/entry_points.txt writing bluepy.egg-info/PKG-INFO writing top-level names to bluepy.egg-info/top_level.txt writing dependency_links to bluepy.egg-info/dependency_links.txt writing manifest file 'bluepy.egg-info/SOURCES.txt' reading manifest file 'bluepy.egg-info/SOURCES.txt' writing manifest file 'bluepy.egg-info/SOURCES.txt' removing '/usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.egg-info' (and everything under it) Copying bluepy.egg-info to /usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.egg-info running install_scripts Installing sensortag script to /usr/local/bin Installing thingy52 script to /usr/local/bin Installing blescan script to /usr/local/bin Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages ******************************************************** * Installation terminée * ********************************************************

Bonjour.

Vous n’avez pas, par hasard, désactivé le bluetooth de ce Raspberry ?
Une copie du fichier /boot/config.txt

PS : pour la bonne tenue du forum, placez vos logs dans des blocs code.

Voici le code du fichier /boot/config.txt

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=85

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on



Je viens de rencontrer le même problème et c’est tout simplement dû à l’interface déroutante de Jeeom :slight_smile:

En effet, une fois le « Port clef bluetooth » choisi, il faut absolument cliquer sur « Sauvegarder » à droite de la section « Configuration », sinon Jeedom ne prend pas en compte la nouvelle interface choisie.

En espérant que ça puisse résoudre ton problème.

1 « J'aime »

Bonjour

Si c’etait si simple :slight_smile: , le probleme c’est que la liste des port clef bluetooth est vide

Hello,

Si tu tapes :
hciconfig

Tu as quoi comme réponse ?

Ah, :confused:. Bon, mon commentaire pourra peut-être aider qqn d’autre alors !

Voici ce que ça donne

pi@raspberrypi:~ $ hciconfig
hci0:   Type: Primary  Bus: UART
        BD Address: B8:27:EB:50:91:B0  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN
        RX bytes:1922413 acl:49 sco:0 events:109591 errors:0
        TX bytes:536672 acl:102 sco:0 commands:62912 errors:0

pi@raspberrypi:~ $

1 « J'aime »

Il voit bien le device…

Essaye de faire :

sudo hciconfig hci0 reset
sudo hciconfig hci0 up

Si ça marche pas, insiste plusieurs fois…

Sinon, regarde ce que donne le résultat de la commande suivante :
sudo systemctl status hciuart

Bonjour à tous, je me greffe au sujet car je suis dans le même cas si ce n’est que c’est un dongle que j’essaie de faire fonctionner (j’ai une carte RAZBERRY et j’ai cru comprendre que le bluetooth interne ne pouvait pas fonctionner avec)

hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: 00:1A:7D:DA:71:12  ACL MTU: 679:8  SCO MTU: 48:16
        DOWN
        RX bytes:1412 acl:0 sco:0 events:44 errors:0
        TX bytes:136 acl:0 sco:0 commands:44 errors:0

Les commandes recommandées ne fonctionnent pas

pi@raspberrypi:~ $ sudo hciconfig hci0 reset
Can't init device hci0: Invalid argument (22)
pi@raspberrypi:~ $ sudo hciconfig hci0 up
Can't init device hci0: Invalid argument (22)

mon dongle semble pourtant bien détecté

pi@raspberrypi:~ $ sudo lsusb | grep -i bluetooth
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Je suis un grand débutant, j’ai réussi jusque la la commande de mes volets roulants et porte de garage et la commande de mon seche serviette par module fil pilote mais la je seche sur ce dongle. Merci d’avance pour vos lumières

Bonjour,

Dans les deux cas, le port est indiqué comme DOWN, alors qu’il devrais être indiqué : UP RUNNING

En principe ces commandes font le travail :
sudo systemctl enable hciuart
sudo systemctl start hciuart

Cette commande permet de voir l’état :
sudo service bluetooth status
(sortir avec ctrl c)

Bonjour,

J’ai un problème du même ordre et je vois plein de choses sur les forums mais rien à faire.

  • jeedom 3.3.39 stretch 9.11 utilisation de l’antenne interne du PI3 plugin Blea mis à jour en stable il y a quelques jours.
  • hci0 est down - hciconfig hci0 reset et hci0 up sans effet
    le log blea local répète
    Can’t init device hci0: Connection timed out (110)

le bluetooth status donne le résultat suivant

févr. 24 18:18:54 raspberrypi systemd[1]: Starting Bluetooth service…
févr. 24 18:18:54 raspberrypi bluetoothd[476]: Bluetooth daemon 5.43
févr. 24 18:18:54 raspberrypi systemd[1]: Started Bluetooth service.
févr. 24 18:18:54 raspberrypi bluetoothd[476]: Starting SDP server
févr. 24 18:18:54 raspberrypi bluetoothd[476]: Bluetooth management interface 1.14 initialized
févr. 24 18:18:54 raspberrypi bluetoothd[476]: Failed to obtain handles for « Service Changed » chara
févr. 24 18:18:54 raspberrypi bluetoothd[476]: Sap driver initialization failed.
févr. 24 18:18:54 raspberrypi bluetoothd[476]: sap-server: Operation not permitted (1)
févr. 24 18:18:55 raspberrypi bluetoothd[476]: Failed to set privacy: Rejected (0x0b)

Est ce un pb de config du pi, de mise à jour Blea,
Au reboot ça marche bien - page plugin tout vert- puis très rapidement il perd l’antenne le deamon est NOK port non configuré

Je ne pense pas être le seul! si quelqu’un peut me mettre sur la voie…
Merci d’avance
Daniel

Hello,

Un petit rappel pour tout le monde, car j’ai encore eu le cas aujourd’hui…

En cas de perte internet ou wifi, les Google Home se mettent à spammer des trames Bluetooth. Cela a très souvent pour effet de faire crasher les antennes ou le démon de Blea.
Je n’ai pas vérifié, mais il est possible que les Google Cast fassent pareil.

Plus il y en a à la maison, plus grandes sont les chances de tout crasher…

1 « J'aime »

J’ai le même log que toi à part la dernière ligne.
C’'est ce qu’il y a au-dessus qui serait intéressant… est-ce que le service est actif ?

 bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2020-02-25 17:28:04 CET; 48min ago
     Docs: man:bluetoothd(8)
 Main PID: 393 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─393 /usr/lib/bluetooth/bluetoothd

Merci beaucoup pour les réponses, j’ai donc fait les commandes recommandées et ensuite j’ai ça

pi@raspberrypi:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Mon 2020-02-24 21:04:14 GMT; 23h ago
     Docs: man:bluetoothd(8)
 Main PID: 317 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 2200)
   Memory: 2.6M
   CGroup: /system.slice/bluetooth.service
           └─317 /usr/lib/bluetooth/bluetoothd

Feb 24 21:04:13 raspberrypi systemd[1]: Starting Bluetooth service...
Feb 24 21:04:14 raspberrypi bluetoothd[317]: Bluetooth daemon 5.50
Feb 24 21:04:14 raspberrypi bluetoothd[317]: Unknown key DisablePlugins for grou
Feb 24 21:04:14 raspberrypi systemd[1]: Started Bluetooth service.
Feb 24 21:04:14 raspberrypi bluetoothd[317]: Starting SDP server
Feb 24 21:04:14 raspberrypi bluetoothd[317]: Bluetooth management interface 1.14

par contre quand derrière je refais

pi@raspberrypi:~ $ hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: 00:1A:7D:DA:71:12  ACL MTU: 679:8  SCO MTU: 48:16
        DOWN
        RX bytes:2118 acl:0 sco:0 events:66 errors:0
        TX bytes:204 acl:0 sco:0 commands:66 errors:0

je suis toujours en down, je rate quelque chose?

en cherchant avant de venir demander de l’aide ici j’ai suivi différents tuto et j’ai ajouté à

/etc/bluetooth/main.conf

la ligne

DisablePlugins = pnat

c’est une erreur?

j’ai fait un test en supprimant la ligne, ce n’est pas mieux

pi@raspberrypi:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2020-02-25 20:39:45 GMT; 3min 50s ago
     Docs: man:bluetoothd(8)
 Main PID: 285 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 2200)
   Memory: 3.7M
   CGroup: /system.slice/bluetooth.service
           └─285 /usr/lib/bluetooth/bluetoothd

Feb 25 20:39:44 raspberrypi systemd[1]: Starting Bluetooth service...
Feb 25 20:39:45 raspberrypi bluetoothd[285]: Bluetooth daemon 5.50
Feb 25 20:39:45 raspberrypi systemd[1]: Started Bluetooth service.
Feb 25 20:39:45 raspberrypi bluetoothd[285]: Starting SDP server
Feb 25 20:39:45 raspberrypi bluetoothd[285]: Bluetooth management interface 1.14