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

USB Driver issues
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 22, 2007 11:25 am    Post subject: Reply with quote

I have a few parallel port cables and they have been very effective over the years. A few laptops ago I had to go with the USB because that is all the new one had and I really had good luck with the USB cable for a few years with very little problems.

At one point I did have a serial cable that worked just fine for the jp1 remotes I have (quite a few) but gave it away when all I had was USB.

Now I have a few parallel cables (simple and advanced), a jp1.1 serial and a jp1.2 serial and of course the USB which I can't get installed on this laptop.

I may have to bite the bullet and reinstall XP as Microsoft has suggested since neither they or Delcom have been able to figure this out. Part of the problem is the .inf file is the old format and I don't know enough about inf files to upgrade it.

Thanks
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
whompus



Joined: 27 Apr 2005
Posts: 540

                    
PostPosted: Thu Feb 22, 2007 12:42 pm    Post subject: Reply with quote

Nils... Before you do a complete reinstall, You might try this thread http://www.hifi-remote.com/forums/viewtopic.php?t=5599 I have had to do those things more then once when setting up jp1 for friends and such on new laptops.
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 22, 2007 1:32 pm    Post subject: Reply with quote

whompus wrote:
Nils... Before you do a complete reinstall, You might try this thread http://www.hifi-remote.com/forums/viewtopic.php?t=5599 I have had to do those things more then once when setting up jp1 for friends and such on new laptops.

I have actually been through that a number of times with no luck. Ironically none of the things it says to look for like the OEMxx.inf, other USB I/O drivers, etc. exist. I replaced the usb.inf with every XP version I could find. Removed multiple PNF files. Have completely cleaned out the registry of anything that looked like it could be a problem. Worked with Delcom and Microsoft and got no solution. They both said that outside of the fact it is an old driver it should work.

All I know at this point is that this is the first of 6 laptops with XP that I have had that it won't load the driver on no matter what I do.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Thu Feb 22, 2007 11:49 pm    Post subject: Reply with quote

Nils, considering other Dells worked, have you talked to Dell or just Delcom? Perhaps they did something funny in that model or perhaps there's a tech bulletin someplace on their site.
_________________
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
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Fri Feb 23, 2007 8:26 am    Post subject: Reply with quote

ElizabethD wrote:
Nils, considering other Dells worked, have you talked to Dell or just Delcom? Perhaps they did something funny in that model or perhaps there's a tech bulletin someplace on their site.

I did also talk to Dell but the bottom line is it worked on another D620 just like mine. The guy I work with let me try it on his (he wants a remote setup) and it worked fine. The only difference was that mine had all the latest patches and his didn't.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Fri Feb 23, 2007 9:33 am    Post subject: Reply with quote

It's a long shot, but check the power save settings on the USB ports. I've heard Dell is notorious for putting their USB ports to sleep on laptops. I think you find those settings under the ports themselves in the Device Manager.
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Fri Feb 23, 2007 10:18 am    Post subject: Reply with quote

Mark

It is a long shot but worth a try.

I had checked at the BIOS level and it was set for always on but in the Device Manager "USB root hub's" it did have a power option to "allow system to turn off the port to save power" checked. I unchecked each one and will try it when I get home.

I know that XP is finding the device since when it is plugged in it presents the VID and PID correctly which I can see in the install log. After I point to the driver it just comes back and says "The hardware was not installed because the wizard cannot find the necessary software." then goes on and installs it with the unknown device driver.

The USBIODS INF has not been updated since 2004 and seems to be a very old style which may have some impact also.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
unclemiltie
Expert


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

                    
PostPosted: Fri Feb 23, 2007 10:37 am    Post subject: Reply with quote

ever try putting the software on a separate (and not encrypted) disk like a thumb drive or a CD?

