The /var/log/messages contains these messages whenever scanimage fails: scanimage: warning HP-SCAN channel already closed: scan/sane/hpaio.c 518 -Sanjoy