Is that your entire hid descriptor? Doesn’t look like there is a keyboard there. Regardless, when you say KbdFitlr_ServiceCallback, you have a keyboard filter, not a HID filter. A keyboard filter (kbdfiltr) can filter any type of keyboard (HID, ps2, etc). if you want to filter the collection with the vendor usage, you need to write a filter that sits on top of the HID PDO for that collection.
What bigger problem are you trying to solve?
From: sushil [mailto:xxxxx@gmail.com]
Sent: Friday, June 10, 2016 8:14 AM
To: Doron Holan
Cc: Windows System Software Devs Interest List
Subject: RE: [ntdev] USB HID upper filter driver
Thanks Doron
I am new to USB hid so not being able identify the problem. Could you please specify what would be proper usage page for vendor define usage page.
skdeka
On Jun 10, 2016 7:00 PM, “Doron Holan” > wrote:
The vendor Usage page is in a different top level collection than the keyboard. so a keyboard filter will not see it.
Sent from my Windows 10 phone
From: xxxxx@gmail.commailto:xxxxx
Sent: Friday, June 10, 2016 1:34 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] USB HID upper filter driver
Hi,
I have written a USB HID upper filter driver and able to see my normal keyboard input report. But I am unable to see the vendor specific input reports on KbFilter_ServiceCallback() callback. The bellow is my vendor specific HID descriptor
0x06, 0x00, 0xFF, /* USAGE_PAGE(Vendor Defined) /
0x09, 0x01, / USAGE(vendor defined) /
0xA1, 0x01, / COLLECTION (Application) /
0x85, 0x06, / REPORT_ID (6) /
0x15, 0x00, / LOGICAL_MINIMUM /
0x25, 0x01, / LOGICAL_MAXIMUM /
0x19, 0x01, / USAGE_MINIMUM /
0x29, 0x02, / USAGE_MAXIMUM /
0x75, 0x01, / REPORT_SIZE (1) /
0x95, 0x02, / REPORT_COUNT (2) /
0x81, 0x06, / INPUT (Data,Var,Rel) /
0x75, 0x06, / REPORT_SIZE (6) /
0x95, 0x01, / REPORT_COUNT (1) /
0x81, 0x03, / INPUT (Cnst,Var,Abs) /
0xC0 / End Collection */
Is it feasible to trace Vendor specific report in upper filter driver.
Thanks,
Skdeak
—
NTDEV is sponsored by OSR
Visit the list online at: http:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at http:
To unsubscribe, visit the List Server section of OSR Online at http:</http:></http:></http:></mailto:xxxxx></mailto:xxxxx>