[sane-devel] Re: Error during device I/O
t takahashi
gambarimasu+spamsucks@gmail.com
Tue, 16 Nov 2004 17:02:07 -0700
OK, I figured out that I'm supposed to mail stuff from /var/log:
Using this command (the time is of course <= the time that enter was pressed):
16-Tue-16-45-35 ~# SANE_DEBUG_HPOJ=255 scanimage -v -y 279.4 --mode
lineart --resolution 300 --batch-scan=yes
--batch=aaa--%02d--line300.pnm
Here are some logs:
lpr.log:
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:3209,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=31725, e=19,
t=1100648747 llioSubprocess: llioRead returns -19, expected=6!
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:2820,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=4001, e=11,
t=1100648747 llioService: fdRead returns 0, expected=6!
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:871,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=4001, e=11,
t=1100648747 exClose(reason=0x0010)
Nov 16 16:46:20 debian ptal-mlcd: SYSLOG at
/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646,
dev=<mlc:usb:OfficeJet_6100_Series@%001%013>, pid=4001, e=19,
t=1100648780 ptal-mlcd successfully activated, mode=1284.4.
messages:
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usb.c: USB disconnect on device 12
Nov 16 16:45:57 debian kernel: hub.c: USB new device connect on
bus1/2, assigned device number 13
Nov 16 16:45:57 debian kernel: usb.c: USB device 13 (vend/prod
0x3f0/0x2d11) is not claimed by any active driver.
Nov 16 16:46:00 debian usb.agent[2493]: printer: blacklisted
Nov 16 16:46:20 debian ptal-mlcd: SYSLOG at
/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646,
dev=<mlc:usb:OfficeJet_6100_Series@%001%013>, pid=4001, e=19,
t=1100648780 ptal-mlcd successfully activated, mode=1284.4.
syslog:
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usb.c: USB disconnect on device 12
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:3209,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=31725, e=19,
t=1100648747 llioSubprocess: llioRead returns -19, expected=6!
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:2820,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=4001, e=11,
t=1100648747 llioService: fdRead returns 0, expected=6!
Nov 16 16:45:47 debian ptal-mlcd: ERROR at ExMgr.cpp:871,
dev=<mlc:usb:OfficeJet_6100_Series@%001%012>, pid=4001, e=11,
t=1100648747 exClose(reason=0x0010)
Nov 16 16:45:57 debian kernel: hub.c: USB new device connect on
bus1/2, assigned device number 13
Nov 16 16:45:57 debian kernel: usb.c: USB device 13 (vend/prod
0x3f0/0x2d11) is not claimed by any active driver.
Nov 16 16:46:00 debian usb.agent[2493]: printer: blacklisted
Nov 16 16:46:20 debian ptal-mlcd: SYSLOG at
/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646,
dev=<mlc:usb:OfficeJet_6100_Series@%001%013>, pid=4001, e=19,
t=1100648780 ptal-mlcd successfully activated, mode=1284.4.
user.log:
Nov 16 16:46:00 debian usb.agent[2493]: printer: blacklisted
kern.log:
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usbdevfs: USBDEVFS_BULK failed dev 12
ep 0x83 len 6 ret -110
Nov 16 16:45:46 debian kernel: usb.c: USB disconnect on device 12
Nov 16 16:45:57 debian kernel: hub.c: USB new device connect on
bus1/2, assigned device number 13
Nov 16 16:45:57 debian kernel: usb.c: USB device 13 (vend/prod
0x3f0/0x2d11) is not claimed by any active driver.
auth.log (probably not relevant):
Nov 16 16:45:01 debian CRON[2462]: (pam_unix) session opened for user
root by (uid=0)
Nov 16 16:45:01 debian CRON[2462]: (pam_unix) session closed for user root
Nov 16 16:53:01 debian CRON[2658]: (pam_unix) session opened for user
mail by (uid=0)
Nov 16 16:53:01 debian CRON[2658]: (pam_unix) session closed for user mail
Nov 16 16:55:01 debian CRON[2687]: (pam_unix) session opened for user
root by (uid=0)
Nov 16 16:55:01 debian CRON[2687]: (pam_unix) session closed for user root
Hope this helps.