Re: Microtek E6 - mode_sense_1 problem

Matto Marjanovic (maddog@mir.com)
Tue, 5 May 1998 22:11:30 -0400 (EDT)

Yep.

Short answer: The latest version of the backend (0.7, available from
the backend webpage "http://www.mir.com/mtek/", and sent upstream for
inclusion on SANE-0.73) has MODE_SENSE_1 disabled, so that problem
should disappear for the time being.

Long answer: MODE_SENSE_1 used to cause problems for folks using Solaris,
because apparently the Solaris scsi driver insisted that this was some
command reserved for tape drives. Why and how it is causing problems for
FreeBSD I don't know, this is a new complaint. I am curious, however,
to know why (if you feel like poking around even more), and I would very
much appreciate it if you sent me an INQUIRY dump from the Microtek backend
so that I can compare firmware revisions/etc between your E6 and mine.
Is it some scsi driver quirk, or is the scanner complaining? The big Q.

The purpose of MODE_SENSE_1, according to the docs, is to set individual
digital brightness offsets for the red, green, and blue channels. However,
since setting these had not been implemented as options yet on the backend,
and since the plain brightness offset itself doesn't quite work for me
(negative values do screwy things to the image), I decided to just skip
it altogether on the latest backend. If I ever get brightness to work
(or, if someone actually told me that it worked perfectly for them), then
the 3-channel version may go back in.

-matt m.

ps: I'm using Linux (Debian 2.0) myself, so any FreeBSD hacking is up to,
uh, the FreeBSD hackers.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com