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

Got IR and RM working in linux
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Sun Sep 05, 2004 2:52 pm    Post subject: Got IR and RM working in linux Reply with quote

I had no idea this was possible but it is and it was much easier than I thought it would be. I've got IR running under wine and remote master runs natively (as it's java.) Does anyone other then me think something about this should be put in the jp1 help section?

I'd be willing to write some documentation. It was quite easy to do, although it may require a kernel recompile if you don't have support for user-space parallel port devices. That was the trick in getting it working in my case.
Back to top
View user's profile Send private message Visit poster's website AIM Address
The Robman
Site Owner


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

PostPosted: Sun Sep 05, 2004 4:04 pm    Post subject: Reply with quote

Did you get IR to communicate with the remote itself?

Go ahead and write up whatever you can.
_________________
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
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Sun Sep 05, 2004 10:45 pm    Post subject: Reply with quote

The Robman wrote:
Did you get IR to communicate with the remote itself?

Go ahead and write up whatever you can.


IR communicates with the remote no problem. It has a slight delay before it uploads but it's not long at all (3-4 seconds maybe.) Even time syncronization works (with extender 2 on my 15-2117) which I was kinda surprised...
Back to top
View user's profile Send private message Visit poster's website AIM Address
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Mon Sep 06, 2004 12:22 am    Post subject: Reply with quote

Here's my first draft:

https://www.xeron.cc/ir_rm_linux/

Here's a backup copy:
http://www.hifi-remote.com/jp1/ir_rm_linux.html


Last edited by Xero on Sat May 02, 2009 7:47 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

PostPosted: Mon Sep 06, 2004 8:23 am    Post subject: Reply with quote

Just out of curiosity does decodeIR.dll work to decode learned commands?
_________________
-Jon
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3388
Location: Cary, NC

PostPosted: Mon Sep 06, 2004 9:44 am    Post subject: Reply with quote

For the RM part, on Linux you don't need to run Setup.jar. That's only for creating the file associations under Windows that will automatically launch RM when double-clicking a .rmdu file, or clicking a link to a .rmdu file in IE.

If there is a way to create similar file associations in Linux, I would like to know about it. Also, if there is anything I can include the RM distribution to make it easier to use RM (for example the rmaster file that you created) I would like to know about that as well.
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Back to top
View user's profile Send private message Visit poster's website
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Mon Sep 06, 2004 4:09 pm    Post subject: Reply with quote

gfb107 wrote:
For the RM part, on Linux you don't need to run Setup.jar. That's only for creating the file associations under Windows that will automatically launch RM when double-clicking a .rmdu file, or clicking a link to a .rmdu file in IE.

If there is a way to create similar file associations in Linux, I would like to know about it. Also, if there is anything I can include the RM distribution to make it easier to use RM (for example the rmaster file that you created) I would like to know about that as well.


Ah I didn't know that. I've removed the setup.jar part from the guide. There really isn't any way to what you describe in linux as a whole except with executable files. I know you can get the kernel to recognize windows executables and run them accordingly with wine however I'm not too sure how you'd do that with a remote master file.

There's no standard file manager under linux, but I am pretty sure individually you could configure nautilus, konqueror, or one of the many others out there to "click and run" remote master files pretty easily. I don't use a file manager so this is irrelevant to me. I just start up RM and open the files from there...Supposedly the just released filesystem Reiser4 will have the ability to add "descriptions" and such to files and it will have the ability to accept plugins and stuff, using that ability may make things like this easier to do on a system wide scale in the future, however I doubt everyone will choose to use reiser4 and at that it's adoption will take some time...
Back to top
View user's profile Send private message Visit poster's website AIM Address
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Mon Sep 06, 2004 4:13 pm    Post subject: Reply with quote

jon_armstrong wrote:
Just out of curiosity does decodeIR.dll work to decode learned commands?


As my remote uses extender I had not tried this however I just uploaded my original un-extended configuration to the remote, learned a command, downloaded the setup back from the remote, and viewed the command in "Learned signals" without a problem, then re-uploaded my extender configuration. So to answer your question, as far as I can tell, it works fine.

Here's a screenshot:
http://www.xeron.cc/ir_rm_linux/ir_rm_linux.jpg (1600x1200 image on my slow server, be warned)

Here's a backup copy of the screenshot:
http://www.hifi-remote.com/jp1/ir_rm_linux.jpg


Last edited by Xero on Tue Sep 21, 2004 10:08 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

PostPosted: Mon Sep 06, 2004 5:20 pm    Post subject: Reply with quote

That's pretty cool! Thanks for the effort to find out.
_________________
-Jon
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Revwillie



Joined: 04 Aug 2003
Posts: 39

PostPosted: Wed Apr 06, 2005 10:41 am    Post subject: Reply with quote

What about OSX? I guess I don't know enough about it to be sure, but if it is a BSD variant, can the kernel be recompiled for the parallel port control? Is there a Wine-like emulator for OSX?

This was the only (current) thread I could find concerning Mac compatibility:

http://www.hifi-remote.com/forums/viewtopic.php?t=753
Back to top
View user's profile Send private message
benjamintm



Joined: 12 Oct 2003
Posts: 19

PostPosted: Thu Apr 07, 2005 2:36 pm    Post subject: Reply with quote

There is a Mac port (http://darwine.opendarwin.org/) underway for wine, but it's not working yet.

A better solution (IMO) is to expand RemoteMaster to include IR functionality, which would give a single, unified application for multiple operating systems.

Ben
Back to top
View user's profile Send private message
The Robman
Site Owner


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

PostPosted: Thu Apr 07, 2005 3:35 pm    Post subject: Reply with quote

benjamintm wrote:
A better solution (IMO) is to expand RemoteMaster to include IR functionality, which would give a single, unified application for multiple operating systems.

No argument here, we're just looking for volunteers to undertake the coding. You up for it?
_________________
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
Xero



Joined: 02 Aug 2004
Posts: 33
Location: pennsylvania

PostPosted: Fri Oct 21, 2005 4:26 pm    Post subject: Reply with quote

Nice to see that my thread has been made sticky...hopefully it's helped a few people out. I figure I'd post a note saying that a few weeks ago I updated my guide (http://www.xeron.cc/ir_rm_linux) for the new versions of wine which use wine registry entries for configuration instead of the old ~/.wine/config file. Other than the required changes to get that going, everything is still working great for me on linux.
Back to top
View user's profile Send private message Visit poster's website AIM Address
davecs



Joined: 28 Mar 2005
Posts: 59

PostPosted: Mon Oct 23, 2006 7:21 am    Post subject: Reply with quote

A lot of the stuff in a number of instructions for different things in Linux talks about compiling certain things into the kernel, and that can be scary for some.

For many people, the Linux distro they use may already have the kernel compiled in a suitable fashion. I use PCLinuxOS, and when I made the "regedit" entries as described in your article, and also set Wine to run ir.exe as "Win 98" instead of the default Win2k, everything worked just nicely.

So thanks for your instructions, you've now reduced by dependency on Windows to almost zero. To anyone else thinking of trying this, but finding the thought of recompiling their kernel scary, just skip that bit. You may get lucky and find it works anyway.
_________________
OFA 7562, OFA 8910, OFA7980 and OFA6440.
Back to top
View user's profile Send private message Visit poster's website
Lurker



Joined: 11 Apr 2004
Posts: 50

PostPosted: Thu Oct 26, 2006 6:22 pm    Post subject: Reply with quote

Perhaps the part about regedit can be explained further? That is the scariest part for a novice.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
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