News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

RS-232 control for 32LG3000

Started by Gaute, February 16, 2009, 01:45:13 PM

Previous topic - Next topic

Gaute

Hello!
I bought a LG3000 30" TV some days ago. I try to figure out how i can controll it over RS-232 with LinuxMCE. I have read about Generic Serial Device on the wiki, but cant get it to work.
Can anybody help me?
Gaute

colinjones

The first thing you need before you can do anything is the communications protocol. You need to source this from the manuals or manufacturer.

totallymaxed

Quote from: colinjones on February 16, 2009, 02:34:59 PM
The first thing you need before you can do anything is the communications protocol. You need to source this from the manuals or manufacturer.

LG helpfully provide full rs232 codes in an appendix of the manual for each of their TV's

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

Gaute

I have the communications protocol... it is in the manual... i have also made a new device template, but where shall i put those commands?

Gaute

I've added a device and some commands but the log only says:
Code (/var/log/pluto/74_Generic_Serial_Device.log) Select
        in: (eval): 89
        from (eval):89:in `cmd_355'
        from (eval):87:in `each'
        from (eval):87:in `cmd_355'
<0xb57d6b90>
05      02/16/09 15:52:36.195           Got a reload command from 0  <0xb5fd7b90>
05      02/16/09 15:52:36.479           void ClientSocket::Disconnect() on this socket: 0x80ab610 (m_Socket: 8) <0xb77db6c0>
Return code: 2
2       02/16/09 15:52:36       74 (spawning-device)    Device requests restart... count=1/50 dev=74
2       02/16/09 15:52:36       74 (spawning-device)    Device was disabled or removed. Stopping and marking as not running.

What is wrong? nothing changes when i give it a command...