[sane-devel] microtek2 backend users: please test CVS version of backend

Karsten Festag karsten.festag@gmx.de
Tue, 5 Oct 2004 22:44:47 +0200


--Boundary-00=_/ewYBvyf4+rPVX6
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

On Tuesday 05 October 2004 12:50, Henning Meier-Geinitz wrote:
> Hi,
>
> On Mon, Oct 04, 2004 at 11:52:55PM +0200, Karsten Festag wrote:
> > I recently replaced my old microtek parallelport scannner with an Epson
> > 2480 (what a difference!) and I think I will stop working on the
> > microtek2 backend. But finally I would like to commit the changes I
> > collected in the last time so they don't get lost. Henning, I'll send you
> > the current files for the CVS, (I don't think I will need CVS access).
> > They include the changes you made.
>
> One issue:
> (line 4657):
>     if ( !(md->revision=='2.70') && (md->model_flags & MD_RII_TWO_BYTES) )
>
> That looks strange. I've removed the quotes around the 2.70 but you
> should double-check if that works.

It's o.k., the quotes were a mistake.

>
> I've committed your backend to CVS now.

Thanks! 
>
> What about the microtek2.desc file? Shouldn't at least the version
> number (currently 0.95) be increased? Why not just use the build number?
>
> Is the Microtek Colorpage-EP a newly supported scanner? That one
> should also show up in our scanner lists. Is it support complete,
> good, basic or minimal?

The Genius ColorPage-EP is a OEM version of the Microtek Scanmaker V300. It 
has an additional firmware peculiarity I had to handle so that the support is 
good, like the V300.
I attach the updated microtek2.desc file. I called the recent version 0.96, I 
used the build number only for internal referencing. Could you please change 
MICROTEK2_MINOR in microtek2.h accordingly?

>
> > I tried to test todays CVS version on my old machine with the old scanner
> > and I experienced a compilation problem:
>
> That was my fault. It's fixed now.

I tested again and I get some other errors:

gcc -o sane-find-scanner sane-find-scanner.o 
check-usb-chip.o ../backend/.libs/sane_strstatus.o  ../sanei/libsanei.a ../lib/liblib.a 
-lnsl -lm /usr/lib/libjpeg.so
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
.../sanei/libsanei.a(sanei_scsi.o): In function `lx_mk_devicename':
:2491: undefined reference to `rsm_open_device'
:2491: undefined reference to `rsm_open_device'
.../sanei/libsanei.a(sanei_scsi.o): In function `get_max_buffer_size':
:781: undefined reference to `rsm_open_device'
.../sanei/libsanei.a(sanei_scsi.o): In function `sanei_scsi_open_extended':
:1245: undefined reference to `rsm_open_device'
:1245: undefined reference to `rsm_open_device'
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Could not find abbrev number 186.
.../sanei/libsanei.a(sanei_config.o): In function `sanei_config_read':
sanei_config.o(.text+0x36): undefined reference to `__ctype_b_loc'
sanei_config.o(.text+0x51): undefined reference to `__ctype_b_loc'
.../sanei/libsanei.a(sanei_config.o): In function 
`sanei_config_skip_whitespace':
sanei_config.o(.text+0xaa): undefined reference to `__ctype_b_loc'
.../sanei/libsanei.a(sanei_config.o): In function `sanei_config_get_string':
sanei_config.o(.text+0xf3): undefined reference to `__ctype_b_loc'
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
.../sanei/libsanei.a(sanei_usb.o): In function `sanei_usb_open':
:720: undefined reference to `rsm_open_device'
.../sanei/libsanei.a(sanei_usb.o): In function `sanei_usb_init':
:276: undefined reference to `rsm_open_device'
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/i486-suse-linux/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
.../sanei/libsanei.a(sanei_init_debug.o): In function `sanei_init_debug':
:81: undefined reference to `__ctype_toupper_loc'
collect2: ld returned 1 exit status
make[1]: *** [sane-find-scanner] Fehler 1
make[1]: Verlassen des Verzeichnisses 
Verzeichnis /home/karsten/tmp/sane-backends/tools
make: *** [all-recursive] Fehler 1


>
> By the way: Could you change all references (e.g. on your website) to
> mostang.com to www.sane-project.org?

If I didn't forget something, this is done now.

Bye, Karsten

--Boundary-00=_/ewYBvyf4+rPVX6
Content-Type: text/plain;
  charset="iso-8859-1";
  name="microtek2.desc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="microtek2.desc"

;
; SANE Backend specification file
;
; It's basically emacs-lisp --- so ";" indicates comment to end of line.
; All syntactic elements are keyword tokens, followed by a string or
;  keyword argument, as specified.
;
; ":backend" *must* be specified.
; All other information is optional (but what good is the file without it?).
;

:backend "microtek2"              ; name of backend
:version "0.96"                   ; version of backend
;:status :alpha                   ; :alpha, :beta, :stable, :new
:manpage "sane-microtek2"         ; name of manpage (if it exists)
:url "http://karstenfestag.gmxhome.de"

:devicetype :scanner              ; start of a list of devices....

:mfg "Microtek"                   ; name a manufacturer
:url "http://www.microtek.com/"

:model "ScanMaker E3plus"
:interface "Parport"
:status :complete

:model "ScanMaker E3plus"         ; name models for above-specified mfg.
:interface "SCSI"
:status :complete

:model "ScanMaker X6"
:interface "SCSI"
:status :complete

:model "ScanMaker X6EL"
:interface "SCSI"
:status :basic

:model "ScanMaker X6USB"
:interface "USB"
:status :good

:model "ScanMaker V300"
:interface "SCSI"
:status :good

:model "ScanMaker V300"
:interface "Parport"
:status :good

:model "ScanMaker V310"
:interface "SCSI"
:status :basic

:model "ScanMaker V310"
:interface "Parport"
:status :basic

:model "ScanMaker V600"
:interface "SCSI"
:status :basic

:model "ScanMaker V600"
:interface "Parport"
:status :basic

:model "ScanMaker 330"
:interface "SCSI"
:status :basic

:model "ScanMaker 630"
:interface "SCSI"
:status :basic

:model "ScanMaker 636"
:interface "SCSI"
:status :complete

:model "ScanMaker 9600XL"
:interface "SCSI"
:comment "only flatbed mode ?"
:status :good

;:model "ScanMaker 9600XL"
;:interface "SCSI"
;:status :minimal

:model "Phantom 330CX"
:interface "Parport"
:status :complete

:model "SlimScan C3"
:interface "Parport"
:status :complete

:model "Phantom 636"
:interface "SCSI"
:status :complete

:model "Phantom 636CX"
:interface "Parport"
:status :complete

:model "SlimScan C6"
:interface "USB"
:status :complete

:model "ScanMaker V6USL"
:interface "SCSI"
:status :complete

:model "ScanMaker V6USL"
:interface "USB"
:status :complete

:model "ScanMaker X12USL"
:interface "SCSI"
:comment "only Flatbed mode ?"
:status :good

:mfg "Vobis"
:url "http://www.vobis.de/"

:model "HighScan"                 ; name models for above-specified mfg.
:interface "SCSI"
:comment "only E3plus based models"
:status :complete

:mfg "Scanport"
:url "http://www.scanport.com/"
:model "SQ300"
:interface "Parport?"
:status :basic

:model "SQ2030"
:interface "Parport"
:status :basic

:model "SQ4836"
:interface "SCSI"
:status :basic

:mfg "Genius"
:url "http://www.geniusmouse.co.uk/"
:model "ColorPage-EP"
:interface "Parport"
:status :good


--Boundary-00=_/ewYBvyf4+rPVX6--