plustek: Plustek OpticPro 12000T


Previous by date: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next by date: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Previous in thread: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next in thread: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger

Subject: Re: Plustek OpticPro 12000T
From: Jastra ####@####.####
Date: 18 Jan 2008 09:55:23 -0000
Message-Id: <Pine.LNX.4.64.0801181037060.29797@infoserve.pl>

>> Do You have any idea, what to do? Buy a new scanner?
>
> Buying a new scanner might be a good idea, but before doing
> that go and download the latest SANE-snapshot from www.sane-project.org
>
> Unpack and dive into the sane-backends/doc/plustek directory.
> When the call ./MakeModule.sh (as root user), then the module
> should be built...

Thanks for fast reply

Stable Debian package is listed as from Sarge (there is Etch now) and 
leads to 404 error not found.

stable sane-backend source first have error in file

   CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.o
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:178: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:181: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:184: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:187: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:190: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:193: error: expected 
) before string constant
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:196: error: expected 
) before string constant

  I have found solution to this by Google, it means replace all 
MODULE_PARM( with MODULE_PARM_DESC( in all lines 
listed with error in /backend/plustek-pp_ptdrv.c

However, after compilation, device /dev/pt_drv* could not be created as 
before.

The same error started in 18.01.2008 snapshoot, after editing the lines 
with errors, it has compiled with some warnings as

/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1138: warning: 
ignoring return value of copy_from_user, declared with attribute 
warn_unused_result


and at the end

make: Entering directory `/usr/src/plustek/doc/plustek/build'
/sbin/modprobe pt_drv || exit 1
rm -f /dev/pt_drv*
mknod: missing operand after `0'
Try `mknod --help' for more information.
mknod: missing operand after `0'
Try `mknod --help' for more information.
mknod: missing operand after `1'
Try `mknod --help' for more information.
mknod: missing operand after `2'
Try `mknod --help' for more information.
mknod: missing operand after `3'
Try `mknod --help' for more information.
chgrp: cannot access `/dev/pt_drv*': No such file or directory
chmod: cannot access `/dev/pt_drv*': No such file or directory
make: *** [load] Error 1
make: Leaving directory `/usr/src/plustek/doc/plustek/build'
done.

In general - no better result

Do You have any idea, what to do?
Thanks in advance
Best Regards
Basia

               Have a Happy and Prosperous New Year
      __ /\ __       __ /\ __       __ /\ __       __ /\ __
      \_`\/`_/ .\'/. \_`\/`_/ .\'/. \_`\/`_/ .\'/. \_`\/`_/
      <_>()<_>-=>*<=-<_>()<_>-=>*<=-<_>()<_>-=>*<=-<_>()<_>
      /_,/\,_\ '/.\' /_,/\,_\ '/.\' /_,/\,_\ '/.\' /_,/\,_\
         \/             \/             \/             \/


Previous by date: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next by date: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Previous in thread: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next in thread: 18 Jan 2008 09:55:23 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger


Powered by ezmlm-browse 0.20.