Hello Everyone,
I am wrting a Filter driver for a PCI device. I have a PCI card with VGA support. The card has a VGA driver provided by the vendor.
My purpose is to access the resources of the card. I have a filter driver. I am starting the driver through service from user mode. In my driver I am creating a device object and this object is attached to the lower driver using IoAttachDevicetoDeviceStack(). Is this a correct way to attach the device??? Because my Adddevice routine and IRP_MN_START_DEVICE is never called.
Also I couldnt access the resources of the hardware. I can access the configuration space of the device. How to access the Translated resources of the hardware.
Thanks in advance…
Regards,
Jothi.R
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
You need to install yourself as a filter driver in the stack. By the time you attach to the stack, it has already been started. How are you synchronizing access to these resources with the other driver? Unless you do it in start device (and you are a lower filter below the FDO), there is no synchronization.
d
– I can spell, I just can’t type.
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of veera jothi
Sent: Friday, August 25, 2006 3:42 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Accessing the Translated resources thorugh filter driver
Hello Everyone,
?
I am wrting a Filter driver for a PCI device. I have a PCI card with VGA support. The card has a VGA driver provided by the vendor.
?
My purpose is to?access the resources of the card.?I have a filter driver. I am starting the driver through service from user mode. In my driver I am creating a device object and this object is attached to the lower driver using IoAttachDevicetoDeviceStack(). Is this a correct way to attach the device??? Because my Adddevice routine and IRP_MN_START_DEVICE is?never called.
?
Also I couldnt access the resources of the hardware. I can access the configuration space of the device. How to access the Translated resources of the hardware.
?
Thanks in advance…
?
Regards,
Jothi.R
?
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer