[sane-devel] Problems with Canonscan 2700f

2005-01-16 Thread abel deuring
Tobias,

I have just sent an updated (still experimental) Canon backend
to your home address. I am not sure, however, that your case is
a backend problem.
 
 
 Thanks for the backend. You're right, the problem still exists. 
 I thought it could be the aic7xxx driver of my scsi-card, so I build a
 new kernel 2.6.8 with aic7xxx and aic7xxx_old as a module and tested
 both with the same result:
 
 scanimage -L
 
No scanners were identified.
 
 
 scanimage -d canon:/dev/scanner
 
scanimage: open of device canon:/dev/scanner failed: 
Error during device I

could you run scanimage with the environment variable 
SANE_DEBUG_SANEI_SCSI set to 255, together with SANE_DEBUG_CANON=225 and 
send me the output?

Abel



[sane-devel] Problems with Canonscan 2700f

2005-01-15 Thread Tobias Hovorka
Hi Ulrich,

On Wed, 2005-01-12 at 08:44 +0100, Ulrich Deiters wrote: 
 I have just sent an updated (still experimental) Canon backend
 to your home address. I am not sure, however, that your case is
 a backend problem.

Thanks for the backend. You're right, the problem still exists. 
I thought it could be the aic7xxx driver of my scsi-card, so I build a
new kernel 2.6.8 with aic7xxx and aic7xxx_old as a module and tested
both with the same result:

scanimage -L
 No scanners were identified.

scanimage -d canon:/dev/scanner
 scanimage: open of device canon:/dev/scanner failed: 
 Error during device I

I'm stumped

Regards,

Tobias

PS: I wonder if it's still necessary to patch the module sg?




[sane-devel] Problems with Canonscan 2700f

2005-01-14 Thread Tobias Hovorka
Hi Ulrich,

On Wed, 2005-01-12 at 08:44 +0100, Ulrich Deiters wrote: 
 I have just sent an updated (still experimental) Canon backend
 to your home address. I am not sure, however, that your case is
 a backend problem.

Thanks for the backend. You're right, the problem still exists. 
I thought it could be the aic7xxx driver of my scsi-card, so I build a
new kernel 2.6.8 with aic7xxx and aic7xxx_old as a module and tested
both with the same result:

scanimage -L
 No scanners were identified.

scanimage -d canon:/dev/scanner
 scanimage: open of device canon:/dev/scanner failed: 
 Error during device I

I'm stumped

Regards,

Tobias

PS: I wonder if it's still necessary to patch the module sg?




[sane-devel] Problems with Canonscan 2700f

2005-01-12 Thread Ulrich Deiters
dear Tobias,

I have just sent an updated (still experimental) Canon backend
to your home address. I am not sure, however, that your case is
a backend problem.

Regards,

Ulrich Deiters



[sane-devel] Problems with Canonscan 2700f

2005-01-09 Thread Tobias Hovorka
Hi everyone,

I've got problems to get my Canonscan 2700f work on Debian SID (Kernel
2.6.9).
I've tried backend versions 1.0.10, 1.0.14, 1.0.15 and patched the
module sg as described in [1].
Furthermore, I created the new group scanner with access to /dev/sg0
(660) and added my user to it.

Unfortunately, scanimage can't find my scanner.

Some informations which might be helpful:

$ sane-find-scanner
 found SCSI scanner CANON IX-27015C 1.17 at /dev/scanner
 found SCSI scanner CANON IX-27015C 1.17 at /dev/sg0

/usr/local/etc/sane.d/dll.conf
 #net
 canon
 pnm

/usr/local/etc/sane.d/canon.conf
 #canon.conf
 #scsi CANON
 #/dev/scanner
 /dev/sg0

cat /proc/scsi/scsi
 Attached devices:
 Host: scsi0 Channel: 00 Id: 04 Lun: 00
   Vendor: CANONModel: IX-27015CRev: 1.17
   Type:   Scanner  ANSI SCSI revision: 02

Finally, some debug output:

sanei_debug] Setting debug level of canon to 128.
 [canon]  sane_init
 [canon] sane_init: sane-backends 1.0.15
 [canon]  attach_one
 [canon]  attach
 [canon] attach: opening /dev/sg0
 [canon] attach: sending (standard) INQUIRY
 [canon]  inquiry
 [canon]  inquiry
 [canon] attach: sending TEST_UNIT_READY
 [canon]  test_unit_ready
 [canon]  sense_handler
 [canon] canon_sense_handler(4, 0x80527c8, (nil))
 [canon] sense buffer: f0 00 44 00 00 00 00 06 00 00 00 00 60 00 00 00
 [canon] sense message: problem not analyzed (unknown SCSI class)
 [canon]  sense_handler
 [canon]  test_unit_ready
 [canon] attach: test unit ready failed (Error during device I/O)
 [canon]  attach_one
 [canon]  sane_init
 [canon]  sane_get_devices
 [canon]  sane_get_devices
 [canon]  sane_exit
 [canon]  sane_exit
  
Any help would be greatly appreciated.

Regards, 

Tobias


[1] http://www.rzg.mpg.de/~mpd/sane/