Hi Borris,
Thank you very much for the Bugzilla pointer, I upgraded my hiddev driver
to the 2.4.30 version, and commented out the code as indicated in
Bug 1048, this has now fixed the problem.
Regards,
Clive

At 21:56 20/04/2005 -0400, Boris Shingarov wrote:

Clive,

I can't really be absolutely sure about this, but I think it
is the same situation as described in Bug 1048 in the Kernel
Bugzilla (http://bugzilla.kernel.org/show_bug.cgi?id=1048).
There are two lines in hidcore.c which specifically "cache"
the reported value and discard the report if the value is
the same as the previous one.  This bug has caused great
grief for us with our KTI and RBI "hard-token initializers"
(devices used to burn encryption keys into two-factor
authentication tokens).

The bug page in Bugzilla describes the two lines of code that
you need to remove from hidcore.h to fix it.  Also, I have
recently posted the patch to linux-usb-devel.

Please do let me know if what you see is in fact caused by
this "feature".

Boris

Clive Levinson wrote:

Hi,
I am trying to interface a magnetic card reader via hiddev on kernel 2.4.21.
After a bit of experimentation, I am now able to get reports when the card is
swiped. I use select to wait for valid data, before performing a read.
My problem is, that I don't receive notifications when the *same* card is swiped
a second time, obviously the report hasn't changed, as the data is the same,
but I need to know that a card has been swiped.
How can I either flush a report, so that I get I new report when the card is swiped,
or somehow receive notification. The hiddev.txt documentation mentions a
HIDDEV_FLAG_REPORT, that would seem to solve the problem, however this
does not actually exist in the hiddev driver source code.
Thanks,
Clive



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to