Author Topic: CM15A and LinuxMCE  (Read 18297 times)

LucasG2000

  • First post!
  • Posts: 1
    • View Profile
CM15A and LinuxMCE
« on: June 08, 2008, 07:27:48 pm »
Hello,

I've been playing with a Marmitek CM15A interface for controlling X10 devices. Using the driver in newbielink:http://home.comcast.net/~ncherry/common/cm15d/cm15d.html [nonactive] and the scripts in newbielink:http://users.zoominternet.net/~cm15a/ [nonactive] 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.

Maxx

  • Making baby steps
  • Posts: 3
    • View Profile
Re: CM15A and LinuxMCE
« Reply #1 on: September 26, 2009, 08:14:18 pm »
Any new update on this ?


tschak909

  • LinuxMCE God
  • ****
  • Posts: 5498
  • DOES work for LinuxMCE.
    • View Profile
Re: CM15A and LinuxMCE
« Reply #2 on: September 28, 2009, 09: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

Hagen

  • Guru
  • ****
  • Posts: 437
  • LMCE wannabe user
    • View Profile
Re: CM15A and LinuxMCE
« Reply #3 on: October 16, 2009, 08:20:30 pm »
Also looking at the CM15 for LinuxMCE

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5498
  • DOES work for LinuxMCE.
    • View Profile
Re: CM15A and LinuxMCE
« Reply #4 on: October 16, 2009, 08:58:06 pm »
cool, okay then, somebody needs to write a driver.

-Thom

broadbandequipment

  • First post!
  • Posts: 1
    • View Profile
Re: CM15A and LinuxMCE
« Reply #5 on: October 18, 2009, 02: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.

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

Hope this will be usefull.

nosilla99

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: CM15A and LinuxMCE
« Reply #6 on: October 20, 2009, 10: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, 10:41:05 pm by nosilla99 »

Hagen

  • Guru
  • ****
  • Posts: 437
  • LMCE wannabe user
    • View Profile
Re: CM15A and LinuxMCE
« Reply #7 on: October 21, 2009, 07: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  ;D

mythtified

  • Guru
  • ****
  • Posts: 176
    • View Profile
Re: CM15A and LinuxMCE
« Reply #8 on: October 21, 2009, 04: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

nosilla99

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: CM15A and LinuxMCE
« Reply #9 on: October 21, 2009, 11: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


dlewis

  • Guru
  • ****
  • Posts: 401
    • View Profile
Re: CM15A and LinuxMCE
« Reply #10 on: October 21, 2009, 11:29:04 pm »
nosilla99, please send this info on the forum instead of using PM. It would be good for everyone to read.

nosilla99

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: CM15A and LinuxMCE
« Reply #11 on: October 22, 2009, 03: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  ;D

NOS
« Last Edit: October 22, 2009, 03:50:43 pm by nosilla99 »

nosilla99

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: CM15A and LinuxMCE
« Reply #12 on: October 22, 2009, 04: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

mythtified

  • Guru
  • ****
  • Posts: 176
    • View Profile
Re: CM15A and LinuxMCE
« Reply #13 on: October 22, 2009, 06: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.

nosilla99

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: CM15A and LinuxMCE
« 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