Hi Daniel,

openct package contains these files for hal:
/usr/lib/hal/hald-addon-openct
/usr/share/hal/fdi/information/10freedesktop/10-usb-openct.fdi
/usr/share/hal/fdi/policy/10osvendor/10-usb-openct-policy.fdi

delete them.

for udev you need these files instead:
/etc/udev/rules.d/50-openct.rules
/lib/udev/openct_usb

the source for the rules file is:
http://www.opensc-project.org/svn/openct/trunk/etc/openct.udev.in

and run on that file:
sed -e "s...@udevdir@#/lib/udev/#g" < openct.udev.in > openct.udev
cp openct.udev /etc/udev/rules.d/50-openct.rules
chown root.root /etc/udev/rules.d/50-openct.rules
chmod 0644 /etc/udev/rules.d/50-openct.rules

and for the script you need this file:
http://www.opensc-project.org/svn/openct/trunk/etc/openct_usb.in

and run on that file:
sed -e "s...@openct_socket_path@#/var/run/openct#" \
        -e "s...@sbindir@/usr/sbin#g" < openct_usb.in > openct_usb
cp openct_usb /lib/udev/openct_usb
chown root:root /lib/udev/openct_usb
chmod 0755 /lib/udev/openct_usb

and you should be setup fine.

I don't know if hal and udev need restarts for the new configuration,
and udev at some point in time had a problem if the init script was
restarted. so a reboot might be the safest choice if you want to
make sure this new config is active.

then after boot run "openct-tool list". it should show no smart
card reader / usb crypto token. run that as root (or user in group
scard), or you won't see anything.

then plugin an usb crypto token or smart card reader supported by
openct, and run "openct-tool list" again -> openct should now list
a reader.

Regards, Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to