;
; Copyright (c) Livescribe 2010.  All rights reserved.
;
; Livescribe Pulse/Echo Smartpen USB Driver
;
; Driver support for: Windows XP, Vista and Win 7


[Version]
Signature="$WINDOWS NT$"
Class=DigitalPen
ClassGuid={4A12AB42-59EF-11DE-A7A6-20FC55D89593}
Provider=%MfgName%
DriverVer=08/03/2010,2.2.6.0
CatalogFile=PulseUsb.cat


; ================= Class section =====================

[ClassInstall32]
AddReg=DigitalPenClassReg

[DigitalPenClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-24

[DestinationDirs]
DefaultDestDir = 12 ; System32\Drivers dir
CoInstaller_NTx86_CopyFiles = 11 ; System32
CoInstaller_NTx64_CopyFiles = 11 ; System32

[SourceDisksNames]
1 = %Disk_Description%

[SourceDisksFiles]
PulseUsb_x86.sys = 1
PulseUsb_x64.sys = 1
WdfCoInstaller01009_x86.dll = 1
WdfCoInstaller01009_x64.dll = 1

[Manufacturer]
%MfgName%=DeviceList, NTx86, NTAMD64


; ================= Device section =====================
[DeviceList.NTx86]
%PulseUsb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1000
%PulseUsb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1010
%PulseUsb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1020
%EchoUsb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1030
%Usb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1040
%Usb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1050
%Usb.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1060
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1011&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1021&MI_01
%EchoUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1031&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1041&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1051&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1061&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1012&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1022&MI_01
%EchoUsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1032&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1042&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1052&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx86, USB\VID_1CFB&PID_1062&MI_01

[DeviceList.NTAMD64]
%PulseUsb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1000
%PulseUsb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1010
%PulseUsb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1020
%EchoUsb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1030
%Usb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1040
%Usb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1050
%Usb.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1060
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1011&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1021&MI_01
%EchoUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1031&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1041&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1051&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1061&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1012&MI_01
%PulseUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1022&MI_01
%EchoUsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1032&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1042&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1052&MI_01
%UsbComposite.DevDesc%=DeviceInstall_NTx64, USB\VID_1CFB&PID_1062&MI_01

[DeviceInstall_NTx86]
CopyFiles=DeviceInstall_NTx86_CopyFiles

[DeviceInstall_NTx64]
CopyFiles=DeviceInstall_NTx64_CopyFiles

[DeviceInstall_NTx86_CopyFiles]
PulseUsb.sys,PulseUsb_x86.sys

[DeviceInstall_NTx64_CopyFiles]
PulseUsb.sys,PulseUsb_x64.sys


; ================= Service installation =====================
[DeviceInstall_NTx86.Services]
AddService = %Usb.SvcName%, 0x00000002, DeviceInstall_AddService

[DeviceInstall_NTx64.Services]
AddService = %Usb.SvcName%, 0x00000002, DeviceInstall_AddService

[DeviceInstall_AddService]
DisplayName    = %Usb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\PulseUsb.sys


; ================= WDF Coinstaller installation =====================
[DeviceInstall_NTx86.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_NTx86_CopyFiles

[DeviceInstall_NTx64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_NTx64_CopyFiles

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

[CoInstaller_NTx86_CopyFiles]
WdfCoInstaller01009.dll,WdfCoInstaller01009_x86.dll

[CoInstaller_NTx64_CopyFiles]
WdfCoInstaller01009.dll,WdfCoInstaller01009_x64.dll

[DeviceInstall_NTx86.Wdf]
KmdfService = %Usb.SvcName%, DeviceInstall_WdfSect

[DeviceInstall_NTx64.Wdf]
KmdfService = %Usb.SvcName%, DeviceInstall_WdfSect

[DeviceInstall_WdfSect]
KmdfLibraryVersion = 1.9


; ================= Srtings =====================
[Strings]
MfgName = "Livescribe"
Disk_Description = "Livescribe Smartpen Installation Disk"
Usb.SvcDesc = "Livescribe Smartpen USB Driver"
Usb.SvcName = "PulseUsb"
PulseUsb.DevDesc = "Livescribe Pulse Smartpen"
EchoUsb.DevDesc = "Livescribe Echo Smartpen"
Usb.DevDesc = "Livescribe Smartpen"
PulseUsbComposite.DevDesc = "Livescribe Pulse Smartpen Composite"
EchoUsbComposite.DevDesc = "Livescribe Echo Smartpen Composite"
UsbComposite.DevDesc = "Livescribe Smartpen Composite"
ClassName = "Digital Pens"
