[sane-devel] Umax 2000P

2007-01-03 Thread Stéphane VOLTZ
Le samedi 30 d?cembre 2006 23:02, Frank McCormick a ?crit?:
 Hello all

 I am trying to get a Umax 2000p scanner to work with my Ubuntu
 installation. So far no luck - I keep getting an error message which seems
 to indicate the SANE frontend or maybe the backends were not compiled with
 an option.

 This is the error:

 frank@ubuntu:~$ xsane
 [umax_pp_low] sanei_umax_pp_InitPort cannot use direct hardware access
 [umax_pp_low] if not compiled with --enable-parport-directio


 In googling the problem it seems there are 2 ways of accessing the parallel
 port directly or through ppdev. However when I load that module (sudo
 modprobe ppdev) I am no further ahead.

 I also tried downloading the sources and compiling but when it came to
 compiling the front end it failed because it seems to think the backends
 have not been compiled, when in fact they have been. I am using Ubuntu
 Dapper and Edgy but both distributions give me the same error. Is it
 possible to use a Debian distros files ? Is there any other way to resolve
 this ?

 Thanks

Hello,

if  the --enable-parport-directio hasn't been used to build the umax_pp 
backend, you can only make it work with ppdev. Loading the ppdev module might 
not be enough, you must have permission to access the device. Check the owner 
and group of the /dev/parport0 device that is created when the module is 
loaded. To see if it's only a permission problem try 'sudo scanimage -L'.
Also, in umax_pp.conf, you can change the 'port'  line to 'port 
safe-auto' 
or 'port /dev/parport0 if you're sure you'll allways use ppdev.

Regards,
Stef


[sane-devel] Umax 2000P

2006-12-30 Thread Frank McCormick

Hello all

I am trying to get a Umax 2000p scanner to work with my Ubuntu 
installation. So far no luck - I keep getting
an error message which seems to indicate the SANE frontend or maybe the 
backends were not compiled with an option.

This is the error:

frank@ubuntu:~$ xsane
[umax_pp_low] sanei_umax_pp_InitPort cannot use direct hardware access
[umax_pp_low] if not compiled with --enable-parport-directio


In googling the problem it seems there are 2 ways of accessing the parallel 
port directly or through ppdev. However when I load that module (sudo modprobe 
ppdev) I am no further ahead.

I also tried downloading the sources and compiling but when it came to 
compiling the front end it failed because it seems to think the backends have 
not been compiled, when in fact they have been. I am using Ubuntu Dapper and 
Edgy but both distributions give me the same error. Is it possible to use a 
Debian distros files ? Is there any other way to resolve this ?

Thanks


-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061230/6db005ba/attachment.pgp
From m...@gmx.net  Sun Dec 31 14:40:56 2006
From: m...@gmx.net (Maximilian Fabricius)
Date: Sun Dec 31 14:41:04 2006
Subject: [sane-devel] Plustek Optic Slim 2420
Message-ID: 88b277e60612310540q167702fcwcd81d7322e46f...@mail.gmail.com

Hi all,

I have been working on trying to get the OpticSlim 2420 to work.
Is disassembled the scanner (hardware) and made pictures. they may be found here

http://rosa.physik.tu-berlin.de/~mxhf/OS2420/

They are fairly high resolution ~1MB per image so that you can see all
details. lease excuse the German on the navigation bar.
From this I learned that the scanner has a GL842 chip (not GL841). The
GL842 seems
to be very similar to the 841 though as a quick scan through the data
sheet revealed.

So far I cloned the ST24 section in genesys_gl841 and
I got as far as being able to execute tstbackend -l0 without getting an error.
I had to comment the Init_Devices lines 4990-4993 in genesys_gl841.c.


I am somewhat stuck now. Starting scanimage results in strange noise
from the scanner.
Does anybody have more information? On the protocol maybe?
From USB snoopy I found that there are some USB control messages which
are not documented yet:0x8c 0x8e ...Any ideas?

