I recently set up zoneminder 1.23.3 with a PV-183 card on a HP ML150.
The OS is Ubuntu 8.10 intrepid, / is on two 250GB drives in raid 1 and /var is on a 3TB raid 5 array.
Two of the cameras are Fastrax 142 Dome cameras. They are connected to COM1 via one of these RS-232/RS-485 converters. The cameras support both Pelco-P and Pelco-D and are set to ID 1 and 2.
So I’ve set up the controls like this:
but had no luck controlling the cameras via commandline or webinterface.
here’s the /tmp/zmcontrol.log: (controlling via the web interface)
Code: Select all
11/19/08 17:09:53.882173 zmcontrol[8372].INF [Starting control server 25/PelcoD]
11/19/08 17:09:53.885200 zmcontrol[8373].INF [Control server 25/PelcoD starting at 08/11/19 17:09:53]
I have to admit that I don’t even know where to start debugging this. Serial ports under Linux aren’t somethign that I’m really familiar with.
Is there a way to listen to /dev/ttyS0 to check if there’s even data transmitted across the serial port at all?
//edit:
A quick update, I’ve now tried the PelcoD scripts and they give me slightly more verbose error message:
Code: Select all
11/19/2008 18:21:16.548690 zmcontrol[6513].INF [Starting control server 25/PelcoP]
11/19/2008 18:21:16.551691 zmcontrol[6514].INF [Control server 25/PelcoP starting at 08/11/19 18:21:16]
11/19/2008 18:23:01.932785 zmcontrol[6724].INF [Starting control server 25/PelcoP]
11/19/2008 18:23:01.936048 zmcontrol[6725].INF [Control server 25/PelcoP starting at 08/11/19 18:23:01]
11/19/2008 18:23:11.936990 zmcontrol[6724].FAT [Can't connect: Connection refused]
11/19/2008 18:25:52.409363 zmcontrol[6807].INF [Starting control server 25/PelcoP]
11/19/2008 18:25:52.412701 zmcontrol[6808].INF [Control server 25/PelcoP starting at 08/11/19 18:25:52]
11/19/2008 18:25:58.258833 zmcontrol[6809].INF [Starting control server 25/PelcoP]
11/19/2008 18:25:58.262487 zmcontrol[6810].INF [Control server 25/PelcoP starting at 08/11/19 18:25:58]
11/19/2008 18:26:08.263329 zmcontrol[6809].FAT [Can't connect: Connection refused]
11/19/2008 18:29:04.313436 zmcontrol[6818].INF [Starting control server 25/PelcoP]
11/19/2008 18:29:04.367310 zmcontrol[6819].INF [Control server 25/PelcoP starting at 08/11/19 18:29:04]
11/19/2008 18:29:14.368140 zmcontrol[6818].FAT [Can't connect: Connection refused]
11/19/2008 18:30:30.268588 zmcontrol[6916].INF [Starting control server 25/PelcoP]
11/19/2008 18:30:30.305510 zmcontrol[6917].INF [Control server 25/PelcoP starting at 08/11/19 18:30:30]
11/19/2008 18:30:40.306327 zmcontrol[6916].FAT [Can't connect: Connection refused]