[mythtv-users] USB keyboard control of digital cable box

Ryan Brancheau (US) ryan.brancheau at us.didata.com
Thu Apr 1 23:41:55 EST 2004


Okay, because the only companies I've found want between $50-$100 for a
serial to keyboard converter, which seems a little steep when my XP
2000+ processor with millions of transistors only cost about $48.  

I'm not really a programmer, I do some perl, how would I actually do
this?  Would it be as simple as printing output to /dev/lp0 or
/dev/ttyS0 if I went with serial?  Because the boxes I saw that did this
conversion seemed pretty large like there was actually something going
on in there other than just mapping pins.  It seems like I might need to
send binary scan codes like the ones found here:

http://panda.cs.ndsu.nodak.edu/%7Eachapwes/PICmicro/keyboard/scancodes2.
html

Maybe that's all these boxes do, convert ascii A into a binary 1C bit,
pause and then send an F0 and a 1C bit.  Of course, this same site says
that PS/2 mice and keyboards operate on the same protocol.  So by that
logic it seems like I should be able to use one of those PS/2 to serial
mouse converters, send scan codes and be done with it.  Am I missing
something here?  

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of MythTV User
Sent: Thursday, April 01, 2004 8:13 PM
To: Discussion about mythtv
Subject: RE: RE: [mythtv-users] USB keyboard control of digital cable
box

it's data + clock (like SPI) and it has to be TTL it would probably be
easier to bit bang off the parallel port.

Ryan wrote:

> 
> Thanks for the heads up, I'll check it out. BTW, do you know how hard 
> it would be to map serial data to keyboard data? Or would it be as 
> simple as writing characters to the serial port?



_______________________________________________
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