[mythtv-users] Serial control of a TV

Nick Rout nick.rout at gmail.com
Sat Mar 14 01:43:38 UTC 2009


On Sat, Mar 14, 2009 at 2:34 PM, Yan Seiner <yan at seiner.com> wrote:
> This is driving me absolutely nuts.  I have a Sharp Aquos, which has a
> serial port.  You can send some very basic commands to the TV - like ON,
> OFF, set the volume, etc.
>
> When I connect via minicom, I can send "POWR0   " I get back OK and the TV
> shuts off.
>
> When I echo "POWR0   " via the shell, I get back ERR and the TV doesn't shut
> off.
>
> Is anyone controlling a Sharp TV via serial?
>
> And if so, WTF is the difference between minicom and
>
> stty -F $PORT 9600 -crtscts cs8 -parenb -cstopb raw
> echo "POWR0   "
>

I am not sure about stty, but how about:

echo "POWR0   " > /dev/ttyS0

adjusting ttyS0 for the correct serial device, and setting it up with
setserial first


More information about the mythtv-users mailing list