Zoneminder + Pleco-D Camera Works but need a little help.
Posted: Thu Feb 10, 2011 5:01 am
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
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