Trouble in X10 paradise
Posted: Thu Dec 27, 2012 10:19 pm
Hi,
I hope there is somebody able and willing to give me some pointers. This is driving me nuts!!!
I'm on Ubunto 12.04 LTS trying to get basic X10 connectivity working.
I followed the instructions @ /forums/viewtopic.php?f=11&t=15793&p=74254&hilit=x10#p74254
and everything went well up to:
zmx10.pl -u 1 -c on
Which produces the error:
Bareword "DBG_DEBUG" not allowed while "strict subs" in use at /usr/bin/zmx10.pl line ... (there are a few)
Tried commeting out those lines, but then get
Undefined subroutine &main::zmDbgInit called at /usr/bin/zmx10.pl line 73.
The Script version is@
# ZoneMinder X10 Control Script, $Date: 2009-06-08 10:11:56 +0100 (Mon, 08 Jun 2009) $, $Revision: 2908 $
# Copyright (C) 2001-2008 Philip Coombes
(I've a little programmed in the past, but don't know Perl at all)
One thing to note, I use a USB cable to my CM11 (serial converter built into the cable)
dmesg indicates it to be /dev/ttyUSB0 which is what I set the ZM to use. Its in the same user group as /dev/ttySx, so the:
sudo adduser www-data dialout
command should still do the trick.
Any thoughts welcome!
I hope there is somebody able and willing to give me some pointers. This is driving me nuts!!!
I'm on Ubunto 12.04 LTS trying to get basic X10 connectivity working.
I followed the instructions @ /forums/viewtopic.php?f=11&t=15793&p=74254&hilit=x10#p74254
and everything went well up to:
zmx10.pl -u 1 -c on
Which produces the error:
Bareword "DBG_DEBUG" not allowed while "strict subs" in use at /usr/bin/zmx10.pl line ... (there are a few)
Tried commeting out those lines, but then get
Undefined subroutine &main::zmDbgInit called at /usr/bin/zmx10.pl line 73.
The Script version is@
# ZoneMinder X10 Control Script, $Date: 2009-06-08 10:11:56 +0100 (Mon, 08 Jun 2009) $, $Revision: 2908 $
# Copyright (C) 2001-2008 Philip Coombes
(I've a little programmed in the past, but don't know Perl at all)
One thing to note, I use a USB cable to my CM11 (serial converter built into the cable)
dmesg indicates it to be /dev/ttyUSB0 which is what I set the ZM to use. Its in the same user group as /dev/ttySx, so the:
sudo adduser www-data dialout
command should still do the trick.
Any thoughts welcome!