Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[RESOLU] Probleme detection clef Zwave Everspring SA413 avec SSD

Retrouvez ici des sujets concernant le protocole Z-Wave et les modules domotiques de type Z-Wave utilisés avec JEEDOM
Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 08 déc. 2018, 20:53

Ton problème est peut-être à ce niveau ?! Comment tu boot sur le ssd du coup t'as modifié le fichier cmdline.txt ?
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 09 déc. 2018, 09:21

Voilà le contenu de mon cmdline.txt de ma SD:

Code : Tout sélectionner

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/sda2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Sinon apres avoir désinstaller puis réinstaller le plugin zwave, voici les logs (je met juste les dernières lignes car le log est très long !).
openzwave_update

Code : Tout sélectionner

Finished processing dependencies for openzwave==0.3.1
Installation of API finished.
sed: can't read /etc/inittab: No such file or directory
Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
And reboot your Raspberry Pi
Everything is successfully installed!
port sur ''auto'', le demon ne se lance pas, log openzwave:

Code : Tout sélectionner

Finished processing dependencies for openzwave==0.3.1
Installation of API finished.
sed: can't read /etc/inittab: No such file or directory
Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
And reboot your Raspberry Pi
Everything is successfully installed!
du coup je rebascule le port sur le seul dispo: ttyAMA0, le log me donne:

Code : Tout sélectionner

[2018-12-09 09:17:39][INFO] : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device /dev/ttyAMA0 --loglevel debug --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey qBT0BV2CV1f7yexiBET0JqHaR9ZDwV0r --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
[2018-12-09 08:17:43][INFO] : Start openzwaved
[2018-12-09 08:17:43][INFO] : Log level : debug
[2018-12-09 08:17:43][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2018-12-09 08:17:43][INFO] : Device : /dev/ttyAMA0
[2018-12-09 08:17:43][DEBUG] : Apikey : qBT0BV2CV1f7yexiBET0JqHaR9ZDwV0r
[2018-12-09 08:17:43][INFO] : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
[2018-12-09 08:17:43][INFO] : Cycle : 0.3
[2018-12-09 08:17:43][DEBUG] : Initial disabled nodes list: []
[2018-12-09 08:17:43][DEBUG] : Init request module v2.12.4
[2018-12-09 08:17:43][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-12-09 08:17:43][DEBUG] : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=qBT0BV2CV1f7yexiBET0JqHaR9ZDwV0r HTTP/1.1" 200 0
[2018-12-09 08:17:43][INFO] : Check if the port REST server available
[2018-12-09 08:17:43][INFO] : --> pass
[2018-12-09 08:17:43][INFO] : Check OpenZWave Devices Database
[2018-12-09 08:17:43][INFO] : --> pass
[2018-12-09 08:17:43][INFO] : Validate zwcfg configuration file(s)
[2018-12-09 08:17:43][DEBUG] : Create network object.
[2018-12-09 08:17:43][DEBUG] : Use sqlite version : (u'3.16.2',)
[2018-12-09 08:17:43][DEBUG] : connect to the louie dispatcher
[2018-12-09 08:17:43][INFO] : ******** The ZWave network is being started ********
[2018-12-09 08:17:43][INFO] : Start Openzwave network.
[2018-12-09 08:17:43][INFO] : OpenZwave Library Version 1.4.0
[2018-12-09 08:17:43][INFO] : Python-OpenZwave Wrapper Version 0.3.1
[2018-12-09 08:17:43][INFO] : --> pass
[2018-12-09 08:17:43][INFO] : Waiting for network to become ready
[2018-12-09 08:17:43][DEBUG] : Writing PID 19209 to /tmp/jeedom/openzwave/deamon.pid
[2018-12-09 09:17:43][INFO] : Démon openzwave lancé
[2018-12-09 08:17:44][DEBUG] : notif_callback : new notification
[2018-12-09 08:17:44][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2018-12-09 08:17:44][DEBUG] : notif_callback : call callback context
[2018-12-09 08:17:44][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2018-12-09 08:17:44][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2018-12-09 08:17:44][DEBUG] : notif_callback : end
[2018-12-09 08:17:45][DEBUG] : notif_callback : new notification
[2018-12-09 08:17:45][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2018-12-09 08:17:45][DEBUG] : notif_callback : call callback context
[2018-12-09 08:17:45][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2018-12-09 08:17:45][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2018-12-09 08:17:45][DEBUG] : notif_callback : end
[2018-12-09 08:17:46][DEBUG] : notif_callback : new notification
[2018-12-09 08:17:46][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2018-12-09 08:17:46][DEBUG] : notif_callback : call callback context
[2018-12-09 08:17:46][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2018-12-09 08:17:46][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2018-12-09 08:17:46][DEBUG] : notif_callback : end
[2018-12-09 08:17:47][DEBUG] : notif_callback : new notification
[2018-12-09 08:17:47][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2018-12-09 08:17:47][DEBUG] : notif_callback : call callback context
[2018-12-09 08:17:47][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2018-12-09 08:17:47][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2018-12-09 08:17:47][DEBUG] : notif_callback : end
[2018-12-09 08:17:48][DEBUG] : notif_callback : new notification
[2018-12-09 08:17:48][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2018-12-09 08:17:48][DEBUG] : notif_callback : call callback context
[2018-12-09 08:17:48][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2018-12-09 08:17:48][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2018-12-09 08:17:48][DEBUG] : notif_callback : end
et le openzwaved:

