How can i find out wich protocols uses a remote ?

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
anonbeat
Posts: 11
Joined: Sat Jan 27, 2007 2:57 pm

How can i find out wich protocols uses a remote ?

Post by anonbeat »

I have the lircd.conf file for this remote created with irrecord. But irrecord could not find wich protocol used and only dumped it in raw codes format

This is the link to the file lirc.conf file http://www.hifi-remote.com/forums/dload ... le_id=4146

Does anyone know how can i find out wat is the protocol used ?

thanks in advance
anonbeat
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

I don't recognise that protocol. Maybe one of the other experts will.

But if I understand you correctly, the signals you learned were generated by a UEI universal remote. In your other thread you uploaded an eeprom dump of that remote.

http://www.hifi-remote.com/forums/viewt ... 3198#53198

I think other JP1 experts can give you better info from that eeprom dump than I or they could give you from this lirc file. So maybe it is better to hold off working on this thread until there is some progress in that thread.
anonbeat
Posts: 11
Joined: Sat Jan 27, 2007 2:57 pm

Post by anonbeat »

Thanks for trying. The remote has a TV, STB, AUX. The STB is locked and its the button im using for my mythtv box. I wanted to make a better lircd.conf for it. With this almost works. Only sometimes some keys gets confused.

Thanks
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Let me see if I understand you. Correct any of the following statements that you think are wrong:

The STB button of the UEI remote is locked to a specific setup code.

You aren't actually using the STB that goes with that setup code.

You are instead using that code set with LIRC.

It is a difficult code set that LIRC doesn't understand, so LIRC works in a RAW mode where it is more sensitive than normal to random variations in signal times. So it misreads some signals.

If I got most of that right, then your best path is to change the setup code to one that is easier for LIRC.

Even the crudest first attempt at an RDF file would let IR.exe change the setup code number. IR.exe doesn't care that the setup code is locked. It can change it anyway. A perfect RDF file would also let you unlock the setup code number so it can be changed on the remote itself. But you don't really need that since changing it in IR.exe should be enough.

Hopefully someone will give you a crude first RDF soon.

BTW, do you know what any or all of the three setup code numbers are (as of when you did that eeprom dump)? I'm not great at reading raw eeprom dumps but the things that look like they might be your setup code numbers are:

1585
1505
0857
0064
Last edited by johnsfine on Mon Jan 29, 2007 10:31 am, edited 1 time in total.
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

I did come up with a rough RDF and it looks like it is using protocol 0161. I didn't look at the lirc file.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Do you have a URL for that rough RDF?
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

I uploaded it here. The setup code 1585 and protocol 0161 are in the hidden/second upgrade area. You can see it if you edit the RDF to point to this area.
anonbeat
Posts: 11
Joined: Sat Jan 27, 2007 2:57 pm

Post by anonbeat »

johnsfine: you understood me 100%

I would like to edit the settings from IR but till i know how can i do all that i thought maybe i could find out the protocol and make a better lircd.conf.

binky123 is helping on the RDF side.

Im too new to all this to be of much help. sorry

thanks for all
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

I haven't looked at protocol 0161 yet (I'll try to find time later). But looking at the raw timing in the lirc file, I think this protocol is fundamentally hard for lirc. I'm not sure there could be an lircd.conf that gets it right, and if there could be, you'd need to know a lot more about lirc than I know.

But assuming setup code 1585 is the one on the STB button (rather than TV or AUX), we already know which two bytes of the raw image to change to make the STB button use whatever setup code you want it to use.

I think you should just select another setup code, switch to it and create a new lirc file for it.
anonbeat
Posts: 11
Joined: Sat Jan 27, 2007 2:57 pm

Post by anonbeat »

1505 is my for the TV button. I programmed it for my Sony TV. So I will change the DVD button to a known code and see wich code is the other. Then i will change it to another code.

I didnt know I could change the STB button to a TV code for example.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

anonbeat wrote:I didnt know I could change the STB button to a TV code for example.
I'm pretty sure you can change the STB button to a TV setup code. But each type of setup code is restricted to certain regular buttons. For example a TV setup code probably can't define the tranport buttons (play, FF, etc.). So you may be better off selecting a different STB code rather than a TV code.

I assume the manual doesn't tell you what other STB setup codes are present in the firmware, so selecting another would be guess and check using common CBL/SAT setup code numbers from other models.

What buttons do you want to use in STB mode? Maybe a DVD setup code would be best.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

anonbeat wrote:1505 is my for the TV button. I programmed it for my Sony TV. So I will change the DVD button to a known code and see wich code is the other.
I think we've already established that your DVD code (in the eeprom dump you posted) was 0857.
johnsfine wrote:assuming setup code 1585 is the one on the STB button
Knowing 1505 is the TV, we're pretty sure 1585 is the STB. It's no longer just "assuming".
Post Reply