[mythtv-users] Updated dct-channel for controlling DCT-2000
via serial port
Ian Forde
ian at duckland.org
Sat Oct 18 20:42:51 EDT 2003
On Fri, 2003-10-17 at 01:11, Jim Paris wrote:
> > 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;
> }
Strange. Neither the -t option nor the patch helped things. Funny
thing was that version 1.3 works just fine. I didn't think anything
changed (other than pulling out the autoconf stuff...)
I'll try this out for a few days and see if it's better than the Python
script. (Over time, I'm fast learning how to hate Python even more than
when I first encountered it...)
> If still no luck, could you send me the output from the Python
> channel-changing script?
And that would have required me digging back into the Python code (which
I really hate) and start on another cycle of trying to clean it up
again... ugh... ;)
I'll switch over to this instead for a few days and let you know if it's
noticeable faster/more reliable for me...
Thanks,
-Ian
--
__________________________________
Ian Forde, RHCE, CCSE, SCNA, SCDME
CYTBeN, Inc.
ian at duckland.org / ian at cytben.com
More information about the mythtv-users
mailing list