[opensuse-support] Alcor Cardreader does not work
Hi, my laptop (runnung TW) is equipped with an Alcor cardreader: X1E:/home/docb # opensc-tool --list-readers # Detected readers (pcsc) Nr. Card Features Name 0 No Alcor Micro AU9560 00 00 journalctl lists when scanning for the device: systemd[1]: Started PC/SC Smart Card Daemon. pcscd[11070]: 00000000 ccid_usb.c:1264:ControlUSB() control failed (1/4): -7 LIBUSB_ERROR_TIMEOUT When inserting a card, it is not recognized: X1E:/home/docb # pcsc_scan Using reader plug'n play mechanism Scanning present readers... 0: Alcor Micro AU9560 00 00 Thu May 21 14:41:04 2020 Reader 0: Alcor Micro AU9560 00 00 Event number: 0 Card state: Card removed, (not detecting the inserted card) Journalctl: kernel: do_IRQ: 1.34 No irq handler for vector I found in the Arch wiki some hints that this may work: https://wiki.archlinux.org/index.php/Smartcards Is this a kernel configuration issue? Thanks Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi,
my laptop (runnung TW) is equipped with an Alcor cardreader: X1E:/home/docb # opensc-tool --list-readers # Detected readers (pcsc) Nr. Card Features Name 0 No Alcor Micro AU9560 00 00
journalctl lists when scanning for the device: systemd[1]: Started PC/SC Smart Card Daemon. pcscd[11070]: 00000000 ccid_usb.c:1264:ControlUSB() control failed (1/4): -7 LIBUSB_ERROR_TIMEOUT
When inserting a card, it is not recognized: X1E:/home/docb # pcsc_scan Using reader plug'n play mechanism Scanning present readers... 0: Alcor Micro AU9560 00 00
Thu May 21 14:41:04 2020 Reader 0: Alcor Micro AU9560 00 00 Event number: 0 Card state: Card removed,
(not detecting the inserted card)
Journalctl: kernel: do_IRQ: 1.34 No irq handler for vector
I found in the Arch wiki some hints that this may work: https://wiki.archlinux.org/index.php/Smartcards
Is this a kernel configuration issue?
Thanks Axel The ccid_usb.c line makes me wonder whether you may need the pcsc-ccid
Op donderdag 21 mei 2020 14:49:16 CEST schreef Axel Braun: package. Is it installed? -- Gertjan Lettink a.k.a. Knurpht openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am Donnerstag, 21. Mai 2020, 14:59:12 CEST schrieb Knurpht-openSUSE:
Op donderdag 21 mei 2020 14:49:16 CEST schreef Axel Braun:
The ccid_usb.c line makes me wonder whether you may need the pcsc-ccid package. Is it installed?
Not only this, I upgraded it to the latest verson but that did not help either. The issue is, and I could verify this, that the driver currently does not handle suspend/resume, see https://ccid.apdu.fr/ So after a reboot it works fine..... (Maybe Lenovo can donate for the development?) Have a good sunday Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Op zondag 24 mei 2020 10:45:20 CEST schreef Axel Braun:
Am Donnerstag, 21. Mai 2020, 14:59:12 CEST schrieb Knurpht-openSUSE:
Op donderdag 21 mei 2020 14:49:16 CEST schreef Axel Braun:
The ccid_usb.c line makes me wonder whether you may need the pcsc-ccid package. Is it installed?
Not only this, I upgraded it to the latest verson but that did not help either. The issue is, and I could verify this, that the driver currently does not handle suspend/resume, see https://ccid.apdu.fr/
So after a reboot it works fine..... (Maybe Lenovo can donate for the development?)
Have a good sunday Axel Well, to workaround it you could write a systemd unit that unloads the driver whilst going into suspend, loads it during resume.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am Sonntag, 24. Mai 2020, 10:48:54 CEST schrieb Knurpht-openSUSE:
Op zondag 24 mei 2020 10:45:20 CEST schreef Axel Braun:
Am Donnerstag, 21. Mai 2020, 14:59:12 CEST schrieb Knurpht-openSUSE:
Op donderdag 21 mei 2020 14:49:16 CEST schreef Axel Braun:
The ccid_usb.c line makes me wonder whether you may need the pcsc-ccid package. Is it installed?
Not only this, I upgraded it to the latest verson but that did not help either. The issue is, and I could verify this, that the driver currently does not handle suspend/resume, see https://ccid.apdu.fr/
So after a reboot it works fine..... (Maybe Lenovo can donate for the development?)
Well, to workaround it you could write a systemd unit that unloads the driver whilst going into suspend, loads it during resume.
Thought about the same - manual stop of service and restart after resume does not fix it. Looks like some hardware reset is required as well -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Op zondag 24 mei 2020 10:58:27 CEST schreef Axel Braun: > Am Sonntag, 24. Mai 2020, 10:48:54 CEST schrieb Knurpht-openSUSE: > > Op zondag 24 mei 2020 10:45:20 CEST schreef Axel Braun: > > > Am Donnerstag, 21. Mai 2020, 14:59:12 CEST schrieb Knurpht-openSUSE: > > > > Op donderdag 21 mei 2020 14:49:16 CEST schreef Axel Braun: > > > > > > > > The ccid_usb.c line makes me wonder whether you may need the pcsc-ccid > > > > package. Is it installed? > > > > > > Not only this, I upgraded it to the latest verson but that did not help > > > either. The issue is, and I could verify this, that the driver currently > > > does not handle suspend/resume, see https://ccid.apdu.fr/ > > > > > > So after a reboot it works fine..... > > > (Maybe Lenovo can donate for the development?) > > > > Well, to workaround it you could write a systemd unit that unloads the > > driver whilst going into suspend, loads it during resume. > > Thought about the same - manual stop of service and restart after resume > does not fix it. Looks like some hardware reset is required as well I wsa thinking more of 2 services: 1. modprobe -r $driver 2. modprobe $driver Used to have such for a weird dual graphics setup where the nvidia card would not unload the driver when going into suspend. -- Gertjan Lettink a.k.a. Knurpht openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
Axel Braun
-
Knurpht-openSUSE