[mythtv] lirc, Motorola DCT2000 and the Actisys IR blaster

David Hunnisett mythtv-dev@snowman.net
Thu, 7 Nov 2002 23:06:44 +0000


On Tue, Nov 05, 2002 at 12:32:16AM -0800, A Gill wrote:
> Has anyone done any work trying to get serial port
> control of a digital cable box to work.  I have been
> researching this for a little while now, but haven't
> quite got the code i need.  Right now I can only turn
> the box on and off using a simple shell script, but of
> course we need to be able to change channels.  The
> method is really simple ... its getting the hex
> commands that I can't seem to do.
> 
> here's what I have to turn the box on and off.
> 
> [root@knox:/home/knox ]$ stty raw < /dev/ttyS0
> [root@knox:/home/knox ]$ echo -ne "
> \x10\x70\x00\x02\x03\x40\xc8\x27\x10\x03\x10\x78\x00\x03\x03\x40\x00\x68\x96\x10\x03\x10\x78\x00\x04\x10\x10\x40\x22\x0a\x98\xbe\x10\x03"
> > /dev/ttyS0
> 
> same command is used to toggle the box on and off.  If
> I had the same hex sequence need to set a channel then
> it would be a done deal.  Maybe someone else has a way
> of finding out.
how did you work this out?
what box are you using?
i am intersted in doing the same thing have a pace digital box
what rs232 wiring etc?

> 
> -- Allen
> 
> --- Matt Zimmerman <mdz@debian.org> wrote:
> > On Mon, Nov 04, 2002 at 11:12:28AM -0600, Carlos
> > Talbot wrote:
> > 
> > > The gi-motorola-dct2000 is defined in my
> > /etc/lircd.conf file which
> > > was extracted from
> > http://www.lirc.org/remotes.tar.bz2.
> > > 
> > > If someone has a better way of scripting this
> > please feel free to
> > > contribute any changes. I had to create the
> > initial shell script because a
> > > fork is required. You'll noticed during the ir
> > tranmissions I had to delay
> > > each digit by one second. This is long enough to
> > cause a/v synch issues
> > > with Mythtv. It's better that the script returns
> > right away while the ir
> > > is sent in the background.
> > 
> > Excellent, I have the same unit and am glad to hear
> > that lirc works well
> > with it.  If I can't make it work with IrDA, I will
> > look into the Actisys
> > unit that you mentioned; thanks for bringing that to
> > my attention.
> > 
> > -- 
> >  - mdz
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev@snowman.net
> > http://www.snowman.net/mailman/listinfo/mythtv-dev
> 
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev