OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Pavel Hrdina (paulCOMPELSON.COM)
Date: Fri Jun 07 2002 - 09:21:25 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Regarding Non-PnP Reader:
    ----------------------------------------
    Non-Plug and Play IFD Handler must be registered through
    SmartcardCreateLink(). It creates either symbolic link (for WDM)
    or registry value under some key (for VXD). The Resource Manager
    then scans those symbolic links (or registry values) to find all
    available readers when it starts.
    However there is no correct way to "disconnect" the reader - i.e.
    tell the SCRM to close your device, delete the symbolic link and
    possibly unload the driver. This is possible only when using PnP
    and moreover on W2K and XP (they have "intelligent" SCRM).

    Regarding selection of the port:
    ---------------------------------------------
    There are several ways of how to do it. One may be your self-detection,
    if it is possible (for example if to check if your reeader is present
    doesn't take more than some short time, for example 1 second),
    on all available ports when the driver starts.
    Another way is to configure your driver through registry or through
    communication with some user mode program (CPL), however
    I think that this should be used only when there is no automatic way.

    Paul

    -----Original Message-----
    From: SmartCardDDK [mailto:SmartCardDDKDISCUSS.MICROSOFT.COM]On Behalf Of
    Stéphane Czeck
    Sent: Tuesday, May 28, 2002 4:03 PM
    To: SmartCardDDKDISCUSS.MICROSOFT.COM
    Subject: A totally basic but necessary for me question

    Hi everyone.

    I've developped a vdx driver for my serial port smartcard reader in order
    to integrate it in a PC/SC architecture (it is based on the sample for the
    Bull tlp3 that came with the DDK).

    The reader is not plug n play. The driver seems to be correctly installed
    on my computer (at least that's what the device manager tells me).

    Now, how do I declare it to the resource manager? And knowing that the
    reader is NOT plug n play, how do I specify the serial port on which the
    reader is plugged?

    Many thanks for advance.

    Stéphane
    ------------------------------------------
    MICROPROSS
    33, rue Gantois
    59000 LILLE
    FRANCE

    Tel: +33 (0) 320 74 66 30
    Fax: +33 (0) 320 74 66 37
    http://www.micropross.com
    -----------------------------------------