channels/smartcard: more unpacking