MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 14 as of 2013-09-27 19:05:34
  • pcscLite

pcsc-lite

PC/SC-lite is a middleware to access a smart card using SCard API (PC/SC)

pcsc-lite SlackBuild

  • su
  • cd /tmp
  • wget http://slackbuilds.org/slackbuilds/14.0/system/pcsc-lite.tar.gz

  • tar xvzf pcsc-lite.tar.gz
  • cd pcsc-lite
  • wget https://alioth.debian.org/frs/download.php/3862/pcsc-lite-1.8.8.tar.bz2

  • chmod 755 pcsc-lite.SlackBuild

  • groupadd -g 257 pcscd
  • useradd -u 257 -g pcscd -d /var/run/pcscd -s /bin/false pcscd
  • ./pcsc-lite.SlackBuild

  • installpkg /tmp/pcsc-lite-1.8.8-x86_64-1_SBo.tgz

Package 64 bit: pcsc-lite-1.8.8-x86_64-1_SBo.tgz

Package 32 bit: pcsc-lite-1.8.8-i486-1_SBo.tgz

ccid SlackBuild

  • cd /tmp
  • wget http://slackbuilds.org/slackbuilds/14.0/system/ccid.tar.gz

  • tar xvzf ccid.tar.gz
  • cd ccid
  • wget https://alioth.debian.org/frs/download.php/file/3535/ccid-1.4.3.tar.bz2

  • chmod 755 ccid.SlackBuild

  • ./ccid.SlackBuild

  • installpkg /tmp/ccid-1.4.3-x86_64-1_SBo.tgz

Package 64 bit: ccid-1.4.3-x86_64-1_SBo.tgz

Package 32 bit: ccid-1.4.3-i486-1_SBo.tgz

Configuration on Slackware 14

Verify service pcsc: pcsd -v -f, insert and remove smart cards to check ATRs and smart card reader name.

Enable the service on slackware: chmod 755 /etc/rc.d/rc.pcscd

Start the service manually: /etc/rc.d/rc.pcscd start

Add init to /etc/rc.d/rc.M:

   1 #start smart card service
   2 if [ -x /etc/rc.d/rc.pcscd ]; then
   3  . /etc/rc.d/rc.pcscd start
   4 fi

Add stop to /etc/rc.d/rc.K before kill all processes:

   1 #stop smart card service
   2 if [ -x /etc/rc.d/rc.pcscd ]; then
   3  . /etc/rc.d/rc.pcscd stop
   4 fi

Add stop to /etc/rc.d/rc.6 (rc.0 is a symbolic link) before kill all processes:

   1 #stop smart card service
   2 if [ -x /etc/rc.d/rc.pcscd ]; then
   3  /etc/rc.d/rc.pcscd stop
   4 fi
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01