﻿; Copyright (c) 2012 libusbK
;
; Module Name: Hydra5 sonar.inf
; Description: Installation inf for Hydra_H5LM7 sonar device.
;
; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
; KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
; PURPOSE.

[Strings]
DeviceName = "Hydra5 sonar"
VendorName = "Screen Co. Ltd."
SourceName = "Hydra5 sonar Install Disk"
DeviceID   = "VID_0483&PID_AE01"
DeviceGUID = "{C107839C-CBEE-32BE-1A09-F5F4DEDA6C18}"

[Version]
Signature   = "$Windows NT$"
Class       = "libusbK Usb Devices"
ClassGuid   = {ECFB0CFD-74C4-4f52-BBF7-343461CD72AC}
Provider    = "libusbK"
CatalogFile = Hydra5 sonar.cat
DriverVer   = 04/27/2014, 3.0.7.0
DriverPackageDisplayName = "Hydra5 sonar"

; ============== Class section ==================
[ClassInstall32]
Addreg = LUsbK_Class_AddReg 

[LUsbK_Class_AddReg]
HKR,,,0,"libusbK Usb Devices"
HKR,,Icon,,-20

; ============== Device section =================
[Manufacturer]
%VendorName% = LUsbK_DeviceGroup,NTX86,NTAMD64

; For Win2K
[LUsbK_DeviceGroup]
%DeviceName%=LUsbK_Device, USB\%DeviceID%

; For XP and later
[LUsbK_DeviceGroup.NTX86]
%DeviceName%=LUsbK_Device, USB\%DeviceID%

[LUsbK_DeviceGroup.NTAMD64]
%DeviceName%=LUsbK_Device, USB\%DeviceID%

[LUsbK_Device.NT.HW]
AddReg=LUsbK_Device_AddReg

[LUsbK_Device.NTAMD64.HW]
AddReg=LUsbK_Device_AddReg

[LUsbK_Device_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%

; ======= Power policy settings (default) ========

; Indicates whether the device is capable of being powered down when idle 
; (Selective Suspend). 
HKR,,DeviceIdleEnabled,0x00010001,1

; Sets the default value of the AUTO_SUSPEND power policy setting. This 
; registry key is used to enable or disable selective suspend when a 
; handle is not open to the device. 
HKR,,DefaultIdleState,0x00010001,0

; Sets the default state of the SUSPEND_DELAY power policy setting. The 
; value indicates the amount of time in milliseconds to wait before 
; determining that a device is idle. 
HKR,,DefaultIdleTimeout,0x00010001,5000

; When set to a nonzero value, it suspends the device even if it does not 
; support RemoteWake. 
HKR,,DeviceIdleIgnoreWakeEnable,0x00010001,0

; Indicates whether a check box should be enabled in the device Properties 
; page that allows a user to override the idle defaults. 
HKR,,UserSetDeviceIdleEnabled,0x00010001,0

; Indicates whether the device should be allowed to wake the system from a
; low power state. 
HKR,,SystemWakeEnabled,0x00010001,0

; ========== Driver/Service setup ==============
[LUsbK_Device.NT.Services]
Addservice=libusbK,2,LUsbK_AddService

[LUsbK_Device.NTAMD64.Services]
Addservice=libusbK,2,LUsbK_AddService

[LUsbK_AddService]
DisplayName="libusbK USB Driver 04/27/2014 - 3.0.7.0"
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\libusbK.sys
AddReg=LUsbK_Driver_AddReg

; This optional entry identifies the load order group of which this driver is a member.
; LoadOrderGroup=Base

[LUsbK_Driver_AddReg]
HKR,"Parameters","DebugLevel",0x10001,4

; =========== Sources/Destinations ==============
[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
libusbK.sys	= 1,x86
libusbK_x86.dll	= 1,x86
libusb0_x86.dll	= 1,x86
WdfCoInstaller01009.dll = 1,x86

[SourceDisksFiles.amd64]
WdfCoInstaller01009.dll	= 1,amd64
libusbK.sys			= 1,amd64
libusbK.dll			= 1,amd64
libusb0.dll			= 1,amd64
libusb0_x86.dll		= 1,x86
libusbK_x86.dll		= 1,x86

[DestinationDirs]
DefaultDestDir				= 12
CoInstaller_CopyFiles		= 11
libusb_files_sys		= 10,system32\drivers
libusb_files_dll		= 10,system32
libusb_files_dll_wow64	= 10,syswow64
libusb_files_dll_x86	= 10,system32

[libusb_files_sys]
libusbK.sys

[libusb_files_dll]
libusbK.dll
libusb0.dll

[libusb_files_dll_x86]
libusbK.dll, libusbK_x86.dll
libusb0.dll, libusb0_x86.dll

[libusb_files_dll_wow64]
libusbK.dll, libusbK_x86.dll
libusb0.dll, libusb0_x86.dll

[LUsbK_Device.NT]
CopyFiles = libusb_files_sys, libusb_files_dll_x86

[LUsbK_Device.NTAMD64]
CopyFiles = libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64

; ========= WDF/CoInstaller section =============
[LUsbK_Device.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[LUsbK_Device.NTAMD64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[LUsbK_Device.NT.Wdf]
KmdfService = libusbK, LUsbK_wdfsect

[LUsbK_Device.NTAMD64.Wdf]
KmdfService = libusbK, LUsbK_wdfsect

[LUsbK_wdfsect]
KmdfLibraryVersion=1.9
