Subject:
Re: Error: HP2200 "is not a LM9831 or LM9832" <-- fixed
From:
Trevor Semeniuk ####@####.####
Date:
21 May 2002 18:17:57 -0000
Message-Id: <3CEA8CF3.90107@semeniuk.net>
This problem was far easier to fix than I would've thought. I unplugged
the USB cable from the scanner and plugged it back in. This eliminated
the "not a LM9831 or LM9832 chip based scanner" error for my scanner
using the plustek backend.
Regards,
Trevor Semeniuk
--
Trevor Semeniuk, BSc EE
####@####.####
http://www.semeniuk.net
Trevor Semeniuk wrote:
> This is happening with various versions of the plustek backend / sane
> combinations. The latest I tried is:
>
> sane-backends-1.0.7
> plustek-module-0_41_5.tar.gz
>
>
> My scanner is an HP2200, and 'cat /proc/bus/usb/devices' gives:
>
> P: Vendor=03f0 ProdID=0605 Rev= 1.00
> S: Manufacturer=Hewlett-Packard
> S: Product=HP ScanJet 2200C
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbscanner
>
>
> Executing 'sane-find-scanner' gives:
>
> sane-find-scanner: found USB scanner (vendor = 0x03f0, product =
> 0x0605) at device /dev/usbscanner
>
>
> My plustek.conf file is set for autodetection, but setting the vendor
> and product ID's manually doesn't help (also, I've set up modules.conf
> for my scanner model and manufacturer):
>
> Now, my probem starts. With a debug level of 12, I get the following
> output from 'scanimage -L plustek:/dev/usbscanner':
>
> ------------------------------------------------------------------------------
>
> [sanei_debug] Setting debug level of dll to 12.
> [dll] sane_init: SANE dll backend version 1.0.5 from sane-backends-1.0.7
> [dll] add_backend: adding backend plustek
> [dll] load: loading backend plustek
> [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-plustek.so.1'
> [dll] init: initializing backend `plustek'
> [sanei_debug] Setting debug level of plustek to 12.
> [plustek] sane_init: sane-backends 1.0.7
> [plustek] sane_init, ># Plustek-SANE Backend configuration file<
> [plustek] sane_init, ># For use with Plustek parallel-port scanners and<
> [plustek] sane_init, ># LM9831/2 based USB scanners<
> [plustek] sane_init, >#<
> [plustek] sane_init, >warmup -1<
> [plustek] ignoring >warmup -1<
> [plustek] sane_init, >lOffOnEnd -1<
> [plustek] ignoring >lOffOnEnd -1<
> [plustek] sane_init, >lampOff -1<
> [plustek] ignoring >lampOff -1<
> [plustek] sane_init, ><
> [plustek] sane_init, ># The USB section<
> [plustek] sane_init, >#<
> [plustek] sane_init, ># For autodetection<
> [plustek] sane_init, ><
> [plustek] sane_init, >[usb]<
> [plustek] next device is a USB device (autodetection)
> [plustek] next device is an USB device
> [plustek] sane_init, >device /dev/usbscanner<
> [plustek] Decoding device name >/dev/usbscanner<
> [plustek] sane_init, ><
> [plustek] sane_init, ># options for the previous USB entry<
> [plustek] sane_init, >#<
> [plustek] sane_init, ># switch lamp off after xxx secs, 0 disables the
> feature<
> [plustek] sane_init, ><
> [plustek] sane_init, >option lampOff 0<
> [plustek] Decoding option >lampOff<
> [plustek] sane_init, ><
> [plustek] sane_init, ># warmup period in seconds, 0 means no warmup<
> [plustek] sane_init, ><
> [plustek] sane_init, >option warmup 180<
> [plustek] Decoding option >warmup<
> [plustek] sane_init, ><
> [plustek] sane_init, ># 0 means leave lamp-status untouched, not 0
> means switch off<
> [plustek] sane_init, ># on sane_close<
> [plustek] sane_init, ><
> [plustek] sane_init, >option lOffOnEnd 0<
> [plustek] Decoding option >lOffOnEnd<
> [plustek] attach (/dev/usbscanner, 0xbfffd250, (nil))
> [plustek] Device configuration:
> [plustek] device name : >/dev/usbscanner<
> [plustek] porttype : 1
> [plustek] USB-ID : ><
> [plustek] warmup : 180s
> [plustek] lampOff : 0
> [plustek] lampOffOnEnd : 0
> [plustek] pos_x : 0
> [plustek] pos_y : 0
> [plustek] neg_x : 0
> [plustek] neg_y : 0
> [plustek] tpa_x : 0
> [plustek] tpa_y : 0
> [plustek] ---------------------
> [plustek] drvopen()
> [plustek] usbDev_open(/dev/usbscanner,)
> [plustek] Vendor ID=0x03F0, Product ID=0x0605
> [plustek] usbio_DetectLM983x
> [plustek] UIO error
> [plustek] This is not a LM9831 or LM9832 chip based scanner.
> [plustek] open failed: -1
> [dll] init: backend `plustek' is version 1.0.0
> [plustek] sane_get_devices (0xbffff308, 0)
>
> 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).
> [dll] sane_exit: exiting
> [dll] sane_exit: calling backend `plustek's exit function
> ------------------------------------------------------------------------------
>
>
> I don't understand why usbio_DetectLM983x is telling me that my
> scanner is not a LM9831 or LM9832 chip based scanner (which is wrong).
>
> However, I'm not sure if this is a plustek backend problem, or deeper
> than that. If anyone can help me out that would be great.
>
> Thank you for any help you can provide.
>
> Regards,
> Trevor Semeniuk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com