If XP is finding and identifying the device on install (do you see an unknown device in the device manager when it's plugged in?) by the right VID/PID, you're nearly all the way home. The INF file format should not be your problem in that I know of many copies of XP SP2 that installed this driver.

Something else is getting in your way here. The INF driver install is only looking for two things, the INF file and the SYS file. I don't see it needing anything else in a quick scan of the INF

The INF file doesn't have a whole lot in it, but one thing that is interesting is there are two VIDs, maybe you haven't searched out all old registry entries?

from the INF:

%String2%=USBIODS.Dev,USB\VID_0FC5&PID_1222
%String2%=USBIODS.Dev,USB\VID_6969&PID_1222


Also from the INF, it's adding the following keys to the registry, you should go find them and delete them all (related to the Delcom)

HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,USBIODS.sys
HKLM,System\Currentcontrolset\Services\Delcom\USBIODS\Parameters,DebugLevel,1,00
HKLM,System\Currentcontrolset\Services\Delcom\USBIODS\Parameters,BootupTest,1,00
Mine is 0FC5 and I know you searched for and rooted this one out, but did you go after the other as well?

In the end, the symptoms that you describe say that it's not finding the INF and SYS file on install and failing and that your registry cleaning exercises have been successful. (otherwise it wouldn't even ask as it thinks the drivers are already installed)


This one has me scratching my head......
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Fri Feb 23, 2007 11:03 am    Post subject: Reply with quote

unclemiltie wrote:
ever try putting the software on a separate (and not encrypted) disk like a thumb drive or a CD?

Yup, I had also tried it when the encryption software was not installed. But worth trying from a CD again.

unclemiltie wrote:
If XP is finding and identifying the device on install (do you see an unknown device in the device manager when it's plugged in?) by the right VID/PID, you're nearly all the way home. The INF file format should not be your problem in that I know of many copies of XP SP2 that installed this driver.

Yes, I do see the invalid entry for a USB I/O Controller in device manager but not a Delcom USB I/O Controller. Couldn't count how many times I have uninstalled it.

unclemiltie wrote:
Something else is getting in your way here. The INF driver install is only looking for two things, the INF file and the SYS file. I don't see it needing anything else in a quick scan of the INF

The INF file doesn't have a whole lot in it, but one thing that is interesting is there are two VIDs, maybe you haven't searched out all old registry entries?

from the INF:

%String2%=USBIODS.Dev,USB\VID_0FC5&PID_1222
%String2%=USBIODS.Dev,USB\VID_6969&PID_1222

I noticed that also and it struck me odd that they both had the same %string2% so I deleted the second one and no luck.

I have also searched on the second VID/PID in the registry and inf files and did not find it. I will look again in case it snuck in.

unclemiltie wrote:
Also from the INF, it's adding the following keys to the registry, you should go find them and delete them all (related to the Delcom)

HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,USBIODS.sys
HKLM,System\Currentcontrolset\Services\Delcom\USBIODS\Parameters,DebugLevel,1,00
HKLM,System\Currentcontrolset\Services\Delcom\USBIODS\Parameters,BootupTest,1,00
Mine is 0FC5 and I know you searched for and rooted this one out, but did you go after the other as well?

None of these keys ever make it to the registry

unclemiltie wrote:
In the end, the symptoms that you describe say that it's not finding the INF and SYS file on install and failing and that your registry cleaning exercises have been successful. (otherwise it wouldn't even ask as it thinks the drivers are already installed)

Agreed

unclemiltie wrote:
This one has me scratching my head......

Me too. I am going to go through all of these again just to be sure. Thanks.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Fri Feb 23, 2007 11:36 am    Post subject: Reply with quote

When the design of the combo-interface was released, an elaborate software initialization scheme was included that relied on separate drivers for pins 4 and 5 of the interface. Pin 4 was held low during reset to initialize a JP1.2 remote, and pin 5 for a JP1.1 remote. That scheme is described in detail here: http://www.hifi-remote.com/forums/dload.php?action=file&file_id=4259. If I understand correctly, binky123 is suggesting you can upgrade an interface built for JP1.2 only (without the three components R1, D1, and Q1) so that it will operate with JP1.1 remotes also, by just connecting pins 4 and 5 together.

When a JP1.x remote comes out of reset there are four possible combinations of pins 4 and 5 that decide what happens next:

