Eric Piel <[EMAIL PROTECTED]> writes:

> Hi, from your product info, at least the driver should load, as it
> only compares those three strings.
>
> Do you have the module loaded? If not, what is the error displayed,
> otherwise, what makes you think that it's not working?

Yes, I carefully examined the lsmod output and found it loaded:

ozscrlx                23208  1 
pcmcia                 40380  1 ozscrlx
pcmcia_core            43924  4 ozscrlx,pcmcia,yenta_socket,rsrc_nonstatic

And lspcmcia -vv shows that the driver can be recognized by yenta:

Socket 1 Device 0:      [ozscrlx_cs]            (bus ID: 1.0)
        Configuration:  state: on
        Product Name:   O2Micro SmartCardBus Reader V1.0 
        Identification: manf_id: 0xffff card_id: 0x0001
                        prod_id(1): "O2Micro" (0x97299583)
                        prod_id(2): "SmartCardBus Reader" (0xb8501ba9)
                        prod_id(3): "V1.0" (0xe611e659)
                        prod_id(4): --- (---)


The driver has created a device at /dev/ozscrlx, but pcscd is unable
to read it with this option:

FRIENDLYNAME "O2Micro SmartCard Reader"
DEVICENAME /dev/ozscrlx
LIBPATH /usr/lib/pcsc/drivers/serial/libccidtwin.so.1.0.1
CHANNELID  0x010100

I set CHANNELID to 0x010100 according to lsdev output:

pcmcia_socket1               0100-011f

But pcscd complains that:

readerfactory.c:1095:RFInitializeReader() Attempting startup of O2Micro 
SmartCard Reader 00 00.
readerfactory.c:967:RFBindFunctions() Loading IFD Handler 3.0
ifdhandler.c:1155:init_driver() LogLevel: 0x0003
ifdhandler.c:1165:init_driver() DriverOptions: 0x0004
ifdhandler.c:76:IFDHCreateChannelByName() lun: 0, device: /dev/ozscrlx
ccid_serial.c:677:OpenSerialByName() Get RS232 signals state failed: Invalid 
argument
ccid_serial.c:698:OpenSerialByName() tcflush() function error: Invalid argument
ccid_serial.c:703:OpenSerialByName() tcgetattr() function error: Invalid 
argument
ifdhandler.c:94:IFDHCreateChannelByName() failed
readerfactory.c:1130:RFInitializeReader() Open Port 10100 Failed (/dev/ozscrlx)
readerfactory.c:1012:RFUnloadReader() Unloading reader driver.
readerfactory.c:251:RFAddReader() O2Micro SmartCard Reader init failed.

>
> See you,
> Eric
>


-- 
临江仙

梦后楼台高锁 酒醒帘幕低垂 去年春恨却来时
落花人独立 微雨燕双飞

记得小苹初见 两重心字罗衣 琵琶弦上说相思
当时明月在 曾照彩云归

Attachment: pgpfNXxBqCaEv.pgp
Description: PGP signature

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to