[mythtv-users] Updated dct-channel for controlling DCT-2000 via serial port

Jim Paris jim at jtan.com
Fri Oct 17 05:11:09 EDT 2003


> Serial timeout
> Didn't get expected status message
> Initialization failed
> 
> I reset the box and tried again.  No joy.

Could you try increasing the timeout by specifying something like -t 5?
If that doesn't work, try this patch:

--- channel.c	2003-10-17 01:12:55.000000000 -0400
+++ foo.c	2003-10-17 04:07:17.000000000 -0400
@@ -74,7 +74,6 @@
 	   for it (and automatically acknowledge it) */
 	if(serial_getpacket(&p,TIMEOUT_SHORT)<0) {
 		verb("Didn't get expected status message\n");
-		return -1;
 	}
 	return 0;
 }

If still no luck, could you send me the output from the Python
channel-changing script?

-jim


More information about the mythtv-users mailing list