FC5 Serial port baudrate issue
Posted: Mon Oct 23, 2006 11:19 pm
Hi guys:
I have been investigating the perl serial port stuff some more and am
somewhat convinced that there may be a problem with the api regarding
FC5.
I tryed changing the baudrate in both
zmcontrol-pelco-p.pl ( org 4K8 )
zmcontrol-pelco-d.pl ( org 9K6 )
It just stays at the system default ( 9K6 ). If I change the PTZ camera's
to run a 9K6 communication works. If I change the baud rate to anything else
it fails
-IE change camera to 4K8 and zmcontol to 4K8 ( no work )
change camera to 9k6 and works.
I got the Perl::Serial from Dries but I don't know how to go about resolving the issue.
- I have changed ttyS0 to be rw by all ( 777 )
Any ideas???
-I can work around it, but would be nice to resolve
Thanks
Jitz
I don't think this is a general problem as I run my cameras at 2.4k anyway. I assume you have tried a simple test script with just the serial bits in it? Can you change the port speed with stty or minicom etc?
I have been investigating the perl serial port stuff some more and am
somewhat convinced that there may be a problem with the api regarding
FC5.
I tryed changing the baudrate in both
zmcontrol-pelco-p.pl ( org 4K8 )
zmcontrol-pelco-d.pl ( org 9K6 )
It just stays at the system default ( 9K6 ). If I change the PTZ camera's
to run a 9K6 communication works. If I change the baud rate to anything else
it fails
-IE change camera to 4K8 and zmcontol to 4K8 ( no work )
change camera to 9k6 and works.
I got the Perl::Serial from Dries but I don't know how to go about resolving the issue.
- I have changed ttyS0 to be rw by all ( 777 )
Any ideas???
-I can work around it, but would be nice to resolve
Thanks
Jitz
I don't think this is a general problem as I run my cameras at 2.4k anyway. I assume you have tried a simple test script with just the serial bits in it? Can you change the port speed with stty or minicom etc?