Discussion:
[wish-info] Bug in cm11a_xcvr.c?
Robert Deliën
2007-05-11 22:57:29 UTC
Permalink
Hello Guys,

I have installed about 35 X10 modules in my house over a year ago, so I thought it would be nice to finally make some use of them. The WiSH project seems like a nice idea, so I went ahead and installed it.

I'm new to this project so I don't know all ins and outs or any history. But I do think that the CM11 support is a bit broken: I can send X10 commands and devices respond to them, but commands sent by other devices, such as the remote control, are not detected by WiSH. The driver cm11a_xcvr does receive them, but discards them.

So I took a look at the code and I noticed that the loop in the function start 'continues' upon the reception of data because the static int function updateack doesn't return any value. Making updateack returning 0 does the job, but I don't know if that's the solution or just a quick fix because didn't have the time to get my head around this mechanism yet. What's also strange is that the static int function clearack doesn't return anything either and that it isn't actually used.

Is this a known problem? Does anybody else experience this problem?

Cheers,

Robert.

Loading...