stty baud rate setting not working
Hi,
I am fiddling with an FTDI chip based USB-serial converter. I need to run the device in 19K2 mode and am using the php-serial class to communicate with the device.
PHP-serial uses stty to change communication settings. Changing the default 9600 baud into 19200 does not seem to work. This is reported numerous times reagrding the OSX version of stty. Is it me (us) or is there really a bug in stty?
stty -f /dev/**.usbserial-000012FD gfmt1:cflag=4b00:iflag=0:lflag=0:oflag=0:discard=f:dsusp=19:eof=4:eol=ff:eol2=f f:erase=7f:intr=3:kill=15:lnext=16:min=1:
quit=1c:reprint=12:start=11:status=14:stop=13:susp=1a:time=0:werase=17:ispeed=19 200:ospeed=19200
returns:
9600
so does:
stty -f /dev/**.usbserial-000012FD speed 19200
9600
btw screen works fine, and so does librxtxSerial.jnilib
Ronald
Mac OS X (10.7.3)