need help for making this driver work on win7  


  1. Posts : 1
    7
       #1

    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 Computer


  2. Posts : 725
    Desk 1: Win 7 Pro x32; Desk 2: Windows 10 x64
       #2

    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).
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 16:55.
Find Us