;/*++
;
;Copyright (c) 2009-2013 Realtek Semiconductor Corporation All rights Reserved
;
;Module Name:
;
;    Btfilter.INF
;
;    Lenovo ax
;--*/
[Version]
Signature   = "$WINDOWS NT$"
Class=Bluetooth
CLASSGUID={e0cbf06c-cd8b-4647-bb8a-263b43f0f974}
CatalogFile= RtkBtfilter.cat
Provider    = %REALTEK%
DriverVer = 12/30/2024,18.4021.2412.3000
pnplockdown =1
;*************************
; Source file information
;*************************
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
RtkBtFilter2.sys         = 1,,
RtkBtManServ.exe	= 1,,      ;RtkServ
rtl8852c_mp_chip_bt40_fw_asic_rom_patch_new.dat             =   1
;*************************
; Destination information
;*************************
[DestinationDirs]
RsBthFilter.CopyList = 12
RsBthpatch.CopyList = 10

[RsBthFilter.CopyList]
RtkBtFilter2.sys
[RsBthpatch.CopyList]
RtkBtManServ.exe,RtkBtManServ.exe,,0x00002000      
;rtl8852b_mp_chip_bt40_fw_asic_rom_patch_new,rtl8852b_mp_chip_bt40_fw_asic_rom_patch_new.dat,,0x00002000
rtl8852c_mp_chip_new.dat,rtl8852c_mp_chip_bt40_fw_asic_rom_patch_new.dat,,0x00002000
;*************************
; Manufacturer information
;*************************
[Manufacturer]
%REALTEK% = Realtek,NTamd64.10.0    ;NTamd64

[Realtek.NTamd64.10.0]   ;NTamd64
;%RealTK.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_4853    ;8852BE
%RealTK.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_5852    ;8852CE 

[RsBthFilter.NT]
Include=bth.inf
Needs=BthUsb.NT
CopyFiles=RsBthFilter.CopyList
CopyFiles=RsBthpatch.CopyList
AddReg = HignPower.reg

[RsBthFilter.NT.HW]
include    = bth.inf
needs      = BthUsb.NT.HW, BthLEExtendedAdvertisingOptIn.HW
AddReg=RsBthFilter.NT.HW.Reg

[HignPower.reg]
HKLM, SYSTEM\CurrentControlSet\Services\RtkBtFilter2\Parameters, CnyPw, 0x00010001, 0x1

[RsBthFilter.NT.HW.Reg]
HKR, , LowerFilters, 0x00010000, RtkBtFilter2
;HKR, ,"RemoteWakeEnabled",0x00010001,1
;HKR, ,"DeviceRemoteWakeSupported",0x00010001,1
HKR, ,"VsMsftOpCode",0x00010001,0Xfcf0
[RsBthFilter.NT.Services]
include    = bth.inf
needs      = BthUsb.NT.Services
AddService = RtkBtFilter2, , RtkBtFilter_Service_Inst
AddService = RtkBtManServ, 0x00000800, RtkBtManServ_Service_Inst     ;RtkServ
[RtkBtFilter_Service_Inst]
DisplayName     = %BtFilt.SvcDesc%                            
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\RtkBtFilter2.sys                            
LoadOrderGroup = PNP Filter  
[RtkBtManServ_Service_Inst]                                        ;RtkServ
DisplayName     = %RtkBtManServ.SvcDesc%                               ;RtkServ
ServiceType     = 0x10                  ; Service                  ;RtkServ
StartType       = 2                  ; SERVICE_DEMAND_START        ;RtkServ
ErrorControl    = 0                  ; SERVICE_ERROR_NORMAL        ;RtkServ
ServiceBinary   = %10%\RtkBtManServ.exe                            ;RtkServ
;*****************************************
; Bluetooth Filter String Section
;*****************************************
[Strings]
REALTEK		= "Realtek Semiconductor Corp."
DiskId1			= "Realtek Bluetooth Filter Installation Disk #1"
BtFilt.SvcDesc		= "Realtek Bluetooth Filter Driver"
RealTK.DeviceDesc		= "Realtek Bluetooth Adapter"
RtkBtManServ.SvcDesc	= "Realtek Bluetooth Device Manager Service"    ;RtkServ
