Pb avec setSerial et 2.6.22-1-k7
Bonjour,
Je rencontre un "petit problème" sur une carte CPU avec trois ports séries
qui j'usqu'à présent fonctinnait + tôt bien...
Cible carte Wafer Geode
Comportement différent entre un noyau 2.6.8-3 et 2.6.22-1 et setserial
avec des ports séries qui ont uen adresse de port et/ou une IRQ exotiques.
Sur la même plate-forme, avec le module setserial et deux version du
noyeau je n'est pas le même comportement.
Sur le noyau 2.6.8 RAS, sur un 2.8.22 Echec.
Distribution de base Debian
Cas qui fonctionne
sigtrafic:~# uname -a
Linux sigtrafic 2.6.8-3-k7 #1 Thu Sep 7 05:09:40 UTC 2006 i586 GNU/Linux
sigtrafic:~# setserail /dev/ttyS2
-bash: setserail: command not found
sigtrafic:~# setserial /dev/ttyS2
/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 5
sigtrafic:~# stty < /dev/ttyS2
speed 19200 baud; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof =
<undef>;
start = <undef>; stop = <undef>; susp = <undef>; rprnt = <undef>;
werase = <undef>; lnext = <undef>; flush = <undef>; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
sigtrafic:~#
cas qui ne fonctionne pas....
Linux sigtrafic 2.6.22-1-k7 #1 SMP Sun Jul 29 15:15:55 UTC 2007 i586
GNU/Linux
sigtrafic:~# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
sigtrafic:~# setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
sigtrafic:~# setserial /dev/ttyS2
/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 5
sigtrafic:~# stty < /dev/ttyS0
speed 1200 baud; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof =
<undef>;
start = <undef>; stop = <undef>; susp = <undef>; rprnt = <undef>;
werase = <undef>; lnext = <undef>; flush = <undef>; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
sigtrafic:~# stty < /dev/ttyS1
speed 1200 baud; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof =
<undef>;
start = <undef>; stop = <undef>; susp = <undef>; rprnt = <undef>;
werase = <undef>; lnext = <undef>; flush = <undef>; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
sigtrafic:~# stty < /dev/ttyS2
stty: entrée standard: Erreur d'entrée/sortie
sigtrafic:~#
Quelqu'un a-t-il une idée sur le truc que j'ai merdé ?
Merci d'avance
Yann.
Reply to: