This may be not be what you need, but it can deal with smart cards: http://talk.maemo.org/showthread.php?t=77443