LinuxMCE Forums

General => Installation issues => Topic started by: Gaute on March 18, 2009, 08:55:25 PM

Title: RS-232 on 32LG3000
Post by: Gaute on March 18, 2009, 08:55:25 PM
Hello!
I know i have asked about this before (with no result), but now i have moved my tv and use it on another system so:

I'm trying to make my new tv work with rs-232 controll. It is a 32LG3000. I have started, made a device template and implanted a on/of command.

But when i reload the router this error comes up in the log:
Quote74:01  03/18/09 20:47:43.059           Failed loading code: Error loading code:
error: (eval):72: compile error
(eval):7: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending ON Command') conn_.Send("ka 01 01\r")
                               ^
(eval):14: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending OFF Command') conn_.Send("ka 01 00\r")
                                ^, line: 72
. <0xb585bb90>

Can anybody help me with this?

Gaute
Title: Re: RS-232 on 32LG3000
Post by: hari on March 18, 2009, 09:04:18 PM
you miss line breaks or ';' between the log and the send commands,

br Hari
Title: Re: RS-232 on 32LG3000
Post by: Gaute on March 18, 2009, 10:07:29 PM
Okey, i have got i working.
Is there any way i can upload it to share it with others?
Title: Re: RS-232 on 32LG3000
Post by: hari on March 18, 2009, 10:21:10 PM
if you do it on a 0810 installation we can commit it to the sqlCVS repository.

best regards,
Hari