Need Help rewriting USB serial device driver to install under W7 x64

Discussion in 'Windows 7' started by DSpyder, Mar 18, 2010.

  1. DSpyder

    DSpyder MDL Novice

    Nov 19, 2009
    8
    0
    0
    #1 DSpyder, Mar 18, 2010
    Last edited: Mar 18, 2010
    Could someone point me to information on how to change a 32bit usb serial driver to 64bit.
    It works under W7 x86 like it is.

    Any help would be appreciated. D

    This is the .inf file I'm needing to install under x64 windows.


    [Version] ; Version section
    Signature="$Chicago$" ; All Windows versions
    Class=Ports ; This is a serial port driver
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ; Associated GUID
    Provider=%SHUMATECH% ; Driver is provided by SHUMATECH
    DriverVer=09/12/2006,1.1.1.5 ; Driver version 1.1.1.5 published on 23 February 2007

    [DestinationDirs] ; DestinationDirs section
    DefaultDestDir=12 ; Default install directory is \drivers or \IOSubSys

    [Manufacturer] ; Manufacturer section
    %SHUMATECH%=ShumaTech ; Only one manufacturer (SHUMATECH), models section is named
    ; ShumaTech

    [ShumaTech] ; Models section corresponding to SHUMATECH
    %DPU-550%=DPU-550.Install,USB\VID_03EB&PID_f550 ; Identifies a device with Vendor ID (03EBh) and
    ; Product ID equal to f550h. Corresponding Install section
    ; is named DPU-550.Install

    [DPU-550.Install] ; Install section
    include=mdmcpq.inf
    CopyFiles=FakeModemCopyFileSection
    AddReg=DPU-550.AddReg ; Registry keys to add are listed in DPU-550.AddReg

    [DPU-550.AddReg] ; AddReg section
    HKR,,DevLoader,,*ntkern ;
    HKR,,NTMPDriver,,usbser.sys
    HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

    [DPU-550.Install.Services] ; Services section
    AddService=usbser,0x00000002,DPU-550.AddService ; Assign usbser as the PnP driver for the device

    [DPU-550.AddService] ; Service install section
    DisplayName=%USBSer% ; Name of the serial driver
    ServiceType=1 ; Service kernel driver
    StartType=3 ; Driver is started by the PnP manager
    ErrorControl=1 ; Warn about errors
    ServiceBinary=%12%\usbser.sys ; Driver filename

    [Strings] ; Strings section
    SHUMATECH="ShumaTech" ; String value for the SHUMATECH symbol
    DPU-550="DPU-550 Serial Control Interface" ; String value for the DPU-550 symbol
    USBSer="USB Serial Driver" ; String value for the USBSer symbol
     
  2. MrFerretKing

    MrFerretKing MDL Member

    Aug 25, 2009
    168
    1
    10
    You can't just rewrite an INI file to make it 64 bit.
    All the files associated with the driver have to be compiled in 64 bit, so unless you have the actual sources, you get nada.
     
  3. DSpyder

    DSpyder MDL Novice

    Nov 19, 2009
    8
    0
    0