dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
les références a l’utilisation du device AMA0 doivent être enlevées: soit enlever
“console=ttyAMA0,115200 kgdboc=ttyAMA0,115200”
Modifier le fichier /etc/inittab
sudo nano /etc/inittab Modifier la ligne
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 en
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Last login: Fri Jul 28 17:13:13 2017 from macmini.local
pi@raspberrypi ~ $ ps -ef | grep ttyAMA0
pi 5067 5052 0 06:51 pts/0 00:00:00 grep --color=auto ttyAMA0
pi@raspberrypi ~ $ ps -ef | grep server
root 2405 1 99 Jul26 ? 2-12:54:06 /usr/bin/python /home/pi/raspVMC-master/server.py
pi 5069 5052 0 06:51 pts/0 00:00:00 grep --color=auto server
pi@raspberrypi ~ $
#vm:2345:respawn:/home/pi/raspVMC-master/server.py >>/var/log/VMCerr.log 2>&1
pi@raspberrypi ~ $ ps -ef | grep server
pi 6491 6471 0 18:44 pts/0 00:00:00 grep --color=auto server
pi@raspberrypi ~ $
pi@raspberrypi ~/raspVMC-master $ tail /var/log/VMClog.log
error: <class 'ConfigParser.NoSectionError'>
30/07/17 19:11:53 : new client connection from ('127.0.0.1', 56078)
30/07/17 19:11:53 : received 07f0000b00b8070f ('127.0.0.1', 56078) from client ('127.0.0.1', 56078) retained is 07f0000b00b8070f
30/07/17 19:11:53 : Processing msg from queue ('127.0.0.1', 56078)
30/07/17 19:11:53 : Sending frame 07f0000b00b8070f to VMC from Client ('127.0.0.1', 56078)
30/07/17 19:11:53 : Command code: 0b reply is True
30/07/17 19:11:53 : expecting a reply
30/07/17 19:11:54 : received from VMC 556e636f6d7072657373696e67204c690700f0000b00b8070f
30/07/17 19:11:54 : No frame detected in 556e636f6d7072657373696e67204c690700f0000b00b8070f
30/07/17 19:12:07 : closing ('127.0.0.1', 56078) after reading no data
pi@raspberrypi ~/raspVMC-master $
Wheezy raspi-config -> option avancée -> serial -> no
03/08/17 10:38:51 : Processing msg from queue ('127.0.0.1', 44758)
03/08/17 10:38:51 : Sending frame 07f0000b00b8070f to VMC from Client ('127.0.0.1', 44758)
03/08/17 10:38:51 : Command code: 0b reply is True
03/08/17 10:38:51 : expecting a reply
03/08/17 10:38:52 : received from VMC 00fffe0f00
03/08/17 10:38:52 : No frame detected in 00fffe0f00
03/08/17 10:39:03 : closing ('127.0.0.1', 44758) after reading no data
03/08/17 10:39:26 : new client connection from ('127.0.0.1', 44759)
03/08/17 10:39:26 : received 07f0000b00b8070f ('127.0.0.1', 44759) from client ('127.0.0.1', 44759) retained is 07f0000b00b8070f
03/08/17 10:39:26 : Processing msg from queue ('127.0.0.1', 44759)
03/08/17 10:39:26 : Sending frame 07f0000b00b8070f to VMC from Client ('127.0.0.1', 44759)
03/08/17 10:39:26 : Command code: 0b reply is True
03/08/17 10:39:26 : expecting a reply
03/08/17 10:39:26 : received from VMC
03/08/17 10:39:26 : No frame detected in
03/08/17 10:39:36 : closing ('127.0.0.1', 44759) after reading no data
03/08/17 10:39:51 : new client connection from ('127.0.0.1', 44760)
03/08/17 10:39:51 : received 07f0000b00b8070f ('127.0.0.1', 44760) from client ('127.0.0.1', 44760) retained is 07f0000b00b8070f