|
Nov. 2004 by Jean-Marc Autexier |
Purpose
This document describes problems I had with mit Plustek OpticPro UT12 scanner under Suse Linux 9.2 (kernel 2.6.8).
Overview
Versions:
- Kernel 2.6.8 (Suse 9.2 original kernel)
- Sane 1.0.14
- Xsane 0.95
- kooka : kdegraphics3-scan 3.3.0
- yast2-scanner 2.10.5
Introduction
The scanner worked wel with Suse 9.0 (2.4 kernel).
Yast recognize the scanner as "OpticPro UT12" from "Plustek" and propose the "u12" backend.
Scan test in yast ist not succesfful, on the command line appear "scanimage: open of device u12: failed: Invalid argument".
USB Information
sane-find-scanner returns:
found USB scanner (vendor=0x07b3 [Plustek Inc.], product=0x0017 [USB SCANNER],/proc/bus/usb/devices contains
chip=LM9832/3) at libusb:002:003
T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 3 Spd=12 MxCh= 0/sbin/lusb returns:
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=07b3 ProdID=0017 Rev= 1.00
S: Manufacturer=Plustek Inc.
S: Product=USB SCANNER
Bus 001 Device 004: ID 07b3:0017 Plustek, Inc. OpticPro UT12/16/24 ScannerSo from USB point of view everything seems to be ok.
Remark: since 2.6.3, there is no longer a scanner module, so don't wonder if the module is not loaded. Your scanner will work anyway.
Anyway, scanimage -L always return that no scanner ist found, same in xsane and kooka.
Plustek OpticPro UT12 information
See that the vendor id is 0x07b3 and the product id is 0x0017.
There are several OpticPro UT12 with different product id's, read plustek scanner list. As written on this page, only OpticPro with product id 0x0001 are supoorted by u12 backend, other UT12 are supported by plustek backend. So it was clear that yast (or sane did choose the wrong backend).
Plustek backend
So I tried the plustek backend.
In /etc/sane.d/dll.conf, I deselect all backends except "plustek".
In /etc/sane.d/plustek.conf, I configire the following lines:
# set vendor and product idNow scanimage -L return
[usb] 0x07B3 0x0017
# set device to automatic
device auto
device `plustek:libusb:001:004' is a Plustek OpticPro UT12/UT16 USB flatbed scannerand the scanner is working.
Remark: i tried many other configuration, like setting the device to "libusb:002:004" but everything failed except the configuration above.
Here are my dll.conf and plustek.conf files.
xsane runs as root but has a memory error when running as user.
kooka runs fine.
Open questions
- Who/where is the mapping fro a scanner model to sane backend? There must be an error for UT12 scanners. If someone knows it, send me an e-mail.
- From where does backend application (scanimage, xsane, kooka)
retrieve the scanner? I support they go in dll.conf, take the backend,
and the read the backend conf file. If someone can give me details ...
- Plustek scanner list
- Suse: configuring
Scanners from SUSE LINUX 9.2
- Migration
to kernel 2.6: no more scanner module
(c) Jean-Marc Autexier