|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ludovic Rousseau (ludovic.rousseau
gmail.com)
Date: Mon Feb 01 2010 - 07:06:58 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/2/1 Max Vozeler <max.vozeler
lsexperts.de>:
> This patch adds a workaround for unusual behaviour of Broadcom
> BCM5880/5881 readers. They misreport an absent card as "Hardware
> Error" in GetSlotStatus.
>
> To work around it, we turn the HW_ERROR answer to GetSlotStatus
> into "No error, no card inserted".
>
> Since we need some way to look up the required quirk based on
> USB vendor/product ID, this patch adds some simple quirk lookup
> functions which can also be used for future quirks.
I don't like the quirks lookup functions idea.
In the code I detect bogus readers using:
if (SPR532 == ccid_descriptor->readerID)
Bye
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]