| Forum: System Design |
19. Jul 2008, 04:47 CET | Link |
The CM15A Controller just became more literate than most countries in Africa! It can Write AND Read! :)
The CM15A code is coming along nicely. Things left to do before I make it available to you all:
- Download Neil's latest driver, and test with it.
- Format/Javadoc my code
- Repackage (java packaging for version 1.4 will be org.agaveblue.x10 instead of just x10 which is how 1.3 and earlier were packaged).
- Publish.
- Collect Underpants
- ?
- Profit.
(Note: Some parts of this business model are borrowed from Underpants Gnomes Inc.)
My plan is to have something available by the end of this weekend.
:)
20 Replies: | |||
|---|---|---|---|
Wade Wassenberg wrote on Jul 19, 2008 04:47: AH! Underpants gnomes! |
|||
Underpants collecting business model, then ? and then profit. I am focusing on the ?, I am convinced there is a real business model here, actually shouldn't be too hard. It is not easy and it is a bit of a puzzle but there are many avenues to profit. I will do a weblog entry. |
|||
Marc Fleury wrote on Jul 21, 2008 15:55: Wade and I will focus on the collecting ... (oh I shouldn't have said that ;-). |
|||
Neil Cherry wrote on Jul 21, 2008 16:19: I have some old ones that I use for rags when I'm working on the car or in the garage... you can have those. :P Add a little tequila... to your Java http://www.agaveblue.org |
|||
Wade Wassenberg wrote on Jul 21, 2008 19:10: Those should be burned, I was thinking famous female celebrities (Britney Spears would be a rare and probably vintage sale on EBay ;-). Ah, the work of the underpants gnome is never done! |
|||
Marc Fleury wrote on Jul 21, 2008 15:55:
When you figure out the BTW, nice avatar, Neil! Add a little tequila... to your Java http://www.agaveblue.org |
|||
I know the The previous avatar was too difficult to see so I went out and got this one. I'm almost as hyper as tweek (and I do a good imitation of him too). I'm hoping this will make MarcF happy it's better looking than my picture. :-7 |
|||
I managed to get the cm15a driver to load on the ORC but I'm now getting the following: Jul 20 14:10:14 (none) kernel: usbcore: registered new interface driver cm15a Jul 20 14:11:20 (none) kernel: usb 1-2: new low speed USB device using ohci_hcd and address 2 Jul 20 14:11:20 (none) kernel: usb 1-2: configuration #1 chosen from 1 choice Jul 20 14:11:20 (none) kernel: cm15a: probe of 1-2:1.0 failed with error -12 Jul 20 14:11:20 (none) kernel: usb 1-2: device_add(1-2:1.0) --> -12The erro message means: $ perror 12 OS error code 12: Cannot allocate memoryAt the moment I'm not certain why it can't allocate memory but I'll work on it. The fact that I can now cross compile my driver is a big deal. Hopefully we're one more step to a complete distribution. For those who are curious, I'm running a 2.6.20 kernel that was used with the imedia-wrap distribution (v5.04). I'm no sure how I ended using that one but it's working. |
|||
Wade Wassenberg wrote on Jul 19, 2008 04:47: Ok, so I've finished 1, 2, and 3, and I have something that halfway works and look like the end product will look like (the interfaces should be stable at this point), But I want to make some changes to the code (to make it a little more efficient) before I release it publicly, so If any of you want a copy, please email me and I'll email you back a copy of the zip file. It should be stable enough for you all to begin working with. Add a little tequila... to your Java http://www.agaveblue.org |
|||
Sorry for the stupid newbie question but where is this driver development going on? I've worked on some of this stuff previously so I'm really interested to see what's going on. |
|||
It's not a stupid newbie question. The answer is that the driver development is currently happening on my laptop, and I just haven't published it yet. I'm kind of OCD about publishing code that hasn't been well tested. So I told everyone that I'd send them copy of RC1 via email, if they emailed me a request for it. Otherwise, sit tight for a couple more weeks, and I'll have something ready to publish. And then, once I do publish it, it'll first be available on my site AgaveBlue, and then I need to get with Juha to figure out where to put a copy into subversion. Add a little tequila... to your Java http://www.agaveblue.org |
|||
Ok, so I went into this past weekend with the intent to polish up the CM15A code and then have something to release to the public. However, my first attempt at the CM15A software was having issues with the DIM commands. So I wanted to really exercise the DIM commands before I released anything. Long story short, either I have a bad CM15A module, or DIMs don't work the way they used to on the CM11A. Speaking of CM11A, I also determined that my CM11A no longer works correctly. UGH, what a terrible weekend. Ok, so this is a callout to all you X10 folks. Here's what I need: I need one or more volunteers that currently possess a CM15A, a linux box, and a Lamp Module to help me out. If you have a second CM15A, or a CM11A, then that's a bonus. If you meet this criteria, please send me an email, and I'll reply back with some code and some instructions. Basically what I want you to do, is hook the CM15A to a linux box, and hook up your Lamp Module, then run a program that I wrote that loops through all 32 possible DIM settings, and at each loop step, you type in an estimated level that you think the Light is at. I need this data in order to determine if my CM15A is a flake, or if they all behave the same way mine does. If you have a second CM15A, or a CM11A, I want you to install the X10 software (that comes with the module) on a windows box, and record what it says the percentage level is for each DIM setting. Once you have your CM15A and your Lamp Module set up, it should only take about 15 minutes to run through the program I wrote, then just email me the results. I'll send clearer instructions once I get some volunteers. Add a little tequila... to your Java http://www.agaveblue.org |
|||
I'm starting to become convinced that the CM15A is a bigger P.O.S. than any other X10 product. According to this thread, A LOT of people who have migrated from the CM11A to the CM15A, have since abandoned their CM15A, and returned to their CM11A. My CM15A doesn't handle Dims correctly (or what I perceive to be correct, it's still possible that I'm not doing something right... however I'm doing the same thing I did with the CM11A, and it used to work fine on the CM11A) Interesting! Add a little tequila... to your Java http://www.agaveblue.org |
|||
Wade Wassenberg wrote on Aug 05, 2008 06:50: Fist let me say that, while I know X10 is a piece of crap (hardware and software) for the most part it does work. The people who are migrating are having problems with the AHP (Automatedd Hell Programming ;-). X10 can't write software to save their lives. I'm now back and I'll get back to work helping you. I have one major advantage to your work environment I have tools that can sniff the AC to see what's being sent. Even down to the bits though I haven't started up the X10 bit sniffer in a while. |
|||
Hi guys,
I just became the proud owner of several pieces of x10 equipment, one of them being a cm15a. After initially configuring it using AHP, it's now time to get serious and use my linux box to regulate things. Some searching has led me here, however the location of the latest driver version remains somewhat of a mystery. Can anyone shed some light on this? (argh... now noticing the horrible pun) I am not a programmer, but a good tester and 11+ years linux veteran. Cheers, Mark |
|||
Hey Mark, I can't answer your question about CM15A (I've only been looking at the X10 code for 11A and 17A and don't have hardware to play with yet) -- I'm interested though where'd you get your CM15A (I'm assuming you're in EU) since I'm planning on getting one.
Juha Lindfors, OpenRemote |
|||
Hi Juha, I got mine from mypowershop.eu (dutch shop) but I think it's actually marmitek stuff. That said, I've found and downloaded the driver from the LinuxHA site. A little tweaking and it's working... great! I can turn modules on and off using perl for the moment. Now is the time for setting up misterhouse etc. Hopefully the driver also supports macro stuff... fingers crossed. Mark |
|||
Mark,
We plan on supporting a flavor of X10 for the first release. Your experience installing and programming through Misterhouse will be interesting in our Eventually ORC must be able to replicate the steps you are going through minus the gory details. Hopefully. We may run a test run of ORC hardware. It would be good if you could participate. Good luck with your installs and report back when you can. |
|||
Mark van Reijn wrote on Oct 21, 2008 17:55: Hi Marc, no macro support. If you're leaving the PC on 7x24 (as you would with Misterhouse (MH)) then ignore the built-in macro support as it's too limited. Instead build the equivalent to macros in Perl on Misterhouse (you may be able to use the timers, triggers and settings in the MH menus instead). If you insist on macros then just use X10's AHP to setup the macros. X10 was kind enough to promise to share the programming info with us but never kind enough to follow through. We hacked the info out of the CM15A so information is a bit limited. |
|||
Good to hear you got it working :-) Marmitek's stuff is what I've been looking at as well.
Juha Lindfors, OpenRemote |

Add a little tequila... to your Java http://www.agaveblue.org