-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

reopen 337317
thanks

Hi folks--

I recently upgraded openct, and switched to kernel 2.6.18 as well -- i
know: too many things changing at once!  But i think i'm seeing a
recurrence of this problem, unfortunately.

After the switchover, i noticed that, upon plugging the device in, my
USB egate token would occasionally end up being smartcard reader 0,
and other times smartcard reader 1 (despite having only a single
device).  It doesn't consistently change from one to the other,
unfortunately.

Here's me looking for the device before and after a plug/unplug cycle:

[0 [EMAIL PROTECTED] ~]$ openct-tool list
  1 Schlumberger E-Gate
[0 [EMAIL PROTECTED] ~]$ openct-tool list
  0 Schlumberger E-Gate
[0 [EMAIL PROTECTED] ~]$ 

At plugin time, i get the following 7 messages in /var/log/daemon.log
(the /dev/bus/usb* numbers change, though):

Dec 13 11:20:13 squeak ifdhandler[8905]: Unable to open USB device 
/dev/usbdev2.6_ep00: No such device or address
Dec 13 11:20:13 squeak ifdhandler[8905]: usb:/dev/usbdev2.6_ep00: 
initialization failed (driver egate)
Dec 13 11:20:13 squeak ifdhandler[8905]: unable to open reader egate usb 
/dev/usbdev2.6_ep00
Dec 13 11:20:14 squeak ifdhandler[8928]: usb_claiminterface failed: Device or 
resource busy
Dec 13 11:20:14 squeak ifdhandler[8928]: egate: setting parameters failed
Dec 13 11:20:14 squeak ifdhandler[8928]: usb:/dev/bus/usb/002/006: 
initialization failed (driver egate)
Dec 13 11:20:14 squeak ifdhandler[8928]: unable to open reader egate usb 
/dev/bus/usb/002/006

Note the two separate process id's for ifdhandler.  Looking back
through my daemon logs from before the changeover, i see things like
this:

Nov 20 10:00:00 squeak ifdhandler[7780]: usb_claiminterface failed: Device or 
resource busy
Nov 20 10:00:00 squeak ifdhandler[7780]: egate: setting parameters failed
Nov 20 10:00:00 squeak ifdhandler[7780]: usb:/dev/bus/usb/002/002: 
initialization failed (driver egate)
Nov 20 10:00:00 squeak ifdhandler[7780]: unable to open reader egate usb 
/dev/bus/usb/002/002

but they occur as a single set, not two at once, like i'm seeing now
(and the device was always smartcard reader 0).

And yes, i seem to have both /dev/bus/usb and /proc/bus/usb:

[0 [EMAIL PROTECTED] ~]$ ls -la /{dev,proc}/bus/usb
/dev/bus/usb:
total 0
drwxr-xr-x 5 root root 100 2006-12-13 10:52 .
drwxr-xr-x 3 root root  60 2006-12-12 21:54 ..
drwxr-xr-x 2 root root  60 2006-12-13 10:52 001
drwxr-xr-x 2 root root 100 2006-12-13 11:20 002
drwxr-xr-x 2 root root  60 2006-12-13 10:52 003

/proc/bus/usb:
total 0
drwxr-xr-x 5 root root 0 2006-12-10 18:51 .
dr-xr-xr-x 6 root root 0 2006-12-10 18:51 ..
dr-xr-xr-x 2 root root 0 2006-12-13 10:52 001
dr-xr-xr-x 2 root root 0 2006-12-13 10:52 002
dr-xr-xr-x 2 root root 0 2006-12-13 10:52 003
- -r--r--r-- 1 root root 0 2006-12-13 11:20 devices
[0 [EMAIL PROTECTED] ~]$ 

This is an annoyance because my ssh-agent gets confused across
unplug/replugs when the card changes identifiers, and i have to reload
the keys for it.

If i can help in debugging this at all, please let me know.

        --dkg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFFgCsKiXTlFKVLY2URArSBAJ0ZkdEoqzuAfiKn1YBu4Ile0IJriQCgrE12
gFKCleSVEjybIx55mMvzJAE=
=HnTg
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to