Author Topic: Template for Olevia 232 LCD  (Read 3501 times)

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Template for Olevia 232 LCD
« on: November 13, 2007, 06:55:14 pm »
I am trying to create a template for the Olevia 232 LCD hari suggested I review the template PLasma rs232 for Idea's.
After reviewing the template I decided to just modify the hex codes in the ruby commands.

Here are the hex codes supplied by olevia.
Quote
Command
Power On F0F9FE0100000000000008FF
Power Off BE 05 27 00 EA
Mute BE 05 25 09 F1
One BE 05 25 11 F9
Two BE 05 25 12 FA
Three BE 05 25 13 FB
Four BE 05 25 14 FC
Five BE 05 25 15 FD
Six BE 05 25 16 FE
Seven BE 05 25 17 FF
Eight BE 05 25 18 00
Nine BE 05 25 19 01
Zero BE 05 25 10 F8
Channel Return BE 05 25 1A 02
Dash BE 05 25 59 41
MTS BE 05 25 40 28
Menu BE 05 25 04 EC
Enter BE 05 25 1B 03
* Up * BE 05 25 45 2D
* Down * BE 05 25 4A 32
* Right * BE 05 25 07 EF
* Left * BE 05 25 0A F2
Favorite BE 05 25 46 2E
Display BE 05 25 1E 06
Vol + BE 05 25 02 EA
Vol - BE 05 25 03 EB
Channel + BE 05 25 00 E8
Channel - BE 05 25 01 E9
Source BE 05 25 0B F3
TV BE 05 25 0D F5
Composite A/V BE 05 25 4D 35
Component BE 05 25 49 31
HDMI BE 05 25 5D 45
Closed Caption BE 05 25 48 30
Aspect BE 05 25 56 3E
Status Hex Command Code
VGA Auto Sync BE 05 25 50 38
Lighting BE 05 25 20 08
Time BE 05 25 21 09
Sleep BE 05 25 22 0A
Info BE 05 25 23 0B
** TV ** BE 05 26 00 E9
S-Video BE 05 26 05 EE
** Component ** BE 05 26 08 F1
VGA BE 05 26 0A F3
VGA Component BE 05 26 0B F4
** HDMI ** BE 05 26 0C F5
Read Power Status BE 05 90 00 53 Power Off, No Reply Power On Returns 060590019C
Tuner Returns 060590009B Composite Returns 060590019C
S-Video Returns 060590029D Component Returns 060590039E
BE 05 90 01 54 HDMI Returns 060590049F VGA Returns 06059005A0
Read Mute Status BE 05 90 02 55 Mute Off Returns 060590009B Mute On Returns 060590019C
Volume 0 Returns 060590009B Volume 1 Returns 060590019C
Volume 2 Returns 060590029D Volume 3 Returns 060590039E
Volume 4 Returns 060590049F Volume 5 Returns 06059005A0
Volume 6 Returns 06059006A1 Volume 7 Returns 06059007A2
Volume 8 Returns 06059008A3 Volume 9 Returns 06059009A4
Volume 10 Returns 0605900AA5 Volume 11 Returns 0605900BA6
BE 05 90 03 56 Volume 12 Returns 0605900CA7 Volume 13 Returns 0605900DA8
Volume 14 Returns 0605900EA9 Volume 15 Returns 0605900FAA
Volume 16 Returns 06059010AB Volume 17 Returns 06059011AC
Volume 18 Returns 06059012AD Volume 19 Returns 06059013AE
Volume 20 Returns 06059014AF Volume 21 Returns 06059015B0
Volume 22 Returns 06059016B1 Volume 23 Returns 06059017B2
Volume 24 Returns 06059018B3 Volume 25 Returns 06059019B4
Volume 26 Returns 0605901AB5 Volume 27 Returns 0605901BB6
Volume 28 Returns 0605901CB7 Volume 29 Returns 0605901DB8
Volume 30 Returns 0605901EB9 Volume 31 Returns 0605901FBA
Volume 32 Returns 06059020BB Volume 33 Returns 06059021BC
Read Volume Value
*Make Note*
Read Input Source
VGA Component Returns 06059006A1
Volume 34 Returns 06059022BD Volume 35 Returns 06059023BE
Volume 36 Returns 06059024BF Volume 37 Returns 06059025C0
Volume 38 Returns 06059026C1 Volume 39 Returns 06059027C2
Volume 40 Returns 06059028C3 Volume 41 Returns 06059029C4
Volume 42 Returns 0605902AC5 Volume 43 Returns 0605902BC6
Volume 44 Returns 0605902CC7 Volume 45 Returns 0605902DC8
Volume 46 Returns 0605902EC9 Volume 47 Returns 0605902FCA
Volume 48 Returns 06059030CB Volume 49 Returns 06059031CC
Buad Rate
Data Bits
Stop Bits
Parity
* These commands work properly under the Menu Screen, although they may perform other functions when the Menu isn't up
** These commands are duplicate functions using a different Hex Code
115200
81No
Volume 50 Returns 06059032CD

As a simple test
Example
Power off
SendCmd("\xBE\x05\x27\x00\xEA")

Send command to device   ( I did not see power off in the drop down so added the same command to several others in the drop down)
Send command to device yields 
01   11/13/07 12:15:27.628      Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #170 <0xb6067b90>

I stumble onto TestSerialPort   in one of pnp scripts and tried
./TestSerialPort  -p /dev/ttyS1 -P N81 -t \xBE\x05\x90\x03\x54 -b 115200
And did at one point get a reply back. so I think my  custom cable Is correct (mini din 8 pin m to db9f)
Am I on the right track or way off base
I am simply trying to see if the tv is accepting the off signal.


Thanks
Tim
« Last Edit: November 13, 2007, 07:57:30 pm by tkmedia »
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Template for Olevia 232 LCD
« Reply #1 on: November 13, 2007, 09:25:51 pm »
....

As a simple test
Example
Power off
SendCmd("\xBE\x05\x27\x00\xEA")

Send command to device   ( I did not see power off in the drop down so added the same command to several others in the drop down)
Send command to device yields 
01   11/13/07 12:15:27.628      Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #170 <0xb6067b90>

I stumble onto TestSerialPort   in one of pnp scripts and tried
./TestSerialPort  -p /dev/ttyS1 -P N81 -t \xBE\x05\x90\x03\x54 -b 115200
And did at one point get a reply back. so I think my  custom cable Is correct (mini din 8 pin m to db9f)
Am I on the right track or way off base
I am simply trying to see if the tv is accepting the off signal.


Thanks
Tim

Hi, are those messages from DCERouter log or generic serial device log ?

Can you take a look at both - maybe there is more info in both of them. Post back.
You could also try to enter some Ruby code to print out more messages on serial receive characters. Try to install few rs232 and generic serial based devices and try to find some ruby code to display if anything is received back on serial port...

Regards,

Rob.
Thanks in advance,

regards,

Bulek.