Re: Need some enlight for smartcard reader multiSlot

Hye guys,

I have some question regarding USB CCID Smart card (usbccid.sys)…
1 - Does it support for multislot or multinterfaces device eg:
biometric,sam,contact card?
2 - If posibble, do we need to create individual device driver for each
interface or slot?
3- Could it be simplified into one .sys only?

Appreciate for the any suggestion…Tq

Hi Md Daus,

1 _ No, the usbccid driver from microsoft don’t support multislot reader.
You’ll need to develop your own driver.
2_ I have developped a driver ( just one .sys file ) for reader contains 2 contact interface, 1 contactless interface and 2 SAM interface.
3 _ Yes :slight_smile:
For add biometric interface, I’m not sure, but maybe you need to develop another driver or interact with your bio sensor with some IOCTL diffectly with your smartcard. ( confirm by expert ).

Hope to help you,

Best regards,

Kamel

Usbccid is XP. This driver supports only one interface. On vista and later, there is a different driver which does support multi interface / slot devices. Not sure what you mean by question 2 or 3. For vista and later, it can be multislot and enumerate as one device.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
Sent: Thursday, January 26, 2012 2:56 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Hye guys,

I have some question regarding USB CCID Smart card (usbccid.sys)…
1 - Does it support for multislot or multinterfaces device eg: biometric,sam,contact card?
2 - If posibble, do we need to create individual device driver for each interface or slot?
3- Could it be simplified into one .sys only?

Appreciate for the any suggestion…Tq
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Kamel,

Thanks for the input.:slight_smile:

Doron,
Currently i’m using usbccid in win7, and its workable. If USBCCID for xp,
what else for vista and later , could you give some enlightement?

For vista and later, it can be multislot and enumerate as one device
Any references?

