Knx Passerelle USB

Hello,

Sur une installation qui tournait avec une passerelle usb KNX branchée sur une jeedom smart en usb…
Depuis le passage au KNXD la passerelle n’est plus trouvé lors de la recherche.

Les logs en debugs :

0000|chmod: cannot access '/dev/bus/usb/000/000': No such file or directory
0001|[2022-05-25 15:57:02]DEBUG : Droit d'acces sur la passerelle USB /dev/bus/usb/000/000
0002|chmod: cannot access '/dev/bus/usb/000/000': No such file or directory
0003|[2022-05-25 15:57:03]DEBUG : Droit d'acces sur la passerelle USB /dev/bus/usb/000/000
0004|chmod: cannot access '/dev/bus/usb/000/000': No such file or directory

le plugin ne trouve pas le dossier /dev/bus/usb/000/000.

J’ai tenté de réinstaller les dépendances sans succès, merci pour votre aide si vous avez une idée.

Si jamais voici les logs de l’installation du packet:

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_eibd
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/eibd/plugin_info/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/eibd/plugin_info/pre-install.sh
0007|*****************************************************************************************************
0008|*                                         Remove eibd                                               *
0009|*****************************************************************************************************
0010|rm: cannot remove '/usr/local/bin/eibd': No such file or directory
0011|rm: cannot remove '/usr/local/bin/knxtool': No such file or directory
0012|rm: cannot remove '/usr/local/bin/group*': No such file or directory
0013|rm: cannot remove '/usr/local/lib/libeib*.so*': No such file or directory
0014|rm: cannot remove '/usr/local/lib/libpthsem*.so*': No such file or directory
0015|rm: cannot remove '/usr/local/include/pth*': No such file or directory
0016|rm: cannot remove '/var/log/knxd.log': No such file or directory
0017|*****************************************************************************************************
0018|*                                         Remove knxd                                               *
0019|*****************************************************************************************************
0020|rm: cannot remove '/etc/knxd.conf': No such file or directory
0021|rm: cannot remove '/etc/knxd.ini': No such file or directory
0022|rm: cannot remove '/usr/lib/knxd': No such file or directory
0023|Reading package lists...
0024|Building dependency tree...
0025|Reading state information...
0026|Package 'knxd' is not installed, so not removed
0027|0 upgraded, 0 newly installed, 0 to remove and 201 not upgraded.
0028|Reading package lists...
0029|Building dependency tree...
0030|Reading state information...
0031|Package 'knxd' is not installed, so not removed
0032|0 upgraded, 0 newly installed, 0 to remove and 201 not upgraded.
0033|+ echo 3
0034|+ sudo apt update
0035|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0036|Hit:1 http://security.debian.org/debian-security buster/updates InRelease
0037|Hit:2 http://www.deb-multimedia.org buster InRelease
0038|Get:4 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
0039|Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [51.9 kB]
0040|Hit:6 https://oph.mdrjr.net/meveric all InRelease
0041|Hit:7 https://oph.mdrjr.net/meveric buster InRelease
0042|Err:3 https://repo.jeedom.com/odroid stable InRelease
0043|504  Gateway Time-out [IP: 51.178.69.128 443]
0044|Fetched 173 kB in 15s (11.3 kB/s)
0045|Reading package lists...
0046|Building dependency tree...
0047|Reading state information...
0048|200 packages can be upgraded. Run 'apt list --upgradable' to see them.
0049|W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease  504  Gateway Time-out [IP: 51.178.69.128 443]
0050|W: Some index files failed to download. They have been ignored, or old ones used instead.
0051|+ echo 4
0052|+ sudo apt install -o Dpkg::Options::=--force-confdef -y knxd
0053|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0054|Reading package lists...
0055|Building dependency tree...
0056|Reading state information...
0057|The following additional packages will be installed:
0058|libev4
0059|The following NEW packages will be installed:
0060|knxd libev4
0061|0 upgraded, 2 newly installed, 0 to remove and 201 not upgraded.
0062|Need to get 322 kB of archives.
0063|After this operation, 1,431 kB of additional disk space will be used.
0064|Get:1 http://ftp.uk.debian.org/debian buster/main arm64 libev4 arm64 1:4.25-1 [37.4 kB]
0065|Get:2 http://ftp.uk.debian.org/debian buster/main arm64 knxd arm64 0.14.30-1 [285 kB]
0066|debconf: unable to initialize frontend: Dialog
0067|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0068|debconf: falling back to frontend: Readline
0069|debconf: unable to initialize frontend: Readline
0070|debconf: (This frontend requires a controlling tty.)
0071|debconf: falling back to frontend: Teletype
0072|dpkg-preconfigure: unable to re-open stdin:
0073|Fetched 322 kB in 0s (2,075 kB/s)
0074|Selecting previously unselected package libev4:arm64.
0075|(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 ... 75486 files and directories currently installed.)
0076|Preparing to unpack .../libev4_1%3a4.25-1_arm64.deb ...
0077|Unpacking libev4:arm64 (1:4.25-1) ...
0078|Selecting previously unselected package knxd.
0079|Preparing to unpack .../knxd_0.14.30-1_arm64.deb ...
0080|Unpacking knxd (0.14.30-1) ...
0081|Setting up libev4:arm64 (1:4.25-1) ...
0082|Setting up knxd (0.14.30-1) ...
0083|Configuration file '/etc/knxd.conf'
0084|==> File on system created by you or by a script.
0085|==> File also in package provided by package maintainer.
0086|==> Keeping old config file as default.
0087|Adding group `knxd' (GID 114) ...
0088|Done.
0089|Adding system user `knxd' (UID 107) ...
0090|Adding new user `knxd' (UID 107) with group `knxd' ...
0091|Creating home directory `/var/lib/knxd' ...
0092|Created symlink /etc/systemd/system/multi-user.target.wants/knxd.service → /lib/systemd/system/knxd.service.
0093|Created symlink /etc/systemd/system/network-online.target.wants/knxd.service → /lib/systemd/system/knxd.service.
0094|Created symlink /etc/systemd/system/sockets.target.wants/knxd.socket → /lib/systemd/system/knxd.socket.
0095|Job for knxd.service failed because the control process exited with error code.
0096|See "systemctl status knxd.service" and "journalctl -xe" for details.
0097|Job for knxd.service failed because the control process exited with error code.
0098|See "systemctl status knxd.service" and "journalctl -xe" for details.
0099|invoke-rc.d: initscript knxd, action "start" failed.
0100|● knxd.service - KNX Daemon
0101|Loaded: loaded (e]8;;file://Jeedom/lib/systemd/system/knxd.servicea/lib/systemd/system/knxd.servicee]8;;a; enabled; vendor preset: enabled)
0102|Active: activating (auto-restart) (Result: exit-code) since Tue 2022-05-24 12:34:50 UTC; 93ms ago
0103|Process: 2413 ExecStart=/usr/bin/knxd $KNXD_OPTS e[0;1;31m(code=exited, status=2)e[0m
0104|Main PID: 2413 (code=exited, status=2)
0105|dpkg: error processing package knxd (--configure):
0106|installed knxd package post-installation script subprocess returned error exit status 1
0107|Processing triggers for systemd (241-7~deb10u4) ...
0108|Processing triggers for libc-bin (2.28-10) ...
0109|Errors were encountered while processing:
0110|knxd
0111|E: Sub-process /usr/bin/dpkg returned an error code (1)
0112|+ echo 5
0113|+ sudo apt install -o Dpkg::Options::=--force-confdef -y knxd-tools
0114|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0115|Reading package lists...
0116|Building dependency tree...
0117|Reading state information...
0118|The following NEW packages will be installed:
0119|knxd-tools
0120|0 upgraded, 1 newly installed, 0 to remove and 201 not upgraded.
0121|1 not fully installed or removed.
0122|Need to get 47.4 kB of archives.
0123|After this operation, 238 kB of additional disk space will be used.
0124|Get:1 http://ftp.uk.debian.org/debian buster/main arm64 knxd-tools arm64 0.14.30-1 [47.4 kB]
0125|debconf: unable to initialize frontend: Dialog
0126|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0127|debconf: falling back to frontend: Readline
0128|debconf: unable to initialize frontend: Readline
0129|debconf: (This frontend requires a controlling tty.)
0130|debconf: falling back to frontend: Teletype
0131|dpkg-preconfigure: unable to re-open stdin:
0132|Fetched 47.4 kB in 0s (469 kB/s)
0133|Selecting previously unselected package knxd-tools.
0134|(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 ... 75508 files and directories currently installed.)
0135|Preparing to unpack .../knxd-tools_0.14.30-1_arm64.deb ...
0136|Unpacking knxd-tools (0.14.30-1) ...
0137|Setting up knxd (0.14.30-1) ...
0138|addgroup: The group `knxd' already exists as a system group. Exiting.
0139|Warning: The home dir /var/lib/knxd you specified already exists.
0140|The system user `knxd' already exists. Exiting.
0141|Job for knxd.service failed because the control process exited with error code.
0142|See "systemctl status knxd.service" and "journalctl -xe" for details.
0143|Job for knxd.service failed because the control process exited with error code.
0144|See "systemctl status knxd.service" and "journalctl -xe" for details.
0145|invoke-rc.d: initscript knxd, action "start" failed.
0146|● knxd.service - KNX Daemon
0147|Loaded: loaded (e]8;;file://Jeedom/lib/systemd/system/knxd.servicea/lib/systemd/system/knxd.servicee]8;;a; enabled; vendor preset: enabled)
0148|Active: activating (auto-restart) (Result: exit-code) since Tue 2022-05-24 12:35:11 UTC; 20ms ago
0149|Process: 2895 ExecStart=/usr/bin/knxd $KNXD_OPTS e[0;1;31m(code=exited, status=2)e[0m
0150|Main PID: 2895 (code=exited, status=2)
0151|May 24 12:35:10 Jeedom systemd[1]: e[0;1;31me[0;1;39me[0;1;31mFailed to start KNX Daemon.e[0m
0152|dpkg: error processing package knxd (--configure):
0153|installed knxd package post-installation script subprocess returned error exit status 1
0154|Setting up knxd-tools (0.14.30-1) ...
0155|Processing triggers for libc-bin (2.28-10) ...
0156|Errors were encountered while processing:
0157|knxd
0158|E: Sub-process /usr/bin/dpkg returned an error code (1)
0159|+ echo 6
0160|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end eibd
0161|+ rm /tmp/jeedom_install_in_progress_eibd
0162|+ echo '*******************End of package installation******************'
0163|*******************End of package installation******************

Merci

Bonjour

Tu n’a fait que la mise à jour avec knxd ?

Est-ce que ta passerelle est vue si tu lance l’instruction lsusb

Maj eib et jeedom

Et oui la passerelle est vue avec un lsusb

A tu essayé de saisir l’adresse à la mains ?

1 « J'aime »

Non, car je ne sais pas comment trouver l’adresse de ma passerelle qui est du type 1:x

Edit: si je reprends l’ancienne adresse 1:3 j’ai les mêmes erreurs

Que donne le ls usb

Bus 001 Device 004: ID 28c2:0002
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Du coup dois je mettre le port en 1:4?

Edit: le 1 c’est le numéro du bus et le 4 le numéro du device?

Pour la petite histoire je ne pouvais utiliser le routeur knx car trop de serveur dessus (4) j’ai donc mis la jeedom en usb juste pour gérer une alarme KNX Jablotron avec Homebridge.
Du coup je me suis dépatouillé en passant par des commandes scripts qui envoi des requêtes http sur un serveur ou est déjà connecté l’alarme et des virtuels qui via API jeedom renvois les états de celle ci.
Donc prends toi pas la tête avec mon soucis.

Encore merci pour ton aide.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.