Trouble in X10 paradise

Forum for questions and support relating to the 1.25.x releases only.
Locked
luwii
Posts: 8
Joined: Thu Dec 27, 2012 9:24 pm

Trouble in X10 paradise

Post by luwii »

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!
luwii
Posts: 8
Joined: Thu Dec 27, 2012 9:24 pm

Re: Trouble in X10 paradise

Post by luwii »

Ok, so I played around a bit more with zmx10.pl (slightly different online versions and adding print comments to see where it gets to)
Basically I now have it saying:

Unable to connect, starting server

every time I run it. Checking ps -ef seems to agree, there is nothing with x10 running. (Should it run or quit every time?)
The command shown below is started, but print statement after it never executes (scripts still finishes)

X10Server::runServer();

:?

ZM Error log is providing this:
2012-12-27 23:52:54.554760 zmx10 4240 FAT Can't connect: Permission denied zmx10.pl
2012-12-27 23:52:52.558900 zmx10 4242 FAT Can't bind: Permission denied zmx10.pl
Locked