On Sun, 27 Jul 2003, Damien Sauveron wrote:
> Hi Oon,
>
> > I have problem with USB Smart Card Reader,
> > I've installed slb_rfUSB-drv-0.9.0.tar.gz and pcsc-lite-1.1.1,
> > but I don't know what's the CHANNELID in /etc/reader.conf and
> > what should I change the Info.plist?
> The USB smart card reader don't need to be declared in the /etc/reader.conf.
> The hotplug mechanism and pcscd give it a CHANNELID. (The first will be 0x200001)
> Change nothing in the Info.plist.
> Delete the entry for your reader in /etc/reader.conf.
> Use the last version of PC/SC Lite [1].
> Start pcscd : pcscd -f -d stderr
> and now plug your reader, and unplug it. I hope it will work.
>
> Oops!
> It seems also that the ifdProductID (0x2004) in your Info.plist is not the same as
> for your lsusb where idProduct is 0x200a.
> Maybe you will need to modify this in the Info.plist.
>
Hi Damien Sauveron,
I've installed pcsc-lite-1.1.2beta5.tar.gz,
I've comment all line in /etc/reader.conf,
I've changed my ifdProductID to 0x200a.
if I run `pcscd -f -d stderr` and plug then unplug my reader:
=====
[EMAIL PROTECTED] smartcard]# pcscd -f -d stderr
pcscdaemon.c:256 main: pcscd set to foreground
pcscdaemon.c:265 main: debug messages to stderr
pcscdaemon.c:473 main: pcsc-lite daemon ready.
readerfactory.c:1319 RFInitializeReader: Attempting startup of ReflexUSB 0
0.
readerfactory.c:1061 RFBindFunctions: Loading IFD Handler 2.0
readerfactory.c:1356 RFInitializeReader: Open Port 200001 Failed
readerfactory.c:1191 RFUnloadReader: Unloading reader driver.
readerfactory.c:220 RFAddReader: ReflexUSB init failed.
<<<<<after I pressed Ctrl-C>>>>>
pcscdaemon.c:530 Preparing for suicide
winscard_msg.c:248 SHMProcessEvents: Select returns with failure:
Interrupted system call
pcscdaemon.c:184 SVCServiceRun: Error in SHMProcessEvents
readerfactory.c:1611 RFCleanupReaders: entering cleaning function
pcscdaemon.c:496 at_exit: cleaning /var/run/pcscd
[EMAIL PROTECTED] smartcard]#
=====
if I run `pcscd -f -d stderr` and run `./pscsdtest` :
=====
<<<<<on ./testpcsc console>>>>>
[EMAIL PROTECTED] src]# ./testpcsc
MUSCLE PC/SC Lite Test Program
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
<<<<<it's hang up in this state>>>>>
<<<<<on pcscd -f -d stderr console>>>>>
[EMAIL PROTECTED] smartcard]# pcscd -f -d stderr
pcscdaemon.c:256 main: pcscd set to foreground
pcscdaemon.c:265 main: debug messages to stderr
pcscdaemon.c:473 main: pcsc-lite daemon ready.
readerfactory.c:1319 RFInitializeReader: Attempting startup of ReflexUSB 0
0.
readerfactory.c:1061 RFBindFunctions: Loading IFD Handler 2.0
readerfactory.c:1356 RFInitializeReader: Open Port 200001 Failed
readerfactory.c:1191 RFUnloadReader: Unloading reader driver.
readerfactory.c:220 RFAddReader: ReflexUSB init failed.
winscard_msg.c:263 SHMProcessEvents: Common channel packet arrival
winscard.c:81 SCardEstablishContext: Establishing Context: 16982531
<<<<<it's hang up in this state>>>>>
=====
so, why the pcscd failed to open port 200001?
and, then what should I do?
> > if I want to use 2 smartcard reader (in same model with this),
> > what should i do then?
> If you plug 2 readers, they will have 2 differents ChannelID.
> I have plug more than 10 USB readers without problems (when the driver of the reader
> is compliant for supporting more than one reader)
I think, I must concentrate on my first Reflex USB Reader :)
I think I will use 2 smartcard reader after success on
my first Reflex USB Reader :)
TIA,
./oon
//iv6.net
=====
>>>>> this is my `lsusb`:
Bus 001 Device 017: ID 04e6:200a Shuttle Technology Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x04e6 Shuttle Technology Inc.
idProduct 0x200a
bcdDevice 1.40
iManufacturer 1 SchlumbergerSema
iProduct 2 Reflex USB v.2 Smart Card Reader
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 4 Vendor Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 16
bInterval 32
Language IDs: (length=4)
0409 English(US)
=====
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle