Help! CanoScan LiDE 30 not found by SANE

Xihong Yin <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
Hi,

sane-find-scanner can find the scanner on /dev/uscanner0, but don't know
the vendor and the model. output of sane-find-scanner is

----------------
found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
---------------

output of "scanimage -L" is
----------------------------
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
--------------------------

I tried to configure the backend 'plustek.conf' to provide vender ID and
product ID. But scanimage is still not working. "scanimage -L" just hangs
there and no output.

After setting the DEBUG environmental variable, the 'scanimage -L' outputs
a message of 'waiting for scanner-ready' and stucks there.
-----------------------------------------------------------
[sanei_debug] Setting debug level of plustek to 19.
[plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
[plustek] Retrieving all supported and conntected devices
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0007
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x0005
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0012
[plustek] Checking for 0x0400-0x1000
[plustek] Checking for 0x0400-0x1001
[plustek] Checking for 0x0400-0x1001
[plustek] Checking for 0x0458-0x2007
[plustek] Checking for 0x0458-0x2008
[plustek] Checking for 0x0458-0x2009
[plustek] Checking for 0x0458-0x2013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0007
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x0005
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0012
[plustek] Checking for 0x0400-0x1000
[plustek] Checking for 0x0400-0x1001
[plustek] Checking for 0x0400-0x1001
[plustek] Checking for 0x0458-0x2007
[plustek] Checking for 0x0458-0x2008
[plustek] Checking for 0x0458-0x2009
[plustek] Checking for 0x0458-0x2013
[plustek] Checking for 0x0458-0x2015
[plustek] Checking for 0x0458-0x2016
[plustek] Checking for 0x03f0-0x0505
[plustek] Checking for 0x03f0-0x0605
[plustek] Checking for 0x04b8-0x010f
[plustek] Checking for 0x04b8-0x011d
[plustek] Checking for 0x1606-0x0050
[plustek] Checking for 0x1606-0x0060
[plustek] Checking for 0x1606-0x0160
[plustek] Checking for 0x049f-0x001a
[plustek] Checking for 0x04a9-0x2206
[plustek] Checking for 0x04a9-0x2207
[plustek] Checking for 0x04a9-0x2208
[plustek] Checking for 0x04a9-0x220d
[plustek] Checking for 0x04a9-0x220e
[plustek] Checking for 0x04a9-0x2220
[plustek] Checking for 0x0a82-0x6620
[plustek] Available and supported devices:
[plustek] NONE.
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ><
[plustek] ># each device needs at least two lines:<
[plustek] ># - [usb] vendor-ID and product-ID<
[plustek] ># - device devicename<
[plustek] ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device /dev/usbscanner<
[plustek] ># or<
[plustek] ># device libusb:bbb:ddd<
[plustek] ># where bbb is the busnumber and ddd the device number<
[plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
[plustek] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] >#[usb]<
[plustek] ># device /dev/usbscanner<
[plustek] >[usb] 0x04A9 0x220E<
[plustek] next device is a USB device (0x04A9-0x220E)
[plustek] ... next device
[plustek] >device /dev/uscanner0<
[plustek] Decoding device name >/dev/uscanner0<
[plustek] >#device auto<
[plustek] ><
[plustek] attach (/dev/uscanner0, 0xbfbfddb0, 0x0)
[plustek] Device configuration:
[plustek] device name  : >/dev/uscanner0<
[plustek] USB-ID       : >0x04A9-0x220E<
[plustek] model ovr.   : 0
[plustek] warmup       : -1s
[plustek] lampOff      : -1
[plustek] lampOffOnEnd : yes
[plustek] cacheCalData : no
[plustek] altCalibrate : no
[plustek] skipCalibr.  : no
[plustek] skipFine     : no
[plustek] skipFineWhite: no
[plustek] invertNegs.  : no
[plustek] dis.Speedup  : no
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] pos_shading_y: -1
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] tpa_shading_y: -1
[plustek] red gain     : -1
[plustek] green gain   : -1
[plustek] blue gain    : -1
[plustek] red offset   : -1
[plustek] green offset : -1
[plustek] blue offset  : -1
[plustek] red lampoff  : -1
[plustek] green lampoff: -1
[plustek] blue lampoff : -1
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] usbDev_open(/dev/uscanner0,0x04A9-0x220E) - 0x0
[plustek] Can't get vendor & product ID from driver...
[plustek] ... using the specified: 0x04A9-0x220E
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek]  * setting device to idle state!
[plustek] Detected vendor & product ID: 0x04A9-0x220E
[plustek] Device description for >0x04A9-0x220E< found.
[plustek] usb_initDev(42,0x04a9,-1)
[plustek] Device WAF  : 0x00000002
[plustek] Transferrate: 1000000 Bytes/s
[plustek] Device Flags: 0x00000000
[plustek] Vendor adjusted to: >Canon<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(-1) - 0x80
[plustek] SETTING THE MISC I/Os
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
[plustek] Calibration file-names set to:
[plustek] >/home/c512/.sane/Canon-N1240U_LiDE30-coarse.cal<
[plustek] >/home/c512/.sane/Canon-N1240U_LiDE30-fine.cal<
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI=150, HDPI=8.000
[plustek] * YDPI=150, MinDPIY=75
[plustek] * DataPixelStart=52, LineEnd=52
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 144 (0x0090)
[plustek] * Scan calculations...
[plustek] * LineLength=10592, LineRateColor=3
[plustek] * Stepsize = 996, 0x46=0x03 0x47=0xe4
[plustek] * DPD =960 (0x03c0)
[plustek] * DPD =30816 (0x7860), step size=996, steps2rev=32
[plustek] * llen=10592, lineRateColor=3, qtcnt=8, hfcnt=8
[plustek] usb_GetMCLKDivider()
[plustek] usb_GetMCLKDiv()
[plustek] - lower mclkdiv limit=2.500000
[plustek] - upper mclkdiv limit=32.500000
[plustek] - hdpi          = 8.000
[plustek] - pixelbits     = 8
[plustek] - pixelsperline = 0
[plustek] - linelen       = 10592
[plustek] - transferrate  = 1000000
[plustek] - MCLK Divider  = 0
[plustek] - Current MCLK Divider = 2
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
[plustek] * FFStepSize = 347, [0x48] = 0x01, [0x49] = 0x5b
[plustek] * PhyBytes   = 6
[plustek] * PhyLines   = 4
[plustek] * TotalBytes = 24
[plustek] * PL=295, coeffsize=216, scaler=3
[plustek] * PauseLimit = 2, [0x4e] = 0x01, [0x4f] = 0x01
[plustek] * Scansteps=72 (9*1200/150)
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Canon
[plustek] Model  : N1240U/LiDE30
[plustek] Flags  : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >N1240U/LiDE30<
[plustek] sane_get_devices (0xbfbfe6d8, 0)
device `plustek:/dev/uscanner0' is a Canon N1240U/LiDE30 USB flatbed
scanner
[plustek] sane_exit
[plustek] Shutdown called (dev->fd=-1, /dev/uscanner0)
[plustek] Waiting for scanner-ready...

-------------------------------------------------------------

Please help?

Thanks,
Xihong

----------------------------------------------------------------------
IT Masters Degree
Search our comprehensive directory of IT masters degrees. Apply today!
http://tags.bluebottle.com/fc/MhtYWUiWkvr028XmW6duyXRn3MqyFyXlV6BfE/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.