Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: need help for making this driver work on win7


01 Apr 2014   #1
ukanoldai

 
 
need help for making this driver work on win7

Hello,
i've some specific hardware i have to make works on windows 7 as we have to reinstall it completely on more than 50 devices.
The driver is for a builtin chip for wich i have no info since the vendor does not exists anymore, but i have to make it works or the device reboot every 5 mins if it is not installed (watchdog style).

the driver does not load on windows 7 but i think it's an .inf issue, message from hdwwiz is that the "data is invalid" but without more information. The device is not pnp since i have to add it manually even on Xp.

here's the inf, i need clues to know where to look, i read some about chkinf, wdbg but i'm a bit lost

[Version]
Signature=$CHICAGO$
Class = System
ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MFGNAME%
DriverVer=21/06/2005

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\Drivers
SystemFiles=10,System32
SystemFiles9x=10,System32

[SourceDisksFiles]
xxxx.sys

[SourceDisksNames]
1=%INSTDISK%,,,

[DeviceList]
%DESCRIPTION%=DriverInstall,

;------------------------------------------------------------------------------
; Windows 2000 Sections
;------------------------------------------------------------------------------

; TODO Add a LogConfig command to the following install section if this is a legacy device

[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
xxxx.sys,,,2

[DriverInstall.NT.Services]
AddService=xxxx,2,DriverService,EventLogging

[EventLogging]
AddReg=EventLogAddReg

[EventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%11%\IoLogMsg.dll;%12%\xxxx.sys"
HKR,,TypesSupported,0x00010001,7

[DriverService]
ServiceType=1
StartType=1
ErrorControl=1
ServiceBinary=%12%\xxxx.sys

[DriverInstall.nt.hw]
AddReg=DriverHwAddReg

[DriverHwAddReg]
HKR,,FriendlyName,,%FRIENDLYNAME%
;------------------------------------------------------------------------------
; Windows 98 Sections
;------------------------------------------------------------------------------

[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,dzboard.sys

[DriverInstall.HW]
AddReg=DriverHwAddReg

;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="xxxx"
INSTDISK="xxxx"
DESCRIPTION="xxxx Driver"
FRIENDLYNAME="xxxx Driver"


My System SpecsSystem Spec
.

01 Apr 2014   #2
ComputerGeek

Desk 1: Win 7 Pro 32bit; Desk 2: Server 2012 R2 & Win 8.1 64bit
 
 

I ran your INF file through the chkinf tool for you. Output attached. There were 4 errors, 10 warnings.

Here's one of your BIG problems: The result highlights the fact there's no .cat (Catalog) file for your driver. That tells me this is an unsigned driver. (Among other things, a driver's digital signature is stored in a .cat file)

XP allowed unsigned drivers. That's gonna be a problem with Windows 7. If you Google, i've seen people who've suggested methods how to sign a driver yourself... but I've never tried it nor know if those method actually worked in the past (or still work at this point in time).


Attached Files
File Type: pdf INF Results.pdf (154.3 KB, 2 views)
My System SpecsSystem Spec
Reply

 need help for making this driver work on win7




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:46 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App