RailPro User Group

RailPro => RailPro Specific Help & Discussion => Topic started by: nodcc4me on November 04, 2017, 10:22:52 AM

Title: CI-1 Not Installed
Post by: nodcc4me on November 04, 2017, 10:22:52 AM
I bought a new Dell laptop running Win10. RPA and the HC Simulator have been installed. Windows recognized the CI-1 and set it up, but the Sim is not seeing it. I have repeated the installation twice with the same result. Any suggestions?
CI-1 not connected.PNG
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 04, 2017, 11:05:55 AM
Al,

We've had this before and we managed to solve it. I believe the problem will be similar, if not the same as last time (https://rpug.pdc.ca/index.php/topic,347.msg2689.html#msg2689 (https://rpug.pdc.ca/index.php/topic,347.msg2689.html#msg2689)) however I'm off to bed now as it's after 3am here so I'll pop back in after I get up and we can start analysis, unless someone else solves it in the meantime.

To start with you can open up Device Manager and look for any HID devices for me.

- Tim
Title: Re: CI-1 Not Installed
Post by: KPack on November 04, 2017, 11:34:39 AM
My CI-1 is having the same problem, and has been basically since the beginning.  The only time it worked was after a fresh install of Win10, but sometime thereafter it stopped again, probably due to an HID driver that is interfering with the CI-1 somehow.  I'll have to see about backdating some drivers and see if that works.

-Kevin
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 04, 2017, 12:57:36 PM
I think you are right Kevin. Something must be blocking the CI-1, although it works perfectly with my Win10 desktop. The only difference with the laptop is that it is dual mode, touch-screen, but I don't use it that way, so that shouldn't affect it.

Maybe we should give Tim a wake-up call in about an hour.  ;D ;D
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 04, 2017, 10:21:41 PM
Maybe we should give Tim a wake-up call in about an hour.  ;D ;D

Good luck getting me out of bed on a Sunday morning  ;)

Now to start, two things. If you have a HC as well (2 and 2b are different so that's important), does that work or not plugged in?

First well check if the CI-1 is actually identified properly. I'd like to you download usbdview (http://www.nirsoft.net/utils/usb_devices_view.html (http://www.nirsoft.net/utils/usb_devices_view.html)) and run it. Look for the CI-1, it should show as a HID device. If it doesn't that's a problem but it should all be ok in this regard. You can post a screen capture (double click on the CI-1 in usbdview for a better report) if it doesn't show as a USB HID device.

Next, I'd like you to open Device Manager and choose Show Hidden Devices from the View menu. Then look for any HID devices, particularly any virtual HID devices. Report back what devices you find and we'll take it from there.

Kevin, do you recall installing any new software or hardware after the CI-1 was working?

- Tim
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 05, 2017, 08:18:48 AM

Tim, the HC-2 was set up in windows, but cannot download files through RPA (cannot connect error).
Here is a screenshot of USBDView and Device Manager:
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 05, 2017, 08:48:27 AM

Tim, the HC-2 was set up in windows, but cannot download files through RPA (cannot connect error).
Here is a screenshot of USBDView and Device Manager:

From your screen capture of usbdview it appears that the CI-1 is not installed correctly, it's not showing up by device name which it should. There is also an unknown USB device present. I need to to do this. Run usbdview again. For each HID device double click it. We are looking for the device that has a product ID of f321 and a vendor ID of 04d8. Once you find it take a screen capture of the screen and post me that please.

For the HC, do you have a HC-2 or HC-2b? and does RPA say the HC is connected when it is plugged in? the HC does not show up in usbdview either.

Also, when taking a screen capture, do it this way, press and hold the "alt" key and then press the "print screen" key. This will copy just the active window to the clipboard which you can then paste into paint or another graphics program.

- Tim
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 05, 2017, 09:05:25 AM

I plugged in the Hc2 once more and it was able to download files. It took 4 tries. This has been a constant problem for years.


I was unable to get a screenshot with Alt/Print screen so here is a snip of the CI-1, which I was able to locate in USBDView.



Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 05, 2017, 09:33:30 AM
Generally it looks ok but I'm concerned that it doesn't show a hub/port assigned in the column on the right hand side (9th entry down). Did you download the 64 bit (x64) version of usbdview (Win10 is 64 bit)? If you did download the 64 bit version check if the other active HID devices have a hub/port assigned. If you didn't download the 64 bit version please do so and try again. I've never seen that not assigned behavior before.

Ok, so the HC connects and can download but is flaky. It works so that's good; the flakyness affects everyone.


- Tim
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 05, 2017, 09:48:46 AM

I downloaded the x64 version. None of the other HID's have hub/port assignments either. Are you running out of ideas Tim?  :o


The HC2 "Cannot connect" issue has been a headache for everyone. Seems like it shouldn't be that difficult to correct.
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 05, 2017, 10:20:28 AM
Not running out of ideas, just running on empty; it's getting very late, or should I say early here (like, it's after 3am again) and I'll be off to bed after this post.

