plustek: Thread: Problems with plustek-module-0_42_9.tar.gz


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Problems with plustek-module-0_42_9.tar.gz
From: Martin Baum ####@####.####
Date: 29 Sep 2002 10:55:56 -0000
Message-Id: <200209291247.36567.martin.baum@berlin.de>

Hello all.

I'm new on this list.

Yesterday, I have buy an Epson Perfection 1260 Photo, with is only 
supported by this Plustek driver (I hope so).

I have install the sane backends 1.0.8 with no problems. Then I have 
copy the plustek-module-0_42_9.tar.gz to the backends folder. 

In this Makefile, I have chance two thiks:
  HEADER_PATH = /usr/src/linux-2.4.18-rock/include
  K24_HEADER_PATH = /lib/modules/2.4.18/build/include

"make all" works:
---
####@####.#### > make all
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=42 -D_PTDRV_BUILD=10 -D__KERNEL__ 
-I/lib/modules/2.4.18/build/include -I./h -I./.. -O2 -DMODULE 
-DMODVERSIONS -include 
/lib/modules/2.4.18/build/include/linux/modversions.h -M ./src/*.c > 
.depend
ld -r obj/dac.o obj/detect.o obj/genericio.o obj/image.o obj/map.o 
obj/misc.o obj/models.o obj/io.o obj/procfs.o obj/motor.o obj/p9636.o 
obj/ptdrv.o obj/scale.o obj/tpa.o obj/p48xx.o obj/p12.o obj/p12ccd.o -o 
pt_drv.o
--- is this all right?


But I become an error by "make install" (as root):
---
Janny:[...]/sane-backends-1.0.8/backend/plustek_driver # make install
mkdir -p /lib/modules/2.4.18/misc
install -c -m "644" pt_drv.o /lib/modules/2.4.18/misc
/sbin/depmod -a
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18/kernel/drivers/char/drm/sis.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/adm1021.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/adm1024.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/adm1025.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/adm9240.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/bt869.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/ddcmon.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/ds1621.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/eeprom.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/fscpos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/fscscy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/gl518sm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/gl520sm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-ali1535.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-ali15x3.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-amd756.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-hydra.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-i801.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-i810.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-isa.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-piix4.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-sis5595.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-via.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-viapro.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-voodoo3.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/it87.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/lm75.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/lm78.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/lm80.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/lm87.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/ltc1710.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/matorb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/maxilife.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/mtp008.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/pcf8574.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/pcf8591.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/sis5595.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/thmc50.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/via686a.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/w83781d.o
make: *** [install] Fehler 1
--- ??

The pt_drv.o is copy to /lib/modules/2.4.18/misc/

####@####.#### > l
[...]
-rw-r--r--    1 root     root       143602 Sep 29 12:31 pt_drv.o
[...]

Are there any problems with "depmod -a" ?

Also "make load" have any problmes ...
---
Janny:[...]/sane-backends-1.0.8/backend/plustek_driver # make load
/sbin/modprobe pt_drv || exit 1
/lib/modules/2.4.18/misc/pt_drv.o: init_module: Success
Hint: insmod errors can be caused by incorrect module parameters, 
      including invalid IO or IRQ parameters
/lib/modules/2.4.18/misc/pt_drv.o: insmod 
/lib/modules/2.4.18/misc/pt_drv.o failed
/lib/modules/2.4.18/misc/pt_drv.o: insmod pt_drv failed
make: *** [load] Error 1
---

And I can't load the modul by hand:
---
Janny:~ # modprobe ls_drv
modprobe: Can't locate module ls_drv
---

I'm not realy a linux hacker, so I need some help. Know anyone my 
problem?

---
Janny:~ # lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            35232   0  (autoclean)
snd-mixer-oss           8960   1  (autoclean) [snd-pcm-oss]
snd-ens1371             9440   1  (autoclean)
snd-pcm                48032   0  (autoclean) [snd-pcm-oss snd-ens1371]
snd-timer              10112   0  (autoclean) [snd-pcm]
snd-rawmidi            12256   0  (autoclean) [snd-ens1371]
snd-seq-device          3968   0  (autoclean) [snd-rawmidi]
snd-ac97-codec         22304   0  (autoclean) [snd-ens1371]
snd                    25256   0  (autoclean) [snd-pcm-oss snd-mixer-oss 
snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device 
snd-ac97-codec]
soundcore               3588   6  (autoclean) [snd]
ipv6                  123328  -1  (autoclean)
8139too                13728   1  (autoclean)
mii                     1088   0  (autoclean) [8139too]
stv680                 22304   0  (unused)
videodev                2976   0  [stv680]
usb-storage            20380   0  (unused)
scanner                 8448   0  (unused)
printer                 5600   0  (unused)
parport_pc             25256   0  (autoclean)
parport                22848   0  [parport_pc]
---

I'm using dROCK Linux 1.6.0 with 2.4.18 Kernel and a gcc 2.95.3


It's better to put this Epson Scanner to trash and to buy a scannen, 
with is really supported by sane?


thanks
  martin

-- 
"Gib jedem Tag die Chance, der schönste deines Lebens zu werden."
         (Mark Twain, amerikanischer Schriftsteller, 1835 - 1910)
Desktop ROCK Linux          User: #247799 (http://counter.li.org)
http://wildwechsel.de.vu      (http://www.tfh-berlin.de/~s713261)
Subject: Re: Problems with plustek-module-0_42_9.tar.gz
From: Gene Heskett ####@####.####
Date: 29 Sep 2002 13:38:38 -0000
Message-Id: <200209290934.12853.gene_heskett@iolinc.net>

On Sunday 29 September 2002 06:47, Martin Baum wrote:
>Hello all.
>
>I'm new on this list.
>
>Yesterday, I have buy an Epson Perfection 1260 Photo, with is only
>supported by this Plustek driver (I hope so).
>
>I have install the sane backends 1.0.8 with no problems. Then I
> have copy the plustek-module-0_42_9.tar.gz to the backends
> folder.
>
>In this Makefile, I have chance two thiks:
>  HEADER_PATH = /usr/src/linux-2.4.18-rock/include
>  K24_HEADER_PATH = /lib/modules/2.4.18/build/include
>
>"make all" works:
>---
####@####.#### > make
> all gcc -Wall -Wstrict-prototypes -fomit-frame-pointer
> -D_PTDRV_V1=0 -D_PTDRV_V0=42 -D_PTDRV_BUILD=10 -D__KERNEL__
>-I/lib/modules/2.4.18/build/include -I./h -I./.. -O2 -DMODULE
>-DMODVERSIONS -include
>/lib/modules/2.4.18/build/include/linux/modversions.h -M ./src/*.c
> > .depend
>ld -r obj/dac.o obj/detect.o obj/genericio.o obj/image.o obj/map.o
>obj/misc.o obj/models.o obj/io.o obj/procfs.o obj/motor.o
> obj/p9636.o obj/ptdrv.o obj/scale.o obj/tpa.o obj/p48xx.o
> obj/p12.o obj/p12ccd.o -o pt_drv.o
>--- is this all right?

Is this truely a parallel port scanner? The 1250u, which I own, is 
usb only.  The above build trace looks as if its being built for 
the parallel port, pt_drv.

>
>
>But I become an error by "make install" (as root):
>---
>Janny:[...]/sane-backends-1.0.8/backend/plustek_driver # make
> install mkdir -p /lib/modules/2.4.18/misc
>install -c -m "644" pt_drv.o /lib/modules/2.4.18/misc
>/sbin/depmod -a
>depmod: *** Unresolved symbols in
>/lib/modules/2.4.18/kernel/drivers/char/drm/sis.o
>depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/adm1021.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/adm1024.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/adm1025.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/adm9240.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/bt869.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/ddcmon.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/ds1621.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/eeprom.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/fscpos.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/fscscy.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/gl518sm.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/gl520sm.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/i2c-ali1535.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/i2c-ali15x3.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/i2c-amd756.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/i2c-hydra.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/i2c-i801.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-i810.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/i2c-isa.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/i2c-piix4.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/i2c-sis5595.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/i2c-via.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-viapro.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/i2c-voodoo3.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/it87.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/lm75.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/lm78.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/lm80.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/lm87.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/ltc1710.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/matorb.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/maxilife.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/mtp008.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/pcf8574.o depmod: *** Unresolved
> symbols in /lib/modules/2.4.18/misc/pcf8591.o depmod: ***
> Unresolved symbols in /lib/modules/2.4.18/misc/sis5595.o depmod:
> *** Unresolved symbols in /lib/modules/2.4.18/misc/thmc50.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/misc/via686a.o depmod: *** Unresolved symbols
> in /lib/modules/2.4.18/misc/w83781d.o make: *** [install] Fehler
> 1
>--- ??

You've been playing with lm_sensors, eh?  I can't make mine work 
either...

>The pt_drv.o is copy to /lib/modules/2.4.18/misc/
>
####@####.#### > l
>[...]
>-rw-r--r--    1 root     root       143602 Sep 29 12:31 pt_drv.o
>[...]
>
>Are there any problems with "depmod -a" ?
>
>Also "make load" have any problmes ...
>---
>Janny:[...]/sane-backends-1.0.8/backend/plustek_driver # make load
>/sbin/modprobe pt_drv || exit 1
>/lib/modules/2.4.18/misc/pt_drv.o: init_module: Success
>Hint: insmod errors can be caused by incorrect module parameters,
>      including invalid IO or IRQ parameters
>/lib/modules/2.4.18/misc/pt_drv.o: insmod
>/lib/modules/2.4.18/misc/pt_drv.o failed
>/lib/modules/2.4.18/misc/pt_drv.o: insmod pt_drv failed
>make: *** [load] Error 1
>---
>
>And I can't load the modul by hand:
>---
>Janny:~ # modprobe ls_drv
>modprobe: Can't locate module ls_drv
>---
>
>I'm not realy a linux hacker, so I need some help. Know anyone my
>problem?
>
>---
>Janny:~ # lsmod
>Module                  Size  Used by    Not tainted
>snd-pcm-oss            35232   0  (autoclean)
>snd-mixer-oss           8960   1  (autoclean) [snd-pcm-oss]
>snd-ens1371             9440   1  (autoclean)
>snd-pcm                48032   0  (autoclean) [snd-pcm-oss
> snd-ens1371] snd-timer              10112   0  (autoclean)
> [snd-pcm]
>snd-rawmidi            12256   0  (autoclean) [snd-ens1371]
>snd-seq-device          3968   0  (autoclean) [snd-rawmidi]
>snd-ac97-codec         22304   0  (autoclean) [snd-ens1371]
>snd                    25256   0  (autoclean) [snd-pcm-oss
> snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi
> snd-seq-device
>snd-ac97-codec]
>soundcore               3588   6  (autoclean) [snd]
>ipv6                  123328  -1  (autoclean)
>8139too                13728   1  (autoclean)
>mii                     1088   0  (autoclean) [8139too]
>stv680                 22304   0  (unused)
>videodev                2976   0  [stv680]
>usb-storage            20380   0  (unused)
>scanner                 8448   0  (unused)
>printer                 5600   0  (unused)
>parport_pc             25256   0  (autoclean)
>parport                22848   0  [parport_pc]
>---
>
>I'm using dROCK Linux 1.6.0 with 2.4.18 Kernel and a gcc 2.95.3
>
>
>It's better to put this Epson Scanner to trash and to buy a
> scannen, with is really supported by sane?
>
>
>thanks
>  martin

It should be a good scanner.  The previous 1250u works just fine 
here, either with the sane/plustek driver, or with the epson 
driver.  Be aware that this is probably a rebadged unit, made as an 
epson under contract.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.16% setiathome rank, not too shabby for a WV hillbilly
Subject: Re: Problems with plustek-module-0_42_9.tar.gz
From: "Jaeger, Gerhard" ####@####.####
Date: 29 Sep 2002 14:03:20 -0000
Message-Id: <17vecr-0PVhJYC@fmrl01.sul.t-online.com>

Hi Martin,

On Sunday, 29. September 2002 12:47, Martin Baum wrote:
> I'm new on this list.

No problem so far!

>
> Yesterday, I have buy an Epson Perfection 1260 Photo, with is only
> supported by this Plustek driver (I hope so).

In fact this one has been reported to work...

>
> I have install the sane backends 1.0.8 with no problems. Then I have
> copy the plustek-module-0_42_9.tar.gz to the backends folder.

Here the problem begins...

>
> In this Makefile, I have chance two thiks:
>   HEADER_PATH = /usr/src/linux-2.4.18-rock/include
>   K24_HEADER_PATH = /lib/modules/2.4.18/build/include
>
> "make all" works:

It should work indeed...

[SNIPSNAP]]
> I'm using dROCK Linux 1.6.0 with 2.4.18 Kernel and a gcc 2.95.3
>
>
> It's better to put this Epson Scanner to trash and to buy a scannen,
> with is really supported by sane?

Now, stay cool! First of all, depmod works correctly, if you got that lot of
unresolved symbols, then I guess you kernel is crap --> reconfigure and
rebuild it...

Second: As Gene stated correctly, the EPSON 1260 is a USB device
and there's no need to get and use the parport driver pt_drv.
The only thing you will need is the latest sane snapshot from CVS or
the tar ball plustek-sane 0.44. That's all.
You have to recompile SANE and then the scanner should work...
If you need assistance with that, come back to the list
BUT
there's no need to throw the scanner awy ;-)
  Gerhard

Subject: Re: Problems with plustek-module-0_42_9.tar.gz
From: Martin Baum ####@####.####
Date: 29 Sep 2002 16:35:22 -0000
Message-Id: <200209291827.04810.martin.baum@berlin.de>

Hello Gerhard,

On Sunday 29 September 2002 16:02, Jaeger, Gerhard wrote:

> Second: As Gene stated correctly, the EPSON 1260 is a USB device
> and there's no need to get and use the parport driver pt_drv.
> The only thing you will need is the latest sane snapshot from CVS or
> the tar ball plustek-sane 0.44. That's all.
> You have to recompile SANE and then the scanner should work...

Wow, yes. I have understand.

I have install the tar ball plustek-sane 0.44 with no problmes.

I think, all is okay. But xsane/xscanimage don't find my scanner!

Some thinks, with I have do:

Change the /etc/sane.d/plustek.conf
[usb] 0x4b8 0x11d
device /dev/usb/scanner0

Vendor, ProdID and Device are correct.

Change the /etc/modules.conf
options scanner vendor=0x4b8 product=0x11d

Load also the module with:
modprobe scanner vendor=0x4b8 product=0x11d

Janny:~ # lsmod
Module                  Size  Used by    Not tainted
scanner                 8448   0      <-- hmmm, the scanner is conneted
[...]

Disconnected and connected the scanner ...
Janny:~ # tail -f /var/log/messages
[...]
Sep 29 18:19:33 janny kernel: usb.c: USB disconnect on device 10
Sep 29 18:19:35 janny kernel: hub.c: USB new device connect on bus2/1, 
                              assigned device number 11
Sep 29 18:19:35 janny kernel: scanner.c: probe_scanner: User specified 
                              USB scanner -- Vendor:Product - 4b8:11d

Janny:~ # sane-find-scanner
sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 0x011d) 
at device /dev/usb/scanner0

It's all good, or?! Yes! It is. I have also restart the computer.

But xsane stoped with an error, because it can't find a scanner. 
xscanimage, too. Who can find the error?


thanks for all
  martin

-- 
"Gib jedem Tag die Chance, der schönste deines Lebens zu werden."
         (Mark Twain, amerikanischer Schriftsteller, 1835 - 1910)
Desktop ROCK Linux          User: #247799 (http://counter.li.org)
http://wildwechsel.de.vu      (http://www.tfh-berlin.de/~s713261)
Subject: Re: Problems with plustek-module-0_42_9.tar.gz
From: "Jaeger, Gerhard" ####@####.####
Date: 30 Sep 2002 18:16:11 -0000
Message-Id: <17w52u-1vGpDUC@fmrl09.sul.t-online.com>

On Sunday, 29. September 2002 18:27, Martin Baum wrote:
[SNIP]
> Some thinks, with I have do:
>
> Change the /etc/sane.d/plustek.conf
> [usb] 0x4b8 0x11d
> device /dev/usb/scanner0
>
> Vendor, ProdID and Device are correct.
>
> Change the /etc/modules.conf
> options scanner vendor=0x4b8 product=0x11d
>
> Load also the module with:
> modprobe scanner vendor=0x4b8 product=0x11d
>
> Janny:~ # lsmod
> Module                  Size  Used by    Not tainted
> scanner                 8448   0      <-- hmmm, the scanner is conneted
[SNAP]

Doesn't look too bad at all ;-)

One thing you can do now is:
open a shell:
export SANE_DEBUG_PLUSTEK=12
xsane

Then you should get some debug output which you
should send to the list, then we might find the problem...

Gerhard

Subject: Re: Problems with plustek-module-0_42_9.tar.gz
From: Martin Baum ####@####.####
Date: 30 Sep 2002 18:33:17 -0000
Message-Id: <200209302024.51106.martin.baum@berlin.de>

hi.

On Monday 30 September 2002 20:15, Jaeger, Gerhard wrote:

> One thing you can do now is:
> open a shell:
> export SANE_DEBUG_PLUSTEK=12
> xsane
>
> Then you should get some debug output which you
> should send to the list, then we might find the problem...

[sanei_debug] Setting debug level of plustek to 12.
[plustek] sane_init: sane-backends 1.0.8
[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, ># For parport devices use the parport section<
[plustek] sane_init, >#<
[plustek] sane_init, >#[parport]<
[plustek] sane_init, >#device /dev/scanner/pt_drv0<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># leave the default values as specified in 
          /etc/modules.conf<
[plustek] sane_init, >#<
[plustek] sane_init, >#warmup    -1<
[plustek] sane_init, >#lOffOnEnd -1<
[plustek] sane_init, >#lampOff   -1<
[plustek] sane_init, ><
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># The USB section<
[plustek] sane_init, ># each device needs at least two lines:<
[plustek] sane_init, ># - [usb] vendor-ID and product-ID<
[plustek] sane_init, ># - device devicename<
[plustek] sane_init, ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] sane_init, ># [usb] 0x07B3 0x0017<
[plustek] sane_init, ># device /dev/usbscanner<
[plustek] sane_init, >#<
[plustek] sane_init, ># additionally you can specify some options<
[plustek] sane_init, ># warmup, lOffOnEnd, lampOff<
[plustek] sane_init, >#<
[plustek] sane_init, ># For autodetection<
[plustek] sane_init, ># [usb]<
[plustek] sane_init, ># device /dev/usbscanner<
[plustek] sane_init, >#<
[plustek] sane_init, ><
[plustek] sane_init, >[usb] 0x4b8 0x11d<
[plustek] next device is a USB device (0x04B8-0x011D)
[plustek] next device is an USB device
[plustek] sane_init, ><
[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, >option lampOff 120<
[plustek] Decoding option >lampOff<
[plustek] sane_init, ><
[plustek] sane_init, ># warmup period in seconds, 0 means no warmup<
[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, >option lOffOnEnd 0<
[plustek] Decoding option >lOffOnEnd<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># and of course the device-name<
[plustek] sane_init, >#<
[plustek] sane_init, >device /dev/usb/scanner0<
[plustek] Decoding device name >/dev/usb/scanner0<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># to define a new device, start with a new 
          section:<
[plustek] sane_init, ># [usb] or [parport]<
[plustek] sane_init, >#<
[plustek] attach (/dev/usb/scanner0, 0xbfffc340, (nil))
[plustek] Device configuration:
[plustek] device name  : >/dev/usb/scanner0<
[plustek] porttype     : 1
[plustek] USB-ID       : >0x04B8-0x011D<
[plustek] warmup       : 180s
[plustek] lampOff      : 120
[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] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev_open(/dev/usb/scanner0,0x04B8-0x011D)
[plustek] Vendor ID=0x04B8, Product ID=0x011D
[plustek] Device >0x04B8-0x011D<, is not supported!  // ??? :(
[plustek] open failed: -1
[plustek] sane_get_devices (0xbfffe418, 0)
[plustek] sane_exit

martin@Janny:~ > cat /proc/bus/usb/devices
[...]
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=04b8 ProdID=011d Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=??????????????????
[...]

martin@Janny:~ > l /dev/usb/scanner0
crw-rw-rw-    1 root     root     180,  48 Jan  1  1970 
                                                /dev/usb/scanner0

I don't understand ...

martin

-- 
"Gib jedem Tag die Chance, der schönste deines Lebens zu werden."
         (Mark Twain, amerikanischer Schriftsteller, 1835 - 1910)
Desktop ROCK Linux          User: #247799 (http://counter.li.org)
http://wildwechsel.de.vu      (http://www.tfh-berlin.de/~s713261)
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.