[sane-devel] Minolta Dimage Scan Dual, AHA2940 & SuSE 11.1

Dr. Eric Offermann eric.offermann at gmx.net
Mon Dec 21 20:16:49 UTC 2009


I am trying to get my old Minolta Dimage Scan Dual running. It is connected via an AHA2940 SCSI adapter to my SuSE 11.1 system.

The scanner is recognized by the avision backend at /dev/sg0. After disabling gamma correction (thanks to Rene!), scanimage gets stuck in the reading process. Logfile (with all debugging options enabled) yields

[...]
[avision] sane_start: gamma-table disabled in config - skipped!                                          
[avision] sane_start: starting thread                                                                    
[avision] reader_process:                                                                                
[avision] reserve_unit:                                                                                  
[sanei_scsi] scsi_req_enter: entered 0xb69b6008                                                          
[sanei_scsi] sanei_scsi.issue: 0xb69b6008                                                                
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2                                                 
[sanei_scsi] sanei_scsi_req_wait: waiting for 0xb69b6008                                                 
[sanei_scsi] sanei_scsi.issue: 0xb69b6008                                                                
[sanei_scsi] sanei_scsi_req_wait: read 0 bytes                                                           
[avision] reader_process: start_scan skipped due to device-list!                                         
[avision] dev->scsi_buffer_size / 2: 262144                                                              
[avision] bytes_per_line: 144, pixels_per_line: 144                                                      
[avision] lines_per_stripe: 8, lines_per_output: 8                                                       
[avision] max_bytes_per_read: 262144, stripe_size: 1152, out_size: 1152                                  
[avision] reader_process: total_size: 21168                                                              
[avision] reader_process: stripe filled: 0                                                               
[avision] reader_process: processed_bytes: 0, total_size: 21168                                          
[avision] reader_process: this_read: 1152                                                                
[sanei_scsi] scsi_req_enter: entered 0xb69b6008                                                          
[sanei_scsi] sanei_scsi.issue: 0xb69b6008                                                                
[dll] sane_get_parameters(handle=0x8059168,params=0xbfe263b8)
[avision] sane_get_parameters:                                                                           
scanimage: scanning image of size 88x89 pixels at 8 bits/pixel                                           
scanimage: acquiring gray frame                                                                          
[dll] sane_read(handle=0x8059168,data=0x8066900,maxlen=32768,lenp=0xbfc55c38)                            
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2                                                 
[sanei_scsi] sanei_scsi_req_wait: waiting for 0xb6960008                                                 
[sanei_scsi] sanei_scsi.issue: 0xb6960008                                                                
[sanei_scsi] sanei_scsi_req_wait: read 0 bytes                                                           
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success                                       
[sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                               
[sanei_scsi] target status: 00 host status: 0008 driver status: 0000                                     
[avision] reader_process: read_data failed with status: 9                                                
[avision] reader_process: stripe filled: 704                                                             
[avision] reader_process: useful_bytes 704                                                               
[avision] reader_process: end of iteration                                                               
[avision] reader_process: i/o loop finished                                                              
[avision] release unit: type: 0                                                                          
[sanei_scsi] scsi_req_enter: entered 0xb6960008                                                          
[sanei_scsi] sanei_scsi.issue: 0xb6960008                                                                
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0xb6960008
[sanei_scsi] sanei_scsi.issue: 0xb6960008
[sanei_scsi] sanei_scsi_req_wait: read 0 bytes
[dll] sane_read(handle=0x8059168,data=0x8066900,maxlen=32768,lenp=0xbfc55c38)
[avision] sane_read: got 0 bytes, err: 0 Success
[avision] do_eof:
[avision] reader_process: returning success
[avision] do_eof: returning 9
scanimage: min/max graylevel value = 0/255
scanimage: sane_read: Error during device I/O
[dll] sane_cancel(handle=0x8059168)
[avision] sane_cancel:
[avision] do_cancel:
[dll] sane_close(handle=0x8059168)
[avision] sane_close:
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `smfp's exit function
[dll] sane_exit: calling backend `avision's exit function
[avision] sane_exit:
[dll] sane_exit: finished

Any thoughts on the reasons for the occurrence of this I/O error? Any known version problems between the avision backend, sanei_scsi and aic7xxx module?

Regards,
Eric
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the sane-devel mailing list