Any tips on troubleshooting driver installation on Win 7?
- I'm using the freescale jm badge board on x64 win 7 rtm, but the drivers don't seem to load successfully (install just stops), and the device never shows up in the sensors listing in control panel.
All Replies
- Hi Chris,
Can you open Device Manager and check if the device shows up under Human Interface Devices? For each device, you can right click on its name, select Properties, go to the Details tab and under Properties, select Hardware Ids. If, for any device, you see HID\VID_C1CA&PID_0004 listed then the Sensor driver did not get installed for the badge board.
In that case, you can run SensorKitDriverInstaller.exe from the CD while the badge board is connected to the computer and that should get the driver installed correctly.
If not, let us know.
Thanks,
Prasanna I started another thread about an hour ago, but I've progressed a little and now my problem seems to fall under this one. I was able to successfully uninstall EVERYTHING I could find, then "Add legacy hardware" in Device Manager. When I did that, I got it to install the amd64 sensor driver under the "Sensors" category, but it tells me, "This device cannot start. (Code 10)". I do see HID\VID_C1CA&PID_0004 listed under Hardware Ids. I've tried running "SensorKitDriverInstaller.exe (as Administrator even). I get a wait cursor for a few seconds, then it just goes away. No UI ever pops up.
Any ideas?
Thanks,
Mike- Mike:
There is a log file under %WINDIR%\INF named setupapi.dev.log, try looking in that after the installation fails to see if it reports any errors. The log is usually pretty big, so you might have to scan through for any "Error" messages related to the VID/PID for the development kit. Thanks Arvind,
I found the log and section pertaining to the device, but I don't see anything that points to a problem. Perhaps someone out there can read this better than I can? Here is the log entry:.
Thanks in advance!
Mike
>>> [Device Install (Hardware initiated) - HID\VID_C1CA&PID_0004\6&2a0a6310&1&0000]
>>> Section start 2009/11/10 16:42:40.093
ump: Creating Install Process: DrvInst.exe 16:42:40.097
ndv: Retrieving device info...
ndv: Setting device parameters...
ndv: Doing WU search last due to CM_DEVCAP_SILENTINSTALL flag.
ndv: Searching Driver Store and Device Path...
dvi: {Build Driver List} 16:42:40.107
dvi: Searching for hardware ID(s):
dvi: hid\vid_c1ca&pid_0004&rev_0000
dvi: hid\vid_c1ca&pid_0004
dvi: hid_device_up:ff00_u:0001
dvi: hid_device
cpy: Policy is set to make all digital signatures equal.
dvi: Enumerating INFs from path list 'C:\Windows\inf'
inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\sensorsbadgedriver.inf_amd64_neutral_edec71d91244d93f\sensorsbadgedriver.inf' ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 16:42:40.116
sig: Key = sensorsbadgedriver.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\sensorsbadgedriver.inf_amd64_neutral_edec71d91244d93f\sensorsbadgedriver.inf
! sig: No installed catalogs matching catalog name '' were found that validated the file.
! sig: Error 1168: Element not found.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000490)} 16:42:40.133
dvi: Created Driver Node:
dvi: HardwareID - HID\VID_C1CA&PID_0004
dvi: InfName - C:\Windows\System32\DriverStore\FileRepository\sensorsbadgedriver.inf_amd64_neutral_edec71d91244d93f\sensorsbadgedriver.inf
dvi: DevDesc - Sensor Development Kit Board
dvi: DrvDesc - Sensor Development Kit Board
dvi: Provider - Microsoft
dvi: Mfg - Microsoft
dvi: ModelsSec - Microsoft.NTAMD64
dvi: InstallSec - SensorsBadgeDriver_Install
dvi: ActualSec - SensorsBadgeDriver_Install.NT
dvi: Rank - 0x80ff0001
dvi: Signer - Not digitally signed
dvi: Signer Score - Not digitally signed
dvi: DrvDate - 02/22/2009
dvi: Version - 6.1.7000.0
inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
dvi: Created Driver Node:
dvi: HardwareID - HID_DEVICE
dvi: InfName - C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf
dvi: DevDesc - HID-compliant device
dvi: DrvDesc - HID-compliant device
dvi: Provider - Microsoft
dvi: Mfg - (Standard system devices)
dvi: ModelsSec - Standard.NTamd64
dvi: InstallSec - HID_Raw_Inst
dvi: ActualSec - HID_Raw_Inst.NT
dvi: Rank - 0x00ff1003
dvi: Signer - Microsoft Windows
dvi: Signer Score - INBOX
dvi: DrvDate - 06/21/2006
dvi: Version - 6.1.7600.16385
inf: Searched 2 potential matches in published INF directory
inf: Searched 37 INFs in directory: 'C:\Windows\inf'
dvi: {Build Driver List - exit(0x00000000)} 16:42:40.216
ndv: Selecting best match from Driver Store (including Device Path)...
dvi: {DIF_SELECTBESTCOMPATDRV} 16:42:40.216
dvi: No class installer for 'Sensors'
dvi: Using exported function 'CoDeviceInstall' in module 'C:\Windows\system32\wpd_ci.dll'.
dvi: CoInstaller 1 == wpd_ci.dll,CoDeviceInstall
dvi: CoInstaller 1: Enter 16:42:40.219
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 16:42:40.219
dvi: {Select Best Driver}
dvi: Selected driver installs from section [HID_Raw_Inst] in 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf'.
dvi: Class GUID of device changed to: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
dvi: {DIF_DESTROYPRIVATEDATA} 16:42:40.221
dvi: CoInstaller 1: Enter 16:42:40.221
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 16:42:40.221
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 16:42:40.222
dvi: Set selected driver complete.
dvi: Selected:
dvi: Description - [HID-compliant device]
dvi: InfFile - [c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf]
dvi: Section - [HID_Raw_Inst]
dvi: Signer - [Microsoft Windows]
dvi: Rank - [0x00ff1003]
dvi: {Select Best Driver - exit(0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 16:42:40.224
inf: {SetupCopyOEMInf: C:\Windows\INF\input.inf} 16:42:40.224
inf: Driver Store location: C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf
inf: Published Inf Path: C:\Windows\INF\input.inf
inf: {SetupCopyOEMInf exit (0x00000050)} 16:42:40.225
dvi: Searching for hardware ID(s):
dvi: hid\vid_c1ca&pid_0004&rev_0000
dvi: hid\vid_c1ca&pid_0004
dvi: hid_device_up:ff00_u:0001
dvi: hid_device
inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
dvi: Selected driver installs from section [HID_Raw_Inst] in 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf'.
dvi: Class GUID of device changed to: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
dvi: Set selected driver complete.
ndv: Driver selected, now performing install...
ndv: {Core Device Install} 16:42:40.230
inf: Opened PNF: 'C:\Windows\INF\input.inf' ([strings.0409])
! pol: Selected driver node does not match this device (force-install)
inf: Opened PNF: 'C:\Windows\INF\input.inf' ([strings.0409])
dvi: {DIF_ALLOW_INSTALL} 16:42:40.236
dvi: No class installer for 'HID-compliant device'
dvi: No CoInstallers found
dvi: Default installer: Enter 16:42:40.237
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 16:42:40.238
ndv: Installing files...
dvi: {DIF_INSTALLDEVICEFILES} 16:42:40.239
dvi: No class installer for 'HID-compliant device'
dvi: Default installer: Enter 16:42:40.239
dvi: {Install FILES}
inf: Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
inf: {Install Inf Section [HID_Raw_Inst.NT]}
inf: {Install Inf Section [HID_Raw_Inst.NT] exit (0x00000000)}
dvi: Processing co-installer registration section [HID_Raw_Inst.NT.CoInstallers].
inf: {Install Inf Section [HID_Raw_Inst.NT.CoInstallers]}
inf: {Install Inf Section [HID_Raw_Inst.NT.CoInstallers] exit (0x00000000)}
dvi: Co-installers registered.
dvi: {Install INTERFACES}
dvi: Installing section [HID_Raw_Inst.NT.Interfaces]
dvi: {Install INTERFACES exit 00000000}
dvi: {Install FILES exit (0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 16:42:40.243
ndv: Pruning file queue...
dvi: {_SCAN_FILE_QUEUE}
flq: ScanQ flags=620
flq: SPQ_SCAN_PRUNE_COPY_QUEUE
flq: SPQ_SCAN_FILE_COMPARISON
flq: SPQ_SCAN_ACTIVATE_DRP
flq: ScanQ number of copy nodes=0
flq: ScanQ action=200 DoPruning=32
flq: ScanQ end Validity flags=620 CopyNodes=0
dvi: {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
ndv: Committing file queue...
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=0
flq: CommitQ early exit: No nodes are queued
flq: {_commit_file_queue exit OK}
ndv: Registering CoInstallers...
dvi: {DIF_REGISTER_COINSTALLERS} 16:42:40.248
dvi: No class installer for 'HID-compliant device'
dvi: Default installer: Enter 16:42:40.249
inf: Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
inf: {Install Inf Section [HID_Raw_Inst.NT.CoInstallers]}
inf: {Install Inf Section [HID_Raw_Inst.NT.CoInstallers] exit (0x00000000)}
dvi: Co-installers registered.
dvi: Default installer: Exit
dvi: {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 16:42:40.252
ndv: Installing interfaces...
dvi: {DIF_INSTALLINTERFACES} 16:42:40.253
dvi: No class installer for 'HID-compliant device'
dvi: No CoInstallers found
dvi: Default installer: Enter 16:42:40.254
dvi: {Install INTERFACES}
inf: Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
dvi: Installing section [HID_Raw_Inst.NT.Interfaces]
dvi: {Install INTERFACES exit 00000000}
dvi: Default installer: Exit
dvi: {DIF_INSTALLINTERFACES - exit(0x00000000)} 16:42:40.255
ndv: Installing device...
dvi: {DIF_INSTALLDEVICE} 16:42:40.256
dvi: No class installer for 'HID-compliant device'
dvi: Default installer: Enter 16:42:40.257
dvi: {Install DEVICE}
inf: Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_42ef7994fe41f587\input.inf' ([strings.0409])
dvi: Processing Registry/Property directives...
inf: {Install Inf Section [HID_Raw_Inst.NT]}
inf: {Install Inf Section [HID_Raw_Inst.NT] exit (0x00000000)}
inf: {Install Inf Section [HID_Raw_Inst.NT.Hw]}
inf: Empty section
inf: {Install Inf Section [HID_Raw_Inst.NT.Hw] exit (0x00000000)}
dvi: {Writing Device Properties}
dvi: Provider name=Microsoft
dvi: DriverDate 06/21/2006
dvi: DriverVersion=6.1.7600.16385
dvi: Class name=HIDClass
dvi: Manufacturer=(Standard system devices)
dvi: Matching DeviceID=hid_device
dvi: Strong Name=input.inf:Standard.NTamd64:HID_Raw_Inst:6.1.7600.16385::hid_device
dvi: Additional Software Requested
dvi: {Writing Device Properties - Complete}
inf: {Install Inf Section [HID_Raw_Inst.NT.Services]}
inf: AddService=,0x00000002 (input.inf line 511)
! dvi: Add Service: NULL Controlling service.
inf: {Install Inf Section [HID_Raw_Inst.NT.Services] exit(0x00000000)}
dvi: Updated reflected section names for: input.inf
dvi: {Install DEVICE exit (0x00000000)}
dvi: Writing common driver property settings.
dvi: DriverDescription=HID-compliant device
dvi: DeviceDisplayName=HID-compliant device
dvi: Install Device: Removing device sub-tree. 16:42:40.278
dvi: Install Device: Removing device sub-tree completed. 16:42:40.420
dvi: Install Device: Restarting device. 16:42:40.420
dvi: Install Device: Restarting device completed. 16:42:40.567
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 16:42:40.568
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 16:42:40.568
dvi: No class installer for 'HID-compliant device'
dvi: Default installer: Enter 16:42:40.569
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 16:42:40.569
ndv: Device install status=0x00000000
ndv: Performing device install final cleanup...
ndv: Additional software is requested so a WER report should be sent, but the sending of WER reports from drvinst has been suppressed.
ndv: {Core Device Install - exit(0x00000000)} 16:42:40.571
ump: Server install process exited with code 0x00000000 16:42:40.575
<<< Section end 2009/11/10 16:42:40.578
<<< [Exit status: SUCCESS]- More info...
I tried installing the drivers on my laptop and got exactly the same behavior. It seems that either the firmware update is bad (using the one from the Win 7 Sensor Development Kit zip file from the FreeScale CD) or I have some bad hardware. - Found it! It seems the firmware update WAS the culprit. I was told when I got my board to update the firmware first, or things wouldn't work. So I did. Mistake #1. Then I figured the firmware update in the Win7 Sensor Development Kit was the correct update. Mistake #2. Then I tried the one on the CD that shipped with the board. Mistake #3. Finally, I downloaded the latest (called JMBadgeApplications_RevD_Green.S19) from canyourbadgedothis.com (not the FreeScale site where I ordered the board).
Next time I went through the process, it worked. The process was not all that simple either...
I uninstalled all sensor & HID drivers (and checked the box to delete drivers).
I unplugged the board, turned it on, then off, then plugged it back in.
I waited until Win7 finished telling me it didn't recognize the device(s) and stopped bleeping.
I pressed E8 on the badge to put it into sensor mode & waited for more bleeping.
I found the device in the list of HID-Compliant devices in Device manager (Hardware Id = HID\VID_C1CA&PID_0004)
I updated the device driver in Device Manager
- Choose "Browse my computer - not "Seach automatically"
- Choose "Let me pick", not "Search in this location"
- Click "Have Disk", don't choose anything in the list
I enabled it in the Location and Other Sensors control panel
The test app works! I hope this helps someone else at some point. This was painful!
Mike- Proposed As Answer byArvind AiyarMSFTWednesday, November 11, 2009 8:56 PM


