OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: David Corcoran (corcoranlinuxnet.com)
Date: Sat Feb 23 2002 - 19:38:13 CST

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

    Date: Sun, 24 Feb 2002 01:32:05 +0100
    From: Camus Moire <cmafm-koeln.de>
    To: sclinuxlinuxnet.com
    Subject: towitoko dont wants to work !

    Hello,

    i just wanted to play a little bit
    with smartcards, but it even don't wants
    to work.

    hardware: Intel SMP box with HIGHMEM, 2.4.16
    reader: towitoko reader on usb

    my logs: starting pcsc daemon

    pcscd: readerfactory.c 1054: RFInitializeReader: Attempting startup of Towitoko Chipdrive Micro 0 0.
    pcscd: readerfactory.c 829: RFBindFunctions: Loading IFD Handler 2.0
    pcscd: pcscdaemon.c 202: main: PC/SC Lite Daemon Ready.
    pcscd: readerfactory.c 1054: RFInitializeReader: Attempting startup of Towitoko Chipdrive USB 0 0.
    pcscd: readerfactory.c 829: RFBindFunctions: Loading IFD Handler 2.0

    (two readers found ???) well, it is definitely only one USB reader.
    Using tester from towitokos-driver package this happens

    kernel: usb-uhci.c: interrupt, status 3, frame# 1891
    kernel: usb.c: USB disconnect on device 2
    kernel: usbserial.c: PL-2303 converter now disconnected from ttyUSB0
    kernel: hub.c: USB new device connect on bus1/1, assigned device number 3
    kernel: usbserial.c: PL-2303 converter detected
    kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)

    using test pam_smardcard module

    pcscd: winscard_msg.c 210: SHMProcessEvents: Common channel packet arrival.
    pcscd: winscard.c 66: SCardEstablishContext: Establishing Context: 17027775
    pcscd: winscard.c 130: SCardConnect: Attempting Connect to Towitoko Chipdrive Micro 0 pcscd: winscard.c 168: SCardConnect: Card Not Inserted
    pcscd: winscard.c 77: SCardReleaseContext: Releasing Context: 17027775

    my readers.conf

    # Towitoko Chipdrive Micro (COM1)
    FRIENDLYNAME "Towitoko Chipdrive Micro"
    DEVICENAME TOWITOKO_CHIPDRIVE_MICRO
    LIBPATH /usr/lib/libtowitoko.so.2.0.0
    CHANNELID 0x000001

    strange is, that the led at the reader
    is totally off. No blinking, nothing.

    how you see, my setup is located at /usr (--with-pcsc-lite-dir=/usr)
    by the way, pcsc-lite had some problem to find the drivers dir.
    Even compiled with prefix /usr. A symbolic link from
    /usr/local/pcsc/drivers > /usr/drivers resolved this (strange isn't it?)

    summa summarum - i hope this is not a hardware problem (USB Broken maybe)
    then more a early USB support behavior.

    Some advice would be great.

    Thanks ahead,

    Camus Moire

    ***************************************************************
    Unix Smart Card Developers - M.U.S.C.L.E.
    (Movement for the Use of Smart Cards in a Linux Environment)
    http://www.linuxnet.com/
    To unsubscribe send an email to majordomolinuxnet.com with
    unsubscribe sclinux
    ***************************************************************