Code : Tout sélectionner

2018-12-09 08:17:43.249 Always, OpenZwave Version 1.4.0 Starting Up
2018-12-09 08:17:43.384 Info, Setting Up Provided Network Key for Secure Communications
2018-12-09 08:17:43.384 Info, mgr,     Added driver for controller /dev/ttyAMA0
2018-12-09 08:17:43.384 Info,   Opening controller /dev/ttyAMA0
2018-12-09 08:17:43.385 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2018-12-09 08:17:43.385 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2018-12-09 08:17:43.385 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-12-09 08:17:43.386 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-12-09 08:17:43.386 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-12-09 08:17:43.386 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2018-12-09 08:17:43.386 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-12-09 08:17:43.386 Detail,
2018-12-09 08:17:43.386 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-12-09 08:17:44.387 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-12-09 08:17:44.387 Detail, contrlr, Removing current message
2018-12-09 08:17:44.387 Detail, contrlr, Notification: Notification - TimeOut
2018-12-09 08:17:44.392 Detail,
2018-12-09 08:17:44.393 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-12-09 08:17:45.393 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-12-09 08:17:45.393 Detail, contrlr, Removing current message
2018-12-09 08:17:45.393 Detail, contrlr, Notification: Notification - TimeOut
2018-12-09 08:17:45.398 Detail,
2018-12-09 08:17:45.398 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-12-09 08:17:46.398 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-12-09 08:17:46.399 Detail, contrlr, Removing current message
2018-12-09 08:17:46.399 Detail, contrlr, Notification: Notification - TimeOut
2018-12-09 08:17:46.403 Detail,
2018-12-09 08:17:46.403 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2018-12-09 08:17:47.403 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-12-09 08:17:47.404 Detail, contrlr, Removing current message
2018-12-09 08:17:47.404 Detail, contrlr, Notification: Notification - TimeOut
2018-12-09 08:17:47.408 Detail,
2018-12-09 08:17:47.408 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-12-09 08:17:48.409 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-12-09 08:17:48.409 Detail, contrlr, Removing current message
2018-12-09 08:17:48.409 Detail, contrlr, Notification: Notification - TimeOut
Dernière édition par Alan328 le 09 déc. 2018, 22:55, édité 2 fois.

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 09 déc. 2018, 22:07

Je ne pige toujours pas comment tu boot sur ton SSD surtout avec ce fichier config.txt ???? c'est pas plutôt le cmdline.txt ?

