[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CIE ( di nuovo) su bullseye



Il 12/04/21 10:13, Filippo Dal Bosco - ha scritto:
> Il giorno Sun, 11 Apr 2021 20:32:46 +0200
> Davide Prina <davide.prina@gmail.com> ha scritto:
> 
> 
> 
>> pcscd
>> pcsc-tools
>>
>> il -lite sarà qualcosa di più leggero...
> 
> allora:
> 
> in un vecchio pc con win10 ho installato in 3 minuti e funziona
> perfettamente. Quindi non è un problema hardware del reader o della
> CIE.
> 
> In bullseye ho disinstallato tutto
> 
> Ho installato  pcscd pcsc-tools e poi i driver del reader.
> ma non la CIE. 
> 
> Ho rilanciato il service
> 
>  /etc/init.d/pcscd restart
> 
> ecco il risultato di pcsc-scan 
> 
> come utente
> ~$ pcsc_scan
> SCardEstablishContext: RPC transport error.
> 
> come root
> ~# pcsc_scan
> SCardEstablishContext: Service not available.
> 
> ho spento e riacceso
> 
> con pcsc_Scan  stesso identico risultato
> 

Ribadisco che nel mio pc fisso il lettore va.
La CIE viene letta dal middleware (sia con la versione 1.2.1 che la
1.3.1). E questo è un dato di fatto che può far ben sperare anche gli
altri possessori.

Ho fatto una prova con il mio portatile con KUbuntu 20.04.2 sul quale
avevo già installato il middleware.
Collegato il lettore: qui non viene visto da pcsc_scan e quindi dal
middleware.

Mi sono andato a ricercare i pacchetti installati l'anno scorso sul fisso:

opensc-pksc11
libpcsc*
libacsccid1
opensc
gnupg-pkcs11-scd
libpkcs11-helper1
libnfc*
--> in debian c'è libnfc6 (1.8.0), in kubuntu è ferma alla 5 (1.7.1)
libusbjava*
vsmartcard-vpcd (solo in debian)
vsmartcard-vpicc (solo in debian)

Non mi ricordo di aver "dovuto" scaricare i driver del produttore, che
trovo a questa pagina:
> https://www.acs.com.hk/en/driver/3/acr122u-usb-nfc-reader/

ho scaricato:
>
https://www.acs.com.hk/download-driver-unified/11929/ACS-Unified-PKG-Lnx-118-P.zip
all'interno c'è il deb del produttore:
>
ACS-Unified-PKG-Lnx-118-P/ubuntu/eoan/libacsccid1_1.1.8-1~ubuntu19.10.1_amd64.deb
che ho installato.

e
>
https://www.acs.com.hk/download-driver-unified/5127/ACS-Unified-LIB-CTAPI-Lnx-Mac-101-P.zip

all'interno c'è
>
ACS-Unified-LIB-CTAPI-Lnx-Mac-101-P/ACS-Unified-LIB-CTAPI-Lnx-101-P/ReadMe.txt


che ripropongo:
> ACS CT-API Linux Library
> Advanced Card Systems Ltd.
> 
> 
> 
> Introduction
> ------------
> 
> This library provides CT-API functions for communicating with ACS smart card
> readers on Linux.
> 
> 
> 
> Release Notes
> -------------
> 
> Version:      1.0.1
> Release Date: 23/1/2017
> 
> System Requirements
> 
> - glibc 2.3 or above
> 
> Supported Readers
> 
> - ACS smart card readers
> 
> Supported CT-BCS Commands
> 
> - RESET
> - RESET CT
> - REQUEST ICC
> - GET STATUS
> - DEACTIVATE ICC
> - EJECT ICC
> 
> 
> 
> Installation
> ------------
> 
> 1. Login as root.
> 
> # su
> 
> 2. Extract files.
> 
> # tar -jxvf ctacs_linux_bin-x.y.z.tar.bz2
> # cd ctacs_linux_bin-x.y.z
> 
> 3. Enter the following command to install the library files.
> 
> # ./install.sh
> 
> 4. Enter the following command to uninstall the library files.
> 
> # ./uninstall.sh
> 
> 5. Create a INI file "ctacs.ini" in the working directory with your application.
> 
> 6. Edit the INI file. To define a card terminal, you need to add a entry with
>    PC/SC reader name.
> 
> ; Sample ctacs.ini (Linux/Mac OS X)
> 
> [CardTerminal]
> CTN1=ACR38U-CCID
> CTN2=ACR128U
> 
> [ACR38U-CCID]
> ICC1=ACS ACR38U-CCID 00 00
> 
> [ACR128U]
> ICC1=ACS ACR128U 00 00
> ICC2=ACS ACR128U 00 01
> ICC3=ACS ACR128U 00 02
> 
> 
> 
> History
> -------
> 
> v1.0.1 (23/1/2017)
> - Based on v1.0.1.1 (Windows).
> 
> v1.0.0 (12/9/2011)
> - New release.
> - Based on v1.0.0.1 (Windows).
> 
> 
> 
> File Contents
> -------------
> 
> API Documentation:   ctacs.chm
> Header Files:        include
> Library Files (x86): lib\i386
> Library Files (x64): lib\x86_64
> 
> 
> 
> Support
> -------
> 
> In case of problem, please contact ACS through:
> 
> Web Site: http://www.acs.com.hk/
> E-mail: info@acs.com.hk
> Tel: +852 2796 7873
> Fax: +852 2796 1286
> 
> 
> 
> -------------------------------------------------------------------------------
> Copyright (C) 2011-2017 Advanced Card Systems Ltd. All Rights Reserved.
> 
> Copyright
> Copyright by Advanced Card Systems Ltd. (ACS) No part of this reference manual
> may be reproduced or transmitted in any from without the expressed, written
> permission of ACS.
> 
> Notice
> Due to rapid change in technology, some of specifications mentioned in this
> publication are subject to change without notice. Information furnished is
> believed to be accurate and reliable. ACS assumes no responsibility for any
> errors or omissions, which may appear in this document.

Comunque, su Kubuntu il reader non viene ancora visto da pcsc_scan...

Continuo a fare delle prove: ho intenzione di installare una debian
bullseye e partire da lì...

Se avete altre idee, buttatele pure.
Sono convinto (ma senza alcuna motivazione giustificabile) che è solo
una questione di pacchetti da installare...
Sarebbe utile se -con la collaborazione di tutti - riuscissimo a trovare
"il bandolo della matassa".


Reply to: