Please login or register.

Login with username, password and session length

Author Topic: cm15a driver for newer 2.6 kernel?  (Read 16342 times)

sportscoupe

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
cm15a driver for newer 2.6 kernel?
« 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
Logged

sportscoupe

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
Re: cm15a driver for newer 2.6 kernel?
« Reply #1 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
Logged

joako

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 24
Re: cm15a driver for newer 2.6 kernel?
« Reply #2 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.
Logged

Painter

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: cm15a driver for newer 2.6 kernel?
« Reply #3 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/

By installing the Jim's driver linked from the bottom of "Step4" 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
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.