Menu

#5 x10dev sends but won't receive x10 events

open
nobody
None
5
2007-09-10
2007-09-10
Anonymous
No

I couldn't get x10dev to detect any x10 events other than those generated by x10dev. After searching via google I found: http://www.nabble.com/Bug-in-cm11a_xcvr.c--t3730036.html

I edited daemons/cm11a_xcvr.c and added 'return 0' to the updateack function:

static int updateack(int value)
{
int data;

dsyslog(LOG_INFO,"updateack: %d\n",value);
ack = value;
sem_getvalue(&sem_ack,&data);
if (data == 0)
sem_post(&sem_ack);
return 0;
}

And now x10dev does receive events :) Might this be a bug, or maybe just a debian 4.0r1 issue? Either way, I hope this helps someone else who has the same problem.

I don't know if this might affect x10dev negatively, but so far so good :)

Thanks for a great tool Scott :)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB