WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VCOM Filter driver: Lower driver in stak as PNP driver

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Bluetooth devices
View previous topic :: View next topic  
Author Message
yoar_ind



Joined: 12 May 2008
Posts: 1

Digg It
PostPosted: Mon May 12, 2008 3:00 pm    Post subject: VCOM Filter driver: Lower driver in stak as PNP driver

Hi,

I have written a virtual COM driver for Bluooth stack (USB) for windows XP
VCOM is implemented as a device Upper filter driver to USB BT stack.

-> When I install BT driver, it is showing lower driver as \Driver\ACPI (which is correct)
-> After this, I install VCOM driver.
During the VCOM installation, first it is unloading the BTstok driver and loading again.
For VCOM driver, it is showing lower driver as \Driver\BTstack but for BTstack, it shows
Lower driver as \Driver\PNP Driver instead of \Driver\ACPI.

My question is why it is showing lower driver as Driver\PNP driver?

Is it the issue of INF file?

Seperate INF files are written for BTStack and VCOM driver.

VCOM INF
=========

;/*++
;
;
;Module Name:
;
; USBVCOM.INF
;
;Abstract:
; INF file for installing USBVCOM device drivers
;--*/
[Version]
Signature="$WINDOWS NT$"
Class = PORTS
ClassGuid = {4d36e978-e325-11ce-bfc1-08002be10318}
Provider=%xyz%
DriverVer=04/24/2008,6.0.5736.1

[DestinationDirs]
DefaultDestDir = 12

;*****************************************
; USBVCOM Device VCOM Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard

[Standard]
; DisplayName Section DeviceId
; ----------- ------- --------

%USBVCOM.DeviceDesc%=USBVCOM, {4d36e978-e325-11ce-bfc1-08002be10318}\USBVCOM

;=====================================================================
[USBVCOM.NT]
;=============== Get the standard stuff from USBBT.inf==============
Include=USBBT.inf
Needs=USBBT.Dev.NT
CopyFiles=USBVCOM.NT.Copy
AddReg=USBVCOM.NT.HW.AddReg

[USBVCOM.NT.Copy]
USBVCOM.sys

;[USBVCOM.NT.AddReg]
; Add registry entries here

[USBVCOM.NT.HW]
;================ Add our own stuff
AddReg = USBVCOM.NT.HW.AddReg
;================ Add in the standard stuff provided by USBBT
Include = USBBT.inf
Needs = USBBT.Dev.NT.HW

[USBVCOM.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"USBVCOM"

;*****************************************
; USBBT Device Filter Service Section
;*****************************************

[USBVCOM.NT.Services]
AddService = USBVCOM, , USBVCOM.AddService
;
;=========== This will add toaster as the service and make sure =====
;=========== that USBBT.sys has been installed ====================
Include=USBBT.inf
Needs=USBBT.Dev.NT.Services

[USBVCOM.AddService]
DisplayName = %USBVCOM.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\USBVCOM.sys
Dependencies=USBBT


;*************************
; Source file information
;*************************

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
USBVCOM.sys = 1,,

[Strings]
;SPSVCINST_ASSOCSERVICE= 0x00000002
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Bluetooth devices All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group