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

RMIR download from jp1/usb remote problem
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Wed Mar 23, 2011 7:26 pm    Post subject: RMIR download from jp1/usb remote problem Reply with quote

Something is not correct in RMIR
Jp1 downloads just do not work for me. Work fine from IR.
I don't know why jp1.x serial is dragged into this error log since I'm downloading from 8910 using Tommy's cable for USB port and using the Delcom driver in WinUSB driver and what looks like correct pid and all that was in the RMIR window for linking the interface
Quote:
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\jp1usb.dll
JP1USB version 0.03
EEPROM size returns -1
EEPROM address returns 0
Loading S:\JP1\RM\RemoteMaster.v2.00\Windows\DecodeIR.dll
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\DecodeIR.dll
Starting normal download
Interface Name = JP1 USB
Port Name = NULL
Testing interface: JP1 Parallel
Testing interface: JP1.X Serial
Testing interface: JP1 USB
Interface matched. Trying to open remote.
Failed to open
Starting normal download
Interface Name = NULL
Port Name = NULL
Testing interface: JP1 Parallel
Port Name = NULL
Testing interface: JP1.X Serial
Port Name =
Interface opened successfully
Base address = $0
Read first -1 bytes: 00 00 00 00 00 00 00 00 00 00
Searching for RDF
Final signature sought =
No matching RDF found

In device manager DelcomProxy is fine. No yellow !
This is frustrating.
_________________
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride Smile
Back to top
View user's profile Send private message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Wed Mar 23, 2011 8:47 pm    Post subject: Reply with quote

I've been through all interface options, clearly Autodetect didn't work, forced jp1 usb which is the correct one, and still no go, error log:
Quote:
Loading S:\JP1\RM\RemoteMaster.v2.00\Windows\jp1parallel.dll
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\jp1parallel.dll
JP1Parallel version 0.02
EEPROM size returns -1
EEPROM address returns 0
Loading S:\JP1\RM\RemoteMaster.v2.00\Windows\jp12serial.dll
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\jp12serial.dll
JP12Serial version 0.18
Loading S:\JP1\RM\RemoteMaster.v2.00\Windows\jp1usb.dll
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\jp1usb.dll
JP1USB version 0.03
EEPROM size returns -1
EEPROM address returns 0
Loading S:\JP1\RM\RemoteMaster.v2.00\Windows\DecodeIR.dll
Loaded S:\JP1\RM\RemoteMaster.v2.00\Windows\DecodeIR.dll
Starting normal download
Interface Name = JP1 USB
Port Name = \\?\usb#vid_0fc5&pid_1222#7&10fc27ae&0&4#{cafa8e93-7c32-4c27-b088-d8c36aaf4ebf}
Testing interface: JP1 Parallel
Testing interface: JP1.X Serial
Testing interface: JP1 USB
Interface matched. Trying to open remote.
Failed to open


Edit:Ditto in the newest RMIR 2.01
_________________
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride Smile
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Thu Mar 24, 2011 1:24 am    Post subject: Reply with quote

Well, this used to work, but I'm seeing the same behavior here. It seems to me that JP1USB.dll isn't working correctly, but I don't have the source code to check into it.

The dll is loaded successfully, and the interface itself is recognized, but OpenRemote fails-- I don't know why it no longer works.
Back to top
View user's profile Send private message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Thu Mar 24, 2011 10:44 am    Post subject: Reply with quote

Maybe parts didn't get compiled Question

jp1usb.dll in the zip distribution
v1.97 and v1.99b - both dated 3/26/09 -- 512K
v2.00 and v2.01 - both dated 10/5/10 -- 73K
_________________
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride Smile
Back to top
View user's profile Send private message
gfb107
Expert


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

                    
PostPosted: Thu Mar 24, 2011 12:52 pm    Post subject: Reply with quote

Liz,