T'as lu ce tuto ? -> viewtopic.php?t=27615

Édit: j'avais pas vu que tu avais justement posté sur ce post.
Dernière édition par Salvialf le 10 déc. 2018, 21:17, édité 2 fois.
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 09 déc. 2018, 22:17

Oui c'est bien cmdline.txt, je corrige dans le post précédent, désolé pour la confusion!

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 09 déc. 2018, 22:24

Je vois un truc étrange en faisant lsusb -t:

Code : Tout sélectionner

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 2: Dev 5, If 0, Class=Communications, Driver=, 12M
        |__ Port 2: Dev 5, If 1, Class=CDC Data, Driver=, 12M
        |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
pas de driver associé à ma clef zwave...
faudrait que je reboot avec la SD only pour voir ce qu'il en est quand ma clef marche bien...
Dernière édition par Alan328 le 09 déc. 2018, 22:54, édité 1 fois.

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 09 déc. 2018, 22:32

Je reste bloqué sur ta façon de booter :?

Effectivement moi j'ai ça:

lsusb

Code : Tout sélectionner

Bus 001 Device 005: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 004: ID 07ab:fc96 Freecom Technologies
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -t

Code : Tout sélectionner

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 4: Dev 5, If 1, Class=CDC Data, Driver=cdc_acm, 12M
        |__ Port 4: Dev 5, If 0, Class=Communications, Driver=cdc_acm, 12M
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 10 déc. 2018, 21:50

Salut @Alan,

Tu en es où avec ta clé Everspring ?

En relisant ce que @Ione répond sur ton problème (viewtopic.php?f=152&t=27615&start=700)
Les problèmes de reboot capricieux sont souvent dus à des alims trop faibles.
Je me demande si tu ne manques pas de jus dans tes USB ce qui pourrait peut-être expliquer le bug avec ta clé.
Est-ce que tu as tenté de rajouter "max_usb_current=1" dans le config.txt ?

VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 10 déc. 2018, 23:15

Hello,
J'ai pas bien avancé depuis hier, journée de travail bien remplie, et là j'y consacre qq minutes avant le dodo :-)
Le problème d'alim j'y ai bien pensé aussi... mais je l'ai écarté avec le test que j'ai fait en bootant sur la SD avec SSD et clef connectée et là tout marchait bien...
Je teste le max_usb_current=1... pas mieux
Demain je reboot sur la SD en faisant un lsusb -t pour voir s'il y a bien un driver de défini...
Je vais aussi essayé de mettre le PARTUUID de mon SDD à la place du /dev/sda2 dans mon cmdline.txt, des fois qu'il y ait un soucis avec ma manière de booter !
A+

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 10 déc. 2018, 23:16

Bon courage
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 11 déc. 2018, 22:12

Hello,

Des news du soir...
Alors en tournant sur la SD, le lsusb -t me donne un truc ''normal'' avec le driver cdc_acm et le zwave fonctionne sous jeedom ! pas vraiment de surprises...

Code : Tout sélectionner

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 2: Dev 4, If 0, Class=Communications, Driver=cdc_acm, 12M
        |__ Port 2: Dev 4, If 1, Class=CDC Data, Driver=cdc_acm, 12M
        |__ Port 4: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
Par contre quand je regarde le dmesg, je vois des under voltage !!! à ne plus rien y comprendre... du coup je me met à soupçonner fortement mon câble micro USB plutôt que l'alim... j'ai pas d'autres alim sous la main, par contre un câble à sacrifier (bornier à vis coté alim) je dois avoir...

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 14 déc. 2018, 22:57

Hello,
La semaine étant finie, je m'attaque de nouveau à mon problème !
J'ai refait le câblage USB en mettant un fil de bon diamètre pour ôter le doute: pas mieux.
J'ai aussi récupérer un hub USB avec alim indépendante; pas mieux.
pas mieux = toujours pas de driver cdc_acm associé à ma clef zwave...
Franchement, j'en ai marre là...

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 14 déc. 2018, 23:28

