; Lenovo Virtual Serial Port Setup File
; Lenovo Group Limited
;

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %LENOVO%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 08/01/2013,2.0.9.6
Catalogfile= leser.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%LENOVO% = LenovoSerialPort, NTx86, NTamd64

[SourceDisksNames.x86]
1000 = %LenovoSrcDisk%,"",,\serial\i386

[SourceDisksNames.amd64]
1000 = %LenovoSrcDisk%,"",,\serial\amd64

[SourceDisksFiles]
  leusbser.sys = 1000

[LenovoSerialPort.NTx86]
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB history ;;;;;;;;;;;;;;;;;;;;;;;; 
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_02
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7500&MI_03
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7500&MI_05
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7500&MI_06
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7502&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7502&MI_02
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7502&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7509&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7509&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7509&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750A&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750A&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750A&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750B&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750B&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750B&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750C&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750C&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750C&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750D&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750D&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750E&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750E&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750F&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750F&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7510&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7510&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB history end;;;;;;;;;;;;;;;;;;;;;;;; 

;;;;;;;;;;;;;;;;;;;;;;Lenovo USB generic;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;generic adb,diag,modem,nmea
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7501&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7501&MI_03
;generic diag,modem,nmea,mass_storage	
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7512&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7512&MI_02
;generic adb,diag,modem,nmea,mass_storage
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7513&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7513&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB generic end;;;;;;;;;;;;;;;;;;;;;;;;; 
      
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB Project ;;;;;;;;;;;;;;;;;;;;;;;;;;;
; K910 diag,modem,nmea,mass_storage	
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7711&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7711&MI_02
; K910 adb,diag,modem,nmea,mass_storage
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7710&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7710&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB Project end;;;;;;;;;;;;;;;;;;;;;;;;;;;

[LenovoSerialPort.NTamd64]
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB history ;;;;;;;;;;;;;;;;;;;;;;;; 
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_02
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F3&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F4&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F5&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F6&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F8&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74F9&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_74FF&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7500&MI_03
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7500&MI_05
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7500&MI_06
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7502&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7502&MI_02
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7502&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7509&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7509&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_7509&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750A&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750A&MI_04
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750A&MI_05
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750B&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750B&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750B&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750C&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750C&MI_03
%LeDevicePCUI%  = LportInstall00, USB\VID_17EF&PID_750C&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750D&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750D&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750E&MI_02
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750E&MI_04
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_750F&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_750F&MI_03
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7510&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7510&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB history end;;;;;;;;;;;;;;;;;;;;;;;; 

;;;;;;;;;;;;;;;;;;;;;;Lenovo USB generic;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;generic adb,diag,modem,nmea
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7501&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7501&MI_03
;generic diag,modem,nmea,mass_storage	
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7512&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7512&MI_02
;generic adb,diag,modem,nmea,mass_storage
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7513&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7513&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB generic end;;;;;;;;;;;;;;;;;;;;;;;;; 
      
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB Project ;;;;;;;;;;;;;;;;;;;;;;;;;;;
; K910 diag,modem,nmea,mass_storage	
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7711&MI_00
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7711&MI_02
; K910 adb,diag,modem,nmea,mass_storage
%LeDeviceDiag%  = LportInstall00, USB\VID_17EF&PID_7710&MI_01
%LeDeviceNMEA%  = LportInstall00, USB\VID_17EF&PID_7710&MI_03
;;;;;;;;;;;;;;;;;;;;;;Lenovo USB Project end;;;;;;;;;;;;;;;;;;;;;;;;;;;




[LportInstall00.NT]
CopyFiles=LeUsbDriverFiles
AddReg = All00, AddReg

[LportInstall01.NT]
CopyFiles=LeUsbDriverFiles
AddReg = All00, AddReg, DevFunction1

[LportInstall02.NT]
CopyFiles=LeUsbDriverFiles
AddReg = All00, AddReg, DevFunction2

[LeUsbDriverFiles]
leusbser.sys

[DestinationDirs]
DefaultDestDir = 12

[LportInstall00.NT.Services]
AddService=leusbser,  0x00000002, Le_USBSerialService

[LportInstall01.NT.Services]
AddService=leusbser,  0x00000002, Le_USBSerialService

[LportInstall02.NT.Services]
AddService=leusbser,  0x00000002, Le_USBSerialService

[Le_USBSerialService]
DisplayName   = %LEUSBSER.Desc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\leusbser.sys

[All00]
HKR,,NTMPDriver,,leusbser.sys

[DevFunction1]
HKR,,LeDeviceFunction,0x00010001,1

[DevFunction2]
HKR,,LeDeviceFunction,0x00010001,2

[AddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
;HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum17EF9999,1,1

[Strings]
LEUSBSER.Desc = "Lenovo Inc. USB Device Serial Communication"
LenovoSrcDisk = "LENOVO USB Driver Disk"
LENOVO   = "Lenovo Inc."
LeDeviceDiag = "Lenovo HS-USB Diagnostics"
LeDeviceNMEA = "Lenovo HS-USB NMEA"
LeDevicePCUI = "Lenovo HS-USB PCUI"


