Pin-pad on SPR332 smartcard reader does not work under OSX

Niobos niobos at
Mon Feb 9 16:25:39 CET 2015

On 2015-02-09 15:33, NIIBE Yutaka wrote:
> On 02/09/2015 11:07 PM, Niobos wrote:
>> How should I do that? Here is what I've found so far:
>> % /usr/sbin/pcscd -v
>> PCSC Framework version 1.4.0.
>> Copyright (C) 1999-2002 by David Corcoran <corcoran at>.
>> Copyright (C) 2001-2005 by Ludovic Rousseau <ludovic.rousseau at>.
>> Copyright (C) 2003-2004 by Damien Sauveron <sauveron at>.
>> Portions Copyright (C) 2000-2007 by Apple Inc.
>> Report bugs to <sclinux at>.
> Thanks for the information.
> In case of GNU/Linux, we have header files for PC/SC.  In those files,
> we have definitions like:
> In gnupg/scd/apdu.c, we use that value (the reason not to include the
> file is avoiding build dependency).
> IIUC, the value would be different in OS X's PCSC Framework, or it's
> not supported.

I have searched my system for reader.h, but didn't find that file. Next,
I grepped through the better part of my filesystem (/usr, /System,
/Library) for GET_FEATURE_REQUEST, and also came up empty.

I have found a website [1] which might mean more to you that it does to
me. From what I understand, OSX uses the same constants that GNU/Linux:

> #define SCARD_CTL_CODE(code) (0x42000000 + (code))

How can I debug this further?



More information about the Gnupg-users mailing list