X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Topic started by: keyboardgnome on October 10, 2007, 01:06:36 PM

Title: CM15A
Post by: keyboardgnome on October 10, 2007, 01:06:36 PM
I've had my CM15A for a while and have tried all kinds of device drivers, kernel revisions and Linux distro's and it still wont work under Linux. The best I have gotten is that the kernel recognizes the device, however the device does not send or receive any commands at all. So my request for the group; can someone please list specs of the systems that they have this working under? I really hate having to run a Windows box with Apache and PHP to take in commands from my Linux systems.

I see that folks have had success with getting the CMA15A to work under Linux, and I'm convinced it can be done; I just haven't seen it work anywhere as of yet.

Thanks!
Title: Re: CM15A
Post by: Tuicemen on October 10, 2007, 01:34:47 PM
Have you tried Misterhouse?
neil cherry stated here Re: Developments on the Linux front (http://Re: Developments on the Linux front) he is working at it!
He also states in his web page cm15a - Linux daemon to the X10 CM15A USB transceiver (http://www.linuxha.com/athome/common/cm15d/cm15d.html) that:
Quote
Paul DeMarco has written a Perl module for the CM15A & Misterhouse. You use my device driver and his module and you can interface Misterhouse with the CM15A.
Title: Re: CM15A
Post by: keyboardgnome on October 10, 2007, 01:38:08 PM
I did try it, and nothing happened. I even found a fellow who posted a perl script and tried that. Still nada.

I tried Niel's code that he buried on his site, and that was as close as I came to something that worked. The module loaded, no errors. However, still, nothing happened.
Title: Re: CM15A
Post by: Tuicemen on October 10, 2007, 01:56:09 PM
Perhaps sending a e-mail PM to neil cherry may be the quickest way to find a configuration that works! ;)
Although there are lots of Linux users on, here most use the CM11A
Charles Sullivan although he does have a CM15A, I think he only uses it for testing. In any case I'm sure he'll jump in (as he views the forum regularly) with some suggestions! ;)
Title: Re: CM15A
Post by: keyboardgnome on October 10, 2007, 01:58:43 PM
Thanks, That's all I'm looking for at the moment (and also something that can be documented for the other folks who are in my shoes)
Title: Re: CM15A
Post by: Charles Sullivan on October 10, 2007, 03:09:46 PM
Perhaps sending a e-mail PM to neil cherry may be the quickest way to find a configuration that works! ;)
Although there are lots of Linux users on, here most use the CM11A
Charles Sullivan although he does have a CM15A, I think he only uses it for testing. In any case I'm sure he'll jump in (as he views the forum regularly) with some suggestions! ;)

Sorry, but I have nothing to suggest for the CM15A other than trying Neil's code.
Under Linux I use a CM11A and HEYU software (http://www.heyu.org).

Title: Re: CM15A
Post by: linuxha on October 14, 2007, 12:09:40 PM
Perhaps sending a e-mail PM to neil cherry may be the quickest way to find a configuration that works! ;)

Nope that won't work, X10 and I (Neil Cherry) are not really speaking to each other much these days (still waiting on the documentation).  The best way to get hold of me is to visit my web site and use the email address there (http://www.linuxha.com). I haven't put a whole lot of new work into the CM15A but I can still make it work properly. BTW, seems X10 purged my account, guess I haven't posted in a while.

Right now I'm playing with Insteon and Z-Wave under Misterhouse. Once I get the Insteon USB package working I'll come back and get the CM15A package properly working under Misterhouse. Currently to use the CM15A under Linux you need the driver (http://www.linuxha.com/athome/common/cm15d/cm15a-driver.tgz) and then you'll need some other code to talk to the device that loads. On  my setup the driver automatically adds the device /dev/cm15a0. I've been using the cm15d code to interface to the software (http://www.linuxha.com/athome/common/cm15d/cm15d-20051130.tbz). I'm not sure if that's the latest (seems a bit old).

We've found a way to detach the hid if it gets attached to the CM15A (type cat /proc/bus/usb/devices). You no longer need to black list the device and recompile the kernel (what a pain). Anyway you can post to http://linuxha.com/FD/lshfd/
but you'll need to sign up (and use a valid email address, the last three people to sign up haven't responded to my email query and won't be signed up until they do).