X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Help & Troubleshooting => Topic started by: amt779 on February 11, 2012, 03:43:23 PM

Title: CM15A + Ubuntu 10.04 troubles
Post by: amt779 on February 11, 2012, 03:43:23 PM
I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic kernel.
I've installed libusb-1.0.8 with using this manual http://paulojacob.com/wp/category/linux/
I've checked that the module is visible for OS
$ lsusb
Bus 004 Device 003: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
...
But when I send simple command (to turn A1 module ON) I receive error message
$ pl a1 on
Error: Can't open input file, a1.

What files do I need to configure to manage this problem?
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: Dan Lawrence on February 11, 2012, 03:58:21 PM
I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic kernel.
I've installed libusb-1.0.8 with using this manual http://paulojacob.com/wp/category/linux/
I've checked that the module is visible for OS
$ lsusb
Bus 004 Device 003: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
...
But when I send simple command (to turn A1 module ON) I receive error message
$ pl a1 on
Error: Can't open input file, a1.

What files do I need to configure to manage this problem?


The CM15A is NOT a module, it's a USB interface.  It needs Active Home Pro to send the signals through the powerline to control modules.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: bbx10node on February 11, 2012, 04:17:15 PM
Send commands to the CM15A like this. This works for Ubuntu.

$ echo "pl a1 on" | nc localhost 1099


Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: Brian H on February 11, 2012, 04:40:56 PM
Dan; The CM15A can be used with some custom software running through Linux.
Module or USB Interface. Just a choice of words used.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: dhouston on February 11, 2012, 07:17:12 PM
Search the web using linux cm15a and you'll find a few Linux apps that work with the CM15A.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: amt779 on February 12, 2012, 08:09:11 AM
Send commands to the CM15A like this. This works for Ubuntu.
$ echo "pl a1 on" | nc localhost 1099

wow! this works great! thanx a lot ))
Is there some manual about pl & other x10 commands available ?
for example how to send "dim 20", "all lights off", "all modules off", etc... ?
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: amt779 on February 12, 2012, 08:13:48 AM
I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic
...

The CM15A is NOT a module, it's a USB interface.  It needs Active Home Pro to send the signals through the powerline to control modules.

Yep, apologies. IT IS an interface.

Is there Active Home Pro available for linux? If is, please give the link, cuz I didn't find such.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: Brian H on February 12, 2012, 08:20:47 AM
AHP is strictly for Windows.
Someone with Linux experience maybe able to add what other programs can duplicate AHP functions. I doubt downloading things like timers and macros can be done.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: Knightrider on February 12, 2012, 08:33:11 AM
This is where I really miss Charles Sullivan.  Have you joined the HEYU forum yet?  It's a Yahoo group.  There's a wealth Linux knowledge at that place, and everyone there deals with X10 on the "other" OS.
Title: Re: CM15A + Ubuntu 10.04 troubles
Post by: amt779 on February 12, 2012, 09:11:43 AM
Send commands to the CM15A like this. This works for Ubuntu.
$ echo "pl a1 on" | nc localhost 1099

wow! this works great! thanx a lot ))
Is there some manual about pl & other x10 commands available ?
for example how to send "dim 20", "all lights off", "all modules off", etc... ?

stupid question. I found


   pl a [on|off|dim|bright|xdim|all_lights_on|all_lights_off|all_units_off]