Forums FUG-FR
https://forums.fug-fr.org/cgi-bin/yabb2/YaBB.pl
FreeBSD >> Matériel >> Probleme avec port serie
https://forums.fug-fr.org/cgi-bin/yabb2/YaBB.pl?num=1222868802

Message started by geotobsd on 01. Oct 2008 at 15:46

Title: Probleme avec port serie
Post by geotobsd on 01. Oct 2008 at 15:46
Bonjour à tous,
je suis recemment passé de Debian à freeBSD ,
j'en suis pleinement satisfait cependant il y a une chose que je n'arrive pas a faire fonctionné , c'est mon port série.
Il fonctionnait sans problème sous Debian mais avec freeBSD je n'arrive pas.
J'ai bien lu le handbook de freebsd mais il ne m'éclaire pas trop sur le débogage de ce probleme.
J'ai fait ci-dessous certaine commande qui permettron d'éclairer un peu les choses.
Mon probleme vient du faite que je n'ai peut-être pas préciser le bon fichié /dev mais ce serait bien /dev/ttydX d'après ce que je peut remarqué avec la commande "stty"
result of dmesg | grep -E sio*
----------------------------------
<16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]

-----------------------------------

the result of stty -a -f /dev/ttyd0
--------------------------------------
speed 9600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
       -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
       -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff ixany imaxbel -ignbrk
       -brkint -inpck -ignpar -parmrk
oflags: -opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 parenb -parodd hupcl clocal cstopb -crtscts -dsrflow
       -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = <undef>; eof = ^D; eol = <undef>;
       eol2 = <undef>; erase = ^?; erase2 = <undef>; intr = ^C;
       kill = ^U; lnext = ^V; min = 0; quit = ^\; reprint = ^R;
       start = ^Q; status = <undef>; stop = ^S; susp = ^Z; time = 1;
       werase = ^W;
------------------------------------------

Title: Re: Probleme avec port serie
Post by francis on 01. Oct 2008 at 16:22
Il faut utiliser les dev cua*, je pense (mode d'accès "callout" vs "callin" avec les tty* - cf. sio(4)).

Forums FUG-FR » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2025. All Rights Reserved.