USBD_RegisterHcFilter

Hello, All!

When I should use a USBD_RegisterHcFilter function. And how to use it? Using
an upper filter on “USB” class is not enough for filtering USB devices?

Eugene.

You should never call this function unless you are a part of the core
controller stack, which you are not. What are you trying todo? Why are
you trying to filter all usb devices?

D

This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Eugene Lomovsky
Sent: Tuesday, February 10, 2004 6:16 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] USBD_RegisterHcFilter

Hello, All!

When I should use a USBD_RegisterHcFilter function. And how to use it?
Using
an upper filter on “USB” class is not enough for filtering USB devices?

Eugene.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi, Doron!
You wrote on Tue, 10 Feb 2004 08:33:24 -0800:

DH> You should never call this function unless you are a part of the
DH> core controller stack, which you are not. What are you trying todo?
DH> Why are you trying to filter all usb devices?

I need to control which device is allowed to use on the station, which is
not and how user may to use such a device (read/write etc)… My filter is
seat on all USB devices and monitor query device relations to examine what
is device is plugged (Hw ID, Vendor ID etc)…

sorry for my english…

thanks.

DH> -----Original Message-----
DH> From: xxxxx@lists.osr.com
DH> [mailto:xxxxx@lists.osr.com] On Behalf Of Eugene
DH> Lomovsky
DH> Sent: Tuesday, February 10, 2004 6:16 AM
DH> To: Windows System Software Devs Interest List
DH> Subject: [ntdev] USBD_RegisterHcFilter

DH> Hello, All!

DH> When I should use a USBD_RegisterHcFilter function. And how to use
DH> it?
DH> Using an upper filter on “USB” class is not enough for filtering USB
DH> devices?

DH> Eugene.

DH> —
DH> Questions? First check the Kernel Driver FAQ at
DH> http://www.osronline.com/article.cfm?id=256

DH> You are currently subscribed to ntdev as:
DH> xxxxx@windows.microsoft.com
DH> To unsubscribe send a blank email to xxxxx@lists.osr.com

Eugene.

You need to write a bus filter driver. This is not a trivial task; it
is harder then writing a bus driver b/c you have so many semantics to
get right. Filtering on the usb device class doesn’t get you very far
b/c not all usb devices install under that class. For instance, all HID
devices install under the HIDClass.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Eugene Lomovsky
Sent: Wednesday, February 11, 2004 7:18 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] USBD_RegisterHcFilter

Hi, Doron!
You wrote on Tue, 10 Feb 2004 08:33:24 -0800:

DH> You should never call this function unless you are a part of the
DH> core controller stack, which you are not. What are you trying
todo?
DH> Why are you trying to filter all usb devices?

I need to control which device is allowed to use on the station, which
is
not and how user may to use such a device (read/write etc)… My filter
is
seat on all USB devices and monitor query device relations to examine
what
is device is plugged (Hw ID, Vendor ID etc)…

sorry for my english…

thanks.

DH> -----Original Message-----
DH> From: xxxxx@lists.osr.com
DH> [mailto:xxxxx@lists.osr.com] On Behalf Of Eugene
DH> Lomovsky
DH> Sent: Tuesday, February 10, 2004 6:16 AM
DH> To: Windows System Software Devs Interest List
DH> Subject: [ntdev] USBD_RegisterHcFilter

DH> Hello, All!

DH> When I should use a USBD_RegisterHcFilter function. And how to use
DH> it?
DH> Using an upper filter on “USB” class is not enough for filtering
USB
DH> devices?

DH> Eugene.

DH> —
DH> Questions? First check the Kernel Driver FAQ at
DH> http://www.osronline.com/article.cfm?id=256

DH> You are currently subscribed to ntdev as:
DH> xxxxx@windows.microsoft.com
DH> To unsubscribe send a blank email to
xxxxx@lists.osr.com

Eugene.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi, Doron!
You wrote on Wed, 11 Feb 2004 09:03:08 -0800:

DH> You need to write a bus filter driver. This is not a trivial task;
DH> it is harder then writing a bus driver b/c you have so many
DH> semantics to get right. Filtering on the usb device class doesn’t
DH> get you very far b/c not all usb devices install under that class.
DH> For instance, all HID devices install under the HIDClass.

Where I can receive the necessary information for a writing of the bus
filter? In DDK it obviously does not suffice…

Eugene.

Please contact PSS. They can provide samples once the scenario is
fleshed out and matches what the bus can provide.

D

This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Eugene Lomovsky
Sent: Friday, February 13, 2004 5:53 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] USBD_RegisterHcFilter

Hi, Doron!
You wrote on Wed, 11 Feb 2004 09:03:08 -0800:

DH> You need to write a bus filter driver. This is not a trivial task;
DH> it is harder then writing a bus driver b/c you have so many
DH> semantics to get right. Filtering on the usb device class doesn’t
DH> get you very far b/c not all usb devices install under that class.
DH> For instance, all HID devices install under the HIDClass.

Where I can receive the necessary information for a writing of the bus
filter? In DDK it obviously does not suffice…

Eugene.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com