On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan
wrote:
>
> Usbccid is XP. This driver supports only one interface. On vista and
later, there is a different driver which does support multi interface /
slot devices. Not sure what you mean by question 2 or 3. For vista and
later, it can be multislot and enumerate as one device.
>
>
>
> d
>
>
>
> From: xxxxx@lists.osr.com [mailto:
xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
> Sent: Thursday, January 26, 2012 2:56 AM
>
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
>
>
> Hye guys,
>
>
>
> I have some question regarding USB CCID Smart card (usbccid.sys)…
>
> 1 - Does it support for multislot or multinterfaces device eg:
biometric,sam,contact card?
>
> 2 - If posibble, do we need to create individual device driver for each
interface or slot?
>
> 3- Could it be simplified into one .sys only?
>
>
> Appreciate for the any suggestion…Tq
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the
List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

By USBCCID are you referring to the spec or driver name?

d

debt from my phone


From: Firdaus Abu Bakar
Sent: 1/26/2012 5:04 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Kamel,

Thanks for the input.:slight_smile:

Doron,
Currently i’m using usbccid in win7, and its workable. If USBCCID for xp, what else for vista and later , could you give some enlightement?

For vista and later, it can be multislot and enumerate as one device
Any references?

On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan > wrote:
>
> Usbccid is XP. This driver supports only one interface. On vista and later, there is a different driver which does support multi interface / slot devices. Not sure what you mean by question 2 or 3. For vista and later, it can be multislot and enumerate as one device.
>
>
>
> d
>
>
>
> From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Firdaus Abu Bakar
> Sent: Thursday, January 26, 2012 2:56 AM
>
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
>
>
> Hye guys,
>
>
>
> I have some question regarding USB CCID Smart card (usbccid.sys)…
>
> 1 - Does it support for multislot or multinterfaces device eg: biometric,sam,contact card?
>
> 2 - If posibble, do we need to create individual device driver for each interface or slot?
>
> 3- Could it be simplified into one .sys only?
>
>
> Appreciate for the any suggestion…Tq
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>

hye kamel,

Your reply on question 2, you said, u have developed your own
driver…meaning you are not totaly using the usbccid from microsoft, am i
right?

On Fri, Jan 27, 2012 at 9:04 AM, Firdaus Abu Bakar wrote:

> Kamel,
>
> Thanks for the input.:slight_smile:
>
> Doron,
> Currently i’m using usbccid in win7, and its workable. If USBCCID for xp,
> what else for vista and later , could you give some enlightement?
>
> For vista and later, it can be multislot and enumerate as one device
> Any references?
>
>
>
> On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan
> wrote:
> >
> > Usbccid is XP. This driver supports only one interface. On vista and
> later, there is a different driver which does support multi interface /
> slot devices. Not sure what you mean by question 2 or 3. For vista and
> later, it can be multislot and enumerate as one device.
> >
> >
> >
> > d
> >
> >
> >
> > From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
> > Sent: Thursday, January 26, 2012 2:56 AM
> >
> >
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
> >
> >
> >
> > Hye guys,
> >
> >
> >
> > I have some question regarding USB CCID Smart card (usbccid.sys)…
> >
> > 1 - Does it support for multislot or multinterfaces device eg:
> biometric,sam,contact card?
> >
> > 2 - If posibble, do we need to create individual device driver for each
> interface or slot?
> >
> > 3- Could it be simplified into one .sys only?
> >
> >
> > Appreciate for the any suggestion…Tq
> >
> > — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
> visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
> >
> >
> > —
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other seminars visit:
> > http://www.osr.com/seminars
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>

hye doron,

USBCCID refer to name usbccid.sys

On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan wrote:

> By USBCCID are you referring to the spec or driver name?
>
> d
>
> debt from my phone
> ------------------------------
> From: Firdaus Abu Bakar
> Sent: 1/26/2012 5:04 PM
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
> Kamel,
>
> Thanks for the input.:slight_smile:
>
> Doron,
> Currently i’m using usbccid in win7, and its workable. If USBCCID for xp,
> what else for vista and later , could you give some enlightement?
>
> For vista and later, it can be multislot and enumerate as one device
> Any references?
>
>
> On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan
> wrote:
> >
> > Usbccid is XP. This driver supports only one interface. On vista and
> later, there is a different driver which does support multi interface /
> slot devices. Not sure what you mean by question 2 or 3. For vista and
> later, it can be multislot and enumerate as one device.
> >
> >
> >
> > d
> >
> >
> >
> > From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
> > Sent: Thursday, January 26, 2012 2:56 AM
> >
> >
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
> >
> >
> >
> > Hye guys,
> >
> >
> >
> > I have some question regarding USB CCID Smart card (usbccid.sys)…
> >
> > 1 - Does it support for multislot or multinterfaces device eg:
> biometric,sam,contact card?
> >
> > 2 - If posibble, do we need to create individual device driver for each
> interface or slot?
> >
> > 3- Could it be simplified into one .sys only?
> >
> >
> > Appreciate for the any suggestion…Tq
> >
> > — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
> visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
> >
> >
> > —
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other seminars visit:
> > http://www.osr.com/seminars
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Are you redistributing the sys file in your driver package or are you letting the device make a compatible id match against the os inf?

d

debt from my phone


From: Firdaus Abu Bakar
Sent: 1/26/2012 5:41 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

hye doron,

USBCCID refer to name usbccid.sys

On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan > wrote:
By USBCCID are you referring to the spec or driver name?

d

debt from my phone
________________________________
From: Firdaus Abu Bakar
Sent: 1/26/2012 5:04 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Kamel,

Thanks for the input.:slight_smile:

Doron,
Currently i’m using usbccid in win7, and its workable. If USBCCID for xp, what else for vista and later , could you give some enlightement?

For vista and later, it can be multislot and enumerate as one device
Any references?

On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan > wrote:
>
> Usbccid is XP. This driver supports only one interface. On vista and later, there is a different driver which does support multi interface / slot devices. Not sure what you mean by question 2 or 3. For vista and later, it can be multislot and enumerate as one device.
>
>
>
> d
>
>
>
> From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Firdaus Abu Bakar
> Sent: Thursday, January 26, 2012 2:56 AM
>
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
>
>
> Hye guys,
>
>
>
> I have some question regarding USB CCID Smart card (usbccid.sys)…
>
> 1 - Does it support for multislot or multinterfaces device eg: biometric,sam,contact card?
>
> 2 - If posibble, do we need to create individual device driver for each interface or slot?
>
> 3- Could it be simplified into one .sys only?
>
>
> Appreciate for the any suggestion…Tq
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>

Hye doron,

Actually i don’t get what you mean coz i just handle this task…Let me
simplify. For the current cases, I’ve the device which compliant with
microsoft ccid. Once I plugging in the device manager shows it is
succesfully installed under smart card device tree namely Microsoft Usbccid
Smartcard Reader (WUDF). Then my clique asked me to update the driver to
make it function, the driver name Microsoft CCID driver (5.2.3790.2724)
(digitally signed). Then the device work as expected . FYI, the device only
support contact card function.

So, if i wanted to use the same ccid driver (CCID driver (5.2.3790.2724) to
support, let say the device have contactless, cantact, and sam features, is
that possible? FYI, my target OS is win7

On Fri, Jan 27, 2012 at 10:07 AM, Doron Holan wrote:

> Are you redistributing the sys file in your driver package or are you
> letting the device make a compatible id match against the os inf?
>
>
> d
>
> debt from my phone
> ------------------------------
> From: Firdaus Abu Bakar
> Sent: 1/26/2012 5:41 PM
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
> hye doron,
>
> USBCCID refer to name usbccid.sys
>
> On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan wrote:
>
>> By USBCCID are you referring to the spec or driver name?
>>
>> d
>>
>> debt from my phone
>> ------------------------------
>> From: Firdaus Abu Bakar
>> Sent: 1/26/2012 5:04 PM
>>
>> To: Windows System Software Devs Interest List
>> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>>
>> Kamel,
>>
>> Thanks for the input.:slight_smile:
>>
>> Doron,
>> Currently i’m using usbccid in win7, and its workable. If USBCCID for xp,
>> what else for vista and later , could you give some enlightement?
>>
>> For vista and later, it can be multislot and enumerate as one device
>> Any references?
>>
>>
>> On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan
>> wrote:
>> >
>> > Usbccid is XP. This driver supports only one interface. On vista and
>> later, there is a different driver which does support multi interface /
>> slot devices. Not sure what you mean by question 2 or 3. For vista and
>> later, it can be multislot and enumerate as one device.
>> >
>> >
>> >
>> > d
>> >
>> >
>> >
>> > From: xxxxx@lists.osr.com [mailto:
>> xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
>> > Sent: Thursday, January 26, 2012 2:56 AM
>> >
>> >
>> > To: Windows System Software Devs Interest List
>> > Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>> >
>> >
>> >
>> > Hye guys,
>> >
>> >
>> >
>> > I have some question regarding USB CCID Smart card (usbccid.sys)…
>> >
>> > 1 - Does it support for multislot or multinterfaces device eg:
>> biometric,sam,contact card?
>> >
>> > 2 - If posibble, do we need to create individual device driver for each
>> interface or slot?
>> >
>> > 3- Could it be simplified into one .sys only?
>> >
>> >
>> > Appreciate for the any suggestion…Tq
>> >
>> > — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
>> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
>> visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>> >
>> >
>> > —
>> > NTDEV is sponsored by OSR
>> >
>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>> > http://www.osr.com/seminars
>> >
>> > To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
>> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
>> visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

If you conform to the usb ccid spec in how you describe multiple slots, yea the driver you are using will expose those slots properly (you won’t see each slot in device manager though, rather the each slot will have its own device interface enabled).

d

debt from my phone


From: Firdaus Abu Bakar
Sent: 1/26/2012 6:57 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Hye doron,

Actually i don’t get what you mean coz i just handle this task…Let me simplify. For the current cases, I’ve the device which compliant with microsoft ccid. Once I plugging in the device manager shows it is succesfully installed under smart card device tree namely Microsoft Usbccid Smartcard Reader (WUDF). Then my clique asked me to update the driver to make it function, the driver name Microsoft CCID driver (5.2.3790.2724) (digitally signed). Then the device work as expected . FYI, the device only support contact card function.

So, if i wanted to use the same ccid driver (CCID driver (5.2.3790.2724) to support, let say the device have contactless, cantact, and sam features, is that possible? FYI, my target OS is win7

On Fri, Jan 27, 2012 at 10:07 AM, Doron Holan > wrote:
Are you redistributing the sys file in your driver package or are you letting the device make a compatible id match against the os inf?

d

debt from my phone

From: Firdaus Abu Bakar
Sent: 1/26/2012 5:41 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

hye doron,

USBCCID refer to name usbccid.sys

On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan > wrote:
By USBCCID are you referring to the spec or driver name?

d

debt from my phone

From: Firdaus Abu Bakar
Sent: 1/26/2012 5:04 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Kamel,

Thanks for the input.:slight_smile:

Doron,
Currently i’m using usbccid in win7, and its workable. If USBCCID for xp, what else for vista and later , could you give some enlightement?

For vista and later, it can be multislot and enumerate as one device
Any references?

On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan > wrote:
>
> Usbccid is XP. This driver supports only one interface. On vista and later, there is a different driver which does support multi interface / slot devices. Not sure what you mean by question 2 or 3. For vista and later, it can be multislot and enumerate as one device.
>
>
>
> d
>
>
>
> From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Firdaus Abu Bakar
> Sent: Thursday, January 26, 2012 2:56 AM
>
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
>
>
> Hye guys,
>
>
>
> I have some question regarding USB CCID Smart card (usbccid.sys)…
>
> 1 - Does it support for multislot or multinterfaces device eg: biometric,sam,contact card?
>
> 2 - If posibble, do we need to create individual device driver for each interface or slot?
>
> 3- Could it be simplified into one .sys only?
>
>
> Appreciate for the any suggestion…Tq
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>

Doron,

That mean Microsoft usbccid class driver already support for
mutiinterface/slot reader…So, the development mostly focus on the
firmware side to conform the usb ccid…Am i right?

On Fri, Jan 27, 2012 at 11:15 AM, Doron Holan wrote:

> If you conform to the usb ccid spec in how you describe multiple slots,
> yea the driver you are using will expose those slots properly (you won’t
> see each slot in device manager though, rather the each slot will have its
> own device interface enabled).
>
>
> d
>
> debt from my phone
> ------------------------------
> From: Firdaus Abu Bakar
> Sent: 1/26/2012 6:57 PM
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
> Hye doron,
>
> Actually i don’t get what you mean coz i just handle this task…Let me
> simplify. For the current cases, I’ve the device which compliant with
> microsoft ccid. Once I plugging in the device manager shows it is
> succesfully installed under smart card device tree namely Microsoft Usbccid
> Smartcard Reader (WUDF). Then my clique asked me to update the driver to
> make it function, the driver name Microsoft CCID driver (5.2.3790.2724)
> (digitally signed). Then the device work as expected . FYI, the device only
> support contact card function.
>
> So, if i wanted to use the same ccid driver (CCID driver
> (5.2.3790.2724) to support, let say the device have contactless, cantact,
> and sam features, is that possible? FYI, my target OS is win7
>
>
>
>
>
> On Fri, Jan 27, 2012 at 10:07 AM, Doron Holan wrote:
>
>> Are you redistributing the sys file in your driver package or are you
>> letting the device make a compatible id match against the os inf?
>>
>>
>> d
>>
>> debt from my phone
>> ------------------------------
>> From: Firdaus Abu Bakar
>> Sent: 1/26/2012 5:41 PM
>>
>> To: Windows System Software Devs Interest List
>> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>>
>> hye doron,
>>
>> USBCCID refer to name usbccid.sys
>>
>> On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan wrote:
>>
>>> By USBCCID are you referring to the spec or driver name?
>>>
>>> d
>>>
>>> debt from my phone
>>> ------------------------------
>>> From: Firdaus Abu Bakar
>>> Sent: 1/26/2012 5:04 PM
>>>
>>> To: Windows System Software Devs Interest List
>>> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>>>
>>> Kamel,
>>>
>>> Thanks for the input.:slight_smile:
>>>
>>> Doron,
>>> Currently i’m using usbccid in win7, and its workable. If USBCCID for
>>> xp, what else for vista and later , could you give some enlightement?
>>>
>>> For vista and later, it can be multislot and enumerate as one device
>>> Any references?
>>>
>>>
>>> On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan
>>> wrote:
>>> >
>>> > Usbccid is XP. This driver supports only one interface. On vista and
>>> later, there is a different driver which does support multi interface /
>>> slot devices. Not sure what you mean by question 2 or 3. For vista and
>>> later, it can be multislot and enumerate as one device.
>>> >
>>> >
>>> >
>>> > d
>>> >
>>> >
>>> >
>>> > From: xxxxx@lists.osr.com [mailto:
>>> xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
>>> > Sent: Thursday, January 26, 2012 2:56 AM
>>> >
>>> >
>>> > To: Windows System Software Devs Interest List
>>> > Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>>> >
>>> >
>>> >
>>> > Hye guys,
>>> >
>>> >
>>> >
>>> > I have some question regarding USB CCID Smart card (usbccid.sys)…
>>> >
>>> > 1 - Does it support for multislot or multinterfaces device eg:
>>> biometric,sam,contact card?
>>> >
>>> > 2 - If posibble, do we need to create individual device driver for
>>> each interface or slot?
>>> >
>>> > 3- Could it be simplified into one .sys only?
>>> >
>>> >
>>> > Appreciate for the any suggestion…Tq
>>> >
>>> > — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
>>> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
>>> visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>> >
>>> >
>>> > —
>>> > NTDEV is sponsored by OSR
>>> >
>>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>>> > http://www.osr.com/seminars
>>> >
>>> > To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
>>> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
>>> visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
>> and other seminars visit: http://www.osr.com/seminars To unsubscribe,
>> visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Correct, the driver should be good to go. You need to make your device report multi slot and handle it appropriate in your firmware

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Firdaus Abu Bakar
Sent: Thursday, January 26, 2012 11:57 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot

Doron,

That mean Microsoft usbccid class driver already support for mutiinterface/slot reader…So, the development mostly focus on the firmware side to conform the usb ccid…Am i right?
On Fri, Jan 27, 2012 at 11:15 AM, Doron Holan > wrote:
If you conform to the usb ccid spec in how you describe multiple slots, yea the driver you are using will expose those slots properly (you won’t see each slot in device manager though, rather the each slot will have its own device interface enabled).

d

debt from my phone

From: Firdaus Abu Bakar
Sent: 1/26/2012 6:57 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
Hye doron,

Actually i don’t get what you mean coz i just handle this task…Let me simplify. For the current cases, I’ve the device which compliant with microsoft ccid. Once I plugging in the device manager shows it is succesfully installed under smart card device tree namely Microsoft Usbccid Smartcard Reader (WUDF). Then my clique asked me to update the driver to make it function, the driver name Microsoft CCID driver (5.2.3790.2724) (digitally signed). Then the device work as expected . FYI, the device only support contact card function.

So, if i wanted to use the same ccid driver (CCID driver (5.2.3790.2724) to support, let say the device have contactless, cantact, and sam features, is that possible? FYI, my target OS is win7

On Fri, Jan 27, 2012 at 10:07 AM, Doron Holan > wrote:
Are you redistributing the sys file in your driver package or are you letting the device make a compatible id match against the os inf?

d

debt from my phone

From: Firdaus Abu Bakar
Sent: 1/26/2012 5:41 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
hye doron,

USBCCID refer to name usbccid.sys
On Fri, Jan 27, 2012 at 9:12 AM, Doron Holan > wrote:
By USBCCID are you referring to the spec or driver name?

d

debt from my phone
________________________________
From: Firdaus Abu Bakar
Sent: 1/26/2012 5:04 PM

To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
Kamel,

Thanks for the input.:slight_smile:

Doron,
Currently i’m using usbccid in win7, and its workable. If USBCCID for xp, what else for vista and later , could you give some enlightement?
For vista and later, it can be multislot and enumerate as one device
Any references?

On Fri, Jan 27, 2012 at 2:18 AM, Doron Holan > wrote:
>
> Usbccid is XP. This driver supports only one interface. On vista and later, there is a different driver which does support multi interface / slot devices. Not sure what you mean by question 2 or 3. For vista and later, it can be multislot and enumerate as one device.
>
>
>
> d
>
>
>
> From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.commailto:xxxxx] On Behalf Of Firdaus Abu Bakar
> Sent: Thursday, January 26, 2012 2:56 AM
>
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Need some enlight for smartcard reader multiSlot
>
>
>
> Hye guys,
>
>
>
> I have some question regarding USB CCID Smart card (usbccid.sys)…
>
> 1 - Does it support for multislot or multinterfaces device eg: biometric,sam,contact card?
>
> 2 - If posibble, do we need to create individual device driver for each interface or slot?
>
> 3- Could it be simplified into one .sys only?
>
>
> Appreciate for the any suggestion…Tq
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>

Dear Md Daus,

No the usbccid driver DOES NOT support MULTISLOT reader.
CCID is just a frame format for adapt smartExchange in USBbluk ( 0x62, 0,…,0 for powerOn ).
During my development, I have used multi device interface for each slot.
If you create one device interface per slot smartcard, If you install my driver, in the device manager you found just on device. but If you execute the function from winscard “listreader” you’ll see all slot interface.

The usbccid driver just handle one interface ( usb descriptor index 0 for slot 0 ).

The problem Doron is for call other interface, with Windows for use other slot smartcard ( devInterface1, 2, 3 … ) you need to create a handle in your smartcard application for process it.
With usbccid from microsoft it’s impossible, just the deviceInterface0 is enabled.

Hope I help you Md Daus,

Best regards,

Kamel

Hi Kamel,

Excuse my curiosity but why do you have to make multiple interfaces to work with multiple slot? Can you just make use the “bslot” field inside a pipe message to notify the firmware on which slot is the operation belongs to?

From what I can understand from the discussion above, CCID driver only detect a reader with only one slot. Even so, if the reader supports multiple slots, we can do operations on the desired slot with regards that the firmware can handle the “bslot” field.

To further complicate things, these are the quotes I got from the net;

“In Microsoft CCID mode (default firmware mode), only one slot (slot 0) is supported” from http://pdfserv.maxim-ic.com/en/an/AN4879.pdf

“If the reader has multiple slots, only slot 0 will be used. Devices that wish to expose multiple readers may develop a composite device (a CCID-compliant interface would then be required for each reader).” form http://msdn.microsoft.com/en-us/windows/hardware/gg487509

A couple of clarifications. Interface here means device interface that you open against the device, not the usb concept of interface. Also, the article you link to is for the usbccid driver which is pre Vista. For vista and later, the umdf ccid driver supports multiple slots natively with one usb interface without having to go with the usb composite device route that is mentioned in the link

d

debt from my phone


From: xxxxx@gmail.com
Sent: 2/2/2012 7:48 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Re: Need some enlight for smartcard reader multiSlot

Hi Kamel,

Excuse my curiosity but why do you have to make multiple interfaces to work with multiple slot? Can you just make use the “bslot” field inside a pipe message to notify the firmware on which slot is the operation belongs to?

From what I can understand from the discussion above, CCID driver only detect a reader with only one slot. Even so, if the reader supports multiple slots, we can do operations on the desired slot with regards that the firmware can handle the “bslot” field.

To further complicate things, these are the quotes I got from the net;

“In Microsoft CCID mode (default firmware mode), only one slot (slot 0) is supported” from http://pdfserv.maxim-ic.com/en/an/AN4879.pdf

“If the reader has multiple slots, only slot 0 will be used. Devices that wish to expose multiple readers may develop a composite device (a CCID-compliant interface would then be required for each reader).” form http://msdn.microsoft.com/en-us/windows/hardware/gg487509


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thanks Doron, you’re very helpful.