Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

INF file for USB filter driver?

4 views
Skip to first unread message

bluestar

unread,
May 20, 2008, 5:13:16 AM5/20/08
to
I have two usb filter drivers for x32 and x64 platforms,
and I want to use inf file to install/uninstall.

Could anyone tell me how to write inf file to install/uninstall
them?

Maxim S. Shatskih

unread,
May 20, 2008, 10:19:18 AM5/20/08
to
Take an INF file for other USB filter driver and customize for your needs.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@storagecraft.com
http://www.storagecraft.com

"bluestar" <bluest...@gmail.com> wrote in message
news:06b1c838-8abd-4102...@i36g2000prf.googlegroups.com...

Doron Holan [MSFT]

unread,
May 20, 2008, 2:07:35 PM5/20/08
to
what are you filtering? the host controller? hubs? all usb devices?

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"bluestar" <bluest...@gmail.com> wrote in message
news:06b1c838-8abd-4102...@i36g2000prf.googlegroups.com...

bluestar

unread,
May 21, 2008, 9:06:13 AM5/21/08
to
Dear Sir:

I hope to add my usb filters for HDD and ODD(separate 2 inf
files) on
XP 32/64 and Vista 32/64 platforms. Both drivers are lower
filter.

I try to modify sample inf and show below for HDD.
But it failed to work.

Could you tell me how to modify it to work well?

By the way, if i want to remove this filter driver, how
to modify inf file?

Thanks for your kindly help.

//----------------------------------------------------------------------------------------------------------------------------//
;
; USBFilter.INF (for Windows XP and Vista)
;
; Copyright (c) 2007, Prolific Technology Inc.


[version]
signature="$CHICAGO$"
Class=USB
;DiskClassGuid
ClassGuid={53f56307L-B6BF-11D0-94F2-00A0C91EFB8B}
Provider=%PRO%
DriverVer=05/23/2008,1.3.0.7
CatalogFile=usbfilter.cat


; ================= Device Install section =====================

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%PRO%=PRO,NT,NTAMD64

[SourceDisksFiles]
usbfilter.sys=1
usbfilter64.sys=1

[SourceDisksNames]
1=%DISK_NAME%,

[DestinationDirs]
DefaultDestDir = 12

[PRO.NT]
%DeviceDesc_3303% = USBFast, USB\VID_067B&PID_3303

[PRO.NTAMD64]
%DeviceDesc_3303% = USBFast, USB\VID_067B&PID_3303

[USBFast.NT]
CopyFiles=USBFast.NT.Copy
AddReg=USBFast.NT.AddReg

[USBFast.NT.Services]
AddService = usbfilter, 0x00000002, Serial_Service_Inst.NT

[USBFast.NT.Copy]
usbfilter.sys

[USBFast.NT.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{53f56307L-
B6BF-11D0-94F2-00A0C91EFB8B}, LowerFilters, 0x00010000, usbfilter

;[USBFast.HW.AddReg]
;HKR,,"LowerFilters",0x00010000,"usbfilter"

[USBFast.NTAMD64]
CopyFiles=USBFast.NTAMD64.Copy
AddReg=USBFast.NTAMD64.AddReg

;[USBFast.NTAMD64.HW]
;AddReg=USBFast.HW.AddReg

[USBFast.NTAMD64.Services]
AddService = usbfilter, 0x00000002, Serial_Service_Inst.NTAMD64

[USBFast.NTAMD64.Copy]
usbfilter64.sys

[USBFast.NTAMD64.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{53f56307L-
B6BF-11D0-94F2-00A0C91EFB8B}, LowerFilters, 0x00010000, usbfilter64

[Serial_Service_Inst.NT]
DisplayName = %Serial.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbfilter.sys
LoadOrderGroup = "PnP Filter"

[Serial_Service_Inst.NTAMD64]
DisplayName = %Serial.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbfilter64.sys
LoadOrderGroup = "PnP Filter"

[Strings]
PRO = "Prolific"
DeviceDesc_3303 = "USB Filter for device 3303"
Serial.SVCDESC = "USB filter driver"

Doron Holan [MSFT]

unread,
May 21, 2008, 5:19:32 PM5/21/08
to
this

[USBFast.NT.Services]
AddService = usbfilter, 0x00000002, Serial_Service_Inst.NT

should be
[USBFast.NT.Services]
AddService = usbstor,2 ,
AddService = usbfilter, , Serial_Service_Inst.NT

d


--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"bluestar" <bluest...@gmail.com> wrote in message

news:b9018337-b848-42e2...@q27g2000prf.googlegroups.com...

bluestar

unread,
Jun 18, 2008, 3:33:30 AM6/18/08
to
Thanks for your information
I will try to test


On 5月22日, 上午5時19分, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
wrote:

0 new messages