LinuxMCE Forums
May 24, 2013, 01:06:56 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2 3 ... 6
  Print  
Author Topic: CM15A and LinuxMCE  (Read 14226 times)
LucasG2000
First post!

Posts: 1


View Profile
« on: June 08, 2008, 06:27:48 pm »

Hello,

I've been playing with a Marmitek CM15A interface for controlling X10 devices. Using the driver in http://home.comcast.net/~ncherry/common/cm15d/cm15d.html and the scripts in http://users.zoominternet.net/~cm15a/ I have a command line script which turns on and off an X10 controlled light. This is only a proof of concept for assuring that the USB device is able to talk to other X10 devices from linux and that the OS setup is correct.

Now I'm trying to take the next step, that is connect this to LMCE. The driver creates the device in /dev/cm15a0, that it's working because the perl scripts use it without problems, but there's no way to configure LMCE for using it correctly.

Anyone can shed some light about this? Any ideas ?

Thanks in advance.
Logged
Maxx
Making baby steps

Posts: 3


View Profile
« Reply #1 on: September 26, 2009, 07:14:18 pm »

Any new update on this ?

Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #2 on: September 28, 2009, 08:48:57 pm »

a DCE device needs to be created for dealing with the CM15A. Please look at the existing device template for the CM11A, and the relevant code in our SVN for adapting to the new device.

-Thom
Logged
Hagen
Guru
****
Posts: 437


LMCE wannabe user


View Profile
« Reply #3 on: October 16, 2009, 07:20:30 pm »

Also looking at the CM15 for LinuxMCE
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #4 on: October 16, 2009, 07:58:06 pm »

cool, okay then, somebody needs to write a driver.

-Thom
Logged
broadbandequipment
First post!

Posts: 1


View Profile
« Reply #5 on: October 18, 2009, 01:59:33 pm »

Regarding the CM15 ' problem'  i found something on the net... Im not a specialist on this but maybe you guys can use it i order to ' write'  a driver. It looks like it that someone already has the CM15 up and running on Ubuntu.

http://scottzumwalt.blogspot.com/2008/07/cm15a-x10-home-automation-with-linux.html
http://www.eclipsehomeauto.com/cm15a_on_linux/cm15a.shtml
http://www.somethinginteractive.com/index.php/2009/05/06/guide-x10-cm15a-ubuntu/

Hope this will be usefull.
Logged
nosilla99
Veteran
***
Posts: 120


View Profile
« Reply #6 on: October 20, 2009, 09:38:25 pm »

I don't have a CM15 but would happy to write a driver for LinuxMCE by either intergrating support within the CM11A driver or adding a new driver.  If someone or ideally a couple of people who have this device and have the time to spend testing and assisting let me know.

No need for programming skills required, just your time to debug driver

NOS
« Last Edit: October 20, 2009, 09:41:05 pm by nosilla99 » Logged
Hagen
Guru
****
Posts: 437


LMCE wannabe user


View Profile
« Reply #7 on: October 21, 2009, 06:57:47 am »

I will get the core machine up and running sometime next week, but I have not yet bought the CM15. not sure when I will get that in house, but when I do my time is yours, of course  Grin
Logged
mythtified
Guru
****
Posts: 176


View Profile
« Reply #8 on: October 21, 2009, 03:34:37 pm »

I have a cm15 connected to a 0810 machine to test the link that was mentioned.  Those work when the software is compiled.

What do you need?  How can I help? 

Let me know
Logged
nosilla99
Veteran
***
Posts: 120


View Profile
« Reply #9 on: October 21, 2009, 10:26:33 pm »

@hagen and mythtified,

Will start on the LinuxMCE integration at the weekend, will send you both a PM in the next two days after I have identified the differences between CM15A and CM11A protocols.

Cheers guys

NOS

Logged
dlewis
Guru
****
Posts: 401


View Profile
« Reply #10 on: October 21, 2009, 10:29:04 pm »

nosilla99, please send this info on the forum instead of using PM. It would be good for everyone to read.
Logged
nosilla99
Veteran
***
Posts: 120


View Profile
« Reply #11 on: October 22, 2009, 02:47:53 pm »

dlewis,

I was only going to PM to discuss availability for chatting on IRC, I will open a thread in the developers section to discuss actual implementation.

Infact can you move this thread to the developers section please  Grin

NOS
« Last Edit: October 22, 2009, 02:50:43 pm by nosilla99 » Logged
nosilla99
Veteran
***
Posts: 120


View Profile
« Reply #12 on: October 22, 2009, 03:55:28 pm »

mythtified,

Did you have to remove the usbhid module to allow the cm15a device driver to function, or have you rebuilt the 8.10 kernel to stop HID from grabbing the cm15a ?

NOS
Logged
mythtified
Guru
****
Posts: 176


View Profile
« Reply #13 on: October 22, 2009, 05:37:01 pm »

No I did not remove the usbhid module.  I just followed the directions listed at the somethinginteractive.com site, downloaded, compiled the utilities, and ran the cm15demo utility.  I did nothing beyond that.  The background info there is sketchy and I cannot follow code well enough to understand what was being done.  I don't have it on the machine at this time.  I had read something Thom wrote in the wiki about the beta and decided to blow the software away and reload to see what would happen if I were more patient.

Without anything installed and the CM15A connected I can do an lsusb and see the device if that is any help.
Logged
nosilla99
Veteran
***
Posts: 120


View Profile
« Reply #14 on: November 02, 2009, 11:03:26 am »

Sorry for the delay guys, have had to rebuild my server, should have 8.10 build environment setup tonight so can start working on the CM15 support.

The good news is that the protocols for CM15 and CM11 are very similar with only a few variations so it should not be too hard to implement support. 

The easiest option would be to use the device driver approach although this would require some customisation of the kernel which would be in contrast to the direction LMCE is taking.  Therefore I will look at using the libusb code which although more difficult allows the CM15 to be supported without impacting on the kernel.

NOS
Logged
Pages: [1] 2 3 ... 6
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!