card-terminal: hardware fixes