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

CaptureIR with Linux

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Hardware
View previous topic :: View next topic  
Author Message
StephenR0



Joined: 12 Feb 2007
Posts: 109
Location: Iowa, US

                    
PostPosted: Fri Mar 20, 2009 1:06 pm    Post subject: CaptureIR with Linux Reply with quote

I've been using CaptureIR with a simple parallel jp1 interface with the CaptureIR hardware added to it for some time now. I'm very happy with the way it works. But I'd like to move to Linux. Has anyone managed to get this to work in any way with Linux? The driver doesn't seem to be compatible with Wine and VirtualBox doesn't support the parallel port. Ideally, if the driver portion could be supported natively in Linux, it would work just like it does in Windows. Is there any chance this is an option?

Steve
Back to top
View user's profile Send private message
StephenR0



Joined: 12 Feb 2007
Posts: 109
Location: Iowa, US

                    
PostPosted: Fri Mar 20, 2009 6:26 pm    Post subject: Reply with quote

I shouldn't answer my own question, but I did finally get it to work with Wine after installing a Windows version of Java 5. Other than that, configuring the Wine registry and configuring Wine to emulate Windows 98 seemed be the key.

Steve
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Fri Mar 20, 2009 6:29 pm    Post subject: Reply with quote

I haven't tried wine yet, but plan to. I'd love to have CaptureIR working on my Linux system, but assumed it would be hard.

Do you have any more details of what you did to make it work?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gfb107
Expert


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

                    
PostPosted: Fri Mar 20, 2009 6:46 pm    Post subject: Reply with quote

We've been able to create a shared library for the jp1 parallel port for RMIR, so it should be possible to do the same for CaptureIR. Then you wouldn't need wine.
_________________
-- 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
StephenR0



Joined: 12 Feb 2007
Posts: 109
Location: Iowa, US

                    
PostPosted: Fri Mar 20, 2009 7:06 pm    Post subject: Reply with quote

I spent some time doing this on a machine that has a relatively virgin install of Ubuntu 8.10 to make sure that I knew what all was required. From my experience, I think this document is pretty accurate:

http://www.hifi-remote.com/jp1/ir_rm_linux.html

So here's what I did:

o Install wine. I use the development version which is 1.1.17 currently.

o Create the registry entry for the parallel port.

[HKEY_CURRENT_USER\Software\Wine\VDM\ppdev]
"378"="/dev/parport0"

This is for a normally configured parallel port.

o Make sure you can access /dev/parport0. I just added my account to the lp group. Log out and back in to get access.

o Configure wine to emulate Windows 98.

Once wine is configured, the key for CaptureIR is to install Windows Java 5 with wine. Then run CaptureIR with a similar command to Windows.

wine java -jar CaptureIR.jar

On one machine I had some trouble with the window refreshing, but I just resized each time I needed to fix it. That might be a Compiz issue.

So that's it. If you have any questions, I can try to help.

Steve
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 - Hardware All times are GMT - 5 Hours
Page 1 of 1

 
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
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control