JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

LG DVD recorder discrete codes for AV input

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Discrete Codes
View previous topic :: View next topic  
Author Message
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Tue Jan 27, 2009 9:44 am    Post subject: LG DVD recorder discrete codes for AV input Reply with quote

1. Device: LG RH 255
2. Type of device: DVD recorder with HD
3. Year: ?
4. JP1/UEI Remote model: ?
5. Do you have a JP1 cable? no
6. Still have original remote? yes
7. Checked the file section? no
8. Checked Pronto file section (at R/C)? yes
9. Partially working setup code? no
10. Learning remote question? no

I can't figure out the discrete code to enable AV1 input rather than cycling all sources.
My LG recorder appears to respond fine to this codes for discrete on and off commands:

DVD ON
0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 0016 003e 0016 003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003e 0016 003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016 0014 0016 003e 0016 003e 0016 003f 0016 0014 0016 0014 0016 003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 06c3 00ab 00aa 0016 0014 0016 0e7d

DVD OFF
0000 006d 0022 0003 00ab 00aa 0016 003e 0016 0014 0016 003f 0016 003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016 003e 0016 0014 0016 003f 0016 0014 0016 0014 0016 0014 0016 003e 0016 003f 0016 0014 0016 003e 0016 003f 0016 003e 0016 0014 0016 003f 0016 0014 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 06c3 00ab 00aa 0016 0014 0016 0e7d

I guess it's an RCA modulation, as far as I can understand waveform obtained with TONTO program to RCA description.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18556
Location: Chicago, IL

PostPosted: Tue Jan 27, 2009 11:05 am    Post subject: Reply with quote

These signals use the NECx1 protocol with a device code (and sub-device code) of 45. The OBC for ON is 117, and the OBC for OFF is 118.

I don't have a code for AV1 input but I do have 3 "mode" codes, are these inputs?

241 - DVD MODE
242 - HDD MODE
243 - VCR MODE

I have added your discrete codes to a new master file that I just created for LG DVD players that use NECx1, dev 45 here:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=6163
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Tue Jan 27, 2009 1:00 pm    Post subject: Reply with quote

The Robman wrote:
These signals use the NECx1 protocol with a device code (and sub-device code) of 45. The OBC for ON is 117, and the OBC for OFF is 118.

I don't have a code for AV1 input but I do have 3 "mode" codes, are these inputs?

241 - DVD MODE
242 - HDD MODE
243 - VCR MODE

I have added your discrete codes to a new master file that I just created for LG DVD players that use NECx1, dev 45 here:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=6163


I didn't understand a single word of what you said... Crying or Very sad That's my fault, I don't know anything about JP1 remotes... Embarassed
How can I use your file, and where could I find information/explanations about its contents?

Anyway, the codes you listed are just to switch operating mode of the device: play/record HDD files, play/record DVD files, and...? Don' t know, my device has just 2 modes.
Back to top
View user's profile Send private message
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Thu Jan 29, 2009 1:03 pm    Post subject: Reply with quote

