RMIR: Prototype IR function in RM
Moderator: Moderators
I'm trying to get rmir working under 64bit linux but it seems all the upload/download functions are disabled. I looked into it a bit further and it seems the .so files are all compiled for 32bit. Is the source for these files available anywhere so I can compile this myself or at least 64bit versions of these .so files? I tried using a 32bit java but this didn't work out too well.
BTW, I managed to get libDecodeIR.so compiled in 64bit using the code posted here and now I can view learned signals. I'm assuming a simple recompile will likely fix the other issues too. It seems that it's not catching quite as many signals as IR though, some learned signals are showing up as None that IR displays properly, this is even occurring with the FromRob.IR example.
BTW, I managed to get libDecodeIR.so compiled in 64bit using the code posted here and now I can view learned signals. I'm assuming a simple recompile will likely fix the other issues too. It seems that it's not catching quite as many signals as IR though, some learned signals are showing up as None that IR displays properly, this is even occurring with the FromRob.IR example.
Is there any way I can build 64-bit versions of the .so files on 32-bit linux?
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
i don't think there's any easy way to do it unless you have all the 64bit libraries and stuff to link it against, and i don't think any of those would run on a 32bit machine.
however....i know it's possible to do the opposite (compile 32bit binaries on 64bit) but that's only because most of the 64bit amd/intel chips can run in both 32bit and 64bit mode, and I have 32bit libraries installed as well. The command for gcc to do the opposite is -m32, so maybe you could try it with -m64 ? I still have no idea if that would work on a 32bit machine though.
however....i know it's possible to do the opposite (compile 32bit binaries on 64bit) but that's only because most of the 64bit amd/intel chips can run in both 32bit and 64bit mode, and I have 32bit libraries installed as well. The command for gcc to do the opposite is -m32, so maybe you could try it with -m64 ? I still have no idea if that would work on a 32bit machine though.
Here's libjp1parallel-64.so for you to try. You'll have to rename it to libjp1parallel.so.
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
seems to be crashing as soon as i click download. I've uploaded a crashdump here.
Upload using Wav
I installed ia32-sun-java6 on Ubuntu 7.10. RemoteMaster 1.82 shows all the options under remote except Upload using Wav. Is that something I need to configure or it is not implemented yet?
Thanks!
Thanks!
It's not implemented yet.
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
RMIR under Linux
I'm very excited to see IR functionality finally included in RM for us Linux users (IR.exe under Wine hasn't worked for me). Your work is extremely important and valuable! Though the main RM app works beautifully, I've run into a few snags when trying to get RMIR to work. I'm using Kubuntu 7.10 with RM v1.83 / RDFs v1.28 and a JP1 parallel cable. (I changed all the 'gksudo' commands to 'kdesu' in the rmaster.sh and rmir.sh files)
I bought a new DVD player, so I'm just trying to replace the current DVD device with a new one on my URC-8910, a JP1 (not 1.1 or later) remote.
RMIR has 3 problems for me though, which so far prevent me from being able to use it for this basic functionality:
1. After Downloading from Remote and adding my upgrades, the Save function for .RMIR files only produces an empty, 0 byte file.
2. Upload to Remote says the upload succeeded (the remote's display even flashes), but if I Download from Remote again, I can see nothing has changed.
3. Enabling the 'Upload to Remote' menu option seems sporadic. Sometimes it's enabled after a Download from Remote, but other times it doesn't get enabled unless I attempt to open a .RMIR file.
If I use the IR.exe tool in Win XP (with the same version of RM and the same RDFs) it works fine.
Anyway I know some people have had success with RMIR so I guess it must be a problem with my setup or permissions, but I can't figure it out. Looking forward to getting this up and running! Let me know if you need any additional info.
thanks.
I bought a new DVD player, so I'm just trying to replace the current DVD device with a new one on my URC-8910, a JP1 (not 1.1 or later) remote.
RMIR has 3 problems for me though, which so far prevent me from being able to use it for this basic functionality:
1. After Downloading from Remote and adding my upgrades, the Save function for .RMIR files only produces an empty, 0 byte file.
2. Upload to Remote says the upload succeeded (the remote's display even flashes), but if I Download from Remote again, I can see nothing has changed.
3. Enabling the 'Upload to Remote' menu option seems sporadic. Sometimes it's enabled after a Download from Remote, but other times it doesn't get enabled unless I attempt to open a .RMIR file.
If I use the IR.exe tool in Win XP (with the same version of RM and the same RDFs) it works fine.
Anyway I know some people have had success with RMIR so I guess it must be a problem with my setup or permissions, but I can't figure it out. Looking forward to getting this up and running! Let me know if you need any additional info.
thanks.
A couple of things you can do to help me figure out what's going on:
- Upload the .ir file downloaded from your remote using IR.exe under Windows to the Diagnonsis Area, and provide a link to it
- Upload a copy of the rmaster.err file you get after downloading from your remote to the Diagnosis Area, and provide a link to it.
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
RMIR problem
OK here they are:
IR File:
http://www.hifi-remote.com/forums/dload ... le_id=5400
rmaster.err:
http://www.hifi-remote.com/forums/dload ... le_id=5401
Thanks!
IR File:
http://www.hifi-remote.com/forums/dload ... le_id=5400
rmaster.err:
http://www.hifi-remote.com/forums/dload ... le_id=5401
Thanks!
I've take a quick look at your files.
I haven't figured out exactly why, but RM(IR) is not correctly importing one of the device upgrades in your remote. I'll fix that issue when I have more time.
I was able to tweak your IR file, load it into RM(IR), then make a change to undo the tweak, and then save it as urc8910_02112008.rmir.
If you still have the KM/RM files for the upgrades that are installed in your remote, you should load those in place of the upgrades that RMIR imported from the remote. This will preserve the comments and original function names from the upgrade, as well as any unused functions.
To do this, load the RMIR file, go to to the Devices tab, and for each installed upgrade
I haven't figured out exactly why, but RM(IR) is not correctly importing one of the device upgrades in your remote. I'll fix that issue when I have more time.
I was able to tweak your IR file, load it into RM(IR), then make a change to undo the tweak, and then save it as urc8910_02112008.rmir.
If you still have the KM/RM files for the upgrades that are installed in your remote, you should load those in place of the upgrades that RMIR imported from the remote. This will preserve the comments and original function names from the upgrade, as well as any unused functions.
To do this, load the RMIR file, go to to the Devices tab, and for each installed upgrade
- Edit the upgrade
- Press the Load button
- Select the appropriate RM/KM file
- Press Open
- Press OK
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Thanks
You're right, and after trying what you said, I can tell you it's the device upgrade with setup code 1080, a Zenith HDR-230. For some reason it's reading the protocol as "Manual Setting" instead of "NEC1".
On the Devices tab, when I go to edit the upgrade, I get the following error in a red box:
After deleting the upgrade from the Devices tab, and re-loading it into RMIR from my original RMDU file, I can now save the RMIR file (not a blank 0 B file anymore). Uploading to the remote still doesn't change anything, though.
I'll keep working with it and see if there's some way of working around the problem. It still seems like it tries to write to it, making the remote display flash when I Upload. Unfortunately nothing changes.
Anyway thanks for any help you can provide. No hurry though, I know you have a life too.
On the Devices tab, when I go to edit the upgrade, I get the following error in a red box:
Code: Select all
The selected protocol "Manual Settings" (00 5A : manual) is not compatible with the selected remote. This upgrade will NOT function correctly. Please choose a different protocol.I'll keep working with it and see if there's some way of working around the problem. It still seems like it tries to write to it, making the remote display flash when I Upload. Unfortunately nothing changes.
Anyway thanks for any help you can provide. No hurry though, I know you have a life too.
-
thingfromspace
- Posts: 2
- Joined: Fri Apr 22, 2005 2:12 pm
- Location: Columbus, OH
Open Solaris
It would be cool to port this to Open Solaris. The only obstacle I can find is that I can't find the sources to jp12serial.cpp and/or jp12parallel.cpp - at least they don't seem to be on sourceforge. Are these available, or is this an exercise in futility?
The current state of RMIR
Continuing the discussion from here...
I just checked it out again - the integration of RM with it is really cool - I don't know how I missed that - that feature alone is what makes me agree with you that it is the way things should go in the future. Unfortunately, I am absolutely no good with high-level languages. I might take a look just for fun, but I have no experience to lend.
I can't currently use it for my remotes for two reasons - the lack of special protocol and non-upgrade protocol support, and communications issues in Linux. For the first, I am just assuming that is why I can't load my upgrade - when I try to load it, nothing shows up at all. Here is my .IR file: http://www.hifi-remote.com/forums/dload ... le_id=6216
For the second problem - I have a 'Tommy' USB interface. The light blinks, so it recognized the interface - but then I get 'No RDF file matches null'. I suspect this may be the same as the problem that binky fixed for me that got IR working with Wine and Tommy's interface. Details of that change are here:
http://www.hifi-remote.com/forums/viewt ... 5&start=45
Your work on RM and RM-IR ARE appreciated! I think if you get a few more features in, you should publish a separate release that defaults to RM-IR to encourage more use (and possibly development help).
xnappo
Hi Greg,gfb107 wrote:It's not a closely guarded secret.
There's a dedicated thread in the Software section about it ( http://www.hifi-remote.com/forums/viewtopic.php?t=6741 ).
It's mentioned in over 50 threads.
I just checked it out again - the integration of RM with it is really cool - I don't know how I missed that - that feature alone is what makes me agree with you that it is the way things should go in the future. Unfortunately, I am absolutely no good with high-level languages. I might take a look just for fun, but I have no experience to lend.
I can't currently use it for my remotes for two reasons - the lack of special protocol and non-upgrade protocol support, and communications issues in Linux. For the first, I am just assuming that is why I can't load my upgrade - when I try to load it, nothing shows up at all. Here is my .IR file: http://www.hifi-remote.com/forums/dload ... le_id=6216
For the second problem - I have a 'Tommy' USB interface. The light blinks, so it recognized the interface - but then I get 'No RDF file matches null'. I suspect this may be the same as the problem that binky fixed for me that got IR working with Wine and Tommy's interface. Details of that change are here:
http://www.hifi-remote.com/forums/viewt ... 5&start=45
Your work on RM and RM-IR ARE appreciated! I think if you get a few more features in, you should publish a separate release that defaults to RM-IR to encourage more use (and possibly development help).
xnappo