[sane-devel] more :: help! :: sane :: plustek opticslim m12
Ciprian Manea
r3ddr@yahoo.com
Fri, 28 May 2004 01:55:56 -0700 (PDT)
Well, looks like me and myself have a problem. Anyway,
one more question for you:
I'd like to scan with this beauty (opticslim
m21)documents longer than A4. Is this "maximum A4
page" something built in firmware, or should I study
the sane-* code and find the answer there? (in other
words, can I program the motor to continue scanning
and not eject the page when it reached A4 lenght?)
10x!
> Hi,
>
> I just bought myself a compact USB scaner from
> Plustek and I have some problems making it work
> under Linux (WBEL 3.0, a clone of RHEL 3.0).
>
> I'm sending you the full output from
> sane-find-scanner and scanimage, maybe you'll have
> better guesses than me on what might be wrong.
>
> # sane-find-scanner -q
> found USB scanner (vendor=0x07b3, product=0x0412
> [600dpi USB Scanner], chip=GT-6816) at
> libusb:001:009
>
> but scanimage -L is blind :|
>
> using:
> sane-backends-1.0.13-7
> sane-frontends-1.0.11-4
>
> added in /etc/sane.d/gt68xx.conf:
> usb 0x07b3 0x0412
> #override "Plustek-OpticSlim-M12"
> firmware "cism216.fw"
> vendor "Plustek"
> model "OpticSlim M12"
>
> uploaded firmware from my win2k to
> /usr/share/sane/gt68xx
>
> And still "device busy" (worX well with win2k)
> <device descriptor of 0x0000/0x0000 at 001:001 (USB
> OHCI Root Hub)>
> bLength 18
> bDescriptorType 1
> bcdUSB 1.10
> bDeviceClass 9
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 8
> idVendor 0x0000
> idProduct 0x0000
> bcdDevice 0.00
> iManufacturer 0 ()
> iProduct 2 (USB OHCI Root Hub)
> iSerialNumber 1 (f882d000)
> bNumConfigurations 1
> <configuration 0>
> bLength 9
> bDescriptorType 2
> wTotalLength 25
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0 ()
> bmAttributes 64 (Self-powered)
> MaxPower 0 mA
> <interface 0>
> <altsetting 0>
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 1
> bInterfaceClass 9
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0 ()
> <endpoint 0>
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 (in 0x01)
> bmAttributes 3 (interrupt)
> wMaxPacketSize 2
> bInterval 255 ms
> bRefresh 0
> bSynchAddress 0
>
> <device descriptor of 0x07b3/0x0412 at 001:009
> (600dpi USB Scanner)>
> bLength 18
> bDescriptorType 1
> bcdUSB 1.10
> bDeviceClass 0
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 64
> idVendor 0x07B3
> idProduct 0x0412
> bcdDevice 5.01
> iManufacturer 0 ()
> iProduct 2 (600dpi USB Scanner)
> iSerialNumber 0 ()
> bNumConfigurations 1
> <configuration 0>
> bLength 9
> bDescriptorType 2
> wTotalLength 32
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0 ()
> bmAttributes 160 (Remote Wakeup)
> MaxPower 500 mA
> <interface 0>
> <altsetting 0>
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 255
> bInterfaceSubClass 255
> bInterfaceProtocol 255
> iInterface 0 ()
> <endpoint 0>
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 (in 0x01)
> bmAttributes 2 (bulk)
> wMaxPacketSize 64
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> <endpoint 1>
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x02 (out 0x02)
> bmAttributes 2 (bulk)
> wMaxPacketSize 64
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
>
> <trying to find out which USB chip is used>
> checking for GT-6801 ...
> this is not a GT-6801 (bDeviceClass = 0)
> checking for GT-6816 ...
> <This USB chip looks like a GT-6816>
>
> found USB scanner (vendor=0x07b3, product=0x0412
> [600dpi USB Scanner], chip=GT-6816) at
> libusb:001:009
> # Your USB scanner was (probably) detected. It may
> or may not be supported by
> # SANE. Try scanimage -L and read the backend's
> manpage.
> # Scanners connected to the parallel port or other
> proprietary ports can't be
> # detected by this program.
> done
> > [sanei_debug] Setting debug level of dll to 3.
> [dll] sane_init: SANE dll backend version 1.0.10
> from sane-backends 1.0.13
> [dll] load: searching backend `gt68xx' in
> `/usr/lib/sane'
> [dll] load: dlopen()ing
> `/usr/lib/sane/libsane-gt68xx.so.1'
> [dll] init: initializing backend `gt68xx'
> [sanei_debug] Setting debug level of gt68xx to 255.
> [gt68xx] SANE GT68xx backend version 1.0 build 49
> from sane-backends 1.0.13
> [gt68xx] sane_init: authorize != null
> [gt68xx] sane_init: little endian machine
> [gt68xx] sane_init: reading config file
> `gt68xx.conf'
> [gt68xx] sane_init: config file line 137: trying to
> attach `usb 0x07b3 0x0412'
> [gt68xx] attach: start: devp != NULL, may_wait = 0
> [gt68xx] attach: trying to open device
> `libusb:001:009'
> [gt68xx] gt68xx_device_new: enter
> [gt68xx] gt68xx_device_new:: leave: ok
> [gt68xx] gt68xx_device_open: enter: dev=0x806c740
> [gt68xx] gt68xx_device_identify: unknown USB device
> (vendor 0x07b3, product 0x0412)
> [gt68xx] gt68xx_device_open: leave: ok
> [gt68xx] attach: device `libusb:001:009'
> successfully opened
> [gt68xx] attach: device `libusb:001:009' is not
> supported: Success
> [gt68xx] gt68xx_device_free: enter: dev=0x806c740
> [gt68xx] gt68xx_device_close: enter: dev=0x806c740
> [gt68xx] gt68xx_device_close: leave: ok
> [gt68xx] gt68xx_device_free: freeing dev
> [gt68xx] gt68xx_device_free: leave: ok
> [gt68xx] sane_init: config file line 138: ignoring
> comment line
> [gt68xx] sane_init: firmware cism216.fw can't be
> loaded, set device first
> [gt68xx] sane_init: can't set vendor name Plustek,
> set device first
> [gt68xx] sane_init: can't set model name OpticSlim
> M12, set device first
> [dll] sane_get_devices: found 0 devices
> 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).
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/