|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
[Reiner SCT] CTAPI: Could not open device at 0Dear libchipcard hackers,
I want to get my $ lsusb Bus 004 Device 002: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH cyberJack pinpad(a) running under Debian unstable/sid. I installed the current version from the ReinerSCT Web site [1]. ii libctapi-cyberjack2 3.3.2-1 REINER SCT cyberJack pinpad/e-com USB user s ii libchipcard-data 4.2.8-1 configuration files for libchipcard I think the reader is recognized by the system. $ chipcard-tool list Server: 4a7db794 Readers: - auto1-cyberjack2 (cyberjack2, port 0) After it did not work right away I followed the hint after a run of `cyberjack` and I removed ifd-cyberjack2 (and pcscd). After doing so, inserting a card does not even get the reader to blink. So this is the current situation shown by running `cyberjack`. $ cyberjack BEGIN: ermittle Distribution (0/6) END : ermittle Distribution (1/6) [OK] BEGIN: ermittle Systeminformationen (1/6) END : ermittle Systeminformationen (2/6) [OK] BEGIN: ermittle Gruppeninformation (2/6) END : ermittle Gruppeninformation (3/6) [OK] BEGIN: ermittle laufende Dienste (3/6) END : ermittle laufende Dienste (4/6) [OK] BEGIN: ermittle installierten Treiber (4/6) END : ermittle installierten Treiber (5/6) [OK] BEGIN: ermittle und teste angeschlossene Leser (5/6) SCardEstablishContext: Cannot Connect to Resource Manager: Service not available. (8010001D) Error in open: -5 CTAPI: Could not open device at 0 END : ermittle und teste angeschlossene Leser (6/6) [ERROR] Es wurden 3 Dateien im aktuellen Verzeichnis angelegt: - cyberjack-report.log: Enthaelt die Ergebnisse der Tests - cyberjack-hints.log : Enthaelt moeglicherweise Hinweise zu gefundenen Problemen und deren Behebung. - cyberjack.xml : Enthaelt die Testergebnisse in fuer den Support aufbereiteter Form. Bitte senden Sie bei Problemen die Datei "cyberjack.xml" an den Linux-Support von Reiner SCT. Any help is appreciated. Thanks, Paul [1] http://www.reiner-sct.com/content/view/32/43/ [cyberjack-hints.log] [cyberjack-report.log] Distribution: Debian squeeze/sid System: Linux, 2.6.30-1-amd64, #1 SMP Mon Aug 3 18:45:04 UTC 2009, x86_64 Libchipcard4 Dienst gefunden. Treiberdatei: /usr/lib/libctapi-cyberjack.so Treiberversion: 3.3.2.0 PC/SC Interface PC/SC-Interface nicht verfuegbar. CTAPI Interface Leser cyberJack pinpad(a) an 004:002 (vendorid="0c4b", productid="0300") Ergebnis des Lesertests: - Geraetedatei ist: /dev/bus/usb/004/002 - die Geraetedate existiert - Dateirechte: Rechte=664, Besitzer=0, Gruppe=0 - Dateibesitzer: root - Dateigruppe: root - der ausfuehrende Benutzer hat Leserechte - der ausfuehrende Benutzer hat keine Schreibrechte (Permission denied) CTAPI-Interface nicht verfuegbar. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
|
|
|
Re: [Reiner SCT] CTAPI: Could not open device at 0Hi Paul,
Paul Menzel schrieb: > I did not find the rules file on my system. > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file or directory > > How can this be? I installed the package using `sudo dpkg -i …`. /etc/udev/rules.d/z80_cyberjack.rules is probably a symlink. The file it points to should be part of the package libctapi-cyberjack2. If it isn't it's a bug in the package. Regards Micha ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] CTAPI: Could not open device at 0Dear Micha,
Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: > Paul Menzel schrieb: > > I did not find the rules file on my system. > > > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file or directory > > > > How can this be? I installed the package using `sudo dpkg -i …`. > > /etc/udev/rules.d/z80_cyberjack.rules is probably a symlink. I checked it again, there is no symlink there on my system. > The file it > points to should be part of the package libctapi-cyberjack2. If it isn't > it's a bug in the package. I installed it again and it did not solve the problem. Where can I report this bug to? Bests and thanks for your answer, Paul ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] CTAPI: Could not open device at 0Dear Micha,
Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: > Paul Menzel schrieb: > > I did not find the rules file on my system. > > > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file or directory > > > > How can this be? I installed the package using `sudo dpkg -i …`. > > /etc/udev/rules.d/z80_cyberjack.rules is probably a symlink. I checked it again, there is no symlink there on my system. > The file it > points to should be part of the package libctapi-cyberjack2. If it isn't > it's a bug in the package. I installed it again and it did not solve the problem. Where can I report this bug to? Bests and thanks for your answer, Paul ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Dear libchipcard hackers,
Am Freitag, den 04.09.2009, 00:07 +0200 schrieb Paul Menzel: > Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: > > Paul Menzel schrieb: > > > I did not find the rules file on my system. > > > > > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > > > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file or directory > > > > > > How can this be? I installed the package using `sudo dpkg -i …`. > > > > /etc/udev/rules.d/z80_cyberjack.rules is probably a symlink. > > I checked it again, there is no symlink there on my system. > > > The file it > > points to should be part of the package libctapi-cyberjack2. If it isn't > > it's a bug in the package. > > I installed it again and it did not solve the problem. Where can I > report this bug to? I cannot remember though, that I did that. $ dpkg --status libctapi-cyberjack2 […] Conffiles: /etc/udev/rules.d/z80_cyberjack.rules 60ddd8bd419f31947e059f345b26e609 /etc/cyberjack/cyberjack.conf.default b29eaad5b74d991775620c80699b6d40 I switched debugging on for `dpkg` (man dpkg). $ sudo dpkg --debug=21 -i libctapi-cyberjack2_3.3.2-1debian5_i386.deb […] D000001: deferred_configure updating conffiles D000020: deferred_configure `/etc/udev/rules.d/z80_cyberjack.rules' (= `/etc/udev/rules.d/z80_cyberjack.rules') useredited=1 distedited=0 what=2002 D000020: conffderef in=`/etc/cyberjack/cyberjack.conf.default' result=`/etc/cyberjack/cyberjack.conf.default' D000020: deferred_configure `/etc/cyberjack/cyberjack.conf.default' (= `/etc/cyberjack/cyberjack.conf.default') useredited=-1 distedited=-1 what=2 […] Then I forced `dpkg` to install the missing conffile. $ sudo dpkg --debug=21 -i --force-confmiss libctapi-cyberjack2_3.3.2-1debian5_i386.deb […] D000001: deferred_configure updating conffiles Konfigurationsdatei »/etc/udev/rules.d/z80_cyberjack.rules« existiert auf dem System nicht. Installiere neue Konfigurationsdatei wie angefordert. D000020: deferred_configure `/etc/udev/rules.d/z80_cyberjack.rules' (= `/etc/udev/rules.d/z80_cyberjack.rules') useredited=-1 distedited=-1 what=204 D000020: conffderef in=`/etc/cyberjack/cyberjack.conf.default' result=`/etc/cyberjack/cyberjack.conf.default' D000020: deferred_configure `/etc/cyberjack/cyberjack.conf.default' (= `/etc/cyberjack/cyberjack.conf.default') useredited=-1 distedited=-1 what=2 […] Check it. $ ls -l /etc/udev/rules.d/ […] -rwxr-xr-x 1 root root 546 30. Jul 1:6 z80_cyberjack.rules One last question though. Does it have to be executable? All other rules-files are not. Thanks, Paul [1] /etc/udev/rules.d/z80_cyberjack.rules ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Hi,
On Montag, 28. September 2009, Paul Menzel wrote: > Am Freitag, den 04.09.2009, 00:07 +0200 schrieb Paul Menzel: > > Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: > > > Paul Menzel schrieb: > > > > I did not find the rules file on my system. > > > > > > > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > > > > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file > > > > or directory [...] Oddly enough, I had the same problem: I verified that the rules file actually *is* inside the dpkg package, but still dpkg silently ignores it. I then went ahead and deinstalled the package with the purge command ("apt-get purge libctapi-cyberjack2") and reinstalled it. I don't know why but after that the rules file was installed... Anyway, I don't know enough about the guts of dpkg to have an idea why dpkg would silenty ignore files inside a package but still installs them when purging the predecessor first... Regards Martin -- "Things are only impossible until they're not" Martin Preuss - http://www2.aquamaniac.de/ AqBanking - http://www.aqbanking.de/ LibChipcard - http://www.libchipcard.de/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Dear Martin,
Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss: > On Montag, 28. September 2009, Paul Menzel wrote: > > Am Freitag, den 04.09.2009, 00:07 +0200 schrieb Paul Menzel: > > > Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: > > > > Paul Menzel schrieb: > > > > > I did not find the rules file on my system. > > > > > > > > > > $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules > > > > > ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file > > > > > or directory > [...] > > Oddly enough, I had the same problem: I verified that the rules file actually > *is* inside the dpkg package, but still dpkg silently ignores it. > > I then went ahead and deinstalled the package with the purge command ("apt-get > purge libctapi-cyberjack2") and reinstalled it. I don't know why but after > that the rules file was installed... and removed before? > Anyway, I don't know enough about the guts of dpkg to have an idea why dpkg > would silenty ignore files inside a package but still installs them when > purging the predecessor first... Could it be that the conffile is executable? Did anybody else on this list experience this problem? Could you please run `dpkg` with `--debug=21` (next time)? Bests, Paul ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Hi,
On Montag, 28. September 2009, Paul Menzel wrote: > Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss: [...] > > I then went ahead and deinstalled the package with the purge command > > ("apt-get purge libctapi-cyberjack2") and reinstalled it. I don't know > > why but after that the rules file was installed... > > Was that on a new system or have you had libctapi-cyberjack2 installed > and removed before? [...] Actually, it was on a system where previous versions had been installed. I had this problem with Debian5 and Ubuntu 9.04 (I can't remember if the problem were also present on my Debian 4 and older Ubuntu's). [...] > > Anyway, I don't know enough about the guts of dpkg to have an idea why > > dpkg would silenty ignore files inside a package but still installs them > > when purging the predecessor first... > > Could it be that the conffile is executable? [...] Someone else ought'a answer that... I really don't have a clue. :-/ Regards Martin -- "Things are only impossible until they're not" Martin Preuss - http://www2.aquamaniac.de/ AqBanking - http://www.aqbanking.de/ LibChipcard - http://www.libchipcard.de/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Dear Martin,
Am Montag, den 28.09.2009, 22:39 +0200 schrieb Martin Preuss: > On Montag, 28. September 2009, Paul Menzel wrote: > > Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss: > [...] > > > I then went ahead and deinstalled the package with the purge command > > > ("apt-get purge libctapi-cyberjack2") and reinstalled it. I don't know > > > why but after that the rules file was installed... > > > > Was that on a new system or have you had libctapi-cyberjack2 installed > > and removed before? > [...] > > Actually, it was on a system where previous versions had been installed. I had > this problem with Debian5 and Ubuntu 9.04 (I can't remember if the problem > were also present on my Debian 4 and older Ubuntu's). the packages were not purged when removed. Then dpkg noticed that the configuration file had been removed and did not change that during re-installation until it was purged. […] > > > Anyway, I don't know enough about the guts of dpkg to have an idea why > > > dpkg would silenty ignore files inside a package but still installs them > > > when purging the predecessor first... > > > > Could it be that the conffile is executable? > [...] > > Someone else ought'a answer that... I really don't have a clue. :-/ I hope someone else knows. Thanks, Paul ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0Hi Paul,
Paul Menzel wrote: > Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss: >> On Montag, 28. September 2009, Paul Menzel wrote: >>> Am Freitag, den 04.09.2009, 00:07 +0200 schrieb Paul Menzel: >>>> Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk: >>>>> Paul Menzel schrieb: >>>>>> I did not find the rules file on my system. >>>>>> >>>>>> $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules >>>>>> ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file >>>>>> or directory >> [...] >> >> Oddly enough, I had the same problem: I verified that the rules file actually >> *is* inside the dpkg package, but still dpkg silently ignores it. >> >> I then went ahead and deinstalled the package with the purge command ("apt-get >> purge libctapi-cyberjack2") and reinstalled it. I don't know why but after >> that the rules file was installed... > > Was that on a new system or have you had libctapi-cyberjack2 installed > and removed before? > >> Anyway, I don't know enough about the guts of dpkg to have an idea why dpkg >> would silenty ignore files inside a package but still installs them when >> purging the predecessor first... > > Could it be that the conffile is executable? No, I'd rather guess that it's a bug in dpkg regarding symlinks and conffiles, which causes this behaviour. I haven't checked the situation in detail yet, but it looks quite similar to what Marc Haber describes in http://bugs.debian.org/421344 Regards Micha ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
|
|
Re: Installation of conffiles in Debian package. (was: [Reiner SCT] [solved] CTAPI: Could not open device at 0)Dear Micha,
thanks for your answer. Am Montag, den 28.09.2009, 23:17 +0200 schrieb Micha Lenk: > Paul Menzel wrote: > > Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss: […] > >> Anyway, I don't know enough about the guts of dpkg to have an idea why dpkg > >> would silenty ignore files inside a package but still installs them when > >> purging the predecessor first... > > > > Could it be that the conffile is executable? > > No, I'd rather guess that it's a bug in dpkg regarding symlinks and > conffiles, which causes this behaviour. I haven't checked the situation > in detail yet, but it looks quite similar to what Marc Haber describes > in http://bugs.debian.org/421344 libctapi-cyberjack2. Thanks, Paul ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libchipcard-devel mailing list Libchipcard-devel@... https://lists.sourceforge.net/lists/listinfo/libchipcard-devel |
| Free embeddable forum powered by Nabble | Forum Help |