Have you tried replacing the v2.00/v2.01 jp1usb.dll with the one from v1.97 or v1.99b? Could just be the copy my build script is picking up got corrupted.
_________________
-- 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
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Thu Mar 24, 2011 1:02 pm    Post subject: Reply with quote

This post shows that the size difference is expected, and that dlls from 1.97 or 1.99 aren't able to access the Delcom chip via WinUSB.

However, mathdon's 0.3 version did (if I recall correctly) work with RMIR 2.00, and now it seems to not work. Makes me wonder if a Windows or Java update has broken it.
Back to top
View user's profile Send private message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Thu Mar 24, 2011 1:41 pm    Post subject: Reply with quote

gfb107 wrote:
Liz,

Have you tried replacing the v2.00/v2.01 jp1usb.dll with the one from v1.97 or v1.99b? Could just be the copy my build script is picking up got corrupted.

I thought of it when I saw the differences, but I could not determine from my scant notes and 1 error log whether those versions worked then or not. And I gather not from 3fg's subsequent post.

I'm on XP-SP3. Graham tested his, short version, on Win2K.
_________________
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride Smile
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Thu Mar 24, 2011 3:56 pm    Post subject: Reply with quote

I run XP-SP3 also, and 0.3 did work with RMIR on my computer. I tested it when it first was released.
Back to top
View user's profile Send private message
gfb107
Expert


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

                    
PostPosted: Fri Mar 25, 2011 1:02 pm    Post subject: Reply with quote

I was going to try building jp1usb.dll version 0.03 under MinGW to see if that works any better, but I can't find the source. Anyone know where it is?
_________________
-- 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
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Tue Apr 05, 2011 12:01 pm    Post subject: Reply with quote

gfb107 wrote:
I was going to try building jp1usb.dll version 0.03 under MinGW to see if that works any better, but I can't find the source. Anyone know where it is?

My apologies. It seems that I didn't upload the source. I've now done so, here.

My absence from these forums for the past few months has been the result of personal events, and is likely to continue. I still keep an occasional eye on things, however, and have just seen this thread and noticed my oversight.
_________________
Graham
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Tue Apr 05, 2011 12:18 pm    Post subject: Reply with quote

I've just done a JP1 download from my URC-8550 with the following setup: RMIR v2.01 Alpha 8, jp1usb v0.03, java version 1.6.0_23, WinUSB driver, interface set to JP1USB with auto-detect, and MS Vista. It worked without any problem. In case it is relevant, I haven't done any Windows updates for some weeks. So unless I misunderstand the problem, I am unable to reproduce it.
_________________
Graham
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Tue Apr 05, 2011 2:03 pm    Post subject: Reply with quote

Hello Graham,
Thanks for uploading the source. Since I can reproduce the problem, I'll look into it tonight.
Back to top
View user's profile Send private message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Tue Apr 05, 2011 7:24 pm    Post subject: Reply with quote

Graham, great to see you stopped by Smile
XP here and I, too, did auto-detect in one of many trials.

3FG wrote:
Makes me wonder if a Windows or Java update has broken it.
My java version is 6.0.24. I updated java 2/23/2011.
Last few Windows XP updates were 6/18/2010, 10/8/2010, 12/21/2010, 2/24/11 and 3/20/2011, in case any of it matters.
_________________
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride Smile
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Wed Apr 06, 2011 1:25 am    Post subject: Reply with quote

Using the debugger and attaching to the Java process shows that the call to CreateFile (which opens the USB interface) fails with the error Access Denied. Using jp1usb.dll with a Windows test program does succeed-- at least past the call to CreateFile.

I haven't found a fix yet, but I suspect that the issue is increased security in Windows or Java. Can't let the computer get a virus from our remotes!
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3365

                    
PostPosted: Sat Apr 09, 2011 1:22 am    Post subject: Reply with quote

Version 0.031 of jp1usb.dll. Replace jp1usb.dll v0.03 in the ..\Windows subdirectory of your RMIR directory.

Liz and oldgrouch,
I hope you'll try this out.
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  Next
Page 1 of 2

 
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