[mythtv-users] command "irsend" producing eratic results
Jeremy Green
jaggroups at brownout.com
Fri May 25 21:40:27 UTC 2007
I had some reliability problems with my dishnetwork receiver when
changing channels. It rarely got all of the digits. I told it to
sleep for 1/10 of a second between digits and it works flawlessly now.
Here is my channel change script:
#!/usr/bin/perl -w
my @chan=split(//,$ARGV[0]);
foreach my $num (@chan) {
print "Sending $num\n";
system "irsend SEND_ONCE dish $num";
system "sleep 0.1";
}
system "irsend SEND_ONCE dish select";
sleep (2);
foreach my $num (@chan) {
print "Sending $num\n";
system "irsend SEND_ONCE dish $num";
system "sleep 0.1";
}
system "irsend SEND_ONCE dish select";
On May 25, 2007, at 11:02 AM, Dan Wilga wrote:
> At 2:36 PM -0400 5/24/07, Michael T. Dean wrote:
>> I think the cheap solution is buying a different transmitter with
>> its own timing circuitry.
>
> After many, many hours playing with this, I broke down and did
> exactly that (USB-UIRT). While I was able to get a serial IR
> transmitter to work about 95% of the time, it just wasn't good
> enough. The high frequency of the IR carrier combined with the
> pickiness of the Dish receiver leads to too much instability.
>
> Things I did:
>
> - experimented with kernel timing
> - designed a hard-wired interface into the Dish boxes that avoids any
> possible problems with IR signals bouncing around the room
> - used an oscilloscope to tweak the LIRC timing parameters to match
> what the receiver expects
>
> ...all without attaining 100% reliability. I'm not saying it's
> impossible to find a system that always transmits using a simple
> emitter to a Dish receiver without dropouts, but I seriously doubt
> that it's possible on my system.
> --
> Dan Wilga
> "Ook."
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list