Ports Séries - Trame unidirectionnel
Résolu/Fermé
strangeuser
Messages postés
28
Date d'inscription
jeudi 18 octobre 2018
Statut
Membre
Dernière intervention
26 mars 2019
-
2 nov. 2018 à 12:05
strangeuser - 14 nov. 2018 à 10:00
strangeuser - 14 nov. 2018 à 10:00
4 réponses
strangeuser
Messages postés
28
Date d'inscription
jeudi 18 octobre 2018
Statut
Membre
Dernière intervention
26 mars 2019
1
Modifié le 2 nov. 2018 à 12:20
Modifié le 2 nov. 2018 à 12:20
Voici les conf complète des ports :
INFO Importante :
Avec minicom les ports fonctionnent correctement. Malheureusement je doit le faire faire fonctionner avec stty (pour un application type ERP qui utilise stty).
A priori, le problème ne viens pas de driver car ils sont bien présents. Lorsque j'utilise Minicom, la conf des ports change. Cette conf ne fonctionne pas avec stty... donc ce n'est pas la solution.
root@hostname:/dev# stty -F ttyS0 -g && stty -F ttyS1 -g && stty -F ttyS4 -g && stty -F ttyS5 -g 500:5:cbd:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 500:5:cbd:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 500:5:cbd:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 500:5:cbd:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 root@hostname:/dev# stty -F ttyS0 -a && stty -F ttyS1 -a && stty -F ttyS4 -a && stty -F ttyS5 -a ttyS0 speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc ttyS1 speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc ttyS4 speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc ttyS5 speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
INFO Importante :
Avec minicom les ports fonctionnent correctement. Malheureusement je doit le faire faire fonctionner avec stty (pour un application type ERP qui utilise stty).
A priori, le problème ne viens pas de driver car ils sont bien présents. Lorsque j'utilise Minicom, la conf des ports change. Cette conf ne fonctionne pas avec stty... donc ce n'est pas la solution.
strangeuser
Messages postés
28
Date d'inscription
jeudi 18 octobre 2018
Statut
Membre
Dernière intervention
26 mars 2019
1
5 nov. 2018 à 16:34
5 nov. 2018 à 16:34
Up!
Please j'ai besoin d'aide. Il s'agit d'un problème bloquant et urgent pour ma boîte, et je n'ai toujours pas de solution...
Please j'ai besoin d'aide. Il s'agit d'un problème bloquant et urgent pour ma boîte, et je n'ai toujours pas de solution...
dubcek
Messages postés
18589
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
21 mars 2023
5 584
6 nov. 2018 à 09:40
6 nov. 2018 à 09:40
hello
c'est à dire?
stty ne fait que modifier les paramètres du port, comment sont transférées les données ?
Malheureusement je doit le faire faire fonctionner avec stty (pour un application type ERP qui utilise stty).
c'est à dire?
stty ne fait que modifier les paramètres du port, comment sont transférées les données ?
dubcek
Messages postés
18589
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
21 mars 2023
5 584
12 nov. 2018 à 11:45
12 nov. 2018 à 11:45
qu'est ce qu'un ERP ?
stty affiche ou modifie des paramètres, je ne vois pas ce qu'il peut checker
stty affiche ou modifie des paramètres, je ne vois pas ce qu'il peut checker
dubcek
Messages postés
18589
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
21 mars 2023
5 584
13 nov. 2018 à 09:59
13 nov. 2018 à 09:59
montre ce que ru fais, on ne peut pas deviner