[sane-devel] Microtek ScanMaker 35t+ probelms

Markku Savela msa at burp.tkv.asdf.org
Sun Feb 10 14:05:26 GMT 2002


Is anyone working on Microtek Scanmaker 35t+? I have the scanner and
it had been working fine on my old linux (2.0.0) with old sane
1.0.1. I upgraded to sane-1.0.7 and it refused to work.

The culprit appears to be the gamma tables. The scanner reports 10 bit
depth with 1024 (or backend interprets the information wrong).

However, attempt to load tables with these parameters give invalid
table error. I get the scanner to work by hacking the following
addition to

parse_inquiry(Microtek_Info *mi, unsigned char *result)
...
  if (mi->model_code == 0x62) {
      mi->max_gamma_bit_depth = 8;
      mi->gamma_size = 1;
      DBG(4, "parse_inquiry:  35t+ falsely reports 10 bit depth.\n");
  }
...

However, as far as I know, it is *supposed* to have 10 bit values, and
it would be really nice to be able to use all bits.

I'm wondering if there is something in 

 download_gamma(Microtek_Scanner *ms)
  ...
  comm[9] = (ms->gamma_entry_size == 2) ? 1 : 0;
  ...

Perhaps, the value '1' is not correct? Anyone got any documentation
about the commands? [of course, as coded now, the 'download_gamma'
does not support wider than 8 bits -- "bit_depth" is for some reason
hardcoded to 8]

-- 
Markku Savela



More information about the sane-devel mailing list