On Sat, 10 Sep 2011, Peter Palfrader wrote:
> | weasel@valiant:~$ sudo ekeydctl list
> | NR,OK,Status,Path,SerialNo
> | 1,NO,Key closed.
> (Vanished?),/dev/entropykey/OQBsBlg0MTFBZBZD,OQBsBlg0MTFBZBZD
>
> restarting ekeyd doesn't help:
> | weasel@valiant:~$ sudo ekeydctl list
> | NR,OK,Status,Path,SerialNo
> | 1,YES,Unknown,/dev/entropykey/OQBsBlg0MTFBZBZD
>
> Removing the cdc_acm module (either before restarting ekeyd, or after
> stopping it once more should it have been restarted already) and then
> re-loading it helps and the ekey is in 'Running OK' once more.
Added an ugly workaround:
| weasel@valiant:/etc/pm/sleep.d$ cat 90_local-ekey
| #!/bin/sh
|
| PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
| case "${1}" in
| resume)
| service ekeyd stop
| rmmod cdc_acm
| modprobe cdc_acm
| service ekeyd start
| ;;
| esac
It has potential side effects (for instance if anything else needed cdc_acm),
but it works for me.
Cheers,
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]