简体   繁体   中英

Limit of 16 cardreaders in pcsc on Ubuntu Server

I have 24 cardreaders in pcsc on Ubuntu server 20.04. I have read that pcsc has a limit of 16 readers & you need to change the pcslite.h file to add more readers. Changed the following line in /usr/include/PCSC/pcsclite.h from: #define PCSCLITE_MAX_READERS_CONTEXTS 16

to: #define PCSCLITE_MAX_READERS_CONTEXTS 24

Do i need to change some other files before it's working? I still only see 16 readers connected.

Editing a C header or source files has no effect on the running program.

After editing the source file I think you should recompile the project to facilitate the changes in the executables.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM