[SOLVED] pcsc-lite not recognizing geneeric card reader slackware64-current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
pcsc-lite not recognizing geneeric card reader slackware64-current
I have a generic card reader 0bda:0169 that dmesg reports as follows:
[432899.949967] usb 3-3: new high-speed USB device number 85 using xhci_hcd
[432900.142072] usb 3-3: New USB device found, idVendor=0bda, idProduct=0169, bcdDevice=61.23
[432900.142086] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[432900.142092] usb 3-3: Product: USB2.0-CRW
[432900.142096] usb 3-3: Manufacturer: Generic
[432900.142100] usb 3-3: SerialNumber: 20070818000000000
[432900.146719] usb-storage 3-3:1.1: USB Mass Storage device detected
[432900.147106] scsi host7: usb-storage 3-3:1.1
[432901.178089] scsi 7:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
[432901.191897] sd 7:0:0:0: [sdc] Attached SCSI removable disk
when I start pcscd I get:
Starting PC/SC-lite smart card daemon...
Then when I run pcsc_scan:
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.9.5
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...
I'm at a loss as to what else I need to do so that I can get pcsc_scan to recognize the reader. All the searching and reading in the world hasn't helped. I'm running out of hair to pull so I could really use help here.
This is way out of my league, but a couple of thoughts.
1. Apparently you can generate a log that may be informative
Quote:
Log
Then you shall generate a complete log (do not truncate it).
If you need to enter the smart card PIN to reproduce the problem then consider changing your PIN before generating the logs as the PIN value will be included in the logs.
Kill any running pcscd process
(re)start pcscd exactly as described bellow:
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color | tee log.txt
Stop pcscd (using Control-C) after the problem occured and send me the generated log.txt file
2. As this is a Realtek device, is the Realtek USB storage module available? (Just something to check based on this old thread)
# Set debug level
debug = 0;
#
# Enable hot plugging
hotplug = yes;
#
# Path to ifdhandler
ifdhandler {
program = /usr/sbin/ifdhandler;
#
# Safe to disable force_poll:
# >=linux-2.6.27.14
# >=linux-2.6.28.3
#
force_poll = 1;
# user = root;
# groups = {
# root,
# };
};
#
# Configuration for ifdproxy (if you use it)
ifdproxy {
# server-port = /var/run/openct/.ifdproxy,
# device-port = :6666;
};
# Configure static, non-hotplug aware readers here
#
# For a list of drivers try command 'ifdhandler -i', please
# notice that not all drivers have serial device capability.
# Tested with USBID 0c4b:0100. These are red readers: one with LCD,
# another one without.
driver cyberjack {
ids = {
usb:0c4b/0100,
};
};
driver rutoken {
ids = {
usb:0a89/0020, # Aktiv Rutoken S
usb:0a89/0012, # Aktiv uaToken S
};
};
I'm not sure why the openct stuff is there because I removed the package and would expect it wouldn't be of interest but I don't know that much about what's going on.
The reader is the last entry in the ccid block (Senome Smartcard Reader).
I think JZL240I-U has nailed it by pointing to ccid.
Quote:
00000102 [140463697744384] hotplug_libudev.c:744:HPRegisterForHotplugEvents() No bundle files in pcsc drivers directory: /usr/lib64/pcsc/drivers
00000007 [140463697744384] hotplug_libudev.c:746:HPRegisterForHotplugEvents() Disabling USB support for pcscd
This indicates that you do not have libccid. There is an updated SlackBuild for -current.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.