Hi All,
I have written a HID Mini driver to which a HIDClass Driver sends read
reports continuously.Now I have a touch screen device connected to the USB
port and I am reading the data sent by the touch screen with bulkusb.
We are basically trying to do Mouse Emulation.So all we need to do is take
the packet from Touch Screen and give it to HID Mini driver.The HID Mini
driver frames the mouse report and gives it to Hid class driver.
As of now what is happening is HID class driver is sending
ioctl_hid_read_report to HID Mini driver.This inturn has to get the device
object pointer of bulkusb,build IRP_MJ_READ, set a completion routine,send
the irp to bulkusb and wait for an event .
But when I wait for the event(KeWaitForSingleObject) the system crashes.I
get something like KeBugCheckEX.What exactly is this ?..I have checked the
IRQL at which the IOCTL_HID_READ_REPORT is executed is DISPATCHLEVEL.
Can anybody give some hints on this.
Kindly let me know if i am not clear with the explanation.
Thanks.
Best Regards,
Sai Prasad
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************