Mips2648 a écrit : ↑09 sept. 2019, 17:47
Hum on dirait que le démon n'arrive pas à se connecter sur le port série de la vmc, t'es sur du port "/dev/ttyUSB0" ?
En même temps t'as plein de résultat, je n'ai pas tout ca moi, as-tu installé autre chose sur le pi? ou branché d'autres périph sur usb?
Code : Tout sélectionner
/dev/bus/usb/001/001;/dev/ttyUSB0;/dev/bus/usb/001/005;/dev/bus/usb/001/003;/dev/bus/usb/001/002;
Tout ces ports apparaissent dans la liste déroulante du coup?
oui c'est bien ça, non j'ai installé la version de base et rien d'autre dessus, je ne sais pas pourquoi il voit tout ces autres bus
Code : Tout sélectionner
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
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"
ça peut venir du branchement de l'adaptateur RJ45/DB9? car la le deamon est denouveau bien indiqué en "ok" avec gestion automatique activée
voici le log quand je test une commande par ex :
Code : Tout sélectionner
[2019-09-09 17:43:35] [ INFO ] : Starting NEW VMC server on device/dev/ttyUSB0, Log to:/tmp/VMC.log level:DEBUG, running on IP address:('', 10000)
[2019-09-09 17:43:35] [ INFO ] : Starting VMC server for ConfoSense on IP address:('', 10001) port 10001
[2019-09-09 17:43:35] [ INFO ] : Starting VMC server for Control on IP address:('', 10002) port 10002
[2019-09-09 17:43:37] [ INFO ] : New connection for Server control from ('192.168.1.40', 46188)
[2019-09-09 17:43:37] [ INFO ] : Request for control command size from ('192.168.1.40', 46188)
[2019-09-09 17:43:37] [ DEBUG ] : closing ('192.168.1.40', 46188) after reading no data
[2019-09-09 17:43:42] [ INFO ] : new client connection from ('192.168.1.40', 60722)
[2019-09-09 17:43:42] [ DEBUG ] : received 07f000670014070f ('192.168.1.40', 60722) from client ('192.168.1.40', 60722) retained is 07f000670014070f
[2019-09-09 17:43:42] [ INFO ] : Processing msg from queue ('192.168.1.40', 60722)
[2019-09-09 17:43:42] [ DEBUG ] : Sending frame 07f000670014070f to VMC from Client ('192.168.1.40', 60722)
[2019-09-09 17:43:42] [ DEBUG ] : Command code: 67 reply is True
[2019-09-09 17:43:42] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:43:42] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:44:03] [ INFO ] : New connection for Server control from ('192.168.1.40', 46193)
[2019-09-09 17:44:03] [ INFO ] : Request for control command size from ('192.168.1.40', 46193)
[2019-09-09 17:44:03] [ DEBUG ] : closing ('192.168.1.40', 46193) after reading no data
[2019-09-09 17:44:03] [ INFO ] : new client connection from ('192.168.1.40', 60726)
[2019-09-09 17:44:03] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60726) from client ('192.168.1.40', 60726) retained is 07f0000b00b8070f
[2019-09-09 17:44:03] [ INFO ] : Processing msg from queue ('192.168.1.40', 60726)
[2019-09-09 17:44:03] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60726)
[2019-09-09 17:44:03] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:44:03] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:44:03] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:45:04] [ INFO ] : closing ('192.168.1.40', 60726) after reading no data
[2019-09-09 17:45:30] [ INFO ] : new client connection from ('192.168.1.40', 60767)
[2019-09-09 17:45:30] [ DEBUG ] : received 07f0009901044b070f ('192.168.1.40', 60767) from client ('192.168.1.40', 60767) retained is 07f0009901044b070f
[2019-09-09 17:45:30] [ INFO ] : Processing msg from queue ('192.168.1.40', 60767)
[2019-09-09 17:45:30] [ DEBUG ] : Sending frame 07f0009901044b070f to VMC from Client ('192.168.1.40', 60767)
[2019-09-09 17:45:30] [ DEBUG ] : Command code: 99 reply is False
[2019-09-09 17:45:30] [ DEBUG ] : not expecting a reply
[2019-09-09 17:45:31] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60767) from client ('192.168.1.40', 60767) retained is 07f0000b00b8070f
[2019-09-09 17:45:31] [ INFO ] : Processing msg from queue ('192.168.1.40', 60767)
[2019-09-09 17:45:31] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60767)
[2019-09-09 17:45:31] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:45:31] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:45:31] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:46:03] [ INFO ] : New connection for Server control from ('192.168.1.40', 46255)
[2019-09-09 17:46:03] [ INFO ] : Request for control command size from ('192.168.1.40', 46255)
[2019-09-09 17:46:03] [ DEBUG ] : closing ('192.168.1.40', 46255) after reading no data
[2019-09-09 17:46:04] [ INFO ] : new client connection from ('192.168.1.40', 60788)
[2019-09-09 17:46:04] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60788) from client ('192.168.1.40', 60788) retained is 07f0000b00b8070f
[2019-09-09 17:46:04] [ INFO ] : Processing msg from queue ('192.168.1.40', 60788)
[2019-09-09 17:46:04] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60788)
[2019-09-09 17:46:04] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:46:04] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:46:04] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:48:02] [ INFO ] : closing ('192.168.1.40', 60788) after reading no data
[2019-09-09 17:49:03] [ INFO ] : New connection for Server control from ('192.168.1.40', 46285)
[2019-09-09 17:49:03] [ INFO ] : Request for control command size from ('192.168.1.40', 46285)
[2019-09-09 17:49:03] [ DEBUG ] : closing ('192.168.1.40', 46285) after reading no data
[2019-09-09 17:49:03] [ INFO ] : new client connection from ('192.168.1.40', 60818)
[2019-09-09 17:49:03] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60818) from client ('192.168.1.40', 60818) retained is 07f0000b00b8070f
[2019-09-09 17:49:03] [ INFO ] : Processing msg from queue ('192.168.1.40', 60818)
[2019-09-09 17:49:03] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60818)
[2019-09-09 17:49:03] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:49:03] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:49:03] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:50:04] [ INFO ] : closing ('192.168.1.40', 60818) after reading no data
[2019-09-09 17:51:03] [ INFO ] : New connection for Server control from ('192.168.1.40', 46315)
[2019-09-09 17:51:03] [ INFO ] : Request for control command size from ('192.168.1.40', 46315)
[2019-09-09 17:51:03] [ DEBUG ] : closing ('192.168.1.40', 46315) after reading no data
[2019-09-09 17:51:03] [ INFO ] : new client connection from ('192.168.1.40', 60848)
[2019-09-09 17:51:03] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60848) from client ('192.168.1.40', 60848) retained is 07f0000b00b8070f
[2019-09-09 17:51:03] [ INFO ] : Processing msg from queue ('192.168.1.40', 60848)
[2019-09-09 17:51:03] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60848)
[2019-09-09 17:51:03] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:51:03] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:51:03] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:53:02] [ INFO ] : closing ('192.168.1.40', 60848) after reading no data
[2019-09-09 17:54:03] [ INFO ] : New connection for Server control from ('192.168.1.40', 46344)
[2019-09-09 17:54:03] [ INFO ] : Request for control command size from ('192.168.1.40', 46344)
[2019-09-09 17:54:03] [ DEBUG ] : closing ('192.168.1.40', 46344) after reading no data
[2019-09-09 17:54:03] [ INFO ] : new client connection from ('192.168.1.40', 60877)
[2019-09-09 17:54:03] [ DEBUG ] : received 07f0000b00b8070f ('192.168.1.40', 60877) from client ('192.168.1.40', 60877) retained is 07f0000b00b8070f
[2019-09-09 17:54:03] [ INFO ] : Processing msg from queue ('192.168.1.40', 60877)
[2019-09-09 17:54:03] [ DEBUG ] : Sending frame 07f0000b00b8070f to VMC from Client ('192.168.1.40', 60877)
[2019-09-09 17:54:03] [ DEBUG ] : Command code: 0b reply is True
[2019-09-09 17:54:03] [ DEBUG ] : received from VMC 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:54:03] [ DEBUG ] : No frame detected in 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2019-09-09 17:55:03] [ INFO ] : closing ('192.168.1.40', 60877) after reading no data