stty doesn't seem to set speed..

Help
John
2007-12-27
2013-04-22
  • John
    John
    2007-12-27

    Not sure if this is an error on my end, but I'm trying to set the speed to 19200, and get the following results (on 10.5 btw).  I'm interfacing with a printer via some perl, and need to set the speed to 19200 first. 

    Thanks for any help.

    Macintosh:~ johndelisle$ stty -f /dev/tty.PL2303-0000101D speed 19200
    9600
    Macintosh:~ johndelisle$

    Macintosh:~ johndelisle$ stty -f /dev/tty.PL2303-0000101D
    speed 9600 baud;
    lflags: -icanon -isig -iexten -echo
    iflags: -icrnl -ixon -ixany -imaxbel -brkint
    oflags: -opost -onlcr -oxtabs
    cflags: cs8 -parenb
    Macintosh:~ johndelisle$

     
    • woo oow
      woo oow
      2009-05-15

      John,

      didi you solve this issue (even it is almost two years ago)
      I'm facing simillar problems..

      thanks

      woo