Page 1 of 1

Zoneminder + Pleco-D Camera Works but need a little help.

Posted: Thu Feb 10, 2011 5:01 am
by lazerusrm
Zoneminder 1.24.2 Arch Linux Live CD Install.

Goal: PTZ Control From mobile platform

Status: Success, but with issues.

The Pelco-D Baudrate on the camera is 9600. I am using a UART16550A USB Serial converter cable.

My issue, is that i have to use the command:

stty -F /dev/ttyUSB0 9600

To be able to control the camera. This works Great! however, after a "while" (an hour or two) i will loose function of the PTZ and have to retype in the aforementioned command in order to regain control.

I tried implementing the command in a cronjob simply as creating a new file cron.10min and adding it to the list of executed scripts via crontab -e.

but cron seems not to be executing the command.

I apologise, i have little linux experience. but i have literally spent more than 12 hours on this issue alone, and need a little guidance.

Is there a way to either run the stty command every so often to "keep alive" the ptz function, or to fix this?

THANK YOU SO MUCH for your help. it is greatly greatly appreciated. I do my best to learn, but sometimes i just.. fail.

-Brad

Posted: Fri Feb 11, 2011 12:23 pm
by zoneminder
I use a usb serial convertor and don't get this. The control scripts should set the port speed so maybe it's a permission problem. What perms are there on the port device file? Also if something is resetting periodically maybe there something in your system log to indicate why?