Strange that nothing is showing a Hub/Port assignment but maybe that's how your PC is. Another things that concerns me about it's installation is why it's not showing it's proper name in the device name field however again nothing is showing a proper name so maybe that's how your PC is. Maybe it's a USB3 thing.

When you had Device Manager open was there not a section called "HID devices" or "Human Interface Devices"? That's the section I need to see what's in there, not the USB section as you posted. Also make sure that you select Display Hidden Devices from the view menu in Device Manager.

I'll also send you a PM with a couple more questions.

- Tim
Title: Re: CI-1 Not Installed
Post by: gcarter1945 on November 05, 2017, 05:28:05 PM
I can't remember rightly if this is related to your problem.  However, I once had similar problems to what you are describing.  The solution for me was to disconnect the RR-CirKits Locobuffer-USB that I was using in connection with JMRI and my Digitrax layout.  Since I will be converting all my fleet to RailPro, I won't be needing JMRI to set CVs in the future.  I hope this helps.  Remember, your mileage may vary.

Geoff
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 05, 2017, 08:43:12 PM
I don't use any of the Digitrax or DCC products. I'm strictly RailPro, but thanks for the reply Geoff.
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 05, 2017, 09:46:08 PM
The solution for me was to disconnect the RR-CirKits Locobuffer-USB that I was using in connection with JMRI and my Digitrax layout.

Both the LocoBuffer-USB  and HC-2 (not sure on the HC-2b) use virtual COM ports to communicate between the PC and the device. My guess is that the LocoBuffer USB and the HC are both set to use the same COM port. This is can be changed easily which should allow both to be plugged in and used at the same time.

Al,

Did you look in Device Manager for "Human Interface Devices"? I'm particularity interested in seeing if there are any virtual ones.

- Tim
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 06, 2017, 07:19:34 AM

I did. The list is long.

Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 06, 2017, 08:30:57 AM
!!!!!!!!!!. Well, I'm not going to type what I said out loud when I saw that list. I think every part of your laptop, including the case must be a HID device! I need to think of this from a different angle.

Since it's a new laptop it most likely came with a bunch of crapware preinstalled on it so let's try this:

Open up task manager and get to the more details view and click on the processes tab (have a quick read here https://www.windowscentral.com/how-identify-and-terminate-high-resource-processes-using-task-manager-windows-10 (https://www.windowscentral.com/how-identify-and-terminate-high-resource-processes-using-task-manager-windows-10)). Take some screen shots to capture all the entries and post them to me either here if your comfortable with that or email them to me.

Once done and while I'm reviewing it we'll see if the CI-1 can be detected without all the extra stuff running.

Reboot into safe mode (see https://support.microsoft.com/en-au/help/12376/windows-10-start-your-pc-in-safe-mode (https://support.microsoft.com/en-au/help/12376/windows-10-start-your-pc-in-safe-mode)). Then run HC Simulator, the CI-1 should be detected and show up in HC Sim. If not it probably just means that Win won't load the device driver for it in safe mode (which it should) and not that the CI-1 is defective. Please report back if it does or doesn't.

- Tim
Title: Re: CI-1 Not Installed
Post by: nodcc4me on November 06, 2017, 09:56:38 AM
Tim, PM sent.
Title: Re: CI-1 Not Installed
Post by: KPack on November 06, 2017, 10:53:00 AM
Tim, to answer your earlier question there has been a lot installed since I first reinstalled Win10.  The HC Sim and CI-1 were the first things I installed and it worked fine.  Sometime after that the CI-1 stopped connecting to the HC Sim.  I'm not sure what program would be blocking it, but it doesn't work even in Safe Mode.  It does show up in the list of USB devices and the drivers install correctly.

The only thing I can think of would be that my laptop may have had some deeper settings configured in order to run a program for work that has to communicate with the central server.  That program is kind of a pain to work with and I'm leaning towards it as being the problem.  It has to stay though.

CI-1 works fine on my desktop also running Win10, with most of the same programs on it (besides the work program).

-Kevin
Title: Re: CI-1 Not Installed
Post by: G8B4Life on November 06, 2017, 07:44:49 PM
Kevin, that's interesting. The work program does sound like a likely candidate but I doubt it's a setting somewhere but rather something that has been badly written. In my research last night I did discover some people that had had trouble with their PIC programmer not being recognised by their programming software and some crapware (and also a configuration utility for a mouse) which runs at startup was to blame.

We can look at this if you want.

- Tim
Title: Re: CI-1 Not Installed
Post by: KPack on November 06, 2017, 08:06:13 PM
No need to look deeper into it at this point.  My wife just got a Surface Pro with Win10 Pro and RPA, HC-Sim, and CI-1 all work as expected on it.  My work laptop will stay a work laptop.

-Kevin
Title: Re: CI-1 Not Installed
Post by: William Brillinger on November 06, 2017, 08:08:42 PM
Quote
My wife just got a Surface Pro with Win10 Pro and RPA, HC-Sim, and CI-1 all work as expected on it.

Glad to hear it Kevin!!