Re: Kleine bitte an Leute mit USB-Kartenleser und Linux 2.6

Philipp Sternberg <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hallo Thomas,

Wenn der Server als root (gestartet von start-stop-daemon mit --user root 
--chuid root) bekomme ich folgendes Ergebnis:

localhost$ ./a.out
port: 0, vendor: 0d46, product: 2012

(Für einen Kobil Kaan Standard Plus also genau das richtige)

localhost# cat /proc/tty/driver/usbserial:
0: module:kobil_sct name:"KOBIL USB smart card terminal" vendor:0d46 
product:2012 num_ports:1 port:1 path:usb-0000:00:1d.0-2.2

Wenn der server als chipcard (gestartet von start-stop-daemon mit --user 
chipcard --chuid chipcard) bekomme ich folgendes Ergebnis:

localhost$ ./a.out
port: 0, vendor: 0d46, product: 2012

Ich habe allerdings enorme Probleme wenn der Server unter chipcard läuft:

Beim Start vom kde_wizard kommt z.B folgendes raus

5:2005/04/17 12-43-59:chipcard2-client(6640):client.c:  337: Connected
3:2005/04/17 12-44-10:gwen(6640):netconnection.c: 1411: Not a single 
connection succeeded
3:2005/04/17 12-44-10:gwen(6640):netconnection.c: 1638: Hmm, not a real 
error,will return "change" instead
3:2005/04/17 12-44-10:gwen(6640):netconnection.c: 1519: No socket
3:2005/04/17 12-44-10:chipcard2-client(6640):client.c: 1395: Error while 
working (2)
3:2005/04/17 12-44-10:aqhbci(6640):ddvcard.c: 1555: ERROR: No card found
3:2005/04/17 12-44-10:gwen(6640):netconnection.c:  643: Connection disabled
3:2005/04/17 12-44-10:gwen(6640):ipc.c:  725: WorkIO reported an error
5:2005/04/17 12-44-10:chipcard2-client(6640):client.c:  400: Server is down
3:2005/04/17 12-44-10:gwen(6640):netconnection.c:  575: Connection disabled
kde_wizard: client.c:207: LC_Client_CheckForError: Zusicherung »name« nicht 
erf

Manchmal sagt kde_wizard nach der Connected-Meldung auch gar nichts
und im chipcardd2-log steht dan so etwas:

6:2005/04/16 18-16-18:chipcardd(5615):cs_driver.c:  373: Trying to start 
reader "auto1-ko_kaan_plus_usb" (is now in use)
6:2005/04/16 18-16-18:chipcardd(5615):cs_driver.c:  207: Starting reader 
"auto1-ko_kaan_plus_usb"
6:2005/04/16 18-16-18:chipcardd(5615):cardserver.c: 1235: Sending notification
reader:start to all clients
3:2005/04/16 18-16-18:chipcardd(5615):cs_driver.c:  521: Driver reported error
on startup of reader "auto1-ko_kaan_plus_usb": Invalid port number

Unter root ist es kein Problem, da bleibe ich dann verschont.

Bis dann, Philipp


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.