Discussion:
hid issue
(too old to reply)
d***@gmail.com
2008-10-20 07:30:15 UTC
Permalink
Raw Message
In hidusbfx2 sample driver, they used Timerfunction
(Hidfx2EvtTimerfunction). i.e., they create a timer and queue the
IOCTL_HID_READ_REPORT request and then complete this request in timer
function. Here they didnt use isr. But I am using isr, and I want to
complete this request in dpc. If I do this, whether
IOCTL_HID_READ_REPORT is called by HIDCLASS driver when I didnt
receive interrupt? (i.e, If I didnt get interrupt, the
IOCTL_HID_READ_REPORT request is not completed, so next time this
ioctl is not called). Am right? or Any suggestions?

Regards - D.
Doron Holan [MSFT]
2008-10-20 18:20:58 UTC
Permalink
Raw Message
can you please restate your question? are you saying that you get the IOCTL
but your ISR does not get called? remember that your DPC for ISR can be
already queued when you get another ISR call. you must queue up enough
state in your extension/context to be able to process mutliple ISR calls
from one DPC callback

ds
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by d***@gmail.com
In hidusbfx2 sample driver, they used Timerfunction
(Hidfx2EvtTimerfunction). i.e., they create a timer and queue the
IOCTL_HID_READ_REPORT request and then complete this request in timer
function. Here they didnt use isr. But I am using isr, and I want to
complete this request in dpc. If I do this, whether
IOCTL_HID_READ_REPORT is called by HIDCLASS driver when I didnt
receive interrupt? (i.e, If I didnt get interrupt, the
IOCTL_HID_READ_REPORT request is not completed, so next time this
ioctl is not called). Am right? or Any suggestions?
Regards - D.
r***@gmail.com
2012-07-14 00:13:42 UTC
Permalink
Raw Message
t
Post by d***@gmail.com
In hidusbfx2 sample driver, they used Timerfunction
(Hidfx2EvtTimerfunction). i.e., they create a timer and queue the
IOCTL_HID_READ_REPORT request and then complete this request in timer
function. Here they didnt use isr. But I am using isr, and I want to
complete this request in dpc. If I do this, whether
IOCTL_HID_READ_REPORT is called by HIDCLASS driver when I didnt
receive interrupt? (i.e, If I didnt get interrupt, the
IOCTL_HID_READ_REPORT request is not completed, so next time this
ioctl is not called). Am right? or Any suggestions?
Regards - D.
Loading...