Salut,

La clé n'est toujours pas mappée pfff... Tu boot toujours sur ton ssd via la carte sd?

Sur ce post ils ont l'air de dire que la méthode décrite va créer la clé:

Code : Tout sélectionner

/sbin/insmod /lib/modules/misc/cdc-acm.ko
http://forum.qnapclub.fr/topic/7915-qna ... s-detecté/

T'as déjà essayé peut-être?

Reboot avec la clé branchée?

On dirait un problème de droits qui t'empêche d'accéder à la clé...Un retour de:

Code : Tout sélectionner

ls -l /dev/ttyACM0
Sinon tu vois "cdc_acm" en tapant

Code : Tout sélectionner

lsmod

Dernière édition par Salvialf le 14 déc. 2018, 23:28, édité 4 fois.
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 14 déc. 2018, 23:48

Non, j'avais pas encore essayé...
le chemin n'est pas bon

Code : Tout sélectionner

/sbin/insmod /lib/modules/misc/cdc-acm.ko
je cherche ou se trouve cdc_acm.ko

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 14 déc. 2018, 23:56

Je serai curieux d'avoir le retour de "lsmod"
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 15 déc. 2018, 08:28

le lsmod ne donne rien...

Code : Tout sélectionner

pi@raspberrypi:~ $ sudo lsmod
Module                  Size  Used by

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 15 déc. 2018, 09:01

Rien du tout ou juste pas de ligne cdc_acm ?

Si pas de ligne cdc_acm:

Code : Tout sélectionner

modprobe cdc-acm
Si rien du tout c'est bien un problème de boot, tes modules ne chargent pas.
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 15 déc. 2018, 10:04

vide, rien nada !
le modprobe me donne:

Code : Tout sélectionner

pi@raspberrypi:~ $ modprobe cdc-acm
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.9.80-v7+/modules.dep.bin'
modprobe: FATAL: Module cdc-acm not found in directory /lib/modules/4.9.80-v7+
donc pb de boot en effet...
Je met le dmesg complet si cela peut aider:

