Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cardman 3121 smart card reader geht nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sysspoof
n00b
n00b


Joined: 20 Mar 2007
Posts: 9

PostPosted: Thu Mar 22, 2007 6:53 pm    Post subject: cardman 3121 smart card reader geht nicht Reply with quote

Hallo

Ich kann den Smartcard Reader nicht ansprechen. folgendes habe ich gemacht:
Code:

USE="pcsc-lite usb" emerge opensc

USE="pcsc-lite usb" emerge openct

/etc/init.d/openct start

emerge -av sys-apps/pcsc-lite

/etc/init.d/pcscd start

gpg --card-status
gpg: pcsc_connect failed: unknown reader (0x80100009)
gpg: card reader not available
gpg: OpenPGP card not available: general error

wget https://www.fsfe.org/en/content/download/17665/125518/file/gnupg-ccid.rules
--no-check-certificate

cd scripts/

wget --no-check-certificate
https://www.fsfe.org/en/content/download/17248/121800/file/gnupg-ccid

chmod +x /etc/udev/scripts/gnupg-ccid

ln -s /etc/udev/gnupg-ccid.rules /etc/udev/rules.d/gnupg-ccid.rules

groupadd scard

gpasswd -a alpha scard

gpg: pcsc_connect failed: unknown reader (0x80100009)
gpg: card reader not available
gpg: OpenPGP card not available: general error


Hat jemand eine Idee, was sonst noch zu tun ist?
_________________
ng-lab.org
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5218

PostPosted: Thu Mar 22, 2007 7:24 pm    Post subject: Reply with quote

sicher das du pcs-lite brauchst?
hast du es mal ohen laufenden openct probiert?

EDIT:
eventuell probier mal den treiber vom hersteller:
http://omnikey.aaitg.com/index.php?id=69
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
sysspoof
n00b
n00b


Joined: 20 Mar 2007
Posts: 9

PostPosted: Thu Mar 22, 2007 8:13 pm    Post subject: Reply with quote

Ja, die pcsc-lite braucht es, wegen dem pcscd:
Code:
# /etc/init.d/pcscd stop
 * Stopping pcscd ...                                                     [ ok ]

# gpg --card-status
winscard_clnt.c:320:SCardEstablishContextTH() Cannot open public shared file: /var/run/pcscd.pub
gpg: pcsc_establish_context failed: no service (0x8010001d)
gpg: card reader not available
gpg: OpenPGP card not available: general error


... zudem ist es ein Requirement des Treibers vom Hersteller Omnikey.

Mit oder ohne openct ergibt das selbe Ergebnis:
Code:


# /etc/init.d/openct stop
 * Stopping OpenCT ...
1 process killed.                                                         [ ok ]

# gpg --card-status
gpg: pcsc_connect failed: unknown reader (0x80100009)
gpg: card reader not available
gpg: OpenPGP card not available: general error


Den Treiber habe ich bereits installiert. Jedoch verlangen sie dort:
Quote:

[2] Mounted /usbfs (/usbdevfs)

Dies habe ich nicht, wurde doch "abgelöst", durch udev, oder nicht!?
Ansonsten habe ich den Treiber "erfolgreich" installiert nach Betriebsanleitung, ändert jedoch aber nichts.

Des Weiteren habe ich ccid nicht installiert, weil dieses Package im Testing- Bereich ist!

Sonst noch Ideen?

Edit: Zudem:
Code:

opensc-tool -l
Failed to establish context: No readers found

openct-tool  list
0 CCID Compatible


Opentc findet also den Reader und sieht sogar, ob die SmartCard eingesteckt ist, oder nicht:
Code:

openct-control status
No.   Name                         Info
===================================================
  0   CCID Compatible              slot0: card present

# openct-control status
No.   Name                         Info
===================================================
  0   CCID Compatible              slot0: empty

 openct-tool mf
Detected CCID Compatible
Card present, status changed
Selected MF, response:
0000: 6b 00                                             k.     // es kann "etwas" gelesen werden!

_________________
ng-lab.org


Last edited by sysspoof on Thu Mar 22, 2007 8:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5218

PostPosted: Thu Mar 22, 2007 8:19 pm    Post subject: Reply with quote

du verwechselst da grad devfs mit usbdevfs ;)
usbdevfs sollte eigentlich automatisch beim booten gemountet werden.

mount wrote:
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
sysspoof
n00b
n00b


Joined: 20 Mar 2007
Posts: 9

PostPosted: Sat Mar 24, 2007 8:40 am    Post subject: Reply with quote

Quote:
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)

Auch dieser Eintrag in der /etc/fstab ändert nichts an der ganzen Geschichte.

Hat jemand noch mehr Ideen? Kann es sein, dass ich gpg sagen muss, er soll über openct auf die Scard zugreifen? Weil Scard erkennt die Karte...
_________________
ng-lab.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum