kopia lustrzana https://gitlab.com/sane-project/backends
epson2: more error debugging
rodzic
63a8dd4ebc
commit
967c9e6799
backend
|
@ -570,6 +570,9 @@ esci_request_scanner_status(SANE_Handle handle, unsigned char *buf)
|
|||
if (buf[0] & FSF_STATUS_MAIN_WU)
|
||||
DBG(1, " scanner is warming up\n");
|
||||
|
||||
if (buf[0] & FSF_STATUS_MAIN_CWU)
|
||||
DBG(1, " warmup can be cancelled\n");
|
||||
|
||||
|
||||
DBG(1, "adf status : 0x%02x\n", buf[1]);
|
||||
|
||||
|
|
|
@ -135,10 +135,11 @@
|
|||
#define EXT_IDTY_CAP2_DFD 0x08 /* double feed detection */
|
||||
#define EXT_IDTY_CAP2_ADFAS 0x10 /* ADF with auto scan support */
|
||||
|
||||
|
||||
#define FSF_STATUS_MAIN_FER 0x80 /* system error */
|
||||
#define FSF_STATUS_MAIN_NR 0x40 /* not ready */
|
||||
#define FSF_STATUS_MAIN_WU 0x02 /* warming up */
|
||||
#define FSF_STATUS_MAIN_CWU 0x01 /* warm up can be cancelled (?) */
|
||||
|
||||
#define FSF_STATUS_ADF_IST 0x80 /* installed */
|
||||
#define FSF_STATUS_ADF_EN 0x40 /* enabled */
|
||||
#define FSF_STATUS_ADF_ERR 0x20 /* system error */
|
||||
|
@ -146,10 +147,12 @@
|
|||
#define FSF_STATUS_ADF_PJ 0x04 /* paper jam */
|
||||
#define FSF_STATUS_ADF_OPN 0x02 /* cover open */
|
||||
#define FSF_STATUS_ADF_PAG 0x01 /* duplex */
|
||||
|
||||
#define FSF_STATUS_TPU_IST 0x80 /* installed */
|
||||
#define FSF_STATUS_TPU_EN 0x40 /* enabled */
|
||||
#define FSF_STATUS_TPU_ERR 0x20 /* system error */
|
||||
#define FSF_STATUS_TPU_OPN 0x02 /* cover open */
|
||||
|
||||
#define FSF_STATUS_MAIN2_ERR 0x20 /* system error */
|
||||
#define FSF_STATUS_MAIN2_PE 0x08 /* paper empty */
|
||||
#define FSF_STATUS_MAIN2_PJ 0x04 /* paper jam */
|
||||
|
|
Ładowanie…
Reference in New Issue