Page 8 of 59
Posted: Fri Aug 31, 2007 9:27 pm
by gfb107
In order to see the learned signals in RMIR, you need to place a copy of DecodeIR.dll in the directory with RemoteMaster.jar
Decoding learned signals is the only (implemented) piece that isn't working on Linux.
Here's the bottom of my 6131 extender RDF:
Code: Select all
[Protocols]
0000, 0002:5, 0006, 0007, 000A, 000C, 000D, 0013, 0014, 0015,
0018, 001A, 001C, 001F:8, 0022, 0027:new, 0029, 002D, 002F, 0034,
003A, 0045, 0046, 0058, 005A, 005C, 005D, 005E:2, 0060, 0065,
006A, 0073, 007E:3, 0092, 0093, 009C, 009E, 00A4, 00AF, 00B6,
00C4, 00C9, 00CA, 00CD:2, 00DE, 00E2, 00E3, 00E8, 00F8:3, 010F,
0111, 0114, 0117, 011A, 011B, 0162, 0174, 0184, 01FC:DummyDSM
Posted: Sat Sep 01, 2007 10:50 am
by ElizabethD
Thanks for hand-holding. That did the trick. I completely forgot about DecodeIR!
I downloaded learned signals and I see some discrepancies between what IR and what RMIR reports. Is the decoding work in progress, if not I can upload few files I tried.
At this point I see that hex values aren't developed perhaps. Also the interpretation of timing values look different which implies that IR and RMIR use different math

RMIR 1.82 Learned decoding
Posted: Sat Oct 06, 2007 8:28 pm
by ElizabethD
Greg, I saw 1.82 and couldn't resist trying

I see few problems with representing learned signals. Some translations are perfect, some aren't. No wrong values at all, just all or nothing decodes.
I just used few files. In case you want to see side by side with IR
http://www.hifi-remote.com/forums/dload ... le_id=5092
In case I didn't mention it before, downloads via parallel from JP1 work fine. I'm losing track of previous history when taking long pauses from here

Posted: Fri Nov 16, 2007 12:57 pm
by xvalentinex
Thank you so much for a great program! Decoding support in Linux would be awesome. Is there any plans for this? It would be nice to not have to switch between IR.exe and RemoteMaster constantly.
Posted: Fri Nov 16, 2007 9:33 pm
by gfb107
xvalentinex wrote:Thank you so much for a great program! Decoding support in Linux would be awesome. Is there any plans for this? It would be nice to not have to switch between IR.exe and RemoteMaster constantly.
All we need is a port of DecodeIR. Should be a simple port, but I don't think John has any time to spare.
Posted: Sat Nov 17, 2007 7:08 am
by johnsfine
DecodeIr is in use on Linux in other projects (not my projects). But I don't recall where. I probably don't have to search or reinvent that any time soon.
But maybe you have a clearer idea of what is needed, which could reduce the effort. I expect most of what we need is a makefile to compile DecodeIr in GCC as a .so instead of a .dll
As I said above, that has been done before by at least a couple people.
Posted: Sat Nov 17, 2007 12:14 pm
by gfb107
I'd be happy to do that. I just need access to the source.
Posted: Sat Dec 01, 2007 11:23 am
by gfb107
Well, having gotten no response, here's another approach.
Here's how I build the jp12serial as a shared library under linux:
Code: Select all
g++ -shared -o libjp12serial.so -I/usr/lib/jvm/java-6-sun-1.6.0.00/include -I/usr/lib/jvm/java-6-sun-1.6.0.00/include/linux jp12serial.cpp
Here's how I build a test program that uses that shared library:
Code: Select all
g++ jp12test.cpp -o jp12test -L. -ljp12serial -Wl,-rpath,.
Here's the java code that loads that library:
Code: Select all
public JP12Serial()
throws UnsatisfiedLinkError
{
if ( !isLoaded )
{
System.loadLibrary( "jp12serial" );
isLoaded = true;
}
}
public JP12Serial( File folder )
throws UnsatisfiedLinkError
{
if ( !isLoaded )
{
File file = new File( folder, System.mapLibraryName( "jp12serial" ));
System.load( file.getAbsolutePath());
isLoaded = true;
}
}
Posted: Thu Dec 20, 2007 3:09 pm
by mein
Posted: Tue Jan 01, 2008 3:27 pm
by gfb107
OK, I've ported DecodeIR to Linux. All development and testing was done on Ubuntu 7.10.
Put
libDecodeIR.so in the same directory with RemoteMaster.jar and RMIR will be able to decode learned signals.
For John I include links to a the
source diff that has all the changes I made, and the
Makefile used to build it.
Posted: Thu Jan 10, 2008 9:48 am
by mdavej
Greg,
Is it possible to use a non-standard parallel port I/O address like in IR? Mine happens to be B000 (FFFFB000 is how it shows up in IR). Autodetect doesn't find it. I also hard coded it in the properties file, but that didn't work either.
Thanks
Posted: Thu Jan 10, 2008 4:56 pm
by gfb107
There's a trial version of RM v1.83 with support for specifying non-standard ports at
http://www.4shared.com/file/34487385/a7 ... rv183.html
Posted: Thu Jan 10, 2008 7:45 pm
by mdavej
Thanks. Just tried it. Entered address, and still no joy. No Remotes Found!
Posted: Sat Jan 12, 2008 3:08 pm
by gfb107
Try this experimental version of
jp1parallel.dll
Posted: Sat Jan 12, 2008 6:22 pm
by mdavej
Experiment is a success! Thanks.