Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PC/SC ReinerSCT
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
jonasstein
n00b
n00b


Joined: 03 Mar 2013
Posts: 33

PostPosted: Sat Mar 09, 2013 12:19 am    Post subject: PC/SC ReinerSCT Reply with quote

Ich möchte ein ReinerSCT ecom Kartenleser per PC/SC ansprechen.
Wenn ich den daemon per
Code:
# pcscd -a -d -f

starte funktioniert es gut, aber es scheitert nach

Code:
# rc-service pcscd stop
 * Stopping PC/SC Daemon ...                                                                                                                              [ ok ]
# rc-service pcscd start
 * Starting PC/SC Daemon ...                                                                                                                              [ ok ]


obschon beides mit ok bestätigt wurde. Sollten beide Wege nicht zum gleichen Ergebnis führen?
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2229
Location: My own world! I and Gentoo!

PostPosted: Sat Mar 09, 2013 9:44 am    Post subject: Reply with quote

Kommt drauf an:
Was steht in der init Datei denn drin?
--> /etc/init.d/pcscd
Und in der zugehörigen conf-Datei?
--> /etc/conf.d/pcscd

(beide Dateien lassen sich am besten per wgetpaste auf einen (no)paste Dienst hochladen. Dann musst du hier nur 2 Links einfügen. emerge wgetpaste && wgetpaste /etc/init.d/pcscd && wgetpaste /etc/conf.d/pcscd)
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 543

PostPosted: Sat Mar 09, 2013 4:15 pm    Post subject: Reply with quote

Bei mir war es bis eben gerade auch nicht anders (hatte früher aber auch mal funktioniert). Selbst MIT debug-Flag wurde mir keine allzu nützliche Information mitgeloggt.
Jedoch habe ich gesehen, dass pcscd in /dev/bus/usb nach dem Reader sucht und ihn auch findet. In dem Pfad habe ich dann bemerkt, dass alle devices dem User root und der Gruppe usb angehören.
Also fix ein
Code:
usermod -a -G usb pcscd

und nach einem Neustart von pcscd ging es plötzlich...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
jonasstein
n00b
n00b


Joined: 03 Mar 2013
Posts: 33

PostPosted: Sat Mar 09, 2013 4:55 pm    Post subject: Reply with quote

die /etc/init.d/pcscd ist unverändert aus dem gentoo package und eine /etc/conf.d/pcscd existiert nicht.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4521
Location: Germany

PostPosted: Sat Mar 09, 2013 5:28 pm    Post subject: Reply with quote

Hm, ist immer schwierig wenn nicht bekannt ist um welche Version es überhaupt geht.
Wurden eventuell die postinstall Messages übersehen?
Messages for package sys-apps/pcsc-lite-1.8.6 wrote:
Code:
...
 * Starting from version 1.6.5, pcsc-lite will start as user nobody in
 * the pcscd group, to avoid running as root.
 *
 * This also means you need the newest drivers available so that the
 * devices get the proper owner.
 *
 * Furthermore, a conf.d file is no longer installed by default, as
 * the default configuration does not require one. If you need to
 * pass further options to pcscd, create a file and set the
 * EXTRA_OPTS variable.
 *
 * Hotplug support is provided by udev rules; you only need to tell
 * the init system to hotplug it, by setting this variable in
 * /etc/rc.conf:
 *
 *     rc_hotplug="pcscd"
(Auszug)
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Sun Mar 10, 2013 12:57 pm    Post subject: Reply with quote

Hi Jonas,

endlich hab ich Dich hier entdeckt :wink:

Solltest Du noch nicht wissen wie man diese Portage-Meldungen, wie von Josef auszugsweise gezeigt, nachträglich und vollständig wiederholt einsehen kann, dann schau doch mal z.B. hier: http://www.gentoofreunde.org/node/361

Sorry guys, war halt der erste den ich gefunden habe.

Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
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