How to create upgrade for OneForAll Remote under Linux?

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
M-Reimer
Posts: 12
Joined: Tue Aug 13, 2013 4:21 pm

How to create upgrade for OneForAll Remote under Linux?

Post by M-Reimer »

Hello,

what exactly do I need.

If possible, I don't want to use WINE.

Is "Remote Master" anything, I need? Is Remote Master able to read learned keys directly from remote?
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

RMIR works under Linux. You will need the Java JRE. Of course, you also need an interface cable of the appropriate type depending on whether the remote is a JP1 or JP1.1 or newer. If the remote has a USB interface-- a XSight-- then we have an Alpha version of RMIR to support it.

It will read the learned signals.
M-Reimer
Posts: 12
Joined: Tue Aug 13, 2013 4:21 pm

Post by M-Reimer »

That's great!

So I think at first we have to find out if it works with my remote and which cable I'll need.

My remote is a URC 11-7140 R01

Under the battery cover, there is a 6-pin connector. I unscrewed the four screws to be able to read the full name of this pin header. It says "JP1-4".

Is it possible to reprogram this remote? Which cable should I use? Soldering would be no problem.
mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Is this your remote?

http://www.oneforall.com/uploads/suppor ... c2e73d.pdf

That's going to be a new one to us (I think). You'll have to pitch in and help us create a config file (RDF) for it before you can program it.

You need a JP1.3 cable. There are several cheap options near the end of this thread, no soldering required:

http://www.hifi-remote.com/forums/viewtopic.php?t=13928
M-Reimer
Posts: 12
Joined: Tue Aug 13, 2013 4:21 pm

Post by M-Reimer »

Yes, this is the remote. There seem to be two versions of this. Mine is the R01 version, but I don't know if there is any difference in programming between the two possible models.

I need a JP1.3 cable which can be easily ordered from germany. So I think the easiest way would be to use an USB UART adapter.

Can I use CP2102 adapters or do I need the FTDI chip?

Where can I find a pinout to make whatever USB UART adapter, I can get, to work with the remote control?
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

The thread mdavej linked has a lot of information in it and pinouts for several kinds of USB UART cables.

The CP2102 will work for a JP1.4 remote like the 7140, but won't work with JP1.3 remotes. The FTDI chips have by far the best driver support and will work with JP1.2 through JP3 remotes. The last time I looked, the TTL-232R-3V3 was less than 20 Euros in Germany, at either Mouser or Digikey.

We have a RDF for the URC-7130, which I suspect is internally nearly identical to the URC-7140. So getting a 7140 RDF to work should be very easy.
M-Reimer
Posts: 12
Joined: Tue Aug 13, 2013 4:21 pm

Post by M-Reimer »

I found this posting:

http://www.hifi-remote.com/forums/viewt ... 893#104893

And the right signal for "Reset" seems to be "RTS". Will some other signal work for "Reset", too? Many FTDI adapters out there only have "DTR" exposed. Can I use "DTR" for "Reset"?
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

For a JP1.4 and newer remotes, a RTS line is required. You may have read that the DTR line can be used instead, but that is only true for other remotes. Our software attempts to support 3 different protocols for initiating serial communication with remotes (basically JP1.1, JP1.2/1.3, and JP1.4/JP2/JP3). It also tries to support several interface hardware designs. So the software tries the different combinations in a defined order, where the order is chosen to minimize the possibility of e.g. putting a Samsung processor into tool mode. By coincidence, some JP1.2/JP1.3 remotes will respond to the DTR line, even though manipulating the DTR line is intended to support a transistor based interface.

Anyway, for JP1.4 and newer remotes, a RTS line is required.
M-Reimer
Posts: 12
Joined: Tue Aug 13, 2013 4:21 pm

Post by M-Reimer »

I've bought this one:
http://cgi.ebay.de/ws/eBayISAPI.dll?Vie ... 1018491139
It has the RTS line.
But now it will take some time until I receive this item from China.

You say, that RTS is required for JP1.4. Does this mean that the pinout is also different for JP1.4 remotes?
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

No, the pinout of the JP connector in the battery compartment is the same for all JP1.2 and up remotes.

1 - typically not connected, but this is power
2 - reset
3 - ground
4 - RX
5 - do not connect anything to pin 5
6 - TX
Post Reply