Last week I posted a message here because I was having trouble with
getting my Canon Canoscan 300 to work. After some communication with a
few other list members, I came to the conclusion that my setup should
now in principle be okay. But there still appears to be going something
wrong though.
I have an NCR810 scsi host adapter, with generic scsi support configured
as a module. Currently, I'm running linux 2.0.35. Running
tools/find-scanner reports the following.
find-scanner: found scanner "CANON IX-03035B 2.01" at device
/dev/scanner
find-scanner: found scanner "CANON IX-03035B 2.01" at device /dev/sgc
Now, when I try to run xscanimage, using 'xscanimage canon:/dev/sga' (as
root), I get the following error dialog:
Failed to open device 'canon:/dev/scanner'. Invalid argument.
After this I find the following lines in /var/log/messages:
Sep 9 18:35:44 galactica kernel: Detected scsi generic sgc at
scsi0,channel 0, id 3, lun 0
Sep 9 18:35:44 galactica kernel: ncr53c810-0-<3,0>: asynchronous.
Sep 9 18:35:54 galactica kernel: ncr53c810-0:3: ERROR (0:4)
(9-0-0)(e0/33) @ script (eb8:1900000c).
Sep 9 18:35:54 galactica kernel: ncr53c810-0: script cmd = 88080000
Sep 9 18:35:54 galactica kernel: ncr53c810-0: regdump: da 00 80 33 47
e0 03 1f 01 09 83 00 80 00 09 02.
Sep 9 18:35:54 galactica kernel: ncr53c810-0: have to clear fifos.
Sep 9 18:35:54 galactica kernel: ncr53c810-0: unexpected disconnect
Sep 9 18:35:54 galactica kernel: ncr53c810-0: restart (scsi reset).
Sep 9 18:35:56 galactica kernel: ncr53c810-0-<3,0>: asynchronous.
Sep 9 18:35:56 galactica kernel: ncr53c810-0-<0,0>: SLOW SCSI 5.0 MB/s
(200 ns, offset 8)
After setting the SANE_DEBUG_DLL, SANE_DEBUG_CANON, and
SANEI_DEBUG_SANEI_SCSI env. variables to 128, I get the following
messages:
sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend artec
[dll] adding backend canon
[dll] adding backend coolscan
[dll] adding backend dc25
[dll] adding backend dmc
[dll] adding backend epson
[dll] adding backend hp
[dll] adding backend microtek
[dll] adding backend microtek2
[dll] adding backend mustek
[dll] adding backend pint
[dll] adding backend pnm
[dll] adding backend qcam
[dll] adding backend s9036
[dll] adding backend snapscan
[dll] adding backend tamarack
[dll] adding backend umax
[dll] loading backend canon
[dll] dlopen()ing `/usr/local/lib/sane/libsane-canon.so.0'
[dll] init: initializing backend `canon'
[sanei_init_debug]: Setting debug level of canon to 128.
[canon] >> sane_init
[canon] sane_init: sane 0.74
[canon] >> attach
[canon] attach: opening /dev/scanner
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[canon] attach: sending (standard) INQUIRY
[canon] >> inquiry
[sanei_scsi] scsi_req_enter: entered 0x806f960
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x806f960
[sanei_scsi] sanei_scsi.issue: 0x806f960
[sanei_scsi] sanei_scsi_req_wait: read 72 bytes
[canon] << inquiry
[canon] attach: sending TEST_UNIT_READY
[canon] >> test_unit_ready
[sanei_scsi] scsi_req_enter: entered 0x806f960
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x806f960
[sanei_scsi] sanei_scsi.issue: 0x806f960
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[canon] << test_unit_ready
[canon] attach: sending MEDIUM POSITION
[canon] >> medium_psosition
[sanei_scsi] scsi_req_enter: entered 0x806f960
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x806f960
[sanei_scsi] sanei_scsi.issue: 0x806f960
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[canon] << medium_psosition
[canon] attach: sending (extended) INQUIRY
[canon] >> inquiry
[sanei_scsi] scsi_req_enter: entered 0x806f960
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x806f960
[sanei_scsi] sanei_scsi.issue: 0x806f960
[sanei_scsi] sanei_scsi_req_wait: read 110 bytes
[canon] << inquiry
[canon] attach: sending MODE SENSE
[canon] >> mode_sense
[sanei_scsi] scsi_req_enter: entered 0x806f960
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x806f960
[sanei_scsi] sanei_scsi.issue: 0x806f960
[sanei_scsi] sanei_scsi_req_wait: read 48 bytes
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[canon] << mode_sense
[canon] attach: MODE_SENSE failed
[canon] << sane_init
[canon] >> sane_open
[dll] exiting
[dll] calling backend `canon's exit function
[canon] >> sane_exit
[canon] << sane_exit
Well, I hope this is useful information. If someone has a clue of what
might be wrong please let me know. I'm very eager to use sane.
Regards,
Durk Talsma
-- ----------------------------------------------------------------------- You can contact me at: pn_talsma@macmail.psy.uva.nl (work) talsma@uvapsy.psy.uva.nl (more work) d.talsma@direct.a2000.nl (home at last)Or visit my website at: http://people.a2000.nl/dtals ---------------------------------------------------------------------- "Dave, this conversation can serve no further purpose anymore, goodbye"
- HAL 9000 -
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com