Code : Tout sélectionner

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.80-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3                                       (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1098 SMP Fri Mar 9 19:11:42 GM                                      T 2018
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                      n cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3ac00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 242688
[    0.000000] free_area_init_node: node 0, pgdat 80c6f800, node_mem_map ba3a100                                      0
[    0.000000]   Normal zone: 2133 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 242688 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @ba35b000 s25600 r8192 d23552 u5734                                      4
[    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                      es: 240555
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm27                                      08_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_siz                                      e=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUU                                      ID=4fb7d13d-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 940364K/970752K available (7168K kernel code, 487K rwdata                                      , 2032K rodata, 1024K init, 770K bss, 22196K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
                   lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x80800000   (8160 kB)
                     .init : 0x80b00000 - 0x80c00000   (1024 kB)
                     .data : 0x80c00000 - 0x80c79cbc   ( 488 kB)
                      .bss : 0x80c7b000 - 0x80d3b9e4   ( 771 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (ph                                      ys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                       0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 43980                                      46511078ns
[    0.000022] Switching to timer-based delay loop, resolution 52ns
[    0.000301] Console: colour dummy device 80x30
[    0.001190] console [tty1] enabled
[    0.001234] Calibrating delay loop (skipped), value calculated using timer fr                                      equency.. 38.40 BogoMIPS (lpj=192000)
[    0.001301] pid_max: default: 32768 minimum: 301
[    0.001637] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001680] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002716] Disabling memory control group subsystem
[    0.002821] CPU: Testing write buffer coherency: ok
[    0.002885] ftrace: allocating 22627 entries in 67 pages
[    0.050566] CPU0: update cpu_capacity 1024
[    0.050617] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.050677] Setting up static identity map for 0x100000 - 0x100034
[    0.052532] CPU1: update cpu_capacity 1024
[    0.052539] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.053179] CPU2: update cpu_capacity 1024
[    0.053186] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.053811] CPU3: update cpu_capacity 1024
[    0.053817] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.053904] Brought up 4 CPUs
[    0.054077] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.054106] CPU: All CPU(s) started in HYP mode.
[    0.054133] CPU: Virtualization extensions available.
[    0.054952] devtmpfs: initialized
[    0.066106] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3                                       rev 4
[    0.066428] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                      x_idle_ns: 19112604462750000 ns
[    0.066490] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.067052] pinctrl core: initialized pinctrl subsystem
[    0.067984] NET: Registered protocol family 16
[    0.070224] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.079042] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                       registers.
[    0.079091] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.079268] Serial: AMBA PL011 UART driver
[    0.081170] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.081718] uart-pl011 3f201000.serial: could not find pctldev for node /soc/                                      gpio@7e200000/uart0_pins, deferring probe
[    0.151398] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80d000, dma                                      chans=0x1
[    0.153257] SCSI subsystem initialized
[    0.153573] usbcore: registered new interface driver usbfs
[    0.153682] usbcore: registered new interface driver hub
[    0.153799] usbcore: registered new device driver usb
[    0.160371] raspberrypi-firmware soc:firmware: Attached to firmware from 2018                                      -03-13 18:45
[    0.161763] clocksource: Switched to clocksource arch_sys_counter
[    0.209248] VFS: Disk quotas dquot_6.6.0
[    0.209359] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.209588] FS-Cache: Loaded
[    0.209861] CacheFiles: Loaded
[    0.222013] NET: Registered protocol family 2
[    0.222903] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.223040] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.223250] TCP: Hash tables configured (established 8192 bind 8192)
[    0.223367] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.223434] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.223665] NET: Registered protocol family 1
[    0.224099] RPC: Registered named UNIX socket transport module.
[    0.224131] RPC: Registered udp transport module.
[    0.224159] RPC: Registered tcp transport module.
[    0.224187] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.225142] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counter                                      s available
[    0.227463] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.243539] FS-Cache: Netfs 'nfs' registered for caching
[    0.244542] NFS: Registering the id_resolver key type
[    0.244594] Key type id_resolver registered
[    0.244622] Key type id_legacy registered
[    0.247046] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                      51)
[    0.247195] io scheduler noop registered
[    0.247226] io scheduler deadline registered (default)
[    0.247507] io scheduler cfq registered
[    0.253157] BCM2708FB: allocated DMA memory fad10000
[    0.253210] BCM2708FB: allocated DMA channel 0 @ bb80d000
[    0.261918] Console: switching to colour frame buffer device 82x26
[    0.270328] bcm2835-rng 3f104000.rng: hwrng registered
[    0.272739] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000                                      000(1024 MiB)
[    0.277882] vc-sm: Videocore shared memory driver
[    0.295229] brd: module loaded
[    0.306472] loop: module loaded
[    0.308853] Loading iSCSI transport class v2.0-870.
[    0.311969] libphy: Fixed MDIO Bus: probed
[    0.314334] usbcore: registered new interface driver lan78xx
[    0.316686] usbcore: registered new interface driver smsc95xx
[    0.318886] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.549123] Core Release: 2.80a
[    0.551345] Setting default values for core params
[    0.553590] Finished setting default values for core params
[    0.756139] Using Buffer DMA mode
[    0.758277] Periodic Transfer Interrupt Enhancement - disabled
[    0.760517] Multiprocessor Interrupt Enhancement - disabled
[    0.762815] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.765086] Dedicated Tx FIFOs mode
[    0.767681] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xbad                                      04000 dma = 0xfad04000 len=9024
[    0.772401] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.783398] dwc_otg: Microframe scheduler enabled
[    0.783448] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8059b380
[    0.785722] WARN::hcd_init_fiq:460: FIQ ASM at 0x8059b6f0 length 36
[    0.787975] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb878000
[    0.790234] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.792566] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number                                       1
[    0.794929] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.797247] Init: Port Power? op_state=1
[    0.799496] Init: Power Port (0)
[    0.801894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.804204] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                      1
[    0.806498] usb usb1: Product: DWC OTG Controller
[    0.808740] usb usb1: Manufacturer: Linux 4.9.80-v7+ dwc_otg_hcd
[    0.811006] usb usb1: SerialNumber: 3f980000.usb
[    0.814085] hub 1-0:1.0: USB hub found
[    0.816285] hub 1-0:1.0: 1 port detected
[    0.819009] dwc_otg: FIQ enabled
[    0.819014] dwc_otg: NAK holdoff enabled
[    0.819018] dwc_otg: FIQ split-transaction FSM enabled
[    0.819031] Module dwc_common_port init
[    0.819266] usbcore: registered new interface driver usb-storage
[    0.821610] mousedev: PS/2 mouse device common for all mice
[    0.824724] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.827242] bcm2835-cpufreq: min=600000 max=1200000
[    0.829888] sdhci: Secure Digital Host Controller Interface driver
[    0.832218] sdhci: Copyright(c) Pierre Ossman
[    0.834738] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring prob                                      e
[    0.839294] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.841845] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.845707] ledtrig-cpu: registered to indicate activity on CPUs
[    0.848349] hidraw: raw HID events driver (C) Jiri Kosina
[    0.851011] usbcore: registered new interface driver usbhid
[    0.853490] usbhid: USB HID core driver
[    0.856728] vchiq: vchiq_init_state: slot_zero = 0xbad80000, is_master = 0
[    0.860582] [vc_sm_connected_init]: start
[    0.869304] [vc_sm_connected_init]: end - returning 0
[    0.872134] Initializing XFRM netlink socket
[    0.874580] NET: Registered protocol family 17
[    0.877133] Key type dns_resolver registered
[    0.879916] Registering SWP/SWPB emulation handler
[    0.883133] registered taskstats version 1
[    0.891851] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.894421] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud                                       = 0) is a PL011 rev2
[    0.900963] sdhost: log_buf @ bad07000 (fad07000)
[    0.981791] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.986498] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    0.988983] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.031857] Indeed it is in host mode hprt0 = 00021501
[    1.121616] random: fast init done
[    1.126056] of_cfs_init
[    1.129442] of_cfs_init: OK
[    1.132171] Waiting for root device PARTUUID=4fb7d13d-02...
[    1.145069] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.148812] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.152463] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.157385] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.164092] mmc0: host does not support reading read-only switch, assuming wr                                      ite-enable
[    1.174736] mmc0: new high speed SDHC card at address e624
[    1.177496] mmcblk0: mmc0:e624 SU08G 7.40 GiB
[    1.183128]  mmcblk0: p1 p2
[    1.231798] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.234027] Indeed it is in host mode hprt0 = 00001101
[    1.327584] mmc1: new high speed SDIO card at address 0001
[    1.462048] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.464159] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.466972] hub 1-1:1.0: USB hub found
[    1.469139] hub 1-1:1.0: 5 ports detected
[    1.791793] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.922030] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.924211] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber                                      =0
[    1.929186] smsc95xx v1.0.5
[    2.025491] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-                                      1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:1c:28:f5
[    2.321786] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    2.532736] usb 1-1.4: New USB device found, idVendor=152d, idProduct=0578
[    2.535438] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber                                      =3
[    2.538100] usb 1-1.4: Product: USB to ATA/ATAPI Bridge
[    2.540671] usb 1-1.4: Manufacturer: JMicron
[    2.543202] usb 1-1.4: SerialNumber: 0123456789ABCDEF
[    2.546484] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    2.549379] usb-storage 1-1.4:1.0: Quirks match for vid 152d pid 0578: 100000                                      0
[    2.552054] scsi host0: usb-storage 1-1.4:1.0
[    2.651794] usb 1-1.5: new full-speed USB device number 5 using dwc_otg
[    2.785013] usb 1-1.5: New USB device found, idVendor=0658, idProduct=0200
[    2.787588] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber                                      =0
[    3.602421] scsi 0:0:0:0: Direct-Access     JMicron  Generic          3101 PQ                                      : 0 ANSI: 6
[    4.107865] sd 0:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8                                       GiB)
[    4.113591] sd 0:0:0:0: [sda] Write Protect is off
[    4.116331] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
[    4.116646] sd 0:0:0:0: [sda] Disabling FUA
[    4.119275] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, does                                      n't support DPO or FUA
[    4.126411]  sda: sda1 sda2
[    4.130884] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.145624] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:                                       (null)
[    4.150749] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[    4.158044] devtmpfs: mounted
[    4.162518] Freeing unused kernel memory: 1024K
[    4.396584] systemd[1]: System time before build time, advancing clock.
[    4.432747] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL                                      INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +                                      XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    4.441662] systemd[1]: Detected architecture arm.
[    4.454130] systemd[1]: Set hostname to <raspberrypi>.
[    4.838370] systemd[1]: Created slice User and Session Slice.
[    4.844722] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.850696] systemd[1]: Started Forward Password Requests to Wall Directory W                                      atch.
[    4.859623] systemd[1]: Listening on udev Kernel Socket.
[    4.865724] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.871940] systemd[1]: Listening on Syslog Socket.
[    4.878152] systemd[1]: Listening on Journal Socket.
[    5.630787] EXT4-fs (sda2): re-mounted. Opts: (null)
[    5.729399] systemd-journald[120]: Received request to flush runtime journal                                       from PID 1
[    6.459653] random: crng init done
[    7.413149] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    7.449484] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:1                                      02396k FS
[    8.904344] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC3E                                      1
[   70.280805] uart-pl011 3f201000.serial: no DMA platform data

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 15 déc. 2018, 10:28