Finally Plustek agreed to provide me with infrmation if I singn their
NDA (non disclosure agreement). Do you have any feeling about that? Is
that standard? Do I sell my soul?


Max


[sane-devel] UMax 2000P failures on Debian Woody

2002-10-17 Thread Hanasaki JiJi
Debian includes libsane 1.07
Tried:
EPP - 1.x  (bios supports two vers)
ECP
ECC/EPP
Linux Flavor
Debian Woody
Kernel 2.4.19 compiled from kernel.org

sane appears to find the printer correctly as a Astra 2000P becase no 
scanner is found when dll.conf has umax_pp commented out.


stef wrote:

   Hello,

   you generally get such messages when the backend can't use EPP mode 
 on your
 parport. You may try to change your BIOS settings to EPP only, or to 
 ECP/EPP. Also
 get sure you're using SANE 1.0.8, prior versions of the backend where 
 wrongly
 detecting 610P models instead of 2000P.


 Regards,
   Stef

 On Wed, Oct 16, 2002 at 10:27:23PM -0500, Hanasaki JiJi wrote:

 Hello,
 
 Below is the output of scanimage -L.   Is there anyway to correct this
 and get the scanner running?
 
 Thank you
 
 scanimage -L
 [umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7 
 (umax_pp_low.c:3360)
 [umax_pp_low] Error! expected STATUS=0x38, found 0xFF! 
 (umax_pp_low.c:5217)
 [umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xFF
 (umax_pp_low.c:2446)
 [umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3741)
 [umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:166)
 
 --
 
 =   http://www.sun.com/service/sunps/jdc/javacenter.pdf=
 =www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone   =
 =  =
 = Noone wants advice - only corroboration - John Steinbeck   =
 ====
 = Pawns can become Royalty in Life or in Chess   =
 = Life, the only game where Royalty can be a pawn,=
 =and not even know it =
 = Chess, the only game where pawns really are pawns  =
 
 
 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel


-- 

=   http://www.sun.com/service/sunps/jdc/javacenter.pdf=
=www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone   =
=  =
= Noone wants advice - only corroboration - John Steinbeck   =
====
= Pawns can become Royalty in Life or in Chess   =
= Life, the only game where Royalty can be a pawn,=
=and not even know it =
= Chess, the only game where pawns really are pawns  =




[sane-devel] UMax 2000P failures on Debian Woody

2002-10-17 Thread Hanasaki JiJi
Debian includes libsane 1.07
Tried:
EPP - 1.x  (bios supports two vers)
ECP
ECC/EPP
Linux Flavor
Debian Woody
Kernel 2.4.19 compiled from kernel.org

Scanner works fine in Win2000 with the win95 drivers

sane appears to find the printer correctly as a Astra 2000P becase no
scanner is found when dll.conf has umax_pp commented out.


stef wrote:

   Hello,
 
   you generally get such messages when the backend can't use EPP mode
  on your
  parport. You may try to change your BIOS settings to EPP only, or to
  ECP/EPP. Also
  get sure you're using SANE 1.0.8, prior versions of the backend where
  wrongly
  detecting 610P models instead of 2000P.
 
 
  Regards,
   Stef
 
  On Wed, Oct 16, 2002 at 10:27:23PM -0500, Hanasaki JiJi wrote:
 
  Hello,
  
  Below is the output of scanimage -L.   Is there anyway to correct this
  and get the scanner running?
  
  Thank you
  
  scanimage -L
  [umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7
  (umax_pp_low.c:3360)
  [umax_pp_low] Error! expected STATUS=0x38, found 0xFF!
  (umax_pp_low.c:5217)
  [umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xFF
  (umax_pp_low.c:2446)
  [umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3741)
  [umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:166)
  
  --
  
  =   http://www.sun.com/service/sunps/jdc/javacenter.pdf=
  =www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone   =
  =  =
  = Noone wants advice - only corroboration - John Steinbeck   =
  ====
  = Pawns can become Royalty in Life or in Chess   =
  = Life, the only game where Royalty can be a pawn,=
  =and not even know it =
  = Chess, the only game where pawns really are pawns  =
  
  
  ___
  Sane-devel mailing list
  sane-de...@www.mostang.com
  http://www.mostang.com/mailman/listinfo/sane-devel


-- 

=   http://www.sun.com/service/sunps/jdc/javacenter.pdf=
=www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone   =
=  =
= Noone wants advice - only corroboration - John Steinbeck   =
====
= Pawns can become Royalty in Life or in Chess   =
= Life, the only game where Royalty can be a pawn,=
=and not even know it =
= Chess, the only game where pawns really are pawns  =





[sane-devel] UMax 2000P failures on Debian Woody

2002-10-17 Thread Aurelien Jarno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le Jeudi 17 Octobre 2002 05:27, vous avez écrit :
 Hello,

 Below is the output of scanimage -L.   Is there anyway to correct
 this and get the scanner running?

 Thank you

 scanimage -L
 [umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7
 (umax_pp_low.c:3360) [umax_pp_low] Error! expected STATUS=0x38, found
 0xFF! (umax_pp_low.c:5217) [umax_pp_low] SendWord610P failed,
 expected tmp=0xC8 , found 0xFF (umax_pp_low.c:2446)
 [umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3741)
 [umax_pp_mid] sanei_umax_pp_InitTransport() failed
 (umax_pp_mid.c:166)

For Debian Woody, you can add the following lines to your 
/etc/apt/sources.list to grab the latest version of sane (currently 
1.0.8):

deb http://people.debian.org/~aurel32/SANE stable main
deb-src http://people.debian.org/~aurel32/SANE stable main

Maybe the bug is fixed in it.

Aurelien
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9rm4Jw3ao2vG823MRAmKEAJ96QXD5T5NM6b0wO5DgthTswIJxYwCdFTPy
QJzQpNO+l4kmKt7k1HCKNmA=
=W0T7
-END PGP SIGNATURE-


[sane-devel] UMax 2000P failures on Debian Woody

2002-10-16 Thread Hanasaki JiJi
Hello,

Below is the output of scanimage -L.   Is there anyway to correct this 
and get the scanner running?

Thank you

scanimage -L
[umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7 (umax_pp_low.c:3360)
[umax_pp_low] Error! expected STATUS=0x38, found 0xFF! (umax_pp_low.c:5217)
[umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xFF 
(umax_pp_low.c:2446)
[umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3741)
[umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:166)

-- 

=   http://www.sun.com/service/sunps/jdc/javacenter.pdf=
=www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone   =
=  =
= Noone wants advice - only corroboration - John Steinbeck   =
====
= Pawns can become Royalty in Life or in Chess   =
= Life, the only game where Royalty can be a pawn,=
=and not even know it =
= Chess, the only game where pawns really are pawns  =




[sane-devel] Umax 2000P and SANE

2001-11-01 Thread Happy House
Dear All,

I have recently discovered that my Umax 2000P (parallel port) Scanner 
can be used with SANE in linux.  I have Redhat 7.1 I recently wen to the 
http://umax1220p.sourceforge.net/ for information on using my scanner with 
SANE.  I have downloaded all of the files needed sane-1.0.5-backends.tar.gz
 and frontends and even the xsane source. But I do not know how to patch my 
backends directory like the page: http://umax1220p.sourceforge.net/install.html 
   

has told me.  All I get is a 

patch 
unknown command

Is patch another package I need to download? If yes where?  If not, where did I 
go wrong?  I followed it all, downloaded sane-1.0.5-backends.tar.gz and put it 
in the sane backends directory, but when I run the 

zcat umax1220p-2.3.gz | patch -p1 

 or

patch umax1220p-2.3 -p1 

I get the patch command not found?  what am I doing wrong?  

Can anyone can help or can point me in the right direction?  Thank you so much

sincere thanks and gratitude,
skkaw