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

using JP1.x serial cables on Mac

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


Joined: 21 Jan 2004
Posts: 1795
Location: Pittsburgh, PA

                    
PostPosted: Mon Aug 20, 2007 5:39 pm    Post subject: using JP1.x serial cables on Mac Reply with quote

I figured I'd start this as a main topic here so that hopefully those who have been successful in using their JP1.x serial cables with USB-serial adapters can give those of us who have not the right combination.


My intel mac is running Parallels Desktop and Windows Vista (can run XP if I want it to) so I'd be interested in anyone who has a working JP1.x setup in that environment.
_________________
this JP1 stuff is a sickness!
Back to top
View user's profile Send private message
gfb107
Expert


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

                    
PostPosted: Tue Aug 21, 2007 5:16 am    Post subject: Reply with quote

I have ported the jp12serial DLL that IR and RMIR uses to Linux. I have tested it on Ubuntu 7.04 (Feisty Fawn).

It is my understanding that Intel Macs can run Intel Linux apps natively. Is that true?
_________________
-- 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
unclemiltie
Expert


Joined: 21 Jan 2004
Posts: 1795
Location: Pittsburgh, PA

                    
PostPosted: Tue Aug 21, 2007 6:10 am    Post subject: Reply with quote

I can run any Intel-based OS natively using Parallels (a Virtual Machine) but I'm not a Linux person so I've never tried. I'd rather do windows than yet another OS since I need windows to drive the JP1 work that I do and installing/learning another OS is a pain.

The underlying OS for MacOS is Mach, which is a Unix derivative. I wonder how much work it would be to port the driver to MacOS? (oh, I fear another learning project coming on!) It would be cool if we could get RMIR to run on MacOS for both the JP1.x and the JP1 interfaces. (yea, a dream?)
_________________
this JP1 stuff is a sickness!
Back to top
View user's profile Send private message
gfb107
Expert


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

                    
PostPosted: Tue Aug 21, 2007 7:43 am    Post subject: Reply with quote

I thought you could run (some) Linux apps directly on MacOS without using a VM.

I have hopes of adding support for the JP1 interface to RMIR - I've had more than one offer to write the code for me when I ask for details so I can implement it myself. Unfortunately nobody has delivered either the information or the implementation.
_________________
-- 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
The Robman
Site Owner


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

                    
PostPosted: Tue Aug 21, 2007 7:47 am    Post subject: Reply with quote

gfb107 wrote:
I have hopes of adding support for the JP1 interface to RMIR - I've had more than one offer to write the code for me when I ask for details so I can implement it myself. Unfortunately nobody has delivered either the information or the implementation.

What info do you need Greg?

(Note, I won't know the answer myself, but I'm hoping that airing the question publicly will draw out someone who does know the answer).
_________________
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
gfb107
Expert


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

                    
PostPosted: Tue Aug 21, 2007 8:24 am    Post subject: Reply with quote

Basically I need the code from IR for reading/writing using the parallel port. I've tried looking in the Delphi source, but I couldn't find it.

I don't know why I have so much trouble with it, but I can't seem to read Delphi source code.

Ideally it would be C or C++ code.

I guess I also need the code that activates gwiopm.sys
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)


Last edited by gfb107 on Tue Aug 28, 2007 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


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

                    
PostPosted: Tue Aug 21, 2007 3:17 pm    Post subject: Reply with quote

The original "remoteif" program that Dan Nelsen wrote to communicate with the remote before Mark pauker came up with IR.exe was written in C, so that would probably work for your purpose.

Here's a link: remoteif.c.zip
_________________
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
gfb107
Expert


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

                    
PostPosted: Tue Aug 21, 2007 5:08 pm    Post subject: Reply with quote

Thanks Rob
_________________
-- 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
e34m5



Joined: 14 Oct 2003
Posts: 675
Location: Atlanta

                    
PostPosted: Mon Aug 27, 2007 12:49 pm    Post subject: Reply with quote

Let me know if I can be of help. I did some work in IR.exe a couple of years ago.

I am very proficient in Delphi.
_________________
Paul
Back to top
View user's profile Send private message
unclemiltie
Expert


Joined: 21 Jan 2004
Posts: 1795
Location: Pittsburgh, PA

                    
PostPosted: Fri Sep 21, 2007 4:36 pm    Post subject: Reply with quote

To answer my own question:

I received my USB to serial adapter today from an ebay purchase. (very cheap, see below) and installed it under MacOS X 10.4.10, Parallels Desktop and Windows Vista. All is well with my home-made JP1.x interface!


For those who want to do the same, this is the one that I bought:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=300149053418&ssPageName=STRK:MEWN:IT&ih=020

It set me back a whole $7.00 including shipping and it works fine. There are NO INSTRUCTIONS with it but the drivers were included and after a bit of playing around I figured it out.
_________________
this JP1 stuff is a sickness!
Back to top
View user's profile Send private message
gfb107
Expert


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

                    
PostPosted: Fri Sep 21, 2007 4:54 pm    Post subject: Reply with quote

unclemiltie,

Would you try up/downloading using RMIR on your Mac (I assume it has an Intel processor)? It would be really cool if Parallels wasn't needed.
_________________
-- 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
gfb107
Expert


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

                    
PostPosted: Fri Sep 21, 2007 6:56 pm    Post subject: Reply with quote

Rob or e345m,

Can either of you find me the code for the JP1 Serial and/or JP1 USB interface support? Now that I've got JP1.x Serial and JP1 Parallel down, I think adding those others would be fairly straight forward.
_________________
-- 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
mlibbey



Joined: 02 May 2008
Posts: 9

                    
PostPosted: Sat May 17, 2008 12:08 pm    Post subject: A hint Reply with quote

Just replicated your success with Parallels. The driver installation wasn't obvious to me -- you use the Devices > USB > USB IO Controller Menus to install. Browse the file system to pick the driver you download.
Back to top
View user's profile Send private message
mlibbey



Joined: 02 May 2008
Posts: 9

                    
PostPosted: Sat May 17, 2008 12:08 pm    Post subject: A hint Reply with quote

Just replicated your success with Parallels. The driver installation wasn't obvious to me -- you use the Devices > USB > USB IO Controller Menus to install. Browse the file system to pick the driver you download.
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