Je suis à la gym avec mon petit du coup j'ai survolé mais rien vu d'extraordinaire (y'a le père noël qui vient d'arriver ça fait une pause )

Si tu démarre sur le ssd sans la clé zwave lsmod est toujours vide? Pourquoi ne pas booter direct sur le ssd maintenant?
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Alan328
Timide
Messages : 42
Inscription : 02 mai 2018, 22:18

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Alan328 » 15 déc. 2018, 11:20

En fait à cause de mon adaptateur SSD/USB de piètre qualité, je ne peux faire qu'un cold boot sur mon SSD... mais je vais retenter de faire un cold boot et voir le lsmod dans la journée.
Avec le systeme sur la SD, le lsmod n'est pas vide et me donne cela:

Code : Tout sélectionner

lsmod
Module                  Size  Used by
xt_multiport           16384  1
iptable_filter         16384  1
cdc_acm                28672  2
brcmfmac              307200  0
brcmutil               16384  1 brcmfmac
cfg80211              573440  1 brcmfmac
rfkill                 28672  4 cfg80211
snd_bcm2835            32768  0
snd_pcm                98304  1 snd_bcm2835
snd_timer              32768  1 snd_pcm
snd                    69632  3 snd_timer,snd_bcm2835,snd_pcm
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
fixed                  16384  0
sg                     28672  0
ip_tables              24576  1 iptable_filter
x_tables               32768  3 xt_multiport,ip_tables,iptable_filter
ipv6                  425984  41

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: Probleme detection clef Zwave Everspring SA413 avec SSD

Message par Salvialf » 15 déc. 2018, 11:40

Oui c'est normal tes modules sont bien chargés quand tu utilises la sd donc ils apparaissent avec lsmod y compris le cdc_acm et tout fonctionne.

Par contre il serait intéressant de voir la même chose quand tu es sur le ssd mais sans la clé branchée pour confirmer que tes modules ne sont pas déchargés par une tentative avortée d'installation automatique de la clé.

On touche au but pour le moment je suis encore occupé avec les enfants mais en début d'aprèm je serai plus dispo

VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

Répondre

Revenir vers « [Plugin Officiel] Z-Wave »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités