X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Topic started by: sportscoupe on April 12, 2008, 12:03:15 PM

Title: cm15a driver for newer 2.6 kernel?
Post by: sportscoupe on April 12, 2008, 12:03:15 PM
I'm running SUSE 10.3 and I'm not able to compile the driver from linuxha.com. The header file config.h is not included in the SUSE 10.3 kernel source files and I get errors when I compile.

Is there a way to work around for this?

Thanks Doug
Title: Re: cm15a driver for newer 2.6 kernel?
Post by: sportscoupe on April 14, 2008, 07:23:38 PM
Ok I got it working

in the file cm15a.c

change
#include <linux/config.h>
to
#include <linux/autoconf.h>

comment out all (MODULE_PARM) functions but leave all (MODULE_PARM_DESC) functions

comment out line 201(mode:         S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH,)

comment out line 206(owner:   THIS_MODULE,)

It now turns the light on and off
Title: Re: cm15a driver for newer 2.6 kernel?
Post by: joako on November 30, 2009, 08:27:40 PM
Do you have the driver file? I can not seem to find it. From what I can gather CM15A does not work in Linux and I am very disappointed at that.
Title: Re: cm15a driver for newer 2.6 kernel?
Post by: Painter on January 07, 2010, 08:08:10 AM
Hi,

After a lot of attempts to make the CM15 to work under linux i found the following page http://www.somethinginteractive.com/2009/05/06/guide-x10-cm15a-ubuntu/ (http://www.somethinginteractive.com/2009/05/06/guide-x10-cm15a-ubuntu/)

By installing the Jim's driver linked from the bottom of "Step4" http://www.eclipsehomeauto.com/cm15a_on_linux/cm15ademo.tar.gz (http://www.eclipsehomeauto.com/cm15a_on_linux/cm15ademo.tar.gz)   i am able to have a basic control of my lights in form of commands, e.g ./cm15ademo a2 on
That is not the desired solution for me as i also use ZoneMinder that whants to talk directly to a serial connected X10 controller but is a nice start.
That is under opensuse 11.2 with kernel  2.6.31.8-0.1-default.
Luck of Linux support for X10 products is very bad for the sales of the X10 products so i believe that X10 should rethink that issue.

Good luck