I did some interesting discovery:
- my RH 255 recorder has same codes listed in this file of yours, which is for LG DVD recorder RH-7800 (at least the basic keys, I didn't test them all, and rh255 does not have some of rh-7800 functions).
- codes listed there can be easily converted into a hexadcimal format which, inserted in TONTO program, allows obtaining the corresponding PRONTO code, binary sequecne, pulse sequence, and even the plotting of the waveform!
Example:
Function.2.name=TV/DVD
Function.2.hex=82

Subtract 0x82 from 0xff: you get 0x7d
Hex code FOR THE SINGLE COMMAND is 0x7d82 ; the complete code is 0xb4b47d82 : something similar to "b4b4" appears in Jp1 file (don't know if there's actually a connection between the numbers):
FixedData=30 4b 4b

unfortunately your file does not contain discrete AV codes, but I'm going to test all 256 available commands to look for it.

-Finally, there's also a LIRC file available for my DVD recorder:
http://lirc.sourceforge.net/remotes/lg/6711R1P070B
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18556
Location: Chicago, IL

PostPosted: Thu Jan 29, 2009 1:34 pm    Post subject: Reply with quote

There aren't any discrete inputs in our LG files, but now that you've found a way to test all 256 codes, if you do find any discretes (or anything else) please report back so I can include the codes in the master file.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Fri Jan 30, 2009 3:51 am    Post subject: Reply with quote

The Robman wrote:
There aren't any discrete inputs in our LG files, but now that you've found a way to test all 256 codes, if you do find any discretes (or anything else) please report back so I can include the codes in the master file.

I found a couple of very interesting discrete codes, which allow accessing two different system menus! Surprised
I didn't yet finished looping through all codes, once I finish I'll post all the results. Wink
I don't remember the codes right now, I wrote them down on another PC... I think one of it was 0xfc or 0xfb...
Back to top
View user's profile Send private message
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Fri Jan 30, 2009 3:53 pm    Post subject: Reply with quote

Ok, I completed scanning all thew 256 commands; I didn't test all of them directly, because some of them only works whn the dvice is in a specific state; anyway I endorsed the table with data from LIRC file and other sources.

This is ther final result:
LG DVD Recorder RH-255 (RH-7800?)

Hidden codes:
ON - 0xaf
OFF - 0x6f
play DVD - 0x87
ch+ (additional ?) - 0xe7
ch- (additional ?) - 0x17
System1 - 0xfb
System2 - 0xa7
System3 - 0x87


No discrete AV commands. Evil or Very Mad

Column D appears to contain almost all recording-related commands (but for DUBBING, 0x16, and MARKER, 0x86).
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18556
Location: Chicago, IL

PostPosted: Fri Jan 30, 2009 5:33 pm    Post subject: Reply with quote

Don't bother trying to find patterns in the hex code that you are using because any pattern that you find will just be a coincidence. The hex codes that you are using are the OBC backwards. In other words, if you convert your hex into binary, then reverse it, then convert it to decimal, you will get the OBC (original button code) of the function. When you sort the functions by OBC they make much more sense.

Here's the master list, including the new functions that you found, sorted by OBC:

OBC - hex - button name
048 - 0x0C - power toggle
049 - 0x8C - Play
050 - 0x4C - rewind
051 - 0xCC - fast fwd
052 - 0x2C - skip+
053 - 0xAC - skip-
054 - 0x6C - Eject
055 - 0xEC - Slow Fwd 1/16x
056 - 0x1C - Pause
057 - 0x9C - Stop
058 - 0x5C - Display
059 - 0xDC - num 1
060 - 0x3C - num 2
061 - 0xBC - num 3
062 - 0x7C - num 4
063 - 0xFC - num 5
064 - 0x02 - num 6
065 - 0x82 - num 7
066 - 0x42 - num 8
067 - 0xC2 - num 9
068 - 0x22 - num 0
069 - 0xA2 - Return/TV input
070 - 0x62 - Clear
071 - 0xE2 - UP arrow
072 - 0x12 - DOWN arrow
074 - 0x52 - Title/Info
075 - 0xD2 - Disk Menu/List
076 - 0x32 - Angle
079 - 0xF2 - Audio
080 - 0x0A - Subtitle
081 - 0x8A - Random
083 - 0xCA - Repeat (play mode)
085 - 0xAA - A-B repeat
086 - 0x6A - Setup
087 - 0xEA - Program
088 - 0x1A - select/enter
089 - 0x9A - LEFT arrow
090 - 0x5A - RIGHT arrow
092 - 0x3A - Repeat Learning
094 - 0x7A - * (star)
095 - 0xFA - PIP
096 - 0x06 - Slow Rev 1/16x
097 - 0x86 - Marker
098 - 0x46 - Marker-search
099 - 0xC6 - Sound-mode
100 - 0x26 - Zoom
102 - 0x66 - Repeat -10 (dash)
103 - 0xE6 - home
104 - 0x16 - Upconversion (dubbing)
117 - 0xAE - power ON
118 - 0x6E - power OFF
145 - 0x89 - Rew 100x
146 - 0x49 - Rew 16x
149 - 0xA9 - Rew 4x
150 - 0x69 - Rew 2x
153 - 0x99 - Fwd 2x
155 - 0xD9 - Fwd 4x
157 - 0xB9 - Fwd 16x
159 - 0xF9 - Fwd 100x
176 - 0x0D - input
181 - 0xAD - I.skip
182 - 0x6D - record
183 - 0xED - timer record
184 - 0x1D - record mode
185 - 0x9D - time shift
186 - 0x5D - thumbnail
187 - 0xDD - chapter add
188 - 0x3D - show view
190 - 0x7D - tv/dvd
211 - 0xCB - repeat
222 - 0x7B - SERVICE MENU
223 - 0xFB - SERVICE MENU
224 - 0x07 - SERVICE MENU
225 - 0x87 - SERVICE MENU
226 - 0x47 - SERVICE MENU
229 - 0xA7 - SERVICE MENU
231 - 0xE7 - ch+ (2)
232 - 0x17 - ch- (2)
233 - 0x97 - play DVD
241 - 0x8F - DVD MODE
242 - 0x4F - HDD MODE
243 - 0xCF - VCR MODE
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Sat Jan 31, 2009 10:00 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
jumpjack



Joined: 09 Jun 2008
Posts: 12

PostPosted: Sat Jan 31, 2009 5:20 am    Post subject: Reply with quote

I think there's a mistake in discrete ON and OFF codes (they should be AE and 6E rather than BE and 7E).
Apart from this, is there any information available about how to use service menus?
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18556
Location: Chicago, IL

PostPosted: Sat Jan 31, 2009 10:18 am    Post subject: Reply with quote

jumpjack wrote:
I think there's a mistake in discrete ON and OFF codes (they should be AE and 6E rather than BE and 7E).

Yup, looks like I cut and pasted them down a row. It's fixed now.
jumpjack wrote:
Apart from this, is there any information available about how to use service menus?

I don't have the device, so I just know what you guys tell me. Here's what was written about each of the service menu codes:

222 - Mp1
223 - Factory Reset !!!, reset all incl region to 1 (your "system1")
224 - CPRM DATA READ/SAVE, Write info without confirmation!!!
225 - TECHNICAL MENU, Reset after exit! Don't touch! (your "system3")
226 - INTERLACE/PROG SCAN, Black screen if TV not compatible!
229 - (your "system2")
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Paolo



Joined: 22 Apr 2007
Posts: 28
Location: Toronto, Canada

PostPosted: Fri Feb 05, 2010 12:26 am    Post subject: Reply with quote

I may be a n00b at this, but I am also have an LG DVD Recorder, LRA-860, looking for the discrete code for the "HOME" key. preferrably the 3-digit EFC code if possible. not sure if its called a discrete key, but thats the one i need.
_________________
Rogers Digital Personal TV
LG 42" LCD HDTV
LG Blue-Ray HD Player
Rogers 4250 HD Box
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18556
Location: Chicago, IL

PostPosted: Fri Feb 05, 2010 10:14 am    Post subject: Reply with quote

The Robman wrote:
OBC - hex - button name
103 - 0xE6 - home

There are many ways to convert an OBC to an EFC, and I also do not have admin rights on my work PC and I can do all of them here.

1) Use the EFC calculator in IR.exe
NEC is an LSB-comp protocol, so you would enter 103 in the "LSB Comp" box.

2) Use the KM spreadsheet
You do need to have Excel installed on your PC, but I'm guessing that most work PCs have Excel. Fire up the spreadsheet, select the NECx1 protocol, go to the Functions sheet, click the OBC button, enter 103 and the EFC will appear in the EFC column.

3) Use RM
You would need to have the Java runtime environment installed to run the java version. If you don't have it installed, download the EXE version instead. Similar approach as with KM.

4) You could use the worksheets here:
http://www.hifi-remote.com/ofa/worksheets.shtml
Again, as NEC is LSB-comp, you would select worksheet1 where you could just look up the EFC.

The EFC for home is 202.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Paolo



Joined: 22 Apr 2007
Posts: 28
Location: Toronto, Canada

PostPosted: Sat Feb 06, 2010 12:47 pm    Post subject: Reply with quote

thx it worked
_________________
Rogers Digital Personal TV
LG 42" LCD HDTV
LG Blue-Ray HD Player
Rogers 4250 HD Box
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Discrete Codes All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Get Smart! the band's official homepage Rockabilly Central