Closed feklee closed 4 years ago
I forgot the output of lsusb
(BusyBox, no -v
option) with the reader connected:
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 04e6:e003
Bus 002 Device 001: ID 1d6b:0003
Without the reader connected, the output is empty.
Concerning how I got the reader to work with GnuPG in the past, see my gist: GnuPG on Termux for accessing USB smart card reader
Strange. I don't see any log from the CCID driver in your pcscd trace.
Also you have configdir=/data/data/com.termux/files/usr/etc/reader.conf.d
but your log contains:
00000392 configfile.l:360:DBGetReaderList() Parsing conf file: /etc/reader.conf.d
It's definitely the same pcscd
. I just generated the log again using the full path for the executable.
I'm lost here. Maybe I should try compiling pcscd
from source.
Maybe. I can't support binaries provided by others.
You can also ask for help on the MUSCLE mailing list https://lists.infradead.org/mailman/listinfo/pcsclite-muscle
In the past, i.e. about a year ago and with an older phone and Android version, the reader worked fine with GnuPG. Now I cannot get it to work, even on the old phone. Possibly with Android Pie something has changed.
Versions
libccid 1.4.31 (Termux package)
pcscd 1.8.25 (Termux root package)
"$PREFIX/bin/pcscd" --version
:pcsc_scan
: compiled from source packagepcsc-tools-1.5.4.tar.bz2
Platform
Operating system or GNU/Linux distribution name and version:
uname -a
:Linux localhost 4.9.106-perf+ #1 SMP PREEMPT Thu Aug 1 20:20:25 CST 2019 aarch64 Android
OxygenOS version: 9.0.16
Build number: ONEPLUS A6010_41_190801
Hardware details: OnePlus 6T
Smart card middleware name and version: ?
Smart card reader manufacturer name and reader model name: SCM SPR332 v2
Smart card name: OpenPGP SmartCard V2.1
Log
Output of
pcsc_scan
:Output of
tsudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color
: log.txt