.......PIN 4......PIN 5...............JP1.2 ACTION......................JP1.1 ACTION
(1).....1.............1..........start normal operation..........start normal operation
(2).....0.............1..........go to serial comm mode...................?
(3).....1.............0..........go to background mode........go to serial comm mode
(4).....0.............0.......................?.......................................?

The fourth condition can occur only if pins 4 and 5 are tied together. We don't know how the remote software is written, or even whether it is the same for different version remotes, so we don't know the results of condition (4) for JP1.2 or conditions (2) and (4) for JP1.1 except from experimental evidence.

Consider first the JP1.2. Since condition (4) is ambiguous (it's telling the remote to do two different things) it may or may not have been specifically dealt with in the remote's software, depending on the skill and imagination of the programmer. Some programmers might decide that, since this as an invalid combination, to treat "0 0" the same as "1 1". But for the binky123 scheme to work, the software has to be written to treat condition (4) the same as condition (2), by looking first at pin 4 and, if it is low, disregarding pin 5.

Now look at the JP1.1. Here the programmer has the option of disregarding pin 4 altogether, so that condition (2) is equivalent to (1), and (4) is equivalent to (3).

For testing with JP1.1 I used a Comcast URC-1058BG0 remote. Most of the time the remote did initialize into serial comm mode with both pins 4 and 5 low, but every once in a while it would come up in a state where it was neither operational nor willing to communicate. It remained in this limbo state indefinitely until I sent a break signal, which kicked it on into serial comm mode. I conclude from this that there may be a timing issue. Perhaps the remote sees pin 5 low following reset, starts serial comm mode, then sees pin 4 low and has to wait for that to clear to move on.

For testing JP1.2 I used a URC-10820B00 remote. Resetting the remote with just pin 4 low initializes it in serial comm mode as expected, but resetting the remote with both pins low always left it in a state where it would neither operate nor communicate, which I assume is background mode. That suggests that when the processor comes out of reset it looks first at pin 5 and, if low, disregards pin 4.

All the foregoing tests were made with an interface having manual switches for holding pins 4 and 5 low, either separately or together. For thoroughness I decided to make an adapter that actually wired pins 4 and 5 together, and let the test software program (which I am sure embodies the initialization sequence described in the link above) do the startup. I almost wish I hadn't. The remote always initialized in serial comm mode, which contradicts the last sentence of the above paragraph. Go figure.

My conclusion is that the binky123 scheme may or may not work at all times with all remotes. You can try it, and if it seems to work for you, great. If the results are unsatisfactory you will have to put in the three optional components.

Tommy
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri Feb 23, 2007 2:16 pm    Post subject: Reply with quote

Tommy Tyler wrote:

For testing with JP1.1 I used a Comcast URC-1058BG0 remote. Most of the time the remote did initialize into serial comm mode with both pins 4 and 5 low, but every once in a while it would come up in a state where it was neither operational nor willing to communicate. It remained in this limbo state indefinitely until I sent a break signal, which kicked it on into serial comm mode. I conclude from this that there may be a timing issue. Perhaps the remote sees pin 5 low following reset, starts serial comm mode, then sees pin 4 low and has to wait for that to clear to move on.


I don't have a JP1.1 remote so if you think we should send an additional break sequence, I'm willing to add it in to the JP1.x driver.

Tommy Tyler wrote:

For testing JP1.2 I used a URC-10820B00 remote. Resetting the remote with just pin 4 low initializes it in serial comm mode as expected, but resetting the remote with both pins low always left it in a state where it would neither operate nor communicate, which I assume is background mode. That suggests that when the processor comes out of reset it looks first at pin 5 and, if low, disregards pin 4.

A JP1.2 remote will go into background mode if pin 5 is low coming out of reset regardless of pin 4. A JP1.2 remote will go into serial mode if pin 4 is low 50ms after coming out of reset. The driver does not drive the line low until 10ms after coming out of reset. Thus, having pins 4 and 5 tied together will NOT cause it go into background mode after coming out of reset.
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Fri Feb 23, 2007 2:44 pm    Post subject: Reply with quote

binky123 wrote:
I don't have a JP1.1 remote so if you think we should send an additional break sequence, I'm willing to add it in to the JP1.x driver.

That sounds like you're writing the software (or at least some of it), which automatically qualifies you to influence the hardware. I've told you all I know about how my JP1.1 responds to the old jp12test program, which I thought was written by Greg? Anyway, I don't use any of the "real" software that uploads or downloads JP1.x. If you'll point me to a program such as may have caused Nils (or others) problems when pins 4 and 5 were tied together, I'll be glad to test it for you on my Comcast JP1.1.

Incidentally, are there programmers other than yourself who are writing stuff for JP1.x? It seems to me that the startup routine should be standardized in all software, and that one individual should be responsible for it. I hope that is the case.

Tommy
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri Feb 23, 2007 3:05 pm    Post subject: Reply with quote

Tommy Tyler wrote:

That sounds like you're writing the software (or at least some of it), which automatically qualifies you to influence the hardware. I've told you all I know about how my JP1.1 responds to the old jp12test program, which I thought was written by Greg? Anyway, I don't use any of the "real" software that uploads or downloads JP1.x. If you'll point me to a program such as may have caused Nils (or others) problems when pins 4 and 5 were tied together, I'll be glad to test it for you on my Comcast JP1.1.

Incidentally, are there programmers other than yourself who are writing stuff for JP1.x? It seems to me that the startup routine should be standardized in all software, and that one individual should be responsible for it. I hope that is the case.

Tommy

Ahh, ok. There was a timing issue in the old driver where it reset and then it drove the pin 5 low for a JP1.1 remote. This would explain the inconsistencies you saw. I changed it to drive pin 5 low and then reset the remote.

I don't believe anybody else is modifying the driver. I'll send you a program that you can test on your Comcast JP1.1.
Back to top
View user's profile Send private message
ElizabethD
Advanced Member


Joined: 09 Feb 2004
Posts: 2348

                    
PostPosted: Fri Feb 23, 2007 9:29 pm    Post subject: Reply with quote

Two subjects going on here - wiring and Nils. My five cents for Nils:

There seem to be two versions of driver .inf files, 2004 and 2005. 2005 has fixes like unlclemiltie mentioned, plus one more: how the service starts. M$ says PnP devices have to have value 3 (demand), not 2 (auto start) for .AddService which is in the 2004 file, but I think service startup mode is not relevant, since Nils doesn't even get to trigger it. Also unclemiltie is onto something about encryption, but I know nothing about it.

Nils_Ekberg wrote:
None of these keys ever make it to the registry

Disclaimer: I don't have jp1.x remote, I don't have USB cable for any jp1, I did not install Delcom drivers, so I'm driving blind.

It might pay to review XP Pro policies. In gpedit.msc, see if something in Local Policies clicks. Maybe compare with the settings in the other Dells. I'm looking at Windows2000 Pro, corporate, so XP-Pro might use different words.

CMD > RUN > type in "gpedit.msc" without quotes
Locate Computer Policy and drill down to Local Policies
Computer Configuration
Windows settings
Security Settings
Local Policies
Security options
Now, find a Policy in the list, something like "Unsigned driver installation behavior" and see what it says. Mine says "Silently succeed", under power user (!) rights. Or just set it to Disabled. If you even have such entry.

Still under Local Policies
User Rights Assignments
Check Load and unload device drivers, give it your rights (Administrators, Power users ... whatevergroups you have or just Disable)

Review Admin Templates
Get to System
Windows File Protection, try "Not configured"
Under Group Policy, make everything "Not Configured"

Heck, review all the policies, you might stumble on something that'll work.
Perhaps someone here has XP-Pro and Delcom and can compare notes.
I suspect Nils already has been down this gpedit path.
_________________
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
whompus



Joined: 27 Apr 2005
Posts: 540

                    
PostPosted: Fri Feb 23, 2007 10:35 pm    Post subject: Reply with quote

I to suspect he has went down this path.

In Xp pro it is under Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options with 3 options, silently succeed, warn but allow, and don't allow.

I still think it has more to do with some weird oem driver blocking it then security settings, but one never knows.
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 - General Forum All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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