[Desktop-packages] [Bug 2061708] Re: Yubikey stopped working after noble upgrade

2024-04-26 Thread Ludovic Rousseau
https://blog.apdu.fr/posts/2024/04/gnupg-and-pcsc-conflicts-episode-2/

I do not use GnuPG with a smartcard. So I don't know which configuration
is more stable.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/2061708

Title:
  Yubikey stopped working after noble upgrade

Status in Arch Linux on Launchpad:
  Fix Released
Status in gnupg2 package in Ubuntu:
  Triaged
Status in pcsc-lite package in Ubuntu:
  Invalid

Bug description:
  In Ubuntu 22.04 I used by GPG key stored on a Yubikey smart card, but
  since upgrading to Noble I get the following trying to access it.

  $ gpg --card-status
  gpg: selecting card failed: No such device 
  gpg: OpenPGP card not available: No such device

  If I run this as root it works:

  $ sudo gpg --card-status
  Reader ...: 1050:0407:X:0
  Application ID ...: D27600012401000609082616
  Application type .: OpenPGP
  Version ..: 2.1
  Manufacturer .: Yubico
  Serial number : 
  Name of cardholder: [not set]
  Language prefs ...: [not set]
  Salutation ...: 
  URL of public key : [not set]
  Login data ...: [not set]
  Signature PIN : not forced
  Key attributes ...: rsa4096 rsa4096 rsa2048
  Max. PIN lengths .: 127 127 127
  PIN retry counter : 10 0 10
  Signature counter : 1172
  UIF setting ..: Sign=off Decrypt=off Auth=off
  Signature key : 
created : 
  Encryption key: 
created : 
  Authentication key: [none]
  General key info..: [none]

  If I manually run pcscd.service then it stops working both as root and
  a user.

  $ sudo pkill -9 scdaemon
  $ sudo systemctl start pcscd.service
  $ gpg --card-status
  gpg: selecting card failed: No such device
  gpg: OpenPGP card not available: No such device
  $ sudo gpg --card-status
  gpg: selecting card failed: No such device
  gpg: OpenPGP card not available: No such device

  It might be worth mentioning I'm accessing the machine over SSH, so I
  also did experiment with a polkit rule like this:

  polkit.addRule(function(action, subject) {
  if (action.id == "org.debian.pcsc-lite.access_card" &&
  subject.isInGroup("sudo")) {
  return polkit.Result.YES;
  }
  });
  polkit.addRule(function(action, subject) {
  if (action.id == "org.debian.pcsc-lite.access_pcsc" &&
  subject.isInGroup("sudo")) {
  return polkit.Result.YES;
  }
  });

  Added into /etc/polkit-1/rules.d/99-pcscd.rules and then reloading
  polkit.service in case this was a polkit issue, but this didn't do
  anything.

  
  Versions in noble:
  pcscd: 2.0.3-1build1
  libpcslite1: 2.0.3-1build1
  gnupg: 2.4.4-2ubuntu17
  scdaemon: 2.4.4-2ubuntu17

To manage notifications about this bug go to:
https://bugs.launchpad.net/archlinux-lp/+bug/2061708/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1972725] Re: Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04

2023-12-30 Thread Ludovic Rousseau
Should be fixed with pcsc-lite 1.9.5-3ubuntu1 available since Ubuntu
20.04 jammy-updates

** Changed in: pcsc-lite (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1972725

Title:
  Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  This chipset from Realtek (card reader) was supported in Ubuntu 18.04 and 
20.04.
  After upgrading to Ubuntu 22.04, the card reader no longer works.

  The system recognizes 'something' when I plug it in:
  Bus 003 Device 007: ID 0bda:0165 Realtek Semiconductor Corp. Smart Card 
Reader Interface

  Yet when I open the software to read my ID, it says "No card reader
  found". When I plug in my ID, I'm expecting to see a LED turn on but
  that doesn't happen in 22.04 anymore (still does in 20.04).

  This chipset is used in a very common card readers. While it's
  definitely more than a couple years old, it's still a product that is
  commonly used.

  (please see https://answers.launchpad.net/ubuntu/+question/701636 for more 
information)
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-04-22 (18 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  IwConfig:
   lono wireless extensions.
   
   enp3s0no wireless extensions.
  MachineType: MSI MS-7821
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic 
root=UUID=9c9b89dd-6496-4ec9-974d-fd3b84d8288d ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware 20220329.git681281e4-0ubuntu1
  RfKill:
   
  Tags:  jammy
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 07/21/2014
  dmi.bios.release: 4.6
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.9
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z87-G45 GAMING (MS-7821)
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV1.9:bd07/21/2014:br4.6:svnMSI:pnMS-7821:pvr1.0:rvnMSI:rnZ87-G45GAMING(MS-7821):rvr1.0:cvnMSI:ct3:cvr1.0:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: MS-7821
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1972725/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1881142] Re: Installation on clean 20.04 LTS system results in "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', ignoring"

2023-12-30 Thread Ludovic Rousseau
It is not a bug in pcsc-lite but pcsc-cyberjack.

** Changed in: pcsc-lite (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1881142

Title:
  Installation on clean 20.04 LTS system results in
  "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group
  'pcscd', ignoring"

Status in pcsc-cyberjack package in Ubuntu:
  Confirmed
Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. Have Ubuntu 20.04 LTS installed
  2. Install "libifd-cyberjack6" package
  3. Reload udev

  Expected results:
  * log contains no errors or warnings

  Actual results:
  * log contains messages:

  May 28 18:03:19 focal systemd[1]: Stopping udev Kernel Device Manager...
  May 28 18:03:19 focal systemd[1]: systemd-udevd.service: Succeeded.
  May 28 18:03:19 focal systemd[1]: Stopped udev Kernel Device Manager.
  May 28 18:03:19 focal systemd[1]: Starting udev Kernel Device Manager...
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:7 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:8 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:9 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:10 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:11 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:12 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:13 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:14 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:15 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:16 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:17 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:18 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:19 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:20 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:21 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:22 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:23 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:24 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd[1]: Started udev Kernel Device Manager.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libifd-cyberjack6 3.99.5final.sp13+dfsg-2build1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  Date: Thu May 28 18:06:52 2020
  InstallationDate: Installed on 2020-04-23 (34 days ago)
  InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  SourcePackage: pcsc-cyberjack
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1881142/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1946235] Re: pcscd won't install due to bad dependency version

2023-12-30 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1946235

Title:
  pcscd won't install due to bad dependency version

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  # apt install pcscd
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   pcscd : Depends: libpcsclite1 (= 1.9.1-1) but it is not going to be installed
   qemu-block-extra : Depends: qemu-system-x86 (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-arm (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-mips (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-ppc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-sparc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-misc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-s390x (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-x86-xen (= 1:6.0+dfsg-2expubuntu1) 
but it is not going to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: pcscd (not installed)
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Wed Oct  6 17:15:29 2021
  InstallationDate: Installed on 2020-06-16 (477 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to impish on 2021-10-06 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1946235/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1846709] Re: pcscd crashed with SIGSEGV in usb_claim_interface()

2023-12-30 Thread Ludovic Rousseau
The bug is in the iBank token driver loaded and used by pcscd.

** Changed in: pcsc-lite (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1846709

Title:
  pcscd crashed with SIGSEGV in usb_claim_interface()

Status in pcsc-lite package in Ubuntu:
  Incomplete

Bug description:
  iBank token and driver was used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1846709/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1406255] Re: Several NFC readers do not initialize properly due to pcsclite bug

2023-12-30 Thread Ludovic Rousseau
The bug should be fixed in Ubuntu 20.04 or previous versions.

** Changed in: pcsc-lite (Ubuntu)
   Status: New => Incomplete

** Changed in: pcsc-lite (Ubuntu)
   Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1406255

Title:
  Several NFC readers do not initialize properly due to pcsclite bug

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  Several NFC readers do not work properly due to pcsclite bug (in
  libusb hotplug). Bugs were fixed in version 1.8.13, but Trusty uses
  old 1.8.10 version.

  http://anonscm.debian.org/viewvc/pcsclite/trunk/PCSC/ChangeLog?view=co

  
  pcscd logs:

  1. Reader ACS122U:
  42850162 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x072F, PID: 0x2200, path: /dev/bus/usb/001/019
  0012 hotplug_libudev.c:321:HPAddDevice() Adding USB device: ACS ACR122U
  0026 readerfactory.c:989:RFInitializeReader() Attempting startup of ACS 
ACR122U 00 00 using 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
  0104 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  0020 ifdhandler.c:2577:init_driver() Driver version: 1.1.0
  0176 ifdhandler.c:2594:init_driver() LogLevel: 0x0003
  0005 ifdhandler.c:2605:init_driver() DriverOptions: 0x
  0004 ifdhandler.c:2613:init_driver() ACSDriverOptions: 0x0003
  0004 ifdhandler.c:2621:init_driver() ACR38CardVoltage: 0
  0004 ifdhandler.c:2629:init_driver() ACR38CardType: 0
  0029 ifdhandler.c:104:CreateChannelByNameOrChannel() Lun: 0, device: 
usb:072f/2200:libudev:0:/dev/bus/usb/001/019
  0013 ccid_usb.c:307:OpenUSBByName() Using: 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
  0159 ccid_usb.c:325:OpenUSBByName() ifdManufacturerString: Advanced Card 
Systems Ltd.
  0004 ccid_usb.c:326:OpenUSBByName() ifdProductString: ACS CCID driver
  0003 ccid_usb.c:327:OpenUSBByName() Copyright: This driver is protected 
by terms of the GNU Lesser General Public License version 2.1, or (at your 
option) any later version.
  3508 ccid_usb.c:680:OpenUSBByName() Can't claim interface 1/19: -6
  0017 ccid_usb.c:214:close_libusb_if_needed() libusb_exit
  4646 ifdhandler.c:140:CreateChannelByNameOrChannel() failed
  0015 readerfactory.c:1020:RFInitializeReader() Open Port 0x20 Failed 
(usb:072f/2200:libudev:0:/dev/bus/usb/001/019)
  0008 readerfactory.c:312:RFAddReader() ACS ACR122U init failed.
  0009 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0009 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
ACS ACR122U 00 00.
  0008 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
  0070 hotplug_libudev.c:391:HPAddDevice() Failed adding USB device: ACS 
ACR122U

  
  2. Reader SCL3711:
  04276562 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5591, path: /dev/bus/usb/001/018
  0011 hotplug_libudev.c:321:HPAddDevice() Adding USB device: SCL3711 
Reader and NFC Device
  0027 readerfactory.c:989:RFInitializeReader() Attempting startup of 
SCL3711 Reader and NFC Device 00 00 using 
/usr/lib/pcsc/drivers/SCx371x.bundle/Contents/Linux/libSCx371x.so.2.18
  0124 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  Loading lib v2.18 
  00049066 readerfactory.c:1020:RFInitializeReader() Open Port 0x20 Failed 
(usb:04e6/5591:libudev:0:/dev/bus/usb/001/018)
  0012 readerfactory.c:312:RFAddReader() SCL3711 Reader and NFC Device init 
failed.
  0004 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0004 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
SCL3711 Reader and NFC Device 00 00.
  0003 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
  0034 hotplug_libudev.c:391:HPAddDevice() Failed adding USB device: 
SCL3711 Reader and NFC Device

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libpcsclite1 1.8.10-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  Date: Tue Dec 30 13:38:53 2014
  Dependencies:
   gcc-4.9-base 4.9.1-0ubuntu1
   libc6 2.19-0ubuntu6.4
   libgcc1 1:4.9.1-0ubuntu1
   multiarch-support 2.19-0ubuntu6.4
  InstallationDate: Installed on 2014-10-14 (76 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  SourcePackage: pcsc-lite
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1406255/+subscriptions


-- 
Mailing list: 

[Desktop-packages] [Bug 1061947] Re: pcscd (auto)starting and permission troubles

2023-12-30 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1061947

Title:
  pcscd (auto)starting and permission troubles

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  Kernel: Linux 3.2.0-31-generic-pae (i686)
  Distribution  : Ubuntu 12.04.1 LTS
  Desktop   : XFCE 4
  pcscd : 1.7.4-2ubuntu2

  Information on how to start pcscd the right way is very limited. What
  I found out after digging in for some days ... : --help and man pcscd
  are not really helpful. After installing the packet, pcscd doesn't
  launch itself.

  After a while I found out there is a script /etc/init.d/pcscd (not mentioned 
in man) that is supposed to start the daemon at startup, but it has a line 
'exit 0' in it preventing it from running ..., and a comment that is not very 
helpful for an average Linux user. So I think ok, it doesn't need to run at 
startup. Let me try to start the daemon myself ...
  essAnd then troubles begin. It's easy mess to it up: As I found out (and it 
took me a while, believe me...) running pcscd as simple  user (not as root) 
hangs further well behaviour of the daemon. Only if you use it with the -x 
option, it will kill itself after 60s. Otherwise it just states it is already 
running but can't access a card reader.

  So please, state clearly in man that you have to run pcscd as root to
  start it as a daemon !  Or, alternatively, make the timeout of 60 s
  the default so that you can get out of a blocking situation !

  To check the good working of a card reader, pcsc_scan can be used. But
  also here, if you start it as a regular user and pcscd isn't launched
  yet, it launches the daemon for you, but hey, you are not root, so
  bingo, blocked again. Luckily, it seams to be launched with the -x
  option, so (only) after 60s you can try again, as root this time ...
  To make the whole a little more confusing, once the daemon is running,
  you can launch pcsc_scan as regular user without problem. But that's
  good, I think, after all, since it means (as far as I understand) that
  applications can get to the card reader without any augmented
  permissions.

  So stays the question: how do I start the daemon the right way ?  I haven't 
found out yet ...
  I could use /etc/init.d/pcscd and comment out the 'exit 0'. But I fear the 
daemon will be very diligent to do its work, probing my machine for the heck of 
it (as I noted running sudo pcscd -x -d and watching syslog).

  Ideally, the daemon would be started on startup, with the right
  permissions, but without it probing constantly for some reader. Then
  an application that wants to get access to a reader, could 'tickle'
  the daemon so it starts probing for some time, the application does
  its thing, and the daemon stops probing when not needed anymore.

  If someone knows this is possible, or if there is another preferred scenario, 
I would be glad to hear about it !  Read also that a new version of pcscd will 
use another mean to start automatically, but it's not supported (yet?) on 
Ubuntu ?
  Meanwhile, I hope this info can already help someone taming this one ...

  Bart.

  The technical stuff:

  After boot (daemon not running) executing 'sudo pcsc_scan' -- it's working !
  Information for reader is displayed. Even if after that (within 60s) I just 
run
  'pcsc_scan', the information is displayed again.
  syslog messages (had some logging enabled in my driver):
    Oct  4 16:31:22 BP-LIN pcscd: debuglog.c:269:DebugLogSetLevel() debug 
level=debug
    Oct  4 16:31:22 BP-LIN kernel: [ 3379.177470] OZSCRLX ozscr_open: called
    Oct  4 16:31:22 BP-LIN kernel: [ 3379.177489] OZSCRLX ozscr_ioctl: 
OZSCR_STATUS
    ...
    Oct  4 16:32:28 BP-LIN kernel: [ 3445.597205] OZSCRLX ozscr_ioctl: 
OZSCR_STATUS
    Oct  4 16:32:28 BP-LIN kernel: [ 3445.997318] OZSCRLX ozscr_ioctl: 
OZSCR_STATUS
    Oct  4 16:32:29 BP-LIN kernel: [ 3446.398025] OZSCRLX ozscr_close: called

  Ok, now relaunching 'pcsc_scan' as regular user. The daemon just keeps waiting
  for a reader, no information for the reader displayed.
  syslog states:
    Oct  4 16:34:26 BP-LIN pcscd: dyn_unix.c:81:DYN_GetAddress() 
IFDHCreateChannelByName: /usr/local/o2micro/lib_OZSCR.so: undefined symbol: 
IFDHCreateChannelByName
    Oct  4 16:34:26 BP-LIN pcscd: readerfactory.c:965:RFInitializeReader() Open 
Port 0xF1 Failed (/dev/o2scr0)
    Oct  4 16:34:26 BP-LIN pcscd: readerfactory.c:275:RFAddReader() O2Micro 
SmartCardBus Reader init failed.

  Escaping and trying to run 'pcsc_scan' again. No luck ...
  syslog states:
    Oct  4 16:36:38 BP-LIN pcscd: pcscdaemon.c:342:main() file 
/var/run/pcscd/pcscd.comm already exists.
    Oct  4 16:36:38 BP-LIN pcscd: pcscdaemon.c:344:main() Another pcscd (pid: 
5208) seems to be running.

To manage 

[Desktop-packages] [Bug 1090238] Re: pcscd hangs after ejecting Rutoken ECP making some comunication with token

2023-12-30 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1090238

Title:
  pcscd hangs after ejecting Rutoken ECP making some comunication with
  token

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  Im running any example from rutoken sdk after ejecting Rutoken. Pcscd
  got an error and nothing happens him to continue working only daemon
  restart helps. If im not using rutokenecp library all works ok.

  This error is fixed in pcscd 1.8.7 please upgrade
  pcscd,libpcsclite1,ccid pac kages.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: pcscd 1.8.5-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
  Uname: Linux 3.5.0-19-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Fri Dec 14 10:24:57 2012
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-10-11 (63 days ago)
  InstallationMedia: Xubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120822.1)
  MarkForUpload: True
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to quantal on 2012-10-29 (45 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1090238/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2046650] Re: pcscd starts, then from applications all readers connected wont work

2023-12-17 Thread Ludovic Rousseau
Please post a COMPLETE pcscd log as documented at
https://pcsclite.apdu.fr/#support

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/2046650

Title:
  pcscd starts, then from applications all readers connected wont work

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  pcscd starts, then all readers connected are listed, but wont work.

  starting pcsc_scan will never finish scanning, waiting on pcscd
  returning data.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: pcscd 1.9.9-1ubuntu0.23.04.1
  ProcVersionSignature: Ubuntu 6.2.0-39.40-generic 6.2.16
  Uname: Linux 6.2.0-39-generic x86_64
  ApportVersion: 2.26.1-0ubuntu2.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Sun Dec 17 13:52:28 2023
  InstallationDate: Installed on 2011-10-19 (4441 days ago)
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to lunar on 2019-04-27 (1694 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/2046650/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1967632] Re: [snap] apparmor denied when trying to load pkcs11 module for smart card authentication

2023-05-30 Thread Ludovic Rousseau
> Bear in mind that I was oblivious to the components involved until I
started looking at this bug and I still don't have a complete picture of
them. So please point out any mistake or omission you can find.

Your solution may/should work for smart cards that are supported by OpenSC.
But it will not work for all the other PKCS#11 libraries that are not included 
in he snap.

The idea proposed by Wouter in [1] looks promising.

[1]
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1843392/comments/9

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1967632

Title:
  [snap] apparmor denied when trying to load pkcs11 module for smart
  card authentication

Status in Mozilla Firefox:
  Confirmed
Status in chromium-browser package in Ubuntu:
  In Progress
Status in firefox package in Ubuntu:
  Triaged

Bug description:
  I use a smart card to access government sites. I have that working in
  firefox and chrome on ubuntu impish, and gave jammy a try, but there
  firefox won't load the library, giving me a generic error.

  dmesg, however, shows this apparmor denied message:

  [sáb abr  2 17:32:27 2022] audit: type=1400 audit(1648931547.646:115):
  apparmor="DENIED" operation="file_mmap" profile="snap.firefox.firefox"
  name="/run/user/1000/doc/e0bac853/libaetpkss.so.3.5.4112" pid=3680
  comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0

  
  Note also the path, that's not what I typed into the firefox dialog box. I 
have the .so copied to /usr/lib/x86_64-linux-gnu/libaetpkss.so.3.5.4112, and 
that's what I typed in when prompted for its path by firefox.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: firefox 1:1snap1-0ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
  Uname: Linux 5.15.0-23-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu80
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr  2 17:34:09 2022
  InstallationDate: Installed on 2022-03-20 (13 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220319)
  Snap.Changes: no changes found
  SourcePackage: firefox
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1967632/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2020789] Re: pcscd should depend on vsmartcard-vpcd

2023-05-25 Thread Ludovic Rousseau
I guess you have a file in /etc/reader.conf.d/ with a configuration
referencing /usr/lib/pcsc/drivers/serial/libifdvpcd.so

Exact?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/2020789

Title:
  pcscd should depend on vsmartcard-vpcd

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  If I install pcscd but not vsmartcard-vpcd, the service fails to
  start:

  --->
  × pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; preset: 
enabled)
   Active: failed (Result: exit-code) since Thu 2023-05-25 16:11:31 CEST; 
1min 52s ago
 Duration: 59ms
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
  Process: 410224 ExecStart=/usr/sbin/pcscd --foreground --auto-exit 
$PCSCD_ARGS (code=exited, status=1/FAILURE)
 Main PID: 410224 (code=exited, status=1/FAILURE)
  CPU: 8ms

  mai 25 16:11:30 canonical systemd[1]: Started pcscd.service - PC/SC Smart 
Card Daemon.
  mai 25 16:11:31 canonical pcscd[410224]:  
configfile.l:163:evaluatetoken() Error with library 
/usr/lib/pcsc/drivers/serial/libifdvpcd.so: No such file or directory
  mai 25 16:11:31 canonical pcscd[410224]: 00017989 
pcscdaemon.c:835:clean_temp_files() Cannot remove /run/pcscd/pcscd.pid: No such 
file or directory
  mai 25 16:11:31 canonical systemd[1]: pcscd.service: Main process exited, 
code=exited, status=1/FAILURE
  mai 25 16:11:31 canonical systemd[1]: pcscd.service: Failed with result 
'exit-code'.
  <---

  Should pcscd depend on it?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/2020789/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2023-04-15 Thread Ludovic Rousseau
The problem MAY be related to Debian issue #1034209 "pcscd:
dh_installsystemd doesn't handle files in /usr/lib/systemd/system"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034209

** Bug watch added: Debian Bug tracker #1034209
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034209

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1972725] Re: Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04

2022-12-05 Thread Ludovic Rousseau
https://ludovicrousseau.blogspot.com/2022/10/ubuntu-2204-and-pcscd-auto-
start-failure.html

It looks like a duplicate of
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1972725

Title:
  Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  This chipset from Realtek (card reader) was supported in Ubuntu 18.04 and 
20.04.
  After upgrading to Ubuntu 22.04, the card reader no longer works.

  The system recognizes 'something' when I plug it in:
  Bus 003 Device 007: ID 0bda:0165 Realtek Semiconductor Corp. Smart Card 
Reader Interface

  Yet when I open the software to read my ID, it says "No card reader
  found". When I plug in my ID, I'm expecting to see a LED turn on but
  that doesn't happen in 22.04 anymore (still does in 20.04).

  This chipset is used in a very common card readers. While it's
  definitely more than a couple years old, it's still a product that is
  commonly used.

  (please see https://answers.launchpad.net/ubuntu/+question/701636 for more 
information)
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-04-22 (18 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  IwConfig:
   lono wireless extensions.
   
   enp3s0no wireless extensions.
  MachineType: MSI MS-7821
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic 
root=UUID=9c9b89dd-6496-4ec9-974d-fd3b84d8288d ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware 20220329.git681281e4-0ubuntu1
  RfKill:
   
  Tags:  jammy
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 07/21/2014
  dmi.bios.release: 4.6
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.9
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z87-G45 GAMING (MS-7821)
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV1.9:bd07/21/2014:br4.6:svnMSI:pnMS-7821:pvr1.0:rvnMSI:rnZ87-G45GAMING(MS-7821):rvr1.0:cvnMSI:ct3:cvr1.0:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: MS-7821
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1972725/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-10-29 Thread Ludovic Rousseau
I wrote a blog article about this issue
https://ludovicrousseau.blogspot.com/2022/10/ubuntu-2204-and-pcscd-auto-start-failure.html

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-09-15 Thread Ludovic Rousseau
Seth, pcscd.socket is already enabled. You should not have to run "sudo
systemctl enable pcscd.socket" again.

In your output I see that pcscd is already running.
I would like to get the results of the following commands when you *have* the 
problem and before you try to fix it.

systemctl status pcscd.socket
systemctl status pcscd.service
ls -l /run/pcscd/
journalctl --no-pager --unit=pcscd.socket
journalctl --no-pager --unit=pcscd.service

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-09-15 Thread Ludovic Rousseau
Seth, what is the output of the command: systemctl status pcscd.socket

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-07-17 Thread Ludovic Rousseau
@apinunt, pcscd is not started at boot but when an application is calling the 
WinSCard API.
See 
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

Where do you find that pcscd manpage indicates it is started at boot?

Interesting to know that this bug was already present in Ubuntu 21.10.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-05-18 Thread Ludovic Rousseau
I reinstalled Ubuntu 22.04 in another VM (still using VirtualBox) and I do NOT 
get the problem.
So it is not related to the hardware (I was expecting this result).

Strange.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-05-17 Thread Ludovic Rousseau
On a different Ubuntu 22.04 system I DO NOT reproduce the problem.
pcscd was working fine with no extra manual operation.

This time I used a real laptop and not a virtual machine. But that should not 
have an effect.
The problem may not be easy to understand.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1971984] Re: pcscd 1.9.5-3 do not start automatically, only manual

2022-05-06 Thread Ludovic Rousseau
I just made a fresh install of Ubuntu 22.04.
For an unknown reason pcscd.socket is DISABLED.
$ systemctl status pcscd.socket 
○ pcscd.socket - PC/SC Smart Card Daemon Activation Socket
 Loaded: loaded (/lib/systemd/system/pcscd.socket; disabled; vendor preset: 
enabled)
 Active: inactive (dead)
   Triggers: ● pcscd.service
 Listen: /run/pcscd/pcscd.comm (Stream)

To solve the problem you can do:
sudo systemctl enable pcscd.socket

Then reboot, or run "sudo systemctl start pcscd.socket".

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1946235] Re: pcscd won't install due to bad dependency version

2021-10-06 Thread Ludovic Rousseau
What is the complete output of the command:
apt policy pcscd libpcsclite1

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1946235

Title:
  pcscd won't install due to bad dependency version

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  # apt install pcscd
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   pcscd : Depends: libpcsclite1 (= 1.9.1-1) but it is not going to be installed
   qemu-block-extra : Depends: qemu-system-x86 (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-arm (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-mips (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-ppc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-sparc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-misc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-s390x (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-x86-xen (= 1:6.0+dfsg-2expubuntu1) 
but it is not going to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: pcscd (not installed)
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Wed Oct  6 17:15:29 2021
  InstallationDate: Installed on 2020-06-16 (477 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to impish on 2021-10-06 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1946235/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1946235] Re: pcscd won't install due to bad dependency version

2021-10-06 Thread Ludovic Rousseau
It looks like you (also) have a problem with qemu.

pcscd 1.9.1-1 is from Ubuntu 21.04. But you are using Ubuntu 21.10.
Maybe you should first use something like:
apt update
apt upgrade

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1946235

Title:
  pcscd won't install due to bad dependency version

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  # apt install pcscd
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   pcscd : Depends: libpcsclite1 (= 1.9.1-1) but it is not going to be installed
   qemu-block-extra : Depends: qemu-system-x86 (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-arm (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-mips (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-ppc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-sparc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-misc (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-s390x (= 1:6.0+dfsg-2expubuntu1) but 
it is not going to be installed or
   qemu-system-x86-xen (= 1:6.0+dfsg-2expubuntu1) 
but it is not going to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: pcscd (not installed)
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Wed Oct  6 17:15:29 2021
  InstallationDate: Installed on 2020-06-16 (477 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to impish on 2021-10-06 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1946235/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1892559] Re: [MIR] ccid opensc pcsc-lite

2021-05-03 Thread Ludovic Rousseau
opensc-pkcs11.so is a PKCS#11 lib so the its API conforms to the
standard defined in https://docs.oasis-
open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html

If you are looking for .h header files you can use:
https://www.oasis-open.org/committees/document.php?document_id=55655_abbrev=pkcs11
https://www.oasis-open.org/committees/document.php?document_id=55656_abbrev=pkcs11
https://www.oasis-open.org/committees/document.php?document_id=55657_abbrev=pkcs11

pkcs11-spy.so is a spy/debug library. It uses the same API.

A PKCS#11 library is, in general, dynamically loaded using dlopen(3). So
the dependency is not visible from an application using the library (for
example Firefox).

If you really need to move opensc-pkcs11.so & pkcs11-spy.so in a subdir
I would recommand to use /usr/lib/*/pkcs11/ as it is already the case.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1892559

Title:
  [MIR] ccid opensc pcsc-lite

Status in ccid package in Ubuntu:
  New
Status in opensc package in Ubuntu:
  Incomplete
Status in pam-pkcs11 package in Ubuntu:
  Invalid
Status in pcsc-lite package in Ubuntu:
  New
Status in pcsc-perl package in Ubuntu:
  Invalid
Status in pcsc-tools package in Ubuntu:
  Invalid

Bug description:
  ==> ccid <==
  [Availability]
  ccid is in universe, and builds on all architectures.

  [Rationale]
  The desktop team and security team are interested in bringing smartcard
  authentication to enterprise desktop environments.

  [Security]
  No CVEs for ccid are listed in our database.
  Doesn't appear to bind to a socket.
  No privileged executables, but does have udev rules.
  Probably needs a security review.

  [Quality assurance]
  No test suite.
  Does require odd hardware that we'll probably need to buy.
  I don't see debconf questions.
  ccid is well maintained in Debian by upstream author.
  One open wishlist bug in BTS, harmless.

  One open bug in launchpad, not security, but looks very frustrating
  for the users. The upstream author was engaged but it never reached
  resolution.  https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1175465

  Has a debian/watch file.
  Quilt packaging.

  P: ccid source: no-dep5-copyright
  P: ccid source: package-uses-experimental-debhelper-compat-version 13

  [Dependencies]
  Minimal dependencies, in main

  [Standards compliance]
  Appears to satisfy FHS and Debian policy

  [Maintenance]
  The desktop team will subscribe to bugs, however it is expected that the
  security team will assist with security-relevant questions.

  [Background information]
  ccid provides drivers to interact with usb-connected smart card readers.

  ==> libpam-pkcs11 <==
  [Availability]
  Source package pam-pkcs11 is in universe and builds on all architectures.

  [Rationale]
  The desktop team and security team are interested in bringing smartcard
  authentication to enterprise desktop environments.

  [Security]
  No CVEs in our database.
  Doesn't appear to bind to sockets.
  No privileged executables (but is a PAM module).
  As a PAM module this will require a security review.

  [Quality assurance]
  The package does not call pam-auth-update in its postinst #1650366
  Does not ask questions during install.
  One Ubuntu bug claims very poor behaviour if a card isn't plugged in.
  No Debian bugs.
  Occasional updates in Debian by long-term maintainer.
  Does require odd hardware that we'll probably need to buy.
  Does not appear to run tests during build.
  Has scary warnings in the build logs.
  Has a debian/watch file.

  Ancient standards version; other smaller lintian messages, mostly
  documentation problems.

  Quilt packaging.

  [Dependencies]
  Depends on libcurl4, libldap-2.4-2, libpam0g, libpcsclite1, libssl1.1
  All are in main.

  [Standards compliance]
  The package does not call pam-auth-update in its postinst #1650366
  Otherwise looks to conform to FHS and Debian policies

  [Maintenance]
  The desktop team will subscribe to bugs, however it is expected that the
  security team will assist with security-relevant questions.

  [Background information]
  This PAM module can use CRLs and full-chain verification of certificates.
  It can also do LDAP, AD, and Kerberos username mapping.

  ==> libpcsc-perl <==
  [Availability]
  Source package pcsc-perl is in universe, builds for all architectures,
  plus i386

  [Rationale]
  The desktop team and security team are interested in bringing smartcard
  authentication to enterprise desktop environments.

  [Security]
  There are no cves for pcsc-perl in our database.
  No privileged executables.
  Doesn't appear to bind to sockets.
  Probably needs a security review.

  [Quality assurance]
  Library package not intended to be used directly.
  No debconf questions.
  No bugs in Debian.
  No bugs in Ubuntu.
  Does require odd hardware that we'll probably need to buy.
  Tests exist, not run 

[Desktop-packages] [Bug 1879960] Re: pcscd doesn't support ActivKEy SIM B/N: 0945423

2020-05-29 Thread Ludovic Rousseau
The fact that the LED is green then goes to red after a few seconds is 
completely normal.
See https://ludovicrousseau.blogspot.com/2010/10/card-auto-power-on-and-off.html

The fact that you get "PowerUp failed" errors is NOT normal.
It is a hardware issue with the card and/or the reader.

That is why I asked you to try with another smart card.

On my side I tried with current version of pcsc-lite and libccid and I
have no problem with my ActivIdentity Activkey_Sim device.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1879960

Title:
  pcscd doesn't support ActivKEy SIM B/N: 0945423

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have ActivKey SIM B/N: 0945423 (from banking authorization) which is not 
recognized by pcscd. Since it is not recognized, it is also not recognized by 
VMware Workstation VM which runs Windows. Banking software running in windows 
doesn't see the key and can't authenticate me.
  Few years ago, this was working on Ubuntu 18.04, so it must be something in 
version between.
  After restart of the pcscd service, USB key shows green light, but few 
seconds after it goes to red.

  sudo service pcscd status
  ● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Thu 2020-05-21 15:47:40 CEST; 24s ago
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
 Main PID: 230408 (pcscd)
Tasks: 5 (limit: 57614)
   Memory: 1.9M
   CGroup: /system.slice/pcscd.service
   └─230408 /usr/sbin/pcscd --foreground --auto-exit

  svi 21 15:47:40 rodigerlaptop1 systemd[1]: Started PC/SC Smart Card Daemon.
  svi 21 15:48:01 rodigerlaptop1 pcscd[230408]:  
ccid_usb.c:857:WriteUSB() write failed (1/12): -4 LIBUSB_ERROR_NO_DEVICE
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 02310986 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0264 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0343 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0005 
ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0003 
eventhandler.c:305:EHStatusHandlerThread() Error powering up card: 2148532246 
0x80100016

  Result of pcsc_scan
  sudo pcsc_scan 
  Using reader plug'n play mechanism
  Scanning present readers...
  Waiting for the first reader...found one
  Scanning present readers...
  0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
   
  Thu May 21 15:44:16 2020
   Reader 0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
Event number: 0
Card state: Card inserted, Unresponsive card, 

  So USB key is visible

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pcscd 1.8.26-3
  ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
  Uname: Linux 5.4.0-31-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 21 15:38:57 2020
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to focal on 2020-05-11 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1879960/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1881142] Re: Installation on clean 20.04 LTS system results in "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', ignoring"

2020-05-28 Thread Ludovic Rousseau
The 'pcscd' group was used in a previous/old version of pcsc-lite.
It should not be used anymore.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1881142

Title:
  Installation on clean 20.04 LTS system results in
  "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group
  'pcscd', ignoring"

Status in pcsc-cyberjack package in Ubuntu:
  New
Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  1. Have Ubuntu 20.04 LTS installed
  2. Install "libifd-cyberjack6" package
  3. Reload udev

  Expected results:
  * log contains no errors or warnings

  Actual results:
  * log contains messages:

  May 28 18:03:19 focal systemd[1]: Stopping udev Kernel Device Manager...
  May 28 18:03:19 focal systemd[1]: systemd-udevd.service: Succeeded.
  May 28 18:03:19 focal systemd[1]: Stopped udev Kernel Device Manager.
  May 28 18:03:19 focal systemd[1]: Starting udev Kernel Device Manager...
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:7 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:8 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:9 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:10 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:11 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:12 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:13 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:14 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:15 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:16 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:17 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:18 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:19 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:20 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:21 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:22 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:23 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:24 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd[1]: Started udev Kernel Device Manager.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libifd-cyberjack6 3.99.5final.sp13+dfsg-2build1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  Date: Thu May 28 18:06:52 2020
  InstallationDate: Installed on 2020-04-23 (34 days ago)
  InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  SourcePackage: pcsc-cyberjack
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1881142/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1881142] Re: Installation on clean 20.04 LTS system results in "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', ignoring"

2020-05-28 Thread Ludovic Rousseau
The issue should be reassigned to libifd-cyberjack6

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1881142

Title:
  Installation on clean 20.04 LTS system results in
  "/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group
  'pcscd', ignoring"

Status in pcsc-cyberjack package in Ubuntu:
  New
Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  1. Have Ubuntu 20.04 LTS installed
  2. Install "libifd-cyberjack6" package
  3. Reload udev

  Expected results:
  * log contains no errors or warnings

  Actual results:
  * log contains messages:

  May 28 18:03:19 focal systemd[1]: Stopping udev Kernel Device Manager...
  May 28 18:03:19 focal systemd[1]: systemd-udevd.service: Succeeded.
  May 28 18:03:19 focal systemd[1]: Stopped udev Kernel Device Manager.
  May 28 18:03:19 focal systemd[1]: Starting udev Kernel Device Manager...
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:6 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:7 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:8 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:9 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:10 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:11 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:12 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:13 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:14 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:15 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:16 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:17 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:18 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:19 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:20 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:21 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:22 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:23 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd-udevd[11464]: 
/usr/lib/udev/rules.d/60-libifd-cyberjack6.rules:24 Unknown group 'pcscd', 
ignoring
  May 28 18:03:19 focal systemd[1]: Started udev Kernel Device Manager.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libifd-cyberjack6 3.99.5final.sp13+dfsg-2build1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  Date: Thu May 28 18:06:52 2020
  InstallationDate: Installed on 2020-04-23 (34 days ago)
  InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  SourcePackage: pcsc-cyberjack
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1881142/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1879960] Re: pcscd doesn't support ActivKEy SIM B/N: 0945423

2020-05-27 Thread Ludovic Rousseau
You are right. It looks like a problem with the ActivKey device.
I don't see what change could have created this regression.

First, do not use virtual machine. They often make the things more complex to 
debug.
Second, try to re-install a previous version of Ubuntu to check it was working 
fine.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1879960

Title:
  pcscd doesn't support ActivKEy SIM B/N: 0945423

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have ActivKey SIM B/N: 0945423 (from banking authorization) which is not 
recognized by pcscd. Since it is not recognized, it is also not recognized by 
VMware Workstation VM which runs Windows. Banking software running in windows 
doesn't see the key and can't authenticate me.
  Few years ago, this was working on Ubuntu 18.04, so it must be something in 
version between.
  After restart of the pcscd service, USB key shows green light, but few 
seconds after it goes to red.

  sudo service pcscd status
  ● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Thu 2020-05-21 15:47:40 CEST; 24s ago
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
 Main PID: 230408 (pcscd)
Tasks: 5 (limit: 57614)
   Memory: 1.9M
   CGroup: /system.slice/pcscd.service
   └─230408 /usr/sbin/pcscd --foreground --auto-exit

  svi 21 15:47:40 rodigerlaptop1 systemd[1]: Started PC/SC Smart Card Daemon.
  svi 21 15:48:01 rodigerlaptop1 pcscd[230408]:  
ccid_usb.c:857:WriteUSB() write failed (1/12): -4 LIBUSB_ERROR_NO_DEVICE
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 02310986 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0264 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0343 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0005 
ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0003 
eventhandler.c:305:EHStatusHandlerThread() Error powering up card: 2148532246 
0x80100016

  Result of pcsc_scan
  sudo pcsc_scan 
  Using reader plug'n play mechanism
  Scanning present readers...
  Waiting for the first reader...found one
  Scanning present readers...
  0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
   
  Thu May 21 15:44:16 2020
   Reader 0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
Event number: 0
Card state: Card inserted, Unresponsive card, 

  So USB key is visible

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pcscd 1.8.26-3
  ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
  Uname: Linux 5.4.0-31-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 21 15:38:57 2020
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to focal on 2020-05-11 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1879960/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1879960] Re: pcscd doesn't support ActivKEy SIM B/N: 0945423

2020-05-25 Thread Ludovic Rousseau
from your log I can see when you removed the device:
0016 [139787462866688] ccid_usb.c:857:WriteUSB() write failed (1/10): -4 
LIBUSB_ERROR_NO_DEVICE

Your problem is that reader can not power up the card after the reader is 
inserted again.
0003 [139787471259392] ifdhandler.c:1221:IFDHPowerICC() PowerUp failed

What is strange is that the first time the card power up is very slow but works 
fine.
The second time the reader responds very quickly with an error.

I don't think the driver can do much to solve that.
Do you have the same result if you use a different smart card?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1879960

Title:
  pcscd doesn't support ActivKEy SIM B/N: 0945423

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have ActivKey SIM B/N: 0945423 (from banking authorization) which is not 
recognized by pcscd. Since it is not recognized, it is also not recognized by 
VMware Workstation VM which runs Windows. Banking software running in windows 
doesn't see the key and can't authenticate me.
  Few years ago, this was working on Ubuntu 18.04, so it must be something in 
version between.
  After restart of the pcscd service, USB key shows green light, but few 
seconds after it goes to red.

  sudo service pcscd status
  ● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Thu 2020-05-21 15:47:40 CEST; 24s ago
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
 Main PID: 230408 (pcscd)
Tasks: 5 (limit: 57614)
   Memory: 1.9M
   CGroup: /system.slice/pcscd.service
   └─230408 /usr/sbin/pcscd --foreground --auto-exit

  svi 21 15:47:40 rodigerlaptop1 systemd[1]: Started PC/SC Smart Card Daemon.
  svi 21 15:48:01 rodigerlaptop1 pcscd[230408]:  
ccid_usb.c:857:WriteUSB() write failed (1/12): -4 LIBUSB_ERROR_NO_DEVICE
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 02310986 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0264 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0343 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0005 
ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0003 
eventhandler.c:305:EHStatusHandlerThread() Error powering up card: 2148532246 
0x80100016

  Result of pcsc_scan
  sudo pcsc_scan 
  Using reader plug'n play mechanism
  Scanning present readers...
  Waiting for the first reader...found one
  Scanning present readers...
  0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
   
  Thu May 21 15:44:16 2020
   Reader 0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
Event number: 0
Card state: Card inserted, Unresponsive card, 

  So USB key is visible

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pcscd 1.8.26-3
  ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
  Uname: Linux 5.4.0-31-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 21 15:38:57 2020
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to focal on 2020-05-11 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1879960/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1879960] Re: pcscd doesn't support ActivKEy SIM B/N: 0945423

2020-05-25 Thread Ludovic Rousseau
I don't see any problem in your log.
The card is detected and the ATR is available.
You can test with the command pcsc_scan from the package pcsc-tools.

Please generate a new log including the problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1879960

Title:
  pcscd doesn't support ActivKEy SIM B/N: 0945423

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have ActivKey SIM B/N: 0945423 (from banking authorization) which is not 
recognized by pcscd. Since it is not recognized, it is also not recognized by 
VMware Workstation VM which runs Windows. Banking software running in windows 
doesn't see the key and can't authenticate me.
  Few years ago, this was working on Ubuntu 18.04, so it must be something in 
version between.
  After restart of the pcscd service, USB key shows green light, but few 
seconds after it goes to red.

  sudo service pcscd status
  ● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Thu 2020-05-21 15:47:40 CEST; 24s ago
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
 Main PID: 230408 (pcscd)
Tasks: 5 (limit: 57614)
   Memory: 1.9M
   CGroup: /system.slice/pcscd.service
   └─230408 /usr/sbin/pcscd --foreground --auto-exit

  svi 21 15:47:40 rodigerlaptop1 systemd[1]: Started PC/SC Smart Card Daemon.
  svi 21 15:48:01 rodigerlaptop1 pcscd[230408]:  
ccid_usb.c:857:WriteUSB() write failed (1/12): -4 LIBUSB_ERROR_NO_DEVICE
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 02310986 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0264 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0343 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0005 
ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0003 
eventhandler.c:305:EHStatusHandlerThread() Error powering up card: 2148532246 
0x80100016

  Result of pcsc_scan
  sudo pcsc_scan 
  Using reader plug'n play mechanism
  Scanning present readers...
  Waiting for the first reader...found one
  Scanning present readers...
  0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
   
  Thu May 21 15:44:16 2020
   Reader 0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
Event number: 0
Card state: Card inserted, Unresponsive card, 

  So USB key is visible

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pcscd 1.8.26-3
  ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
  Uname: Linux 5.4.0-31-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 21 15:38:57 2020
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to focal on 2020-05-11 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1879960/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1879960] Re: pcscd doesn't support ActivKEy SIM B/N: 0945423

2020-05-21 Thread Ludovic Rousseau
Please generate a pcscd log.
See https://ccid.apdu.fr/#support

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1879960

Title:
  pcscd doesn't support ActivKEy SIM B/N: 0945423

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have ActivKey SIM B/N: 0945423 (from banking authorization) which is not 
recognized by pcscd. Since it is not recognized, it is also not recognized by 
VMware Workstation VM which runs Windows. Banking software running in windows 
doesn't see the key and can't authenticate me.
  Few years ago, this was working on Ubuntu 18.04, so it must be something in 
version between.
  After restart of the pcscd service, USB key shows green light, but few 
seconds after it goes to red.

  sudo service pcscd status
  ● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Thu 2020-05-21 15:47:40 CEST; 24s ago
  TriggeredBy: ● pcscd.socket
 Docs: man:pcscd(8)
 Main PID: 230408 (pcscd)
Tasks: 5 (limit: 57614)
   Memory: 1.9M
   CGroup: /system.slice/pcscd.service
   └─230408 /usr/sbin/pcscd --foreground --auto-exit

  svi 21 15:47:40 rodigerlaptop1 systemd[1]: Started PC/SC Smart Card Daemon.
  svi 21 15:48:01 rodigerlaptop1 pcscd[230408]:  
ccid_usb.c:857:WriteUSB() write failed (1/12): -4 LIBUSB_ERROR_NO_DEVICE
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 02310986 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0264 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0343 
commands.c:249:CmdPowerOn Card absent or mute
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0005 
ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
  svi 21 15:48:04 rodigerlaptop1 pcscd[230408]: 0003 
eventhandler.c:305:EHStatusHandlerThread() Error powering up card: 2148532246 
0x80100016

  Result of pcsc_scan
  sudo pcsc_scan 
  Using reader plug'n play mechanism
  Scanning present readers...
  Waiting for the first reader...found one
  Scanning present readers...
  0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
   
  Thu May 21 15:44:16 2020
   Reader 0: ActivIdentity Activkey_Sim [CCID Bulk Interface] 00 00
Event number: 0
Card state: Card inserted, Unresponsive card, 

  So USB key is visible

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pcscd 1.8.26-3
  ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
  Uname: Linux 5.4.0-31-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May 21 15:38:57 2020
  SourcePackage: pcsc-lite
  UpgradeStatus: Upgraded to focal on 2020-05-11 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1879960/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1874725] Re: libpcsc crashes firefox

2020-04-24 Thread Ludovic Rousseau
You need to upgrade pcsc-lite to version 1.8.26 or more.

The Ubuntu 20.04 LTS Focal Fossa version (released yesterday) provides the 
correct version of pcsc-lite
https://packages.ubuntu.com/search?keywords=pcscd

So just upgrade your system.

** Changed in: pcsc-lite (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1874725

Title:
  libpcsc crashes firefox

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  My firefox keeps crashing all the time and mozilla crash information
  says I'm affected by
  https://bugzilla.mozilla.org/show_bug.cgi?id=1591876.

  So please update libpcsclite by cherry-picking
  
https://salsa.debian.org/rousseau/PCSC/commit/20385efba2075d4c13acfea43d0abc8c38d8c106
  .

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libpcsclite1 1.8.23-1
  ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
  Uname: Linux 4.15.0-88-generic x86_64
  NonfreeKernelModules: lkp_Ubuntu_4_15_0_88_88_generic_65 
lkp_Ubuntu_4_15_0_88_88_generic_64
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Fri Apr 24 14:56:08 2020
  Dependencies:
   gcc-8-base 8.4.0-1ubuntu1~18.04
   libc6 2.27-3ubuntu1
   libgcc1 1:8.4.0-1ubuntu1~18.04
  SourcePackage: pcsc-lite
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1874725/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1846709] Re: pcscd crashed with SIGSEGV in usb_claim_interface()

2020-01-26 Thread Ludovic Rousseau
pcscd does NOT use usb_claim_interface().
The problem is in the driver used.

Is the iBank driver in a Ubuntu package?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1846709

Title:
  pcscd crashed with SIGSEGV in usb_claim_interface()

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  iBank token and driver was used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1846709/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1857118] Re: Build pcscd with --enable-filter option

2020-01-26 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1857118

Title:
  Build pcscd with --enable-filter option

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  This is a feature request. I'd like to use filter features[1] of
  pcscd. To activate it, could you build pcsc-lite with "--enable-
  filter" option in debian/rules? Thanks.

  [1]: https://ludovicrousseau.blogspot.com/2015/12/remove-andor-
  customize-pcsc-reader-names.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1857118/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1857118] Re: Build pcscd with --enable-filter option

2020-01-03 Thread Ludovic Rousseau
This is now fixed upstream in version 1.8.26
See 
https://ludovicrousseau.blogspot.com/2020/01/new-version-of-pcsc-lite-1826.html

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1857118

Title:
  Build pcscd with --enable-filter option

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  This is a feature request. I'd like to use filter features[1] of
  pcscd. To activate it, could you build pcsc-lite with "--enable-
  filter" option in debian/rules? Thanks.

  [1]: https://ludovicrousseau.blogspot.com/2015/12/remove-andor-
  customize-pcsc-reader-names.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1857118/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1857118] Re: Build pcscd with --enable-filter option

2019-12-20 Thread Ludovic Rousseau
I can provide a special package for you if you want.

Contact me by email.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1857118

Title:
  Build pcscd with --enable-filter option

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  This is a feature request. I'd like to use filter features[1] of
  pcscd. To activate it, could you build pcsc-lite with "--enable-
  filter" option in debian/rules? Thanks.

  [1]: https://ludovicrousseau.blogspot.com/2015/12/remove-andor-
  customize-pcsc-reader-names.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1857118/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847742] Re: "sudo apt remove libpcsclite1" tries to remove network-manager and more

2019-10-11 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1847742

Title:
  "sudo apt remove libpcsclite1" tries to remove network-manager and
  more

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  I recently needed to remove and reinstall
  libpcsclite1_1.8.23-1_amd64.deb. I noticed that the removal of this
  package would result in the removal of various network-relevant
  packages (see below). I saw bug report #949912 which reported a
  similar thing in 2012 and marked it fixed. I understand that report
  dealt with the support of multiarch, but the behaviour of apt in the
  case of removal of libpcsclite1 seems undesirable to me. Here's the
  console output I got when trying to remove libpcsclite1 (sorry for the
  German output):

  sudo apt remove libpcsclite1
  [sudo] Passwort für clemens:
  Paketlisten werden gelesen... Fertig
  Abhängigkeitsbaum wird aufgebaut.
  Statusinformationen werden eingelesen Fertig
  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr 
benötigt:
 fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni 
libccid libcolord-gtk1
 libgif7 libgssglue1 libnss-myhostname libstoken1 libteamdctl0
  libtomcrypt1 libtommath1 vpnc-scripts
  Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
  Die folgenden Pakete werden ENTFERNT:
 ca-certificates-java gnome-control-center libfreerdp-plugins-standard 
libopenconnect5 libpcsclite1
 network-manager network-manager-config-connectivity-ubuntu 
network-manager-gnome network-manager
 openconnect network-manager-openconnect-gnome network-manager-pptp 
network-manager-pptp-gnome
 openconnect openjdk-8-jre openjdk-8-jre-headless pcscd 
plainbox-provider-checkbox
 plainbox-provider-resource-generic rdesktop tlp-rdw ubuntu-desktop 
wpasupplicant
  0 aktualisiert, 0 neu installiert, 22 zu entfernen und 30 nicht aktualisiert.
  Nach dieser Operation werden 126 MB Plattenplatz freigegeben.
  Möchten Sie fortfahren? [J/n]

  The crucial part is all those packages which apt wants to remove
  ("werden ENTFERNT"). I guess I could be doing a stupid thing trying to
  remove the libpcsclite1, but it really seems like unwanted behaviour
  since continuing this package removal as suggested by apt would result
  in an offline computer.

  Cheers,

  Hans

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1847742/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847742] Re: "sudo apt remove libpcsclite1" tries to remove network-manager and more

2019-10-11 Thread Ludovic Rousseau
Just do not remove libpcsclite1.

You can reinstall it with:
sudo apt install --reinstall libpcsclite1

If you *really* think it is a bug then please report it to wpasupplicant
that depends on libpcsclite1.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1847742

Title:
  "sudo apt remove libpcsclite1" tries to remove network-manager and
  more

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I recently needed to remove and reinstall
  libpcsclite1_1.8.23-1_amd64.deb. I noticed that the removal of this
  package would result in the removal of various network-relevant
  packages (see below). I saw bug report #949912 which reported a
  similar thing in 2012 and marked it fixed. I understand that report
  dealt with the support of multiarch, but the behaviour of apt in the
  case of removal of libpcsclite1 seems undesirable to me. Here's the
  console output I got when trying to remove libpcsclite1 (sorry for the
  German output):

  sudo apt remove libpcsclite1
  [sudo] Passwort für clemens:
  Paketlisten werden gelesen... Fertig
  Abhängigkeitsbaum wird aufgebaut.
  Statusinformationen werden eingelesen Fertig
  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr 
benötigt:
 fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni 
libccid libcolord-gtk1
 libgif7 libgssglue1 libnss-myhostname libstoken1 libteamdctl0
  libtomcrypt1 libtommath1 vpnc-scripts
  Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
  Die folgenden Pakete werden ENTFERNT:
 ca-certificates-java gnome-control-center libfreerdp-plugins-standard 
libopenconnect5 libpcsclite1
 network-manager network-manager-config-connectivity-ubuntu 
network-manager-gnome network-manager
 openconnect network-manager-openconnect-gnome network-manager-pptp 
network-manager-pptp-gnome
 openconnect openjdk-8-jre openjdk-8-jre-headless pcscd 
plainbox-provider-checkbox
 plainbox-provider-resource-generic rdesktop tlp-rdw ubuntu-desktop 
wpasupplicant
  0 aktualisiert, 0 neu installiert, 22 zu entfernen und 30 nicht aktualisiert.
  Nach dieser Operation werden 126 MB Plattenplatz freigegeben.
  Möchten Sie fortfahren? [J/n]

  The crucial part is all those packages which apt wants to remove
  ("werden ENTFERNT"). I guess I could be doing a stupid thing trying to
  remove the libpcsclite1, but it really seems like unwanted behaviour
  since continuing this package removal as suggested by apt would result
  in an offline computer.

  Cheers,

  Hans

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1847742/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1835297] Re: Precision 7730 smart card reader does not work out of box

2019-07-29 Thread Ludovic Rousseau
Please follow https://ccid.apdu.fr/#CCID_compliant

I already have the USB device 0a5c:5832 in my list.
https://ccid.apdu.fr/ccid/shouldwork.html#0x0A5C0x5832

Be sure to be using libccid package version 1.4.25 or more.
https://packages.ubuntu.com/search?keywords=libccid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1835297

Title:
  Precision 7730 smart card reader does not work out of box

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  The Canonical certified smart card reader will not function until the
  following commands are run:

  sudo mkdir /tmp/USH

  cd /tmp/USH

  sudo mkdir debs

  cd debs

  sudo wget https://http.kali.org/pool/main/p/pcsc-lite/libpcsclite-
  dev_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-
  lite/libpcsclite1_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-
  lite/pcscd_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-tools/pcsc-
  tools_1.5.4-1_amd64.deb

  cd ..

  sudo apt-get -f install -y

  sudo apt purge lib-pcsc* pcscd* -y

  sudo apt install ./debs/*.deb --install-recommends -y sudo apt-get
  install libusb-1.0-0-dev sudo wget https://alioth-
  archive.debian.org/releases/pcsclite/ccid/1.4.25/ccid-1.4.25.tar.bz2

  sudo tar xvfj ccid-*.tar.bz2

  cd ccid-1.4.25/

  ./configure

  sudo make

  sudo make install

  sudo cp src/92_pcscd_ccid.rules /etc/udev/rules.d/


  sudo systemctl restart pcscd

  sudo systemctl status pcscd

  sudo pcsc_scan


  Additionally, the following commands, which do the same thing as the
  above in a cleaner way, do NOT resolve the issue in both the OEM and
  public image:

  sudo apt install -y libpcsclite-dev libpcsclite1 pcscd pcsc-tools
  libusb-1.0-0 libusb-1.0-0-dev libccid libacsccid1

  sudo systemctl restart pcscd

  sudo systemctl status pcscd

  sudo pcsc_scan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1835297/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1835297] Re: Precision 7730 smart card reader does not work out of box

2019-07-03 Thread Ludovic Rousseau
I have no idea what the "Precision 7730 smart card reader".
Can you add here the output of the "lsusb" command?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1835297

Title:
  Precision 7730 smart card reader does not work out of box

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  The Canonical certified smart card reader will not function until the
  following commands are run:

  sudo mkdir /tmp/USH

  cd /tmp/USH

  sudo mkdir debs

  cd debs

  sudo wget https://http.kali.org/pool/main/p/pcsc-lite/libpcsclite-
  dev_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-
  lite/libpcsclite1_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-
  lite/pcscd_1.8.24-1_amd64.deb

  sudo wget https://http.kali.org/pool/main/p/pcsc-tools/pcsc-
  tools_1.5.4-1_amd64.deb

  cd ..

  sudo apt-get -f install -y

  sudo apt purge lib-pcsc* pcscd* -y

  sudo apt install ./debs/*.deb --install-recommends -y sudo apt-get
  install libusb-1.0-0-dev sudo wget https://alioth-
  archive.debian.org/releases/pcsclite/ccid/1.4.25/ccid-1.4.25.tar.bz2

  sudo tar xvfj ccid-*.tar.bz2

  cd ccid-1.4.25/

  ./configure

  sudo make

  sudo make install

  sudo cp src/92_pcscd_ccid.rules /etc/udev/rules.d/


  sudo systemctl restart pcscd

  sudo systemctl status pcscd

  sudo pcsc_scan


  Additionally, the following commands, which do the same thing as the
  above in a cleaner way, do NOT resolve the issue in both the OEM and
  public image:

  sudo apt install -y libpcsclite-dev libpcsclite1 pcscd pcsc-tools
  libusb-1.0-0 libusb-1.0-0-dev libccid libacsccid1

  sudo systemctl restart pcscd

  sudo systemctl status pcscd

  sudo pcsc_scan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1835297/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 294830] Re: libpcsclite.so versions >1.4.99 and <1.8.25 causes crash of firefox/chrome

2019-04-03 Thread Ludovic Rousseau
#7  0x7fffdef0702e in MessageSend
(buffer_void=buffer_void@entry=0x7fffd60030d0,
buffer_size=buffer_size@entry=8, filedes=filedes@entry=1024) at
winscard_msg.c:372

The file descriptor value is 1024. This is the default maximum number of opened 
file for a process.
You can check that using "ulimit -n".

The GNU libC then aborts the call, but your backtrace does not indicate
the name of the function that is aborted. I guess it is send(2).

Using more than 1024 opened files is NOT normal. I really suspect a bug in the 
proprietary PKCS#11 library /usr/local/AWP/lib/libOcsCryptoki.so
You can increase the limit using "ulimit -n 2000" just to see what happens.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/294830

Title:
  libpcsclite.so versions >1.4.99 and <1.8.25 causes crash of
  firefox/chrome

Status in pcsc-lite package in Ubuntu:
  Fix Committed

Bug description:
  pcscd with version after 1.4.99 causes crash of firefox if smart card
  reader is not inserted, and in result firefox can not start

  in Ubuntu 8.10 package pcscd 1.4.102-1u is not good, i recommend to
  rollback to 1.4.99 or older version of pcscd

  this issue is not only in Ubuntu, it persist in Slackware too

  configuration - reader Omnikey 6121 with smart card Siemens HiPath
  SIcurity card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/294830/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 294830] Re: libpcsclite.so versions >1.4.99 and <1.8.25 causes crash of firefox/chrome

2019-04-03 Thread Ludovic Rousseau
Jalakas, please install the package libpcsclite1-dbg and generate a new
backtrace.

I suspect a bug in the proprietary PKCS#11 library
/usr/local/AWP/lib/libOcsCryptoki.so

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/294830

Title:
  libpcsclite.so versions >1.4.99 and <1.8.25 causes crash of
  firefox/chrome

Status in pcsc-lite package in Ubuntu:
  Fix Committed

Bug description:
  pcscd with version after 1.4.99 causes crash of firefox if smart card
  reader is not inserted, and in result firefox can not start

  in Ubuntu 8.10 package pcscd 1.4.102-1u is not good, i recommend to
  rollback to 1.4.99 or older version of pcscd

  this issue is not only in Ubuntu, it persist in Slackware too

  configuration - reader Omnikey 6121 with smart card Siemens HiPath
  SIcurity card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/294830/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1700104] Re: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-12-12 Thread Ludovic Rousseau
I have no problem with pcscd on Ubuntu 16.04 LTS:

$ sudo LANG=C apt install pcscd
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  libccid
The following NEW packages will be installed:
  libccid pcscd
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 141 kB of archives.
After this operation, 469 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libccid 
amd64 1.4.22-1ubuntu0.1 [85.8 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 pcscd 
amd64 1.8.14-1ubuntu1.16.04.1 [55.7 kB]
Fetched 141 kB in 0s (1006 kB/s)
Selecting previously unselected package libccid.
(Reading database ... 223096 files and directories currently installed.)
Preparing to unpack .../libccid_1.4.22-1ubuntu0.1_amd64.deb ...
Unpacking libccid (1.4.22-1ubuntu0.1) ...
Selecting previously unselected package pcscd.
Preparing to unpack .../pcscd_1.8.14-1ubuntu1.16.04.1_amd64.deb ...
Unpacking pcscd (1.8.14-1ubuntu1.16.04.1) ...
Processing triggers for systemd (229-4ubuntu21.10) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libccid (1.4.22-1ubuntu0.1) ...
Setting up pcscd (1.8.14-1ubuntu1.16.04.1) ...
Processing triggers for systemd (229-4ubuntu21.10) ...
Processing triggers for ureadahead (0.100.0-19) ...


And also no problem on Ubuntu 18.04 LTS.

$ sudo LANG=C apt install pcscd
[sudo] Mot de passe de rousseau : 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  pcscd
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 57.9 kB of archives.
After this operation, 176 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu bionic/universe amd64 pcscd amd64 
1.8.23-1 [57.9 kB]
Fetched 57.9 kB in 0s (651 kB/s)
Selecting previously unselected package pcscd.
(Reading database ... 172785 files and directories currently installed.)
Preparing to unpack .../pcscd_1.8.23-1_amd64.deb ...
Unpacking pcscd (1.8.23-1) ...
Setting up pcscd (1.8.23-1) ...
Created symlink /etc/systemd/system/sockets.target.wants/pcscd.socket -> 
/lib/systemd/system/pcscd.socket.
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.9) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

I do not plan to fix a bug in Ubuntu 14.04 only. Ubuntu 14.04 should be
UN-maintained after April 2019 (in 4 months).
https://www.ubuntu.com/about/release-cycle

The best solution may be to upgrade your system.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1700104

Title:
  package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  .

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-81.104~14.04.1-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.24
  AptOrdering:
   pcscd: Install
   pcscd: Configure
  Architecture: amd64
  Date: Fri Jun 23 12:21:31 2017
  DuplicateSignature: package:pcscd:1.8.10-1ubuntu1.1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2016-12-28 (177 days ago)
  InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1700104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1700104] Re: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-12-12 Thread Ludovic Rousseau
Nice catch Martin!

The best would be to ask systemd what directory to use. So the same code
can be used on Ubuntu and Debian.

I was not able to find a way to ask systemd where the unit files should be 
installed :-(
Any idea?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1700104

Title:
  package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  .

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-81.104~14.04.1-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.24
  AptOrdering:
   pcscd: Install
   pcscd: Configure
  Architecture: amd64
  Date: Fri Jun 23 12:21:31 2017
  DuplicateSignature: package:pcscd:1.8.10-1ubuntu1.1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2016-12-28 (177 days ago)
  InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1700104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1700104] Re: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-10-30 Thread Ludovic Rousseau
The correct command should be:
sudo apt install --reinstall pcscd

Use cut-and-paste to be sure to use the correct command and send back
the correct results.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1700104

Title:
  package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  .

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-81.104~14.04.1-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.24
  AptOrdering:
   pcscd: Install
   pcscd: Configure
  Architecture: amd64
  Date: Fri Jun 23 12:21:31 2017
  DuplicateSignature: package:pcscd:1.8.10-1ubuntu1.1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2016-12-28 (177 days ago)
  InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1700104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1700104] Re: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-09-14 Thread Ludovic Rousseau
According to https://serverfault.com/questions/715064/failed-to-issue-
method-call-unit-failed-to-load-no-such-file-or-directory or
https://bugzilla.redhat.com/show_bug.cgi?id=955379 the error message you
have "Failed to issue method call: No such file or directory" comes from
systemd.

pcscd version 1.8.10 is from Ubuntu 14.04, an old Ubuntu version.
Are you trying to upgrade to Ubuntu 16.04? 18.04? something else?

** Bug watch added: Red Hat Bugzilla #955379
   https://bugzilla.redhat.com/show_bug.cgi?id=955379

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1700104

Title:
  package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  .

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-81.104~14.04.1-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.24
  AptOrdering:
   pcscd: Install
   pcscd: Configure
  Architecture: amd64
  Date: Fri Jun 23 12:21:31 2017
  DuplicateSignature: package:pcscd:1.8.10-1ubuntu1.1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2016-12-28 (177 days ago)
  InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1700104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1700104] Re: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-09-14 Thread Ludovic Rousseau
Diego, Kurt, Do you also have the problem if you do:
sudo apt install --reinstall pcscd

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1700104

Title:
  package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  .

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-81.104~14.04.1-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.24
  AptOrdering:
   pcscd: Install
   pcscd: Configure
  Architecture: amd64
  Date: Fri Jun 23 12:21:31 2017
  DuplicateSignature: package:pcscd:1.8.10-1ubuntu1.1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2016-12-28 (177 days ago)
  InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.10-1ubuntu1.1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1700104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1745690] Re: pcscd cannot load a usb device. Error with libccid.so: undefined symbol: libusb_handle_events_completed

2018-01-29 Thread Ludovic Rousseau
You had libusb installed in "/usr/local" and at the same time "No, I
haven't rebuilt libusb or libccid myself." :-)

Closing the bug as it was a misconfiguration on your side.

** Changed in: pcsc-lite (Ubuntu)
 Assignee: (unassigned) => Ludovic Rousseau (ludovic-rousseau-gmail)

** Changed in: pcsc-lite (Ubuntu)
   Status: Invalid => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1745690

Title:
  pcscd cannot load a usb device. Error with libccid.so: undefined
  symbol: libusb_handle_events_completed

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  I have a problem using my Smart Card with the latest ubuntu version
  (17.10). (It works fine with Ubuntu 14.04).

  $ sudo service pcscd status

  ● pcscd.service - PC/SC Smart Card Daemon
 Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
 Active: inactive (dead) since Fri 2018-01-26 23:19:46 EET; 4min 58s ago
Process: 6503 ExecStart=/usr/sbin/pcscd --foreground --auto-exit 
(code=exited, status=0/SUCCESS)
   Main PID: 6503 (code=exited, status=0/SUCCESS)
CPU: 15ms

  Jan 26 23:11:01 ubuntu systemd[1]: Started PC/SC Smart Card Daemon.
  Jan 26 23:11:01 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0144 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0058 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0011 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID
  Jan 26 23:14:38 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0039 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0009 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0007 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID

  
  The problem is similar to something which someone else is facing: 
https://superuser.com/questions/1173940/debian-stretch-smartcard-reader-error-scardestablishcontext-service-not-availa

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1745690/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1745690] Re: pcscd cannot load a usb device. Error with libccid.so: undefined symbol: libusb_handle_events_completed

2018-01-27 Thread Ludovic Rousseau
The CCID driver does not find the symbol
"libusb_handle_events_completed". This symbol should be provided by the
libusb library.

Have you rebuild libusb or libccid yourself?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1745690

Title:
  pcscd cannot load a usb device. Error with libccid.so: undefined
  symbol: libusb_handle_events_completed

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have a problem using my Smart Card with the latest ubuntu version
  (17.10). (It works fine with Ubuntu 14.04).

  $ sudo service pcscd status

  ● pcscd.service - PC/SC Smart Card Daemon
 Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
 Active: inactive (dead) since Fri 2018-01-26 23:19:46 EET; 4min 58s ago
Process: 6503 ExecStart=/usr/sbin/pcscd --foreground --auto-exit 
(code=exited, status=0/SUCCESS)
   Main PID: 6503 (code=exited, status=0/SUCCESS)
CPU: 15ms

  Jan 26 23:11:01 ubuntu systemd[1]: Started PC/SC Smart Card Daemon.
  Jan 26 23:11:01 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0144 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0058 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0011 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID
  Jan 26 23:14:38 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0039 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0009 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0007 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID

  
  The problem is similar to something which someone else is facing: 
https://superuser.com/questions/1173940/debian-stretch-smartcard-reader-error-scardestablishcontext-service-not-availa

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1745690/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1745690] Re: pcscd cannot load a usb device. Error with libccid.so: undefined symbol: libusb_handle_events_completed

2018-01-27 Thread Ludovic Rousseau
The CCID driver does not find the symbol
"libusb_handle_events_completed". This symbol should be provided by the
libusb library.

Have you rebuild libusb or libccid yourself?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1745690

Title:
  pcscd cannot load a usb device. Error with libccid.so: undefined
  symbol: libusb_handle_events_completed

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I have a problem using my Smart Card with the latest ubuntu version
  (17.10). (It works fine with Ubuntu 14.04).

  $ sudo service pcscd status

  ● pcscd.service - PC/SC Smart Card Daemon
 Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
 Active: inactive (dead) since Fri 2018-01-26 23:19:46 EET; 4min 58s ago
Process: 6503 ExecStart=/usr/sbin/pcscd --foreground --auto-exit 
(code=exited, status=0/SUCCESS)
   Main PID: 6503 (code=exited, status=0/SUCCESS)
CPU: 15ms

  Jan 26 23:11:01 ubuntu systemd[1]: Started PC/SC Smart Card Daemon.
  Jan 26 23:11:01 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0144 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0058 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:11:01 ubuntu pcscd[6503]: 0011 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID
  Jan 26 23:14:38 ubuntu pcscd[6503]:  dyn_unix.c:58:DYN_LoadLibrary() 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: undefined 
symbol: libusb_handle_events_completed
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0039 
readerfactory.c:1081:RFInitializeReader() RFLoadReader failed: 0x80100014
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0009 
readerfactory.c:376:RFAddReader() ACS ACR 38U-CCID init failed.
  Jan 26 23:14:38 ubuntu pcscd[6503]: 0007 
hotplug_libudev.c:523:HPAddDevice() Failed adding USB device: ACS ACR 38U-CCID

  
  The problem is similar to something which someone else is facing: 
https://superuser.com/questions/1173940/debian-stretch-smartcard-reader-error-scardestablishcontext-service-not-availa

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1745690/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says "card is not found" in java applet

2016-11-07 Thread Ludovic Rousseau
Hello,

veeru, it looks like you do not know what you are doing. I propose you
to read documentation first.

Mosipo, I guess you solved your problem.

This bug system is not a support forum. I close this non-bug.

** Changed in: pcsc-lite (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says "card is not found" in java
  applet

Status in pcsc-lite package in Ubuntu:
  Invalid

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version "1.8.0_11"
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1596662] Re: pcscd fails to read CAC card data, errors out

2016-08-24 Thread Ludovic Rousseau
It looks like the problem is now fixed. A new bug may be created about
the kernel warnings.

I wrote about the firmware upgrade at
https://ludovicrousseau.blogspot.fr/2016/08/broadcom-ccid-readers.html

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1596662

Title:
  pcscd fails to read CAC card data, errors out

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  When I use Firefox to try and access a website using my CAC card, with a 
Broadcom Corp 5880 [Contacted SmartCard] smart card reader on a Dell Precision 
7510 and libcackey, my web browser hangs for a bit, then fails, and looking at 
pcscd's log shows the following (note the lines:
  "0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card."

  Ubuntu 14.04.4, kernel 4.2.0-38-generic.

  See below:

  winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 15
  0039 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0008 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0003 winscard.c:1587:SCardTransmit() Send Protocol: T=0
  0003 APDU: 00 C0 00 00 BA 
  0003 ifdhandler.c:1266:IFDHTransmitToICC() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  00014006 commands.c:1456:CCID_Receive() Can't read all data (54 out of 188 
expected)
  0012 SW: 
  0003 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
  0003 winscard.c:1612:SCardTransmit() Card not transacted: 0x80100016
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100016 for client 
15
  0038 winscard_svc.c:319:ContextThread() Received command: RECONNECT from 
client 15
  0007 winscard.c:504:SCardReconnect() Attempting reconnect to token.
  0003 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  00230568 ccid_usb.c:790:ReadUSB() read failed (1/5): -8 Resource temporarily 
unavailable
  0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card.
  0002 winscard.c:793:SCardReconnect() UnrefReader() count was: 2
  0003 winscard_svc.c:472:ContextThread() RECONNECT rv=0x80100066 for 
client 15
  0049 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0007 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0001 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100068 for client 
15
  0014 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from 
client 15
  0004 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:850:SCardDisconnect() Active Contexts: 1
  0002 winscard.c:851:SCardDisconnect() dwDisposition: 0
  0001 winscard.c:1016:SCardDisconnect() powerState: 
POWER_STATE_GRACE_PERIOD
  0003 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0002 winscard.c:1030:SCardDisconnect() Stopping polling thread
  0014 ifdhandler.c:327:IFDHStopPolling() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0147 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
  0007 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 15
  0049 winscard_svc.c:319:ContextThread() Received command: CONNECT from 
client 15
  0024 winscard.c:235:SCardConnect() Attempting Connect to Broadcom Corp 
5880 [Contacted SmartCard] (0123456789ABCD) 00 00 using protocol: 3
  0002 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
  0002 winscard.c:322:SCardConnect() Card Not Powered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1596662/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1596662] Re: pcscd fails to read CAC card data, errors out

2016-07-03 Thread Ludovic Rousseau
I moved the reader in the "Unsupported or partly supported CCID readers" list
https://pcsclite.alioth.debian.org/ccid/unsupported.html#0x0A5C0x5800

I have no solution for now.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1596662

Title:
  pcscd fails to read CAC card data, errors out

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  When I use Firefox to try and access a website using my CAC card, with a 
Broadcom Corp 5880 [Contacted SmartCard] smart card reader on a Dell Precision 
7510 and libcackey, my web browser hangs for a bit, then fails, and looking at 
pcscd's log shows the following (note the lines:
  "0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card."

  Ubuntu 14.04.4, kernel 4.2.0-38-generic.

  See below:

  winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 15
  0039 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0008 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0003 winscard.c:1587:SCardTransmit() Send Protocol: T=0
  0003 APDU: 00 C0 00 00 BA 
  0003 ifdhandler.c:1266:IFDHTransmitToICC() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  00014006 commands.c:1456:CCID_Receive() Can't read all data (54 out of 188 
expected)
  0012 SW: 
  0003 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
  0003 winscard.c:1612:SCardTransmit() Card not transacted: 0x80100016
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100016 for client 
15
  0038 winscard_svc.c:319:ContextThread() Received command: RECONNECT from 
client 15
  0007 winscard.c:504:SCardReconnect() Attempting reconnect to token.
  0003 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  00230568 ccid_usb.c:790:ReadUSB() read failed (1/5): -8 Resource temporarily 
unavailable
  0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card.
  0002 winscard.c:793:SCardReconnect() UnrefReader() count was: 2
  0003 winscard_svc.c:472:ContextThread() RECONNECT rv=0x80100066 for 
client 15
  0049 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0007 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0001 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100068 for client 
15
  0014 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from 
client 15
  0004 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:850:SCardDisconnect() Active Contexts: 1
  0002 winscard.c:851:SCardDisconnect() dwDisposition: 0
  0001 winscard.c:1016:SCardDisconnect() powerState: 
POWER_STATE_GRACE_PERIOD
  0003 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0002 winscard.c:1030:SCardDisconnect() Stopping polling thread
  0014 ifdhandler.c:327:IFDHStopPolling() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0147 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
  0007 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 15
  0049 winscard_svc.c:319:ContextThread() Received command: CONNECT from 
client 15
  0024 winscard.c:235:SCardConnect() Attempting Connect to Broadcom Corp 
5880 [Contacted SmartCard] (0123456789ABCD) 00 00 using protocol: 3
  0002 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
  0002 winscard.c:322:SCardConnect() Card Not Powered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1596662/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1596662] Re: pcscd fails to read CAC card data, errors out

2016-06-28 Thread Ludovic Rousseau
The problem is:
0003 APDU: 00 C0 00 00 BA 
0002 ifdhandler.c:1295:IFDHTransmitToICC() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/007 (lun: 0)
0002 commands.c:1740:CmdXfrBlockTPDU_T0() T=0: 5 bytes
0003 -> 00 6F 05 00 00 00 00 17 00 00 00 00 C0 00 00 BA 
00014454 <- 00 80 BC 00 00 00 00 17 00 00 00 A0 00 00 00 79 03 02 40 70 50 
72 47 67 00 ED CB C7 00 ED CB C7 21 21 A0 00 00 00 79 01 02 00 01 00 00 00 00 
00 00 00 A0 00 00 00 79 01 02 01 01 00 00 00 00 00 00 
0013 commands.c:1551:CCID_Receive() Can't read all data (54 out of 188 
expected)
0003 SW: 
0002 ifdwrapper.c:548:IFDTransmit() Card not transacted: 612
0001 winscard.c:1643:SCardTransmit() Card not transacted: 0x80100016

Maybe you can find a BIOS upgrade or something similar on the Dell
and/or Broadcom website.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1596662

Title:
  pcscd fails to read CAC card data, errors out

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  When I use Firefox to try and access a website using my CAC card, with a 
Broadcom Corp 5880 [Contacted SmartCard] smart card reader on a Dell Precision 
7510 and libcackey, my web browser hangs for a bit, then fails, and looking at 
pcscd's log shows the following (note the lines:
  "0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card."

  Ubuntu 14.04.4, kernel 4.2.0-38-generic.

  See below:

  winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 15
  0039 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0008 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0003 winscard.c:1587:SCardTransmit() Send Protocol: T=0
  0003 APDU: 00 C0 00 00 BA 
  0003 ifdhandler.c:1266:IFDHTransmitToICC() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  00014006 commands.c:1456:CCID_Receive() Can't read all data (54 out of 188 
expected)
  0012 SW: 
  0003 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
  0003 winscard.c:1612:SCardTransmit() Card not transacted: 0x80100016
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100016 for client 
15
  0038 winscard_svc.c:319:ContextThread() Received command: RECONNECT from 
client 15
  0007 winscard.c:504:SCardReconnect() Attempting reconnect to token.
  0003 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  00230568 ccid_usb.c:790:ReadUSB() read failed (1/5): -8 Resource temporarily 
unavailable
  0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card.
  0002 winscard.c:793:SCardReconnect() UnrefReader() count was: 2
  0003 winscard_svc.c:472:ContextThread() RECONNECT rv=0x80100066 for 
client 15
  0049 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0007 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0001 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100068 for client 
15
  0014 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from 
client 15
  0004 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:850:SCardDisconnect() Active Contexts: 1
  0002 winscard.c:851:SCardDisconnect() dwDisposition: 0
  0001 winscard.c:1016:SCardDisconnect() powerState: 
POWER_STATE_GRACE_PERIOD
  0003 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0002 winscard.c:1030:SCardDisconnect() Stopping polling thread
  0014 ifdhandler.c:327:IFDHStopPolling() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0147 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
  0007 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 15
  0049 winscard_svc.c:319:ContextThread() Received command: CONNECT from 
client 15
  0024 winscard.c:235:SCardConnect() Attempting Connect to Broadcom Corp 
5880 [Contacted SmartCard] (0123456789ABCD) 00 00 using protocol: 3
  0002 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
  0002 winscard.c:322:SCardConnect() Card Not Powered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1596662/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1596662] Re: pcscd fails to read CAC card data, errors out

2016-06-27 Thread Ludovic Rousseau
Please follow
https://pcsclite.alioth.debian.org/ccid.html#CCID_compliant

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1596662

Title:
  pcscd fails to read CAC card data, errors out

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  When I use Firefox to try and access a website using my CAC card, with a 
Broadcom Corp 5880 [Contacted SmartCard] smart card reader on a Dell Precision 
7510 and libcackey, my web browser hangs for a bit, then fails, and looking at 
pcscd's log shows the following (note the lines:
  "0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card."

  Ubuntu 14.04.4, kernel 4.2.0-38-generic.

  See below:

  winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x0 for client 15
  0039 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0008 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0003 winscard.c:1587:SCardTransmit() Send Protocol: T=0
  0003 APDU: 00 C0 00 00 BA 
  0003 ifdhandler.c:1266:IFDHTransmitToICC() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  00014006 commands.c:1456:CCID_Receive() Can't read all data (54 out of 188 
expected)
  0012 SW: 
  0003 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
  0003 winscard.c:1612:SCardTransmit() Card not transacted: 0x80100016
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0003 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100016 for client 
15
  0038 winscard_svc.c:319:ContextThread() Received command: RECONNECT from 
client 15
  0007 winscard.c:504:SCardReconnect() Attempting reconnect to token.
  0003 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  00230568 ccid_usb.c:790:ReadUSB() read failed (1/5): -8 Resource temporarily 
unavailable
  0026 ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
  0002 winscard.c:592:SCardReconnect() Error resetting card.
  0002 winscard.c:793:SCardReconnect() UnrefReader() count was: 2
  0003 winscard_svc.c:472:ContextThread() RECONNECT rv=0x80100066 for 
client 15
  0049 winscard_svc.c:319:ContextThread() Received command: TRANSMIT from 
client 15
  0007 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:1632:SCardTransmit() UnrefReader() count was: 2
  0001 winscard_svc.c:608:ContextThread() TRANSMIT rv=0x80100068 for client 
15
  0014 winscard_svc.c:319:ContextThread() Received command: DISCONNECT from 
client 15
  0004 readerfactory.c:772:RFReaderInfoById() RefReader() count was: 1
  0002 winscard.c:850:SCardDisconnect() Active Contexts: 1
  0002 winscard.c:851:SCardDisconnect() dwDisposition: 0
  0001 winscard.c:1016:SCardDisconnect() powerState: 
POWER_STATE_GRACE_PERIOD
  0003 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0002 winscard.c:1030:SCardDisconnect() Stopping polling thread
  0014 ifdhandler.c:327:IFDHStopPolling() 
usb:0a5c/5800:libudev:1:/dev/bus/usb/001/005 (lun: 0)
  0147 winscard.c:1043:SCardDisconnect() UnrefReader() count was: 2
  0007 winscard_svc.c:490:ContextThread() DISCONNECT rv=0x0 for client 15
  0049 winscard_svc.c:319:ContextThread() Received command: CONNECT from 
client 15
  0024 winscard.c:235:SCardConnect() Attempting Connect to Broadcom Corp 
5880 [Contacted SmartCard] (0123456789ABCD) 00 00 using protocol: 3
  0002 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1
  0002 winscard.c:322:SCardConnect() Card Not Powered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1596662/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1507190] Re: Disconnect Smartcard reader from USB causes pscd to crash

2016-05-06 Thread Ludovic Rousseau
** Package changed: pcsc-lite (Ubuntu) => pcsc-cyberjack (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1507190

Title:
  Disconnect Smartcard reader from USB causes pscd to crash

Status in pcsc-cyberjack package in Ubuntu:
  New

Bug description:
  PCSC works corectly with Reiner SCT cardreader and Moneyplex. Regular
  crashes however when application is shutdown or cardreader unplugged,

  ProblemType: Crash
  DistroRelease: Ubuntu 15.10
  Package: pcscd 1.8.14-1ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  AssertionMessage: *** Error in `/usr/sbin/pcscd': free(): corrupted unsorted 
chunks: 0x014d59a0 ***
  Date: Thu Oct 15 14:46:33 2015
  ExecutablePath: /usr/sbin/pcscd
  InstallationDate: Installed on 2012-08-21 (1152 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  ProcCmdline: /usr/sbin/pcscd --foreground --auto-exit
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
  Signal: 6
  SourcePackage: pcsc-lite
  StacktraceTop:
   select () at ../sysdeps/unix/syscall-template.S:81
   ?? ()
   ?? ()
   __libc_start_main (main=0x402f60, argc=3, argv=0x7ffc375ce0b8, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffc375ce0a8) at libc-start.c:289
   _start ()
  Title: pcscd assert failure: *** Error in `/usr/sbin/pcscd': free(): 
corrupted unsorted chunks: 0x014d59a0 ***
  UpgradeStatus: Upgraded to wily on 2015-10-03 (14 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1507190/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-04-19 Thread Ludovic Rousseau
** Also affects: pcsc-lite (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed
Status in pcsc-lite package in Debian:
  Unknown

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1572004] Re: pcscd consumes 100% CPU

2016-04-19 Thread Ludovic Rousseau
This bug is a duplicate of 1551897
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897

** Bug watch added: Debian Bug tracker #812087
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087

** Also affects: pcsc-lite (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1572004

Title:
  pcscd consumes 100% CPU

Status in pcsc-lite package in Ubuntu:
  New
Status in pcsc-lite package in Debian:
  Unknown

Bug description:
  After upgrading to 16.04, pcscd process is stuck at using 100% CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1572004/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1570359] Re: pcscd crashed with SIGSEGV in __elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__()

2016-04-14 Thread Ludovic Rousseau
Can you provide the information listed at
https://pcsclite.alioth.debian.org/pcsclite.html#support

What did you do when the crash occurred? Connect a device? Remove a
device?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1570359

Title:
  pcscd crashed with SIGSEGV in
  __elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__()

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  crashed when login

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: pcscd 1.8.14-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  Date: Mon Apr  4 17:29:56 2016
  Disassembly: => 0x7f7da881b64c:   Cannot access memory at address 
0x7f7da881b64c
  ExecutablePath: /usr/sbin/pcscd
  InstallationDate: Installed on 2016-03-06 (39 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160304)
  ProcCmdline: /usr/sbin/pcscd --foreground --auto-exit
  SegvAnalysis:
   Segfault happened at: 0x7f7da881b64c:Cannot access memory at address 
0x7f7da881b64c
   PC (0x7f7da881b64c) not located in a known VMA region (needed executable 
region)!
   Stack memory exhausted (SP below stack segment)
  SegvReason: executing unknown VMA
  Signal: 11
  SourcePackage: pcsc-lite
  StacktraceTop:
   ?? ()
   __elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__ () from 
/lib/x86_64-linux-gnu/libc.so.6
   ?? ()
  Title: pcscd crashed with SIGSEGV in 
__elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1570359/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-04-03 Thread Ludovic Rousseau
Johnny, you can disable support of the Broadcom device.

- Get the source code of the libccid driver from 
https://alioth.debian.org/frs/?group_id=30105#title_ccid.
- edit the file readers/supported_readers.txt
- remove the line "0x0A5C:0x5800:Broadcom Corp 5880"
- run the commands
$ ./configure
$ make
$ make install DESTDIR=/tmp/ccid
$ sudo cp /tmp/ccid/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 
/etc/libccid_Info.plist

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-04-03 Thread Ludovic Rousseau
I reported the bug upstream to libudev project
https://github.com/systemd/systemd/issues/2946

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-04-01 Thread Ludovic Rousseau
Johnny, you can remove the pcscd package if you do not use it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-30 Thread Ludovic Rousseau
It looks like the problem is related to some specific readers only:
Broadcom Corp 5880 and Yubico Yubikey NEO U2F+CCID

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-29 Thread Ludovic Rousseau
Johnny, can you attach the result of the command "lsusb -v"?
Thanks

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-28 Thread Ludovic Rousseau
Casey, it looks like the problem is related to the use of a "Yubico Yubikey NEO 
U2F+CCID" device.
Unfortunately I do not have such a device myself so I can't reproduce the 
problem here :-(

Johnny, why do you say "Probably most people using Estonian ID-Card on those 
distros will be affected?"?
What smart card reader(s) are provided with the Estonian ID-Card?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-24 Thread Ludovic Rousseau
Can you do:
sudo LIBUSB_DEBUG=99 pcscd -dfaT | tee log.txt
and add to this bug the created log.txt file?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1539999] Re: Omnikey Cardreader not working

2016-03-21 Thread Ludovic Rousseau
What is the output of the lsusb command?
What is the version of the libccid package?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/153

Title:
  Omnikey Cardreader not working

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  On my desktop & sony vaio laptop, Alpha 2 Ubuntu-mate does not start my usb 
Omnikey 3121 card reader.
  The 3121 is listed in terminal when I perform 'lsusb'. The reader does work 
under concurrent devuan 1. I have installed pcscd (which drags in libccid 
correctly) & pcsc-tools but this hasn't corrected the problem even with a 
reboot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/153/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-19 Thread Ludovic Rousseau
I installed Ubuntu Xenial (beta) in a VirtualBox virtual machine and I
can't reproduce the problem :-(

I could connect a CCID reader and a USB mass storage with no problem on pcscd.
Can you reproduce the problem in a Virtual Machine on your side?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1554570] Re: package libpcsclite1 1.8.14-1ubuntu1 [modified: usr/share/doc/libpcsclite1/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/d

2016-03-09 Thread Ludovic Rousseau
It may be a problem on your side.
Package: libpcsclite1 1.8.14-1ubuntu1 [modified: 
usr/share/doc/libpcsclite1/changelog.Debian.gz]

Have you manually modified
/usr/share/doc/libpcsclite1/changelog.Debian.gz ?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1554570

Title:
  package libpcsclite1 1.8.14-1ubuntu1 [modified:
  usr/share/doc/libpcsclite1/changelog.Debian.gz] failed to
  install/upgrade: trying to overwrite shared
  '/usr/share/doc/libpcsclite1/changelog.Debian.gz', which is different
  from other instances of package libpcsclite1:i386

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I was trying to install a smart card reader to a digital certificate.

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: libpcsclite1 1.8.14-1ubuntu1 [modified: 
usr/share/doc/libpcsclite1/changelog.Debian.gz]
  ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  AptOrdering:
   libpcsclite1: Install
   libpcsclite1: Configure
   libpcsclite1: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Tue Mar  8 12:13:18 2016
  Dependencies:
   gcc-5-base 5.2.1-22ubuntu2
   libc6 2.21-0ubuntu4.1
   libgcc1 1:5.2.1-22ubuntu2
  DpkgTerminalLog:
   Preparing to unpack .../libpcsclite1_1.8.14-1ubuntu1_i386.deb ...
   Unpacking libpcsclite1:i386 (1.8.14-1ubuntu1) over (1.8.5-1ubuntu1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libpcsclite1_1.8.14-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared 
'/usr/share/doc/libpcsclite1/changelog.Debian.gz', which is different from 
other instances of package libpcsclite1:i386
  DuplicateSignature: package:libpcsclite1:1.8.14-1ubuntu1 [modified: 
usr/share/doc/libpcsclite1/changelog.Debian.gz]:trying to overwrite shared 
'/usr/share/doc/libpcsclite1/changelog.Debian.gz', which is different from 
other instances of package libpcsclite1:i386
  ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libpcsclite1/changelog.Debian.gz', which is different from 
other instances of package libpcsclite1:i386
  InstallationDate: Installed on 2016-03-08 (0 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  RelatedPackageVersions:
   dpkg 1.18.2ubuntu5.1
   apt  1.0.10.2ubuntu1
  SourcePackage: pcsc-lite
  Title: package libpcsclite1 1.8.14-1ubuntu1 [modified: 
usr/share/doc/libpcsclite1/changelog.Debian.gz] failed to install/upgrade: 
trying to overwrite shared '/usr/share/doc/libpcsclite1/changelog.Debian.gz', 
which is different from other instances of package libpcsclite1:i386
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1554570/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-07 Thread Ludovic Rousseau
If you use --disable-libudev you use use the older hotplug mechanism.
See 
http://ludovicrousseau.blogspot.com/2011/02/pcscd-now-uses-libudev-instead-of.html

At least that will avoid the 100% CPU issue.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Ludovic Rousseau
Does your log trace include the moment when pcscd consumed 100% of CPU?

I ask because I could not find anything strange in the trace.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1551897] Re: Excessive CPU utilization

2016-03-01 Thread Ludovic Rousseau
It looks like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087

Can you rebuild pcscd with hotplug debug enabled. No need to install
pcscd so you can't break your installation.

1. Get the source code of pcsc-lite, for example from
https://alioth.debian.org/frs/?group_id=30105_id=2019#pcsclite-_1.8.15
-title-content

2. install the build dependencies using:
$ sudo apt-get build-dep pcscd

3. edit the file PCSC/src/hotplug_libudev.c and change the line 66 from
#undef DEBUG_HOTPLUG
to
#define DEBUG_HOTPLUG

4. configure pcsc-lite using "./configure"

5. run pcscd using:
$ sudo ./src/pcscd -dfa

6. try to reproduce the 100% CPU consumption problem

This may generate a lot of logs if the problem is with libudev.

** Bug watch added: Debian Bug tracker #812087
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1551897

Title:
  Excessive CPU utilization

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  In xenial, pcscd CPU utilization occasionally goes haywire:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND   


  27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

  I get this about once a day since installing xenial. I can't quite
  connect it to any specific event on the system, it just seems to
  happen sporadically -- fan turns on, I run top, and there it is again.

  Never had this issue on same hardware incl. smartcard with trusty.

  I wonder if it might be this? https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=718473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1515318] Re: package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2015-11-11 Thread Ludovic Rousseau
Do you still have the problem if you run:
$ sudo apt-get -f install

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1515318

Title:
  package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  dont have much. during a regular install

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: pcscd 1.8.14-1ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  Date: Tue Nov 10 17:40:38 2015
  DuplicateSignature: package:pcscd:1.8.14-1ubuntu1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-11-05 (5 days ago)
  InstallationMedia: It
  RelatedPackageVersions:
   dpkg 1.18.2ubuntu5
   apt  1.0.10.2ubuntu1
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1515318/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1515318] Re: package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2015-11-11 Thread Ludovic Rousseau
** Changed in: pcsc-lite (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1515318

Title:
  package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pcsc-lite package in Ubuntu:
  Invalid

Bug description:
  dont have much. during a regular install

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: pcscd 1.8.14-1ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  Date: Tue Nov 10 17:40:38 2015
  DuplicateSignature: package:pcscd:1.8.14-1ubuntu1:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-11-05 (5 days ago)
  InstallationMedia: It
  RelatedPackageVersions:
   dpkg 1.18.2ubuntu5
   apt  1.0.10.2ubuntu1
  SourcePackage: pcsc-lite
  Title: package pcscd 1.8.14-1ubuntu1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1515318/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1511674] Re: Memory leak

2015-11-03 Thread Ludovic Rousseau
I have no idea on how packports works on Ubuntu.
It looks like you can request it yourself 
https://wiki.ubuntu.com/UbuntuBackports

** Changed in: pcsc-lite (Ubuntu)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1511674

Title:
  Memory leak

Status in pcsc-lite package in Ubuntu:
  Fix Committed

Bug description:
  I noticed that pcscd consumes a lot of memory (5GB after 48h since start) in 
one of my computers (ubuntu 14.04 64-bit pcsc-lite version 1.8.10.)
  In debug mode pcscd shows a lot of USB "device removed" notifications:

  0102 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  1297 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  [cut - long list of usb devices]
  0246 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x03EB, PID: 0x2044, path: /dev/bus/usb/001/067
  00022327 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500329 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500341 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5

  Flood of "device removed" messages was caused by some broken USB
  device (not card reader - CDC-ACM device), but it doesn't explain why
  pcscd allocated 5GB of memory. Is it some memory leak in pcscd?

  lsb_release -rd:
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://pl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 
Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1511674] Re: Memory leak

2015-11-02 Thread Ludovic Rousseau
Thanks for the log.
Your problem now is not with the flood of "Device removed" logs but with the 
RAM consumption. exact?

Do you also see the RAM consumption growing if your PC/SC application is
NOT running?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1511674

Title:
  Memory leak

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I noticed that pcscd consumes a lot of memory (5GB after 48h since start) in 
one of my computers (ubuntu 14.04 64-bit pcsc-lite version 1.8.10.)
  In debug mode pcscd shows a lot of USB "device removed" notifications:

  0102 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  1297 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  [cut - long list of usb devices]
  0246 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x03EB, PID: 0x2044, path: /dev/bus/usb/001/067
  00022327 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500329 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500341 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5

  Flood of "device removed" messages was caused by some broken USB
  device (not card reader - CDC-ACM device), but it doesn't explain why
  pcscd allocated 5GB of memory. Is it some memory leak in pcscd?

  lsb_release -rd:
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://pl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 
Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1511674] Re: Memory leak

2015-11-02 Thread Ludovic Rousseau
A memory leak has been fixed in pcsc-lite 1.8.12
Can you install a newer version of pcscd 
(http://packages.ubuntu.com/wily/pcscd) and try again?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1511674

Title:
  Memory leak

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I noticed that pcscd consumes a lot of memory (5GB after 48h since start) in 
one of my computers (ubuntu 14.04 64-bit pcsc-lite version 1.8.10.)
  In debug mode pcscd shows a lot of USB "device removed" notifications:

  0102 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  1297 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  [cut - long list of usb devices]
  0246 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x03EB, PID: 0x2044, path: /dev/bus/usb/001/067
  00022327 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500329 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500341 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5

  Flood of "device removed" messages was caused by some broken USB
  device (not card reader - CDC-ACM device), but it doesn't explain why
  pcscd allocated 5GB of memory. Is it some memory leak in pcscd?

  lsb_release -rd:
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://pl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 
Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1511674] Re: Memory leak

2015-10-30 Thread Ludovic Rousseau
Hello,

First I need more information.
Please read https://pcsclite.alioth.debian.org/pcsclite.html#support and add 
the needed details in this bug report.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1511674

Title:
  Memory leak

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  I noticed that pcscd consumes a lot of memory (5GB after 48h since start) in 
one of my computers (ubuntu 14.04 64-bit pcsc-lite version 1.8.10.)
  In debug mode pcscd shows a lot of USB "device removed" notifications:

  0102 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  1297 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  [cut - long list of usb devices]
  0246 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x03EB, PID: 0x2044, path: /dev/bus/usb/001/067
  00022327 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500329 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5
  00500341 winscard_svc.c:319:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 5

  Flood of "device removed" messages was caused by some broken USB
  device (not card reader - CDC-ACM device), but it doesn't explain why
  pcscd allocated 5GB of memory. Is it some memory leak in pcscd?

  lsb_release -rd:
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://pl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 
Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1436799] Re: pcsc-lite does not start double free or corruption

2015-03-26 Thread Ludovic Rousseau
Try to do:
- remove the scmccid driver (remove the /usr/lib/pcsc/drivers/scmccid.bundle 
directory)
- install the libccid driver

And report here if that works.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1436799

Title:
  pcsc-lite does not start double free or corruption

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  After upggranding in Ubuntu 14.04 i'm getting

   pcscdaemon.c:240:main() pcscd set to foreground with debug send to 
stdout
  0135 configfile.l:254:DBGetReaderListDir() Parsing conf directory: 
/etc/reader.conf.d
  0026 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
  0010 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
  0010 configfile.l:307:DBGetReaderList() Parsing conf file: 
/etc/reader.conf.d/libccidtwin
  0122 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
  1393 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
  0094 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
  0083 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x046D, PID: 0xC016, path: /dev/bus/usb/003/002
  0099 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  0099 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
  0075 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
  0196 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5116, path: /dev/bus/usb/004/002
  0027 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5116, path: /dev/bus/usb/004/002
  0011 hotplug_libudev.c:321:HPAddDevice() Adding USB device: SCR3310 Smart 
Card Reader
  0050 readerfactory.c:989:RFInitializeReader() Attempting startup of 
SCR3310 Smart Card Reader [CCID Interface] (21120944218305) 00 00 using 
/usr/lib/pcsc/drivers/scmccid.bundle/Contents/Linux/libscmccid.so.5.0.27
  0217 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  Loading libscmccid 5.0.27
  *** Error in `pcscd': double free or corruption (!prev): 0x09bc8348 ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1436799/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1436799] Re: pcsc-lite does not start double free or corruption

2015-03-26 Thread Ludovic Rousseau
I could not find a Ubuntu package providing the 
/usr/lib/pcsc/drivers/scmccid.bundle driver to reassign the bug.
So closing the bug.

** Changed in: pcsc-lite (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1436799

Title:
  pcsc-lite does not start double free or corruption

Status in pcsc-lite package in Ubuntu:
  Invalid

Bug description:
  After upggranding in Ubuntu 14.04 i'm getting

   pcscdaemon.c:240:main() pcscd set to foreground with debug send to 
stdout
  0135 configfile.l:254:DBGetReaderListDir() Parsing conf directory: 
/etc/reader.conf.d
  0026 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
  0010 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
  0010 configfile.l:307:DBGetReaderList() Parsing conf file: 
/etc/reader.conf.d/libccidtwin
  0122 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
  1393 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
  0094 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
  0083 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x046D, PID: 0xC016, path: /dev/bus/usb/003/002
  0099 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
  0099 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
  0075 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
  0196 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5116, path: /dev/bus/usb/004/002
  0027 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5116, path: /dev/bus/usb/004/002
  0011 hotplug_libudev.c:321:HPAddDevice() Adding USB device: SCR3310 Smart 
Card Reader
  0050 readerfactory.c:989:RFInitializeReader() Attempting startup of 
SCR3310 Smart Card Reader [CCID Interface] (21120944218305) 00 00 using 
/usr/lib/pcsc/drivers/scmccid.bundle/Contents/Linux/libscmccid.so.5.0.27
  0217 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  Loading libscmccid 5.0.27
  *** Error in `pcscd': double free or corruption (!prev): 0x09bc8348 ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1436799/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1409081] Re: /etc/init.d/pcscd works only at first start.

2015-01-10 Thread Ludovic Rousseau
This file is a conffile and is not managed like the other files of a
package.

A local modification is not overwritten unless explicitly accepted by
the admin. I guess you edited the file and refused to upgrade it during
the install of a newer version of pcscd.

I will close the bug.

** Changed in: pcsc-lite (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1409081

Title:
  /etc/init.d/pcscd works only at first start.

Status in pcsc-lite package in Ubuntu:
  Fix Released

Bug description:
  /etc/init.d/pcscd * resp. service pcscd * works only at first start.
  In all other cases it just does nothing resp. starts one more pcscd.

  Examples:

  root@liberty:/etc# service pcscd start
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd start
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd stop
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# /etc/init.d/pcscd stop
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd restart
   * Restarting PCSC Lite resource manager pcscd
  [ OK ] 
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd
  root  5295  1884  0 17:52 pts/10   00:00:00 /usr/sbin/pcscd

  ###

  The problem is caused by these lines in /etc/init.d/pcscd:

  # create $IPCDIR with correct access rights
  rm -rf $IPCDIR
  mkdir $IPCDIR
  chgrp pcscd $IPCDIR
  chmod g+w $IPCDIR

  Since PIDFILE=$IPCDIR/$NAME.pid it will be deleted by the first of these 
commands and
  start-stop-daemon in /etc/init.d/pcscd using option --pidfile $PIDFILE 
can not work anymore.

  Commenting the lines above makes the script work as expected (or at
  least as expected by _me_).

  ###

  Another minor problem is the line chgrp pcscd $IPCDIR in the init script: 
Group pcscd does not exist.
  Creating the group myself does not change anything, neither positive nor 
negative -
  except for the fact that the group is then set on $IPCDIR:

  wolf@liberty:/run$ ls -ld pcscd
  drwxr-xr-x 2 root pcscd 80 Dez 22 17:52 pcscd

  wolf@liberty:/run$ ls -l pcscd
  total 4
  srw-rw-rw- 1 root root 0 Dez 22 17:52 pcscd.comm
  -rw-r--r-- 1 root root 6 Dez 22 17:52 pcscd.pid

  ###

  pcscd --version
  pcsc-lite version 1.8.10.
  Copyright (C) 1999-2002 by David Corcoran corco...@linuxnet.com.
  Copyright (C) 2001-2011 by Ludovic Rousseau ludovic.rouss...@free.fr.
  Copyright (C) 2003-2004 by Damien Sauveron sauve...@labri.fr.
  Report bugs to mus...@lists.musclecard.com.
  Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev 
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d

  apt-cache policy pcscd
  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
  100 /var/lib/dpkg/status

  
  OS: Ubuntu 14.04 64bit
  3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1409081/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1409081] Re: /etc/init.d/pcscd works only at first start.

2015-01-09 Thread Ludovic Rousseau
pcscd version 1.8.10-1 should have:
# create $IPCDIR with correct access rights
if [ ! -d $IPCDIR ]
then
rm -rf $IPCDIR
mkdir $IPCDIR
fi
chmod 0755 $IPCDIR

Maybe you should reinstall your pcscd package.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1409081

Title:
  /etc/init.d/pcscd works only at first start.

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  /etc/init.d/pcscd * resp. service pcscd * works only at first start.
  In all other cases it just does nothing resp. starts one more pcscd.

  Examples:

  root@liberty:/etc# service pcscd start
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd start
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd stop
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# /etc/init.d/pcscd stop
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd

  root@liberty:/etc# service pcscd restart
   * Restarting PCSC Lite resource manager pcscd
  [ OK ] 
  root@liberty:/etc# ps -ef|grep pcscd
  root  3850  1884  0 16:09 pts/10   00:00:01 /usr/sbin/pcscd
  root  5230  1884  0 17:49 pts/10   00:00:00 /usr/sbin/pcscd
  root  5295  1884  0 17:52 pts/10   00:00:00 /usr/sbin/pcscd

  ###

  The problem is caused by these lines in /etc/init.d/pcscd:

  # create $IPCDIR with correct access rights
  rm -rf $IPCDIR
  mkdir $IPCDIR
  chgrp pcscd $IPCDIR
  chmod g+w $IPCDIR

  Since PIDFILE=$IPCDIR/$NAME.pid it will be deleted by the first of these 
commands and
  start-stop-daemon in /etc/init.d/pcscd using option --pidfile $PIDFILE 
can not work anymore.

  Commenting the lines above makes the script work as expected (or at
  least as expected by _me_).

  ###

  Another minor problem is the line chgrp pcscd $IPCDIR in the init script: 
Group pcscd does not exist.
  Creating the group myself does not change anything, neither positive nor 
negative -
  except for the fact that the group is then set on $IPCDIR:

  wolf@liberty:/run$ ls -ld pcscd
  drwxr-xr-x 2 root pcscd 80 Dez 22 17:52 pcscd

  wolf@liberty:/run$ ls -l pcscd
  total 4
  srw-rw-rw- 1 root root 0 Dez 22 17:52 pcscd.comm
  -rw-r--r-- 1 root root 6 Dez 22 17:52 pcscd.pid

  ###

  pcscd --version
  pcsc-lite version 1.8.10.
  Copyright (C) 1999-2002 by David Corcoran corco...@linuxnet.com.
  Copyright (C) 2001-2011 by Ludovic Rousseau ludovic.rouss...@free.fr.
  Copyright (C) 2003-2004 by Damien Sauveron sauve...@labri.fr.
  Report bugs to mus...@lists.musclecard.com.
  Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev 
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d

  apt-cache policy pcscd
  pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
   *** 1.8.10-1ubuntu1 0
  500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
  100 /var/lib/dpkg/status

  
  OS: Ubuntu 14.04 64bit
  3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1409081/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1406255] Re: Several NFC readers do not initialize properly due to pcsclite bug

2014-12-30 Thread Ludovic Rousseau
Why do you think it is a libusb hotplug bug?

What bugs _exactly_ are you referring too?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1406255

Title:
  Several NFC readers do not initialize properly due to pcsclite bug

Status in pcsc-lite package in Ubuntu:
  New

Bug description:
  Several NFC readers do not work properly due to pcsclite bug (in
  libusb hotplug). Bugs were fixed in version 1.8.13, but Trusty uses
  old 1.8.10 version.

  http://anonscm.debian.org/viewvc/pcsclite/trunk/PCSC/ChangeLog?view=co

  
  pcscd logs:

  1. Reader ACS122U:
  42850162 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x072F, PID: 0x2200, path: /dev/bus/usb/001/019
  0012 hotplug_libudev.c:321:HPAddDevice() Adding USB device: ACS ACR122U
  0026 readerfactory.c:989:RFInitializeReader() Attempting startup of ACS 
ACR122U 00 00 using 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
  0104 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  0020 ifdhandler.c:2577:init_driver() Driver version: 1.1.0
  0176 ifdhandler.c:2594:init_driver() LogLevel: 0x0003
  0005 ifdhandler.c:2605:init_driver() DriverOptions: 0x
  0004 ifdhandler.c:2613:init_driver() ACSDriverOptions: 0x0003
  0004 ifdhandler.c:2621:init_driver() ACR38CardVoltage: 0
  0004 ifdhandler.c:2629:init_driver() ACR38CardType: 0
  0029 ifdhandler.c:104:CreateChannelByNameOrChannel() Lun: 0, device: 
usb:072f/2200:libudev:0:/dev/bus/usb/001/019
  0013 ccid_usb.c:307:OpenUSBByName() Using: 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
  0159 ccid_usb.c:325:OpenUSBByName() ifdManufacturerString: Advanced Card 
Systems Ltd.
  0004 ccid_usb.c:326:OpenUSBByName() ifdProductString: ACS CCID driver
  0003 ccid_usb.c:327:OpenUSBByName() Copyright: This driver is protected 
by terms of the GNU Lesser General Public License version 2.1, or (at your 
option) any later version.
  3508 ccid_usb.c:680:OpenUSBByName() Can't claim interface 1/19: -6
  0017 ccid_usb.c:214:close_libusb_if_needed() libusb_exit
  4646 ifdhandler.c:140:CreateChannelByNameOrChannel() failed
  0015 readerfactory.c:1020:RFInitializeReader() Open Port 0x20 Failed 
(usb:072f/2200:libudev:0:/dev/bus/usb/001/019)
  0008 readerfactory.c:312:RFAddReader() ACS ACR122U init failed.
  0009 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0009 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
ACS ACR122U 00 00.
  0008 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
  0070 hotplug_libudev.c:391:HPAddDevice() Failed adding USB device: ACS 
ACR122U

  
  2. Reader SCL3711:
  04276562 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 
0x04E6, PID: 0x5591, path: /dev/bus/usb/001/018
  0011 hotplug_libudev.c:321:HPAddDevice() Adding USB device: SCL3711 
Reader and NFC Device
  0027 readerfactory.c:989:RFInitializeReader() Attempting startup of 
SCL3711 Reader and NFC Device 00 00 using 
/usr/lib/pcsc/drivers/SCx371x.bundle/Contents/Linux/libSCx371x.so.2.18
  0124 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  Loading lib v2.18 
  00049066 readerfactory.c:1020:RFInitializeReader() Open Port 0x20 Failed 
(usb:04e6/5591:libudev:0:/dev/bus/usb/001/018)
  0012 readerfactory.c:312:RFAddReader() SCL3711 Reader and NFC Device init 
failed.
  0004 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0004 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
SCL3711 Reader and NFC Device 00 00.
  0003 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
  0034 hotplug_libudev.c:391:HPAddDevice() Failed adding USB device: 
SCL3711 Reader and NFC Device

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libpcsclite1 1.8.10-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  Date: Tue Dec 30 13:38:53 2014
  Dependencies:
   gcc-4.9-base 4.9.1-0ubuntu1
   libc6 2.19-0ubuntu6.4
   libgcc1 1:4.9.1-0ubuntu1
   multiarch-support 2.19-0ubuntu6.4
  InstallationDate: Installed on 2014-10-14 (76 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS Trusty Tahr - Release amd64 
(20140722.2)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=set
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  SourcePackage: pcsc-lite
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1406255/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help  

[Desktop-packages] [Bug 787451] Re: pcscd spams to syslog and kern.log after enabling smartcard reader in VMWare Workstation

2014-10-26 Thread Ludovic Rousseau
pkrishn6, libccid is using libusb. libusb is using a generic USB kernel
driver. I do not remember its name.

Another option is to add an option to tell pcscd to remove a USB reader.
Maybe you can send a fake unplug udev event.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/787451

Title:
  pcscd spams to syslog and kern.log after enabling smartcard reader in
  VMWare Workstation

Status in “pcsc-lite” package in Ubuntu:
  Confirmed

Bug description:
  Info:
  Ubuntu 11.04 amd64

  pcscd:
    Installed: 1.7.0-2ubuntu2
    Candidate: 1.7.0-2ubuntu2
    Version table:
   *** 1.7.0-2ubuntu2 0
  500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
  100 /var/lib/dpkg/status

  libccid:
    Installed: 1.4.2-2
    Candidate: 1.4.2-2
    Version table:
   *** 1.4.2-2 0
  500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
  100 /var/lib/dpkg/status

  libpcsclite1:
    Installed: 1.7.0-2ubuntu2
    Candidate: 1.7.0-2ubuntu2
    Version table:
   *** 1.7.0-2ubuntu2 0
  500 http://ru.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
  100 /var/lib/dpkg/status

   pcscd --version
  pcsc-lite version 1.7.0.
  Copyright (C) 1999-2002 by David Corcoran corco...@linuxnet.com.
  Copyright (C) 2001-2010 by Ludovic Rousseau ludovic.rouss...@free.fr.
  Copyright (C) 2003-2004 by Damien Sauveron sauve...@labri.fr.
  Report bugs to mus...@lists.musclecard.com.
  Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev 
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d

  smart card is JCOP 31.

  VMWare Workstation version is 7.1.4 build-385536

  Steps for bug reproducing:
  1) Launch VMWare OS. In my case this is Windows 7 but I guess it doesn't 
matter.

  2) Connect SmartCard reader to VMWare OS.  Reader's model is SCM
  SCR3110. This is supported by libccid 1.4.2.

  3) At this moment, syslog is spamed by pcscd process. The following strings 
can be found in syslog:
  May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed 
(8/2): -1 Device or resource busy
  May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not 
transacted: 612
  May 24 13:10:02 computer-name pcscd: 
eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 
[CCID Interface] (21120818206778) 00 00
  May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed 
(8/2): -1 Device or resource busy
  May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not 
transacted: 612
  May 24 13:10:02 computer-name pcscd: 
eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 
[CCID Interface] (21120818206778) 00 00
  May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed 
(8/2): -1 Device or resource busy
  May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not 
transacted: 612
  May 24 13:10:02 computer-name pcscd: 
eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 
[CCID Interface] (21120818206778) 00 00
  May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed 
(8/2): -1 Device or resource busy
  May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not 
transacted: 612
  May 24 13:10:02 computer-name pcscd: 
eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 
[CCID Interface] (21120818206778) 00 00
  May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed 
(8/2): -1 Device or resource busy
  

  4) The log size rapidly increases. It takes several minutes to reach
  20 Gb.

  5) After disconnecting smartcard reader, the following string can be found in 
syslog:
  ...
  May 24 13:12:41 computer-name kernel: [75680.065939] usb 8-2: usbfs: process 
2956 (pcscd) did not claim interface 0 before use
  May 24 13:12:41 computer-name kernel: [75680.065996] usb 8-2: usbfs: process 
2956 (pcscd) did not claim interface 0 before use
  May 24 13:12:41 computer-name kernel: [75680.066000] usb 8-2: usbfs: process 
2956 (pcscd) did not claim interface 0 before use
  May 24 13:12:41 computer-name kernel: [75680.066057] usb 8-2: usbfs: process 
2956 (pcscd) did not claim interface 0 before use
  May 24 13:12:41 computer-name kernel: [75680.066211] usb 8-2: usbfs: process 
2956 (pcscd) did not claim interface 0 before use

  Also this messages are written in kern.log

  6) The problem is solved by restarting of computer.

  I cannot attach syslog and kern.log due to huge size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/787451/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop

[Desktop-packages] [Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

2014-09-14 Thread Ludovic Rousseau
Does the SIGSEGV, Segmentation fault happens inside
udev_monitor_receive_device()?

In that case can you update libudev?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader 
which is working fine. However if the device is plugged in at power-up, the 
device isn't handled well. Although the device is in the ilisted usb-devices, 
pcsc-scan doesn't find the device at all (Which is normal as the green-led is 
going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a 
card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 
905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0 
bDeviceProtocol 0 
bMaxPacketSize0 8
idVendor   0x1a44 VASCO Data Security International
idProduct  0x0001 Digipass 905 SmartCard Reader
bcdDevice1.02
iManufacturer   1 
iProduct2 
iSerial 0 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   93
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0 
  bmAttributes 0x80
(Bus Powered)
  MaxPower   50mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass  0 
bInterfaceProtocol  0 
iInterface  0 
ChipCard Interface Descriptor:
  bLength54
  bDescriptorType33
  bcdCCID  1.00
  nMaxSlotIndex   0
  bVoltageSupport 3  5.0V 3.0V 
  dwProtocols 3  T=0 T=1
  dwDefaultClock   3700
  dwMaxiumumClock  3700
  bNumClockSupported  1
  dwDataRate   9946 bps
  dwMaxDataRate  318280 bps
  bNumDataRatesSupp. 53
  dwMaxIFSD 254
  dwSyncProtocols  0007  2-wire 3-wire I2C
  dwMechanical  
  dwFeatures   000404BE
Auto configuration based on ATR
Auto activation on insert
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Auto IFSD exchange
Short and extended APDU level exchange
  dwMaxCCIDMsgLen   272
  bClassGetResponseecho
  bClassEnvelope   echo
  wlcdLayout   none
  bPINSupport 0 
  bMaxCCIDBusySlots   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0004  1x 4 bytes
  bInterval  32
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0010  1x 16 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk

[Desktop-packages] [Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

2014-09-08 Thread Ludovic Rousseau
$ gdb /usr/local/sbin/pcscd
(gdb) set args -dfa
(gdb) run
remove the reader do make pcscd crash
(gdb) backtrace

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader 
which is working fine. However if the device is plugged in at power-up, the 
device isn't handled well. Although the device is in the ilisted usb-devices, 
pcsc-scan doesn't find the device at all (Which is normal as the green-led is 
going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a 
card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 
905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0 
bDeviceProtocol 0 
bMaxPacketSize0 8
idVendor   0x1a44 VASCO Data Security International
idProduct  0x0001 Digipass 905 SmartCard Reader
bcdDevice1.02
iManufacturer   1 
iProduct2 
iSerial 0 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   93
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0 
  bmAttributes 0x80
(Bus Powered)
  MaxPower   50mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass  0 
bInterfaceProtocol  0 
iInterface  0 
ChipCard Interface Descriptor:
  bLength54
  bDescriptorType33
  bcdCCID  1.00
  nMaxSlotIndex   0
  bVoltageSupport 3  5.0V 3.0V 
  dwProtocols 3  T=0 T=1
  dwDefaultClock   3700
  dwMaxiumumClock  3700
  bNumClockSupported  1
  dwDataRate   9946 bps
  dwMaxDataRate  318280 bps
  bNumDataRatesSupp. 53
  dwMaxIFSD 254
  dwSyncProtocols  0007  2-wire 3-wire I2C
  dwMechanical  
  dwFeatures   000404BE
Auto configuration based on ATR
Auto activation on insert
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Auto IFSD exchange
Short and extended APDU level exchange
  dwMaxCCIDMsgLen   272
  bClassGetResponseecho
  bClassEnvelope   echo
  wlcdLayout   none
  bPINSupport 0 
  bMaxCCIDBusySlots   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0004  1x 4 bytes
  bInterval  32
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0010  1x 16 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk
Synch

[Desktop-packages] [Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

2014-09-06 Thread Ludovic Rousseau
LogCardReader%40Powerup.txt indicates that the device is not responding 
correctly:
0024 - 00 65 00 00 00 00 00 00 00 00 00 
05000412 ccid_usb.c:751:WriteUSB() write failed (1/4): -7 Resource temporarily 
unavailable

-7 is LIBUSB_ERROR_TIMEOUT
So the device is not visible at the PC/SC level. I have no idea what is 
happening. I suspect a reader firmware bug.

I do not see the pcscd crash in this log. Can you run pcscd inside gdb?
$ gdb /usr/sbin/pcscd
(gdb) set args -dfa
(gdb) run
remove the reader do make pcscd crash
(gdb) backtrace

Then send me the complete gdb trace.
Thanks

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader 
which is working fine. However if the device is plugged in at power-up, the 
device isn't handled well. Although the device is in the ilisted usb-devices, 
pcsc-scan doesn't find the device at all (Which is normal as the green-led is 
going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a 
card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 
905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0 
bDeviceProtocol 0 
bMaxPacketSize0 8
idVendor   0x1a44 VASCO Data Security International
idProduct  0x0001 Digipass 905 SmartCard Reader
bcdDevice1.02
iManufacturer   1 
iProduct2 
iSerial 0 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   93
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0 
  bmAttributes 0x80
(Bus Powered)
  MaxPower   50mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass  0 
bInterfaceProtocol  0 
iInterface  0 
ChipCard Interface Descriptor:
  bLength54
  bDescriptorType33
  bcdCCID  1.00
  nMaxSlotIndex   0
  bVoltageSupport 3  5.0V 3.0V 
  dwProtocols 3  T=0 T=1
  dwDefaultClock   3700
  dwMaxiumumClock  3700
  bNumClockSupported  1
  dwDataRate   9946 bps
  dwMaxDataRate  318280 bps
  bNumDataRatesSupp. 53
  dwMaxIFSD 254
  dwSyncProtocols  0007  2-wire 3-wire I2C
  dwMechanical  
  dwFeatures   000404BE
Auto configuration based on ATR
Auto activation on insert
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Auto IFSD exchange
Short and extended APDU level exchange
  dwMaxCCIDMsgLen   272
  bClassGetResponseecho
  bClassEnvelope   echo
  wlcdLayout   none
  bPINSupport 0 
  bMaxCCIDBusySlots   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0004  1x 4 bytes
  bInterval  32
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT

[Desktop-packages] [Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

2014-09-06 Thread Ludovic Rousseau
Could you rebuild pcsc-lite and libccid yourself and install them in
/usr/local/ or somewhere else to try to debug the problem?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader 
which is working fine. However if the device is plugged in at power-up, the 
device isn't handled well. Although the device is in the ilisted usb-devices, 
pcsc-scan doesn't find the device at all (Which is normal as the green-led is 
going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a 
card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 
905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0 
bDeviceProtocol 0 
bMaxPacketSize0 8
idVendor   0x1a44 VASCO Data Security International
idProduct  0x0001 Digipass 905 SmartCard Reader
bcdDevice1.02
iManufacturer   1 
iProduct2 
iSerial 0 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   93
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0 
  bmAttributes 0x80
(Bus Powered)
  MaxPower   50mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass  0 
bInterfaceProtocol  0 
iInterface  0 
ChipCard Interface Descriptor:
  bLength54
  bDescriptorType33
  bcdCCID  1.00
  nMaxSlotIndex   0
  bVoltageSupport 3  5.0V 3.0V 
  dwProtocols 3  T=0 T=1
  dwDefaultClock   3700
  dwMaxiumumClock  3700
  bNumClockSupported  1
  dwDataRate   9946 bps
  dwMaxDataRate  318280 bps
  bNumDataRatesSupp. 53
  dwMaxIFSD 254
  dwSyncProtocols  0007  2-wire 3-wire I2C
  dwMechanical  
  dwFeatures   000404BE
Auto configuration based on ATR
Auto activation on insert
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Auto IFSD exchange
Short and extended APDU level exchange
  dwMaxCCIDMsgLen   272
  bClassGetResponseecho
  bClassEnvelope   echo
  wlcdLayout   none
  bPINSupport 0 
  bMaxCCIDBusySlots   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0004  1x 4 bytes
  bInterval  32
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0010  1x 16 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk

[Desktop-packages] [Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

2014-09-05 Thread Ludovic Rousseau
Please generate a pcscd trace as described at
http://pcsclite.alioth.debian.org/pcsclite.html#support

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader 
which is working fine. However if the device is plugged in at power-up, the 
device isn't handled well. Although the device is in the ilisted usb-devices, 
pcsc-scan doesn't find the device at all (Which is normal as the green-led is 
going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a 
card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 
905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0 
bDeviceProtocol 0 
bMaxPacketSize0 8
idVendor   0x1a44 VASCO Data Security International
idProduct  0x0001 Digipass 905 SmartCard Reader
bcdDevice1.02
iManufacturer   1 
iProduct2 
iSerial 0 
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   93
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0 
  bmAttributes 0x80
(Bus Powered)
  MaxPower   50mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   3
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass  0 
bInterfaceProtocol  0 
iInterface  0 
ChipCard Interface Descriptor:
  bLength54
  bDescriptorType33
  bcdCCID  1.00
  nMaxSlotIndex   0
  bVoltageSupport 3  5.0V 3.0V 
  dwProtocols 3  T=0 T=1
  dwDefaultClock   3700
  dwMaxiumumClock  3700
  bNumClockSupported  1
  dwDataRate   9946 bps
  dwMaxDataRate  318280 bps
  bNumDataRatesSupp. 53
  dwMaxIFSD 254
  dwSyncProtocols  0007  2-wire 3-wire I2C
  dwMechanical  
  dwFeatures   000404BE
Auto configuration based on ATR
Auto activation on insert
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Auto IFSD exchange
Short and extended APDU level exchange
  dwMaxCCIDMsgLen   272
  bClassGetResponseecho
  bClassEnvelope   echo
  wlcdLayout   none
  bPINSupport 0 
  bMaxCCIDBusySlots   1
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
Transfer TypeInterrupt
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0004  1x 4 bytes
  bInterval  32
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x02  EP 2 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0010  1x 16 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk
Synch Type

[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says card is not found in java applet

2014-08-26 Thread Ludovic Rousseau
You log pcsc_scan output show that the card is working since the ATR is 
returned.
I guess it is a bug in your Java program or a mis-configuration.

You can use http://ludovicrousseau.blogspot.fr/2010/06/pcsc-sample-in-
java.html to check your Java runtime is working.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says card is not found in java
  applet

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says card is not found in java applet

2014-08-04 Thread Ludovic Rousseau
You changed the bug title.
Maybe the problem is with your application and not with the driver.

Follow http://ludovicrousseau.blogspot.fr/2014/03/level-1-smart-card-
support-on-gnulinux.html

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says card is not found in java
  applet

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says card is not found in java applet

2014-08-04 Thread Ludovic Rousseau
It means that the driver is working correctly.
It also means that the card is dead or is not a _smart_ card. Or that you 
insert the card in a wrong way.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says card is not found in java
  applet

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says card is not found in java applet

2014-08-04 Thread Ludovic Rousseau
So the card+reader works at least a bit.

Now follow http://pcsclite.alioth.debian.org/ccid.html#support
and redo what you did above: connect the reader with the card inserted, remove 
and insert the card.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says card is not found in java
  applet

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader. Says card is not found in java applet

2014-08-04 Thread Ludovic Rousseau
You can remove the /usr/lib/pcsc/drivers/ifd-acsccid.bundle driver. It
is for 32 bits only.

I could not find a problem in your log. But the card never worked in this trace.
I think you have a real problem with your card. Try with another card.

It is not a driver problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader. Says card is not found in java
  applet

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader driver problem

2014-07-30 Thread Ludovic Rousseau
Please follow http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1350425

Title:
  Ubuntu 14.04 ACR38 card reader driver problem

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  ACR38 card reader is not working. Assume that I have wrong driver
  installed.

  tm@Compaq-HP-6510b:~$ lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  tm@Compaq-HP-6510b:~$ java -version
  java version 1.8.0_11
  Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1323795] Re: pcscd crashes when removing usb chipcard reader

2014-05-30 Thread Ludovic Rousseau
As expected it is a bug in the libifd-cyberjack.so driver.
Bug reassigned.

** Package changed: pcsc-lite (Ubuntu) = pcsc-cyberjack (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1323795

Title:
  pcscd crashes when removing usb chipcard reader

Status in “pcsc-cyberjack” package in Ubuntu:
  New

Bug description:
  pcscd (1.8.10-1ubuntu1) crashed reproducibly in Ubuntu 14.04LTS when I remove 
my Reiner SCT chipcard reader. 
  The reader uses the libifd-cyberjack6 driver. I tried with the driver version 
from the Ubuntu repositories first, when 
  that failed I also tried with the ones provided from the manufacturer's 
homepage, but pcscd crashes in both cases.

  I ran pcscd in debug mode attached the chipcard reader, inserted and
  removed the chipcard a couple of times and got this output:

/usr/share/doc/libusb-1.0-0 $ sudo pcscd -d -f
   pcscdaemon.c:240:main() pcscd set to foreground with debug send to 
stdout
  0158 configfile.l:254:DBGetReaderListDir() Parsing conf directory: 
/etc/reader.conf.d
  0033 configfile.l:307:DBGetReaderList() Parsing conf file: 
/etc/reader.conf.d/libccidtwin
  0046 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
  0012 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
  0013 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
  [...]
  0024 hotplug_libudev.c:321:HPAddDevice() Adding USB device: REINER SCT 
cyberJack RFID standard
  0086 readerfactory.c:989:RFInitializeReader() Attempting startup of 
REINER SCT cyberJack RFID standard (5321633775) 00 00 using 
/usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
  CYBERJACK: Started
  2092 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  00016618 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
  02479431 eventhandler.c:381:EHStatusHandlerThread() powerState: 
POWER_STATE_POWERED
  0045 eventhandler.c:396:EHStatusHandlerThread() Card inserted into REINER 
SCT cyberJack RFID standard (5321633775) 00 00
  0026 Card ATR: 3B FF 96 00 FF 81 31 FE 45 65 63 66 07 52 02 50 00 10 09 
23 C0 19 06 40 76 
  00401109 eventhandler.c:455:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
  02003760 eventhandler.c:335:EHStatusHandlerThread() Card Removed From REINER 
SCT cyberJack RFID standard (5372633771) 00 00
  02060183 eventhandler.c:381:EHStatusHandlerThread() powerState: 
POWER_STATE_POWERED
  0027 eventhandler.c:396:EHStatusHandlerThread() Card inserted into REINER 
SCT cyberJack RFID standard (5321633775) 00 00
  0016 Card ATR: 3B FF 96 00 FF 81 31 FE 45 65 63 66 07 52 02 50 00 10 09 
23 C0 19 06 40 76 
  00401125 eventhandler.c:455:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
  01603142 eventhandler.c:335:EHStatusHandlerThread() Card Removed From REINER 
SCT cyberJack RFID standard (5372633771) 00 00
  RSCT: No USB context.}n*** Error in `pcscd': free(): corrupted unsorted 
chunks: 0x7fbacc0077e0 ***

  ---

  if I remove the reader while the card is inserted the log looks
  slightly different, but pcscd still crashes:

  06279214 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  [...]
  0025 hotplug_libudev.c:520:HPRescanUsbBus() Removing USB device[0]: 
REINER SCT cyberJack RFID standard (5321633775) at /dev/bus/usb/001/010
  0038 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0012 eventhandler.c:156:EHDestroyEventHandler() Stomping thread.
  0025 eventhandler.c:185:EHDestroyEventHandler() Waiting polling thread
  00127580 eventhandler.c:478:EHStatusHandlerThread() Die
  0169 eventhandler.c:196:EHDestroyEventHandler() Thread stomped.
  0014 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
REINER SCT cyberJack RFID standard (5321633775) 00 00.
  *** Error in `pcscd': free(): corrupted unsorted chunks: 0x7ff9fc0077e0 
***

  ---

  pcscd also crashes if no card was inserted at any time while the
  reader was attached.

  I didn't experience this problem in 13.10

  Please let me know, if I can help more to resolve this issue.

  Cheers,
  Karsten

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1323795/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1323795] Re: pcscd crashes when removing usb chipcard reader

2014-05-29 Thread Ludovic Rousseau
It may be a bug in the libifd-cyberjack6 driver.
Can you run pcscd inside gdb and gerenate a backtrace?
Do:
$ gdb /usr/sbin/pcscd
$ set args -dfa
$ run
generate the crash
$ backtrace

And send me the complete output of gdb

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1323795

Title:
  pcscd crashes when removing usb chipcard reader

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  pcscd (1.8.10-1ubuntu1) crashed reproducibly in Ubuntu 14.04LTS when I remove 
my Reiner SCT chipcard reader. 
  The reader uses the libifd-cyberjack6 driver. I tried with the driver version 
from the Ubuntu repositories first, when 
  that failed I also tried with the ones provided from the manufacturer's 
homepage, but pcscd crashes in both cases.

  I ran pcscd in debug mode attached the chipcard reader, inserted and
  removed the chipcard a couple of times and got this output:

/usr/share/doc/libusb-1.0-0 $ sudo pcscd -d -f
   pcscdaemon.c:240:main() pcscd set to foreground with debug send to 
stdout
  0158 configfile.l:254:DBGetReaderListDir() Parsing conf directory: 
/etc/reader.conf.d
  0033 configfile.l:307:DBGetReaderList() Parsing conf file: 
/etc/reader.conf.d/libccidtwin
  0046 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
  0012 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
  0013 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
  [...]
  0024 hotplug_libudev.c:321:HPAddDevice() Adding USB device: REINER SCT 
cyberJack RFID standard
  0086 readerfactory.c:989:RFInitializeReader() Attempting startup of 
REINER SCT cyberJack RFID standard (5321633775) 00 00 using 
/usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
  CYBERJACK: Started
  2092 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
  00016618 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
  02479431 eventhandler.c:381:EHStatusHandlerThread() powerState: 
POWER_STATE_POWERED
  0045 eventhandler.c:396:EHStatusHandlerThread() Card inserted into REINER 
SCT cyberJack RFID standard (5321633775) 00 00
  0026 Card ATR: 3B FF 96 00 FF 81 31 FE 45 65 63 66 07 52 02 50 00 10 09 
23 C0 19 06 40 76 
  00401109 eventhandler.c:455:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
  02003760 eventhandler.c:335:EHStatusHandlerThread() Card Removed From REINER 
SCT cyberJack RFID standard (5372633771) 00 00
  02060183 eventhandler.c:381:EHStatusHandlerThread() powerState: 
POWER_STATE_POWERED
  0027 eventhandler.c:396:EHStatusHandlerThread() Card inserted into REINER 
SCT cyberJack RFID standard (5321633775) 00 00
  0016 Card ATR: 3B FF 96 00 FF 81 31 FE 45 65 63 66 07 52 02 50 00 10 09 
23 C0 19 06 40 76 
  00401125 eventhandler.c:455:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
  01603142 eventhandler.c:335:EHStatusHandlerThread() Card Removed From REINER 
SCT cyberJack RFID standard (5372633771) 00 00
  RSCT: No USB context.}n*** Error in `pcscd': free(): corrupted unsorted 
chunks: 0x7fbacc0077e0 ***

  ---

  if I remove the reader while the card is inserted the log looks
  slightly different, but pcscd still crashes:

  06279214 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
  [...]
  0025 hotplug_libudev.c:520:HPRescanUsbBus() Removing USB device[0]: 
REINER SCT cyberJack RFID standard (5321633775) at /dev/bus/usb/001/010
  0038 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
  0012 eventhandler.c:156:EHDestroyEventHandler() Stomping thread.
  0025 eventhandler.c:185:EHDestroyEventHandler() Waiting polling thread
  00127580 eventhandler.c:478:EHStatusHandlerThread() Die
  0169 eventhandler.c:196:EHDestroyEventHandler() Thread stomped.
  0014 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of 
REINER SCT cyberJack RFID standard (5321633775) 00 00.
  *** Error in `pcscd': free(): corrupted unsorted chunks: 0x7ff9fc0077e0 
***

  ---

  pcscd also crashes if no card was inserted at any time while the
  reader was attached.

  I didn't experience this problem in 13.10

  Please let me know, if I can help more to resolve this issue.

  Cheers,
  Karsten

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1323795/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-25 Thread Ludovic Rousseau
It may be possible to make the driver work with this reader.
I am not sure how to come back from the state An ICC is present and inactive. 
Without such a reader at hand it will be hard to debug the driver.
Maybe you can offer me a Hewlett-Packard HP EliteBook Folio 1040 G1? :-)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1307109

Title:
  Alcor Micro AU9540 keeps powering down when card is present

Status in “linux” package in Ubuntu:
  Confirmed
Status in “pcsc-lite” package in Ubuntu:
  Confirmed

Bug description:
  I have smart card reader built-into this laptop, however, whenever I
  insert a card - it'll read it for a few seconds, then the USB
  connection to the reader gets powered down and thus the card
  disappears in the systems eyes.

  After a few seconds, it comes back and everything's happy.

  Then the cycle repeats again and again and again.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-23-generic 3.13.0-23.45 [modified: 
boot/vmlinuz-3.13.0-23-generic]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  jpds   3933 F pulseaudio
   /dev/snd/controlC0:  jpds   3933 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Apr  6 18:37:24 2014
  HibernationDevice: RESUME=UUID=05490d4c-6800-46a1-b5ba-8b32bdc57e89
  InstallationDate: Installed on 2014-04-06 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Daily amd64 (20140406)
  MachineType: Hewlett-Packard HP EliteBook Folio 1040 G1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-23-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-23-generic N/A
   linux-backports-modules-3.13.0-23-generic  N/A
   linux-firmware 1.127
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/09/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L83 Ver. 01.05
  dmi.board.name: 213E
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 24.2A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrL83Ver.01.05:bd02/09/2014:svnHewlett-Packard:pnHPEliteBookFolio1040G1:pvrA3009DD18303:rvnHewlett-Packard:rn213E:rvrKBCVersion24.2A:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook Folio 1040 G1
  dmi.product.version: A3009DD18303
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-17 Thread Ludovic Rousseau
Your reader firmware is newer than the one I have at
http://pcsclite.alioth.debian.org/ccid/readers/AU9540.txt

I confirm the reader firmware is bogus according to the output.txt you attached 
in #27.
  bNumDataRatesSupported: 138
   IFD does not support GET_DATA_RATES request: Resource temporarily unavailable

You should get a list of 138 values, not an error.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1307109

Title:
  Alcor Micro AU9540 keeps powering down when card is present

Status in “linux” package in Ubuntu:
  Confirmed
Status in “pcsc-lite” package in Ubuntu:
  Confirmed

Bug description:
  I have smart card reader built-into this laptop, however, whenever I
  insert a card - it'll read it for a few seconds, then the USB
  connection to the reader gets powered down and thus the card
  disappears in the systems eyes.

  After a few seconds, it comes back and everything's happy.

  Then the cycle repeats again and again and again.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-23-generic 3.13.0-23.45 [modified: 
boot/vmlinuz-3.13.0-23-generic]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  jpds   3933 F pulseaudio
   /dev/snd/controlC0:  jpds   3933 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Apr  6 18:37:24 2014
  HibernationDevice: RESUME=UUID=05490d4c-6800-46a1-b5ba-8b32bdc57e89
  InstallationDate: Installed on 2014-04-06 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Daily amd64 (20140406)
  MachineType: Hewlett-Packard HP EliteBook Folio 1040 G1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-23-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-23-generic N/A
   linux-backports-modules-3.13.0-23-generic  N/A
   linux-firmware 1.127
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/09/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L83 Ver. 01.05
  dmi.board.name: 213E
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 24.2A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrL83Ver.01.05:bd02/09/2014:svnHewlett-Packard:pnHPEliteBookFolio1040G1:pvrA3009DD18303:rvnHewlett-Packard:rn213E:rvrKBCVersion24.2A:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook Folio 1040 G1
  dmi.product.version: A3009DD18303
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Ludovic Rousseau
Maybe you can find a reader firmware update from Alcor Micro or HP.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1307109

Title:
  Alcor Micro AU9540 keeps powering down when card is present

Status in “linux” package in Ubuntu:
  Confirmed
Status in “pcsc-lite” package in Ubuntu:
  Confirmed

Bug description:
  I have smart card reader built-into this laptop, however, whenever I
  insert a card - it'll read it for a few seconds, then the USB
  connection to the reader gets powered down and thus the card
  disappears in the systems eyes.

  After a few seconds, it comes back and everything's happy.

  Then the cycle repeats again and again and again.

  I think this is more a kernel issue than a pcscd one as, going by the
  logs, pcscd appears to be doing the right thing when the card
  disappears.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-23-generic 3.13.0-23.45 [modified: 
boot/vmlinuz-3.13.0-23-generic]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  jpds   3933 F pulseaudio
   /dev/snd/controlC0:  jpds   3933 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Apr  6 18:37:24 2014
  HibernationDevice: RESUME=UUID=05490d4c-6800-46a1-b5ba-8b32bdc57e89
  InstallationDate: Installed on 2014-04-06 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Daily amd64 (20140406)
  MachineType: Hewlett-Packard HP EliteBook Folio 1040 G1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-23-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-23-generic N/A
   linux-backports-modules-3.13.0-23-generic  N/A
   linux-firmware 1.127
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/09/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L83 Ver. 01.05
  dmi.board.name: 213E
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 24.2A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrL83Ver.01.05:bd02/09/2014:svnHewlett-Packard:pnHPEliteBookFolio1040G1:pvrA3009DD18303:rvnHewlett-Packard:rn213E:rvrKBCVersion24.2A:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook Folio 1040 G1
  dmi.product.version: A3009DD18303
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Ludovic Rousseau
What is strange is the response RDR_to_PC_SlotStatus (first byte 81h) when a 
card is present and powered.
The normal CCID frame should be:
81 00 00 00 00 00 xx _00_ 00 00
00 is: An ICC is present and active (power is on and stable, RST is inactive)

But in the case of the HP we have:
81 00 00 00 00 00 xx _01_ 00 01
01 is: An ICC is present and inactive (not activated or shut down by hardware 
error)
The last 01 is: Clock stopped in state L

Something (the reader? the BIOS?) decided to stop the reader clock.

I need more information about your Alcor Micro reader.
Please follow http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1307109

Title:
  Alcor Micro AU9540 keeps powering down when card is present

Status in “linux” package in Ubuntu:
  Confirmed
Status in “pcsc-lite” package in Ubuntu:
  Confirmed

Bug description:
  I have smart card reader built-into this laptop, however, whenever I
  insert a card - it'll read it for a few seconds, then the USB
  connection to the reader gets powered down and thus the card
  disappears in the systems eyes.

  After a few seconds, it comes back and everything's happy.

  Then the cycle repeats again and again and again.

  I think this is more a kernel issue than a pcscd one as, going by the
  logs, pcscd appears to be doing the right thing when the card
  disappears.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-23-generic 3.13.0-23.45 [modified: 
boot/vmlinuz-3.13.0-23-generic]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  jpds   3933 F pulseaudio
   /dev/snd/controlC0:  jpds   3933 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Apr  6 18:37:24 2014
  HibernationDevice: RESUME=UUID=05490d4c-6800-46a1-b5ba-8b32bdc57e89
  InstallationDate: Installed on 2014-04-06 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Daily amd64 (20140406)
  MachineType: Hewlett-Packard HP EliteBook Folio 1040 G1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-23-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-23-generic N/A
   linux-backports-modules-3.13.0-23-generic  N/A
   linux-firmware 1.127
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/09/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L83 Ver. 01.05
  dmi.board.name: 213E
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 24.2A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrL83Ver.01.05:bd02/09/2014:svnHewlett-Packard:pnHPEliteBookFolio1040G1:pvrA3009DD18303:rvnHewlett-Packard:rn213E:rvrKBCVersion24.2A:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook Folio 1040 G1
  dmi.product.version: A3009DD18303
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


  1   2   >