[sane-devel] search/bin/driver-cvs.sh on alioth gone?

2010-02-21 Thread Jochen Eisinger
Hi,

since a few days this file is gone (it used to be in the sane group
home-directory on alioth). Does somebody know why?

best
-jochen



[sane-devel] [Fwd: Problem with Boolean search on SANE site -- R.C.]

2009-07-15 Thread Jochen Eisinger
Hi,

 I'm trying to see what SANE has to offer for page scanners or sheet
 scanners (the portable, non-bulk feed variety).  I selected Boolean
 search, then entered search terms:  page scanner, page scanner and,
 page and scanner, plus the same combinations for sheet scanner
 It seems there is no way of searching for a string?  I'm search results
 with both words separated, or, with both words concatenated (with no
 space between).  Could you give me an example I could follow?

I don't quite understand what exactly you want to do. The search engine
is an htdig engine, so you can check their documentation:

http://www.htdig.org/hts_method.html

So a search like (page OR sheet) AND scanner is valid.

However, there's no way to search for documents where the words page and
scanner are close to each other.

You can try google for that:

http://google.com/search?q=page-scanner%20site:lists.alioth.debian.org

regards
-- jochen



[sane-devel] hal fdi rules to grant user saned access to scanner devices

2008-12-18 Thread Jochen Eisinger
Hi,

I don't know whether somebody came up with a similar or better solution,
so here's mine:

On new linux installations, where hal is used to manage device access
rights, the old way of granting user saned access rights to scanners by
adding the user to the group scanner or so no longer works. hal will add
and remove individual users to the acl of the device file, while the
file itself is owned by root.

Adding the following rule to /etc/hal/fdi/policy/saned.fdi also adds
user saned to the acl:

?xml version=1.0 encoding=UTF-8?
deviceinfo version=0.2
  device
match key=info.capabilities contains=access_control
  match key=access_control.type contains=scanner
append key=access_control.grant_user
type=strlistsaned/append
  /match
/match
  /device
/deviceinfo

if nobody comes up with a better idea, i'll include this on the saned
troubleshooting webpage soon

regards
-- jochen



[sane-devel] [PATCH] Fix catman error of sane-mustek_pp.man

2008-05-07 Thread Jochen Eisinger
Hi,

thanks for reporting this. It's fixed in CVS now.

regards
-- jochen





[sane-devel] Double-free following scan on ubuntu hardy 8.04 with epjitsu fi-60f

2008-04-29 Thread Jochen Eisinger
Hi,

Julien BLACHE wrote:
 Gah, that damn crash reporter is getting in the way. Can you try to
 get rid of it?

You have to set the env variable MALLOC_CHECK_ to 0, i.e., in bash

export MALLOC_CHECK_=0

or in tcsh

setenv MALLOC_CHECK_ 0

then you will get a proper backtrace with gdb..

http://www.gnu.org/software/libtool/manual/libc/Heap-Consistency-Checking.html

If possible, use valgrind -v scanimage -d epjitsu to generate the
backtrace, it will be more informative.

regards
-- jochen



[sane-devel] Double-free following scan on ubuntu hardy 8.04 with epjitsu fi-60f

2008-04-29 Thread Jochen Eisinger
Hi,

I guess the bug is that in sane_close the scanner_devList entry
corresponding to the open handle is destroyed, and later in sane_exit
all scanner_devList entries are destroyed again.

I guess in sane_close, the entry should be be destroyed, but only marked
as free or so.

regards
-- jochen




[sane-devel] USB to parallel port converters

2007-12-08 Thread Jochen Eisinger
Hi,

Neil Youngman wrote:
 I have a Mustek 1200CP parallel scanner, which appears to be supported by 
Better buy a new scanner :)

 sane-find-scanner -p -vv /dev/usb/lp0 doesn't find any scanners. Is there 
 something else I should try, or won't it work with a converter?

lp0 is a printer device. So I guess you have an parallel port printer to
usb printer converter. That can't work with the scanner.

I don't know whether there is something like 'generic parallel port over
usb'.

Better buy a new scanner.

regards
-- jochen



[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-13 Thread Jochen Eisinger
Hi,

that's a common problem of many backends, please file a bug at our
alioth bug tracker. See bug #303681
http://alioth.debian.org/tracker/index.php?func=detailaid=303681group_id=30186atid=410366
for a similar bug.

regards
-- jochen





[sane-devel] Saned problem

2007-05-28 Thread Jochen Eisinger
Hi,

what does ls -l /dev/bus/usb/001/002 show?

Assuming you don't have appropriate access rights to this device, does
changing access rights help?

regards
-- jochen



[sane-devel] Saned problem

2007-05-24 Thread Jochen Eisinger
Hi,

is saned actually executed when you run it from inetd? can you connect
with telnet for example?

regards
-- jochen




[sane-devel] Saned problem

2007-05-23 Thread Jochen Eisinger
Hi,

Wouter van Marle wrote:
 However doing the same as user, doesn't detect the scanner.
looks as if the usb device doesn't have the correct access rights.

I'm not sure where it's mounted on debian, either /proc/bus/usb/aaa/bbb
where aaa and bbb are the values in epson:libusb:aaa:bbb or /dev/usb/aaa/bbb

regards
-- jochen



[sane-devel] Re: SANEd and DNS-SD

2007-02-23 Thread Jochen Eisinger
Hi,

Circuitsoft Development wrote:
 Why not? Almost every other daemon I've seen does.
that's not the point here. I don't want to have some more or less
unrelated registry entry to enforce a design decision for future versions.

regards
-- jochen


[sane-devel] Re: SANEd and DNS-SD

2007-02-17 Thread Jochen Eisinger
Hi,

Alex Austin wrote:
 I'm working on a SANEd / WIA (Windows Imaging Architecture) bridge
 driver right now. I suppose I could be the contact person, but if
 someone else would prefer, I have no attachment to it. I figured the
 head maintainer of the SANE net backend could, but looking further, I'm
 not sure there is one.
basically, I could be the contact person, yes.

 As for TXT Records, Can't the protocol version be determined easily from
 connecting to the daemon? same with ssl/tls?
that's not clear yet, since the SANE 2 is still under development and
the net protocol (hopefully) won't be compatible to the current one.

regards
-- jochen



[sane-devel] Re: SANEd and DNS-SD

2007-02-10 Thread Jochen Eisinger
Hi,

I've forwarded your mail to the sane mailing list. I'm not sure who
should be the contact person, so it's probably the best to discuss this
on the list.

regards
-- jochen

Alex Austin wrote:
 Jochen,
 
 I am working on building an integrated product which runs SANEd. When
 looking into writing frontend drivers, I realized that automatic
 discovery would be advantageous, and the best protocol for this, right
 now, seems to be DNS-SD (used in Apple's Bonjour suite). I will soon be
 writing a windows WIA microdriver for the SANE net backend, and I think
 auto discovery is necessary for it to work properly. (UPnP doesn't seem
 to quite fit...)
 
 DNS-SD relies on DNS SRV records sent via multicast DNS service. To use
 this technology effectively, a DNS SRV Service Type needs to be
 registered, and I don't think I'm the right person to specify as
 in-charge of the protocol.
 
 See http://www.dns-sd.org/ServiceTypes.html
 
 The info I've collected so far:
   Short name of protocol: sane-port
   Long description: SANE Control Port
   Name and Email of Responsible Party: Jochen Eisinger
 joc...@penguin-breeder.org mailto:joc...@penguin-breeder.org - ???
 Is this okay?
   URL of Protocol Description: http://www.sane-project.org/html/doc015.html
   Primary transport protocol: _tcp
   TXT Record service keys: None
 
 Would you care to register it, or can you point me to a more appropriate
 person?
 
 Thank you.
 
 -- 
 - Alex Austin
 Circuitsoft Computer Services
 (651) 238-9273
 www.circuitsoftcs.com http://www.circuitsoftcs.com
 
 ...and then I visited Wikipedia ...and the next 8 hours are a blur.


[sane-devel] Cann't get Mustek 600 III EP working.

2006-12-30 Thread Jochen Eisinger
Hi,

tj wrote:
 What else if anything do I need to do?
did you check the troubleshooting guide at
http://penguin-breeder.org/sane/mustek_pp/#trouble ?

regards
-- jochen


[sane-devel] SANE2 commitment

2006-12-17 Thread Jochen Eisinger
Hi,

Alessandro Zummo wrote:
  I'd appreciate if everyone who is interested can reply
  with their own commitments for the 2007.. ehm.. sane2 :)

I'm quite surprised to hear there is a sane2 standard - at least one
that we can easily start to implement.

I don't think it's a good idea to start hacking something before it's
clear we have a standard that will support us for the next few years.

regards
-- jochen


[sane-devel] Mustek 1200 CP not working with sane 1.0.17 on FreeBSD

2006-07-30 Thread Jochen Eisinger
Hi,

Dura-Zell wrote:
 To exclude any hardwarproblems I tested the parallelport with some other
  devices:
you don't happen to have the possibility to try your scanner with the
original drivers?

regards
-- jochen


[sane-devel] Mustek 1200 CP not working with sane 1.0.17 on FreeBSD

2006-07-27 Thread Jochen Eisinger
Hi,

Dura-Zell wrote:
 [sanei_pa4s2] pa4s2_open: device `0x378` opened...
this looks good...

 [sanei_pa4s2] pa4s2_readbyte_nib: reading value 0x77 from '0x378'
and this looks very bad. should be A5 or A8 or similar.

is your parallel port configured in EPP mode (maybe you can configure
that in the BIOS?

regards
-- jochen


[sane-devel] ppSCSI driver suite updated

2005-10-16 Thread Jochen Eisinger
Hi,

I've updated the ppSCSI driver suite patch for 2.6.13 kernels.
Furthermore, I've added a stand-alone version, i.e. the ppSCSI drivers +
Makefile, so you don't need to patch the kernel anymore but can build
them seperatly.

Both are available from http://penguin-breeder.org/kernel/download/

kind regards
-- jochen


[sane-devel] Thinking about trying to add support for Mustek 1200 III EP

2005-10-05 Thread Jochen Eisinger
Hi,

I once started to write a driver for this scanner, which was quite
unstable and only supported greyscale scanning. Basically, it's a
modification of the ccd300 driver.

I'm always thankful if somebody wants to take over a part of the backend
by adding support for a scanner. However, this is quite a difficult and
lengthy process.

The low-level communication is already there, and the mustek_pp backend
is written in such a way that you only have to implement the scanner
protocol, the SANE protocol is handled by generic wrappers.

anway, i'll try to find some usable material about this scanner -
without that it's kinda worthless to start in the first place

kind regards
-- jochen


[sane-devel] Can someone help me with getting my Mustek 1200 ED scanner working?

2005-08-28 Thread Jochen Eisinger
Hi,

what's the output of

SANE_DEBUG_MUSTEK_PP=128 scanimage -L

kind regasds
-- jochen



[sane-devel] saned quits after each request made by any frontend

2005-08-01 Thread Jochen Eisinger
Hi,

saned isn't a stand-alone program, but you have to run it using
(x)inetd. See http://penguin-breeder.org/sane/saned/ or the saned and
sane-net man-pages.

kind regards
-- jochen



[sane-devel] Work around for ever-lasting EPP/parport problem

2005-04-10 Thread Jochen Eisinger
Hi,

I've commited a patch to CVS that introduces an option no_epp to
mustek_pp.conf. When this option is defined, the EPP protocol is not tried.

This works around a known bug in the parport kernel code of linux that
causes the mustek_pp backend to hang on some systems.

kind regards
-- jochen



[sane-devel] Installingproblem with parallellportscanner and Sane.

2005-03-23 Thread Jochen Eisinger
Hi there,

ok, I'm back home again :-)

let's see, can you send me your modprobe.conf?

kind regards
-- jochne




[sane-devel] Installingproblem with parallellportscanner and Sane.

2005-02-28 Thread Jochen Eisinger
Hi,

it's /etc/modprobe.conf in fedore core 3 :)

kind regards
-- jochen




[sane-devel] Installingproblem with parallellportscanner and Sane.

2005-02-27 Thread Jochen Eisinger
Hi,

could you please send the output of

SANE_DEBUG_SANEI_PA4S2=128 scanimage -L

kind regards
-- jochen



[sane-devel] Installingproblem with parallellportscanner and Sane.

2005-02-27 Thread Jochen Eisinger
Hi,

Philip Moller wrote:
 Hi!
 I read in the installationmanual
 (http://penguin-breeder.org/sane/mustek_pp/) under Known distribution
 specific issues that Fedora Core 1 has to remove the symbolic link
 libsane.so.1, is that advice for Fedora Core 3 to ?
no, it only affects fc1

Do you have ECP activated in your BIOS? If you have ECP something like 
this should show up in your dmesg:

$ dmesg | grep parport
parport0: PC-style at 0x378 (0x778), irq 7, dma 1
[PCSPP,TRISTATE,COMPAT,ECP,DMA]

kind regards
-- jochen



[sane-devel] Installingproblem with parallellportscanner and Sane.

2005-02-27 Thread Jochen Eisinger
Hi,

try to pass the following options to the module parport_pc, for example
in /etc/modules.conf

options parport_pc irq=7 dma=3 io=0x378

it should then detect the port correctly. Let's see whether that helps :)

kind regards
-- jochen

Philip Moller wrote:
 Hi,
 
 No, I didn't have ECP activated before, but I have now, after your
 advice and I have naturally rebooted my computer.
 Only one problem (never ending), see here (consol-mode):
 
 [root] # dmesg | grep parport
 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
 parport0: irq 7 detected
 parport0: Printer, Canon S750
 lp0: using parport0 (polling).
 
 Why isn't ECP shown above? I have change it in bios ?
 You have to believe me on that.  :-)
 
 I dubbelchecked in my bios and I have this value there now :
 Mode: ECP
 I/O Adress: 378h
 DMA Channel: DMA3
 
 But dmesg don't agree, why?
 Is there something else I must do, like reinstall the Kernel or the
 parport0 module, is there a module I have forgotten to install or what ?
 
 Thank's for all help.
 
 Sincerely,
 Philip Moller
 Malmo, Sweden
 
 Jochen Eisinger wrote:
 
 Hi,

 Philip Moller wrote:

 Hi!
 I read in the installationmanual
 (http://penguin-breeder.org/sane/mustek_pp/) under Known distribution
 specific issues that Fedora Core 1 has to remove the symbolic link
 libsane.so.1, is that advice for Fedora Core 3 to ?


 no, it only affects fc1

 Do you have ECP activated in your BIOS? If you have ECP something like
 this should show up in your dmesg:

 $ dmesg | grep parport
 parport0: PC-style at 0x378 (0x778), irq 7, dma 1
[PCSPP,TRISTATE,COMPAT,ECP,DMA]

 kind regards
 -- jochen

 
 



[sane-devel] Saned problem

2005-01-12 Thread Jochen Eisinger
Hi,

Patrick Marquetecken wrote:
 If I run scanimage -L on the client with xinetd enabled i see this error
 on the server.
  Jan 11 21:24:11 [xinetd] START: sane-port pid=10946 from=192.168.123.7
  Jan 11 21:24:11 [xinetd] FAIL: sane-port address from=192.168.123.7
An error message like this means that the address check of only_from or 
no_access failed.

do you have a default { } section in your xinetd.conf?

maybe there are some examples for this options which disable the saned 
service

kind regards
-- jochen



[sane-devel] Saned problem

2005-01-11 Thread Jochen Eisinger
Hi,

I assume you are configured xinetd to execute saned as user saned (or 
similar)

does saned still work, if you execute it like this

# su - saned
$ saned -d128

(i.e. running as user saned)

kind regards
-- jochen

Patrick Marquetecken wrote:
 On Tue, 11 Jan 2005 17:37:55 +0100
 Jochen Eisinger joc...@penguin-breeder.org wrote:
 
 
Hi,

Patrick Marquetecken wrote:

After each connection attempt there is a /tmp/saned.7876.stderr
 
 file.
 
well, what is in that file?
 
 
 its empty ...
 
kind regards
-- jochen
 
 
 



[sane-devel] saned refuses to reply

2004-11-19 Thread Jochen Eisinger
Hi,

have you tried the troubleshooting section at
http://penguin-breeder.org/sane/saned/ ? I'm pretty sure that should
solve your problem

kind regards
-- jochen



[sane-devel] sane 1.0.14 and MD9890: invalid driver name

2004-09-06 Thread Jochen Eisinger
Hi Eddy,

what do you think about this patch: http://c0ffee.org/stuff/mustek_pp.diff

Eddy De Greef wrote:
 PS: I think we should do something about this. Users should get a
 warning that the backend isn't functional already during compilation.

kind regards
-- jochen




[sane-devel] sane 1.0.14 and MD9890: invalid driver name

2004-09-05 Thread Jochen Eisinger
Hi,

Hauke Zuehl wrote:
 [mustek_pp] sane_init: invalid driver name ``cis1200''
this error message is a bit mis-leading, this probably means the scanner
is not found.

Could you try (as root)

sane-find-scanner -v -v -v -p

kind regards
-- jochen



[sane-devel] Mustek 600 III EP Plus

2004-09-05 Thread Jochen Eisinger
Hi,

I'm not yet sure what this bug is, but I have the feeling it's a kernel
bug which makes the driver hang. Could you try to update the kernel? As
far as I know there's a new kernel from SuSE available via online update.

kind regards
-- jochen



[sane-devel] ScanMagic 4800P doesn't respond

2004-07-21 Thread Jochen Eisinger
Hi,

this appears to be a problem with either libieee1284 or the kernel. I'll
try to investigate into this a little further...

kind regards
-- jochen



[sane-devel] Which are the modules to load for a scsi scanner in the kernel 2.6

2004-07-03 Thread Jochen Eisinger
Hi,

Jose Sanchez wrote:
 I patched the kernel with the patch in the web page.  Everything went
 ok.  I compiled the kernel, but the modules where not compiled again. 
 Do I have to configure something or I am missing something in my
 compilation. 
You have to enable ppSCSI and the module for your card in the kernel config:

CONFIG_PPSCSI and some CONFIG_PPSCSI_* variable

they should be under scsi drivers in your kernel config.

kind regards
-- jochen



[sane-devel] Question About Mustek 600CP scanner on Suse 9.1

2004-06-21 Thread Jochen Eisinger
Hi,

Eddy De Greef wrote:
 After he compiled everything from source, upgraded his kernel,
 and altered the parport BIOS settings, Neal's problem disappeared.
 It's impossible to say what was the real problem, unfortunately.
From what I read on parport-devel this is a bug in the SuSE kernel

regards
-- jochen



[sane-devel] Question About Mustek 600CP scanner on Suse 9.1

2004-06-15 Thread Jochen Eisinger
Hi,

Neal Gamradt wrote:
 [sanei_pa4s2] pa4s2_readbyte_nib: reading value 0xa5
 from 'parport0'
 [...]
 [sanei_pa4s2] pa4s2_readbyte_nib: reading value 0x00
 from 'parport0'

the backend gets the correct value first, but later the scanner only
returns the wrong value 0x00. To me this looks like the scanner got
confused or something.

Eddy, could you have a look at this?

kind regards
-- jochen



[sane-devel] Mustek ScanExpress 6000 P doesn't work correctly

2004-04-28 Thread Jochen Eisinger
Hi,

I'm still trying to reproduce your problem. Basically, the old (1.0.7)
code was just copied over and patched to support libieee1284. I guess as
soon as I have an 1015/01 scanner, I should be able to fix this.

i'll let you know as soon as I have something

kind regards
-- jochen



[sane-devel] Mustek ScanExpress 6000 P doesn't work correctly

2004-04-22 Thread Jochen Eisinger
Hi,

Ok, I'll test this tommorow (this scanner is in the basement and it's
late now...)

kind regards
-- jochen

Julien Langer wrote:
 Hello,
 
 ScanExpress 6000 P doesn't work correctly with mustek_pp backend
 0.13-beta.



[sane-devel] Mustek ScanExpress 6000 P doesn't work correctly

2004-04-22 Thread Jochen Eisinger
Hi,

Julien Langer wrote:
 [mustek_pp] ccd_init: found scanner on port ``parport0'' (ASIC id 0xa5, CCD 1)
Hum, my SE 6000 P identifies itself with 0xa8 + CCD 0. Could you please
attach the old (working) mustek_pp.conf (without all the comments)?

kind regards
-- jochen



[sane-devel] Mustek ScanExpress 6000 P doesn't work correctly

2004-04-22 Thread Jochen Eisinger
Hi,

Julien Langer wrote:
 with mustek_pp 0.13-beta I used:
ehrm, I meant the old one, the 1.0.7 config

kind regards
-- jochen



[sane-devel] sane-find-scanner and mustek parallel port devices

2004-04-11 Thread Jochen Eisinger
Hi,

Eddy De Greef wrote:
 It looks good.
 I'm all for including it (but I may be a bit prejudiced :-).
It's included since yesterday (just before feature freeze :-)

kind regards
-- jochen



[sane-devel] sane-find-scanner and mustek parallel port devices

2004-04-06 Thread Jochen Eisinger
This is a multi-part message in MIME format.
--070004080404080406040306
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I just wrote a short patch to sane-find-scanner which detects mustek
parallel port devices. With sanei_pa4s2 it's possible to get a list of
possible ports. All the patch does is trying to open those ports using
the sanei_pa4s2 - the sanei_pa4s2 contains the whole low-level stuff, so
no device dependant code is included in sane-find-scanner.

In order to avoid problems with parallel port printers or other hardware
if no scanner is present, you have to give the switch -p to
sane-find-scanner if you want your scanner detected.

Example:

# sane-find-scanner -p -q
found possible Mustek parallel port scanner at parport0

Any comments on this?

kind regards
-- jochen

--070004080404080406040306
Content-Type: text/plain;
 name=sane-find-scanner.c.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename=sane-find-scanner.c.patch

--- ./tools/sane-find-scanner.c.orig2004-04-06 20:23:43.0 +0200
+++ ./tools/sane-find-scanner.c 2004-04-06 20:23:47.0 +0200
@@ -44,6 +44,7 @@
 #include ../include/sane/sanei.h
 #include ../include/sane/sanei_scsi.h
 #include ../include/sane/sanei_usb.h
+#include ../include/sane/sanei_pa4s2.h
 
 #ifndef PATH_MAX
 # define PATH_MAX 1024
@@ -90,6 +91,7 @@
   fprintf (stderr, \t-q: be quiet (print only devices, no comments)\n);
   fprintf (stderr, \t-f: force opening devname as SCSI even if it looks 
   like USB\n);
+  fprintf (stderr, \t-p: enable scannig for parallel port devices\n);
   if (msg)
 fprintf (stderr, \t%s\n, msg);
 }
@@ -781,10 +783,87 @@
 }
 #endif
 
+static int
+check_mustek_pp_device (void)
+{
+  const char **devices;
+  int ctr = 0, found = 0, scsi = 0;
+
+  if (verbose  1)
+printf (searching for Mustek parallel port scanners:\n);
+
+  devices = sanei_pa4s2_devices ();
+
+  while (devices[ctr] != NULL) {
+int fd;
+SANE_Status result;
+
+/* ordinary parallel port scanner type */
+if (verbose  1)
+  printf (checking %s..., devices[ctr]);
+
+result = sanei_pa4s2_open (devices[ctr], fd);
+
+if (verbose  1)
+  {
+if (result != 0)
+ printf ( failed to open (%s)\n, sane_strstatus (result));
+else
+ printf ( open ok\n);
+  }
+
+if (result == 0) {
+  printf (found possible Mustek parallel port scanner at \%s\\n,
+  devices[ctr]);
+  found++;
+  sanei_pa4s2_close(fd);
+}
+
+/* trying scsi over pp devices */
+if (verbose  1)
+  printf (checking %s (SCSI emulation)..., devices[ctr]);
+
+result = sanei_pa4s2_scsi_pp_open (devices[ctr], fd);
+
+if (verbose  1)
+  {
+if (result != 0)
+ printf ( failed to open (%s)\n, sane_strstatus (result));
+else
+ printf ( open ok\n);
+  }
+
+if (result == 0) {
+  printf (found possible Mustek SCSI over PP scanner at \%s\\n,
+  devices[ctr]);
+  scsi++;
+  sanei_pa4s2_close(fd);
+}
+
+ctr++;
+  }
+
+  free(devices);
+
+  if (found  0  verbose  0)
+printf(\n  # Your Mustek parallel port scanner was detected.  It may or\n
+ # may not be supported by SANE.  Please read the 
sane-mustek_pp\n
+# man-page for setup instructions.\n);
+
+  if (scsi  0  verbose  0)
+printf(\n  # Your Mustek parallel port scanner was detected.  It may or\n
+ # may not be supported by SANE.  Please read the 
sane-mustek_pp\n
+# man-page for setup instructions.\n);
+
+  return (found  0 || scsi  0);
+
+}
+
 int
 main (int argc, char **argv)
 {
   char **dev_list, **usb_dev_list, *dev_name, **ap;
+  int enable_pp_checks = SANE_FALSE;
 
   prog_name = strrchr (argv[0], '/');
   if (prog_name)
@@ -815,6 +894,10 @@
  force = SANE_TRUE;
  break;
 
+   case 'p':
+ enable_pp_checks = SANE_TRUE;
+ break;
+
default:
  printf (unknown option: -%c, try -h for help\n, (*ap)[1]);
  exit (0);
@@ -1218,9 +1301,19 @@
   make sure that\n  # you have loaded a driver for your USB host 
   controller and have installed a\n  # kernel scanner module.\n);
 }
+  if (enable_pp_checks == SANE_TRUE) 
+{
+  if (!check_mustek_pp_device()  verbose  0)
+printf (\n  # No Mustek parallel port scanners found. If you expected
+ something\n  # different, make sure the scanner is correctly
+connected to your computer\n  # and you have apropriate
+access rights.\n);
+}
+  else if (verbose  0)
+printf (\n  # Not checking for parallel port scanners.\n);
   if (verbose  0)
-printf (\n  # Scanners connected to the parallel port or other 
-   proprietary ports can't be\n  # detected by this program.\n);
+printf (\n  # Most Scanners connected to the parallel port or 

[sane-devel] ppSCSI drivers for linux 2.6

2004-02-01 Thread Jochen Eisinger
Hi

Due to the demand for a port to the 2.6 series of the ppSCSI patch by
several SANE users, I will try to provide an up-to-date patch.

I don't have the possibility to test this patch by myself, since I don't
own such an adapter. This also means that I don't maintain the ppSCSI
patch in respect to the hardware support. I will however try to adopt
the patch to the SCSI mid-level API.

If you are willing to test this patch, I'd be grateful to receive any
kind of feedback.

You can get the patch from

 o http://penguin-breeder.org/kernel/download/

kind regards
-- jochen



[sane-devel] saned on Gentoo 1.4: disable IPv6?

2003-12-30 Thread Jochen Eisinger
Hi,

if you're only using saned to allow non-root users to scan, you could
aswell solve this with correct access rights to /dev/parport0

regards
-- jochen

Wolfgang Fabics wrote:
 Thanx a lot, Henning... you gave me the right idea. It's a local
 resolver/DNS config problem... gonna look into that. Commented the only
 from line in xinetd.conf and now it works.
 
 Thank you, and wonderful christmas holidays to y'all! :-)
 -wolfgang
 
 




[sane-devel] mustek_pp trouble

2003-12-30 Thread Jochen Eisinger
Hi,

Jim George wrote:
 [sanei_pa4s2] sanei_pa4s2_open: could not find scanner
 [sanei_pa4s2] sanei_pa4s2_open: reported ASIC id 0xb5
this looks like the backend couldn't find your scanner (0xa5 would have
been a valid ID for example)

 [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value 0
 [sanei_pa4s2] sanei_pa4s2_enable: disable port 'parport0'
here the port is released again (at least it should be)

can you actually scan with SANE and your scanner? This looks all very
strange to me...

regards
-- jochen




[sane-devel] saned doesn't release the parallel port when finished

2003-12-19 Thread Jochen Eisinger
Hi,

does this also happen when you scan from command line, i.e. using scanimage?

regards
-- jochen




[sane-devel] ccd scanners and 1.0.10

2003-07-12 Thread Jochen Eisinger
--=.E(ZvrHD6M:2+ys
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

yes, it's true, and it just shouldn't work.

regards
-- jochen

[David A Iacobellis]
 I read on another site that ccd scanners were disabled in the sane
 1.0.10 backend and only the cis scanners would work.  Could somebody
 verify the truth in this statement?  If this is true, would a ccd
 scanner not work at all or would it cause the application to hang?
 
 Thanks
 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel
 



--=.E(ZvrHD6M:2+ys
Content-Type: application/pgp-signature

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/EBWS8OF76YrreuMRAhKZAJ4rwmj2WlMx+1eCbT1zPW3etmcPXgCg0onI
gx1+9F0Nsn8qOhfbfDsi92g=
=Rzmr
-END PGP SIGNATURE-

--=.E(ZvrHD6M:2+ys--


[sane-devel] Second draft of Scanner HOWTO for TLDP

2003-06-25 Thread Jochen Eisinger
--=.Ck,JUCF/u'4.N7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

some remarks on the Parallel Port sections:

Interface Types - Parallel Port Devices:
Jonathan's page is really very outdated for some time now. It's
better (also for the other scanner types) to check the supported
scanners list on sane.informatik.uni-freiburg.de/cgi-bin/driver.pl

Kernel Support - Parallel Port Scanners:
Not all scanner drivers need kernel level support. Some are using
directio (this needs to be enabled in configure) You're also mixing
dmesg and lsmod a little (lsmod is in bold, but a dmesg output is
shown). You could also note that you might have to enabled certain
transfer modes in the BIOS

Making and Accessing the Scanner Devices - Manually creating ...
crw---1 root root  99,   0 Jun 24 13:47 parport0
crw---1 root root  99,   1 Jun 24 13:47 parport1
crw---1 root root  99,   2 Jun 24 13:47 parport2
crw---1 root root  99,   3 Jun 24 13:47 parport3
crw-r-1 root root   1,   4 Jan  1  1970 port

if a scanner doesn't use the kernel drivers, it normally needs the
port number as device name.

Making and... - Groups and Permissions:
If a scanner doesn't use the kernel drivers, you have to use the
sane daemon (saned) to let non-root users access the scanner

Configuring SANE:
Parallel port backends often need libieee1284 installed or directio
enabled.
 
You could also stress the point a little more that an old SANE
installation is the reason #1 why self compiled SANE version don't
work (as you'd expect)

The network setup is missing the (x)inetd setup and doesn't mention
the possibility of using passwords

Testing your scanner:
There's an option --test for scanimage

that's it :)

regards
-- jochen

--=.Ck,JUCF/u'4.N7
Content-Type: application/pgp-signature

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++VrK8OF76YrreuMRArQTAKCReMsOr0kGL5l1uJpYK4DAbf9PvwCePze4
ZaxTEK0r7jeQMKdlfptoHP4=
=ca9K
-END PGP SIGNATURE-

--=.Ck,JUCF/u'4.N7--


[sane-devel] New sanei_pa4s2 in cvs

2003-06-06 Thread Jochen Eisinger
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--enig5F795099F5F25C456C69E563
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I commited the new (and fixed) sanei_pa4s2 to cvs earlier today.

In order to use the mustek_pp backend, you either have to install
libieee1284 (and have configure detect it) [recommended] or enable
direct port io (also with configure).

What about including libieee1284 into the SANE distribution? I'd
volunteer on keeping it up to date.

best regards
-- jochen

--enig5F795099F5F25C456C69E563
Content-Type: application/pgp-signature

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+4J7G8OF76YrreuMRAqaLAKCy9nqr1UQzhP+k89WXZiia59fSRACdENzZ
cQ06fauc1LM7IZ3qWqswxn0=
=r9hg
-END PGP SIGNATURE-

--enig5F795099F5F25C456C69E563--



[sane-devel] New sanei_pa4s2 in cvs

2003-06-06 Thread Jochen Eisinger
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--enigC23D0D5E5B47D942DBAEFBFB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Julien BLACHE wrote:
 As long as one has the option of using the system's libieee1284, I
 won't object. Otherwise you'll hear me scream ;-)
Well ofcourse it just would be a fallback option. Not all systems come
with libieee1284 and I'd like to keep the overhead to install SANE for
mustek_pp as low as possible.

regards
-- jochen

--enigC23D0D5E5B47D942DBAEFBFB
Content-Type: application/pgp-signature

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+4NA68OF76YrreuMRAmHaAJ9Uhvz7WYE8eOa1SwcwWG5ZY4X16ACglgGA
ySz1x32JwRorH6R20zSHEYQ=
=LU8O
-END PGP SIGNATURE-

--enigC23D0D5E5B47D942DBAEFBFB--



[sane-devel] new sanei_pa4s2 supporting libieee1284. please test

2003-05-11 Thread Jochen Eisinger
This is a multi-part message in MIME format.
--030003090207040009070707
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

attached is a new version of the sanei pa4s2. Most important changes are
support for libieee1284 and a function sanei_pa4s2_devices() returning
possible device names (could be used inside sane_find_scanner or within
the sane_init function of mustek_pp).

Please test this new sanei. It works for me[tm] and if nobody objects
I'll add it after the next release to the CVS.

Please note that you need to enable the sanei explicitly with
--enable-parport-directio if you don't have the libieee1284 installed.
Otherwise it won't be compiled anymore.

any comment is welcome

regards
-- jochen

--030003090207040009070707
Content-Type: application/gzip;
 name=sanei_pa4s2.tar.gz
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename=sanei_pa4s2.tar.gz

H4sIAAANvj4AA+w8/VfbuJbzK/krNMyhTZiUOgnQPlL6NkBo8wYCh4SZ09Pp8zO2Qjw4dtZ2
gGyH/33vlWRZtuUkUKZvz+5yZgqRpfv9Jek6keVT9/UPf+mPYWwbb3Z24LfReLNj4G+jsb3N
foufH4w3uztvto3d1i6MNxotmEZ2/lqy+M8siq2QkB/sYDSidNE8Gkbfg6Dv+xMx/bN/zam1
HTW37GfHYTQMY5fru6j/RnO32XzD9L+zu9totuDvRmu31fqBGM9Oiebn/7j+X28SVD55RQa2
5fs0JB3bplFE+sEd6VrRfKtCCDkMpvPQvR7HpHpYI01Q2yv4p0X+Edhj6pOuG7n+Nax99wcb
2KJi4D+uJ/dbPo3fI5Dh2I3IyPUogd9TK4xJMCLxmJJBp9+FAfvGuqZbFTl1GgbXoTXB2aOQ
UhIFo/jOCmmbzIMZAWpJSB03ikP3ahYD0JhYvvM6CBHAJHDc0RzHZr4DhCGamIaTKMH5oX9J
PlDg1/LI+ezKc21y4trUjyixIoQwxcFoTB1yNWcrjpGGgaCBHAcA2IrdwG8T6sLzkNyCgcBn
0hQ4EIqAWSdBSKpWjJSHJJjiuhqQOyeeFadL9cynPDrE9Rkt42AK/IwBIHB453oeuaIELHQ0
8+oEZiKY33rDj2eXQ9LpfyK/dS4uOv3hpzZMjsfBLCb0lnJQ7mTquQAZuAotP54D8bj6tHtx
+BGWdA56J73hJ6T/uDfsdwcDcnx2QTrkvHMx7B1ennQuyPnlxfnZoLtFyIDSRLoIpETAIwA2
CUCIDo0t14s4259AqRHQ5jlkbN1SUK5N3VugzCI2mN9yxSEQywv8a8YkTE7F2CbuiPhBXCd3
oQu2EgdFleLyVKt10vPtrTrZ+RsZUhARJeeeZTM/mSGEVsuok4MgimEqk1eHGM1Go/Gq0TLe
1MnloMO56kRAfzSltgv00nubTjl0RG/NQBchM0nmAtfALpmClboRM6QRt2XLcVxcBABAxdKC
PfcqtEIXBuzABzn6iXkA2yH1qAWSFpATu6IpBWhYaEB1lAz6k+f6N0AqI4SDnnM5Bsy40W+Z
X4DoQKjODGQBHkjvqT2LrSuP1jlmJwCCQNLoNW4cUW8EngpkJw4R0mjmxRAclKUIE+zXDsAN
Un8rKlpxqC1mLyEKhMsDXEEBCISAKPwArHqOKMF/bHSfwGcCtW3QMws/yDUSI8NQwrodOADG
B8rcWHHLVH4Jo3VwxjvwphAk6d9angv2Q5lrc8GFoIjAj8jdeM7Ex5QgCWXhcMIi62MlwIjq
ceVFs6sJRAJ7bEHUjVCejBlh5hMwDmYgYSRE7fq2N3OYwTCBIICI/ueMglSE7dQZYOsaXQTo
4RjiRFYSEwiesxVE6egEpA5Y1MCVuqRigkCVHWcY4e7JordrM0dk9s7D5h1zCcZaHQMfAGMP
7HEAMkEod2PKhI5Gin4U51HCA2s69eb4B1ubQbWlUOIEzIzvIAcIR3FAMBg7shBhEiDfIpVc
isOYMQF5RugmwCkNRxg/kAEU4CnUHfSGnJ8D9e40ojHpbA+aZPN1pQIp2aFXs2vigVl50R4C
NiDwAKYxyB8/NuAjDUMIHvipCZ8ggvnwkH1uwWc2FQwUaENeb/zgDh9twyNm2iOPD+zAAA/D
oKRkcBfBgynOGZSENRrRDGEsBYOakfhZlFgG9W/dMPCRdXIL8QnNHNej1syj7sHlBxP/7Jnn
kuGfhDmSdSxFXkM4G7nXW+N1eOLQEdgtOegc/tLtH5n9zmmXKMVqfil/dAWlBPUdgLAGspy6
9g2ZTYHtyRTUfOV6LmQ5ABwJ5CP4m3zs/No1L/u9wfDI/JiCfTfzwYgB1PvKTwDSHbEFhJPl
VNmqk95Br9vtNppvt2vwmMi1LqUUR3E1LPeUhd1+5+CkewRCgNR5MTSPehfdw2HvjAPIIRh8
Gpi9M/NjDZ4pD0nVNHuHUI+9eEHYX+T9PnljGDhLzIFxCCKHpkmaOMo5UCiM5tFrN2DcrQwZ
C6qRBMzAqpylKzM8dAanKQ8pAVY0SQlIyMvAK64uLl5DPc+uvTkrfgjqH/zBiaTOwSFB1zrI
KNuPv+Uho1zGd5ysHHdu6+2uadYIclhVBcblUSN//lkQI2gVdhkQJ0Bsrg85h4JGbgPXqUAp
dkWqMxMiJ1SBljeDuDszWREzDcK4VvkKvmOawCmsMM3bAOpFcFX4UF1nazeM+kZjfW9v3Von
VQagVifrDnwAqFBOAQwOqdauPOjI4Lgrrs/oyGFWCWtXyknB1RuN+oaxvre+n1KyV0IIlgHx
LPQTwA8VJmco4X6SlgvqHlyeM+c47Q0Gvf4HnCNckM2Fz+VzhbsSMIy8k+piDv6DEUcXT8rG
xX4Z41QSRfoswMmwdXTwwez1e8MqmAsQcmVFkGk8NFOWROA/y4P6wIFwFPiYlUVsY1F2a7y1
tcVpFeCG3QFECglTyAEh/8gRs9lCxZBy1EhpOlfXoHQ3NpECsM19HpGPOyeDbptHteqPieHK
sAHGLP9+B4kGPv+O0Zwkw6e9/tkFe1hNF9tTbxbh/+TvkEv2yHatVsoFhp3qQkJVSmsJeu3P
1/JHxZ9FgIiiuvY3A6ru1rndCBb3lHpAMAllwfoSQISsswQ7csMI6hp3Qn/31/XULQa0glUM
Ly677SWAHqQbPo9iF2N7lGqfUbmrqncjKtPqyqC0Cq6DO51fdIfDT+bxZR9LhD4kmfbzqXiZ
ktO6RwZUJdioxRCUTofmx27nqHsxqKlVBlSqvsjxaYaNHVczBtsvpdYqlFqD4QUEd56tlWUh
FJ98WTG/sxUD7ZJoISooDIafzruFpVAaxPMpjbI1YSE9BNM4krkhDY4ceO/svHtxmq0VCrUk
K6JkSK4Wk1zt/+W/gvyT8MT2G+bp2VHX7PcO1gzdA9gArDV0D7rn52vNPKzOoHdo9o7MhtFo
rRn3nbflz3fw+U7Z8x2DPQcEFWQNKwmQ0MzGrfVXFI0vtyiKgTC3hc1SxDb+IfGtCf28+6XN
xkUpByUHbbPy2H0dsE94nBTiAS8WxFx8fD4WDK5vzpIFWKxhSQIDf8fJ6Szq46bOUaaJkdw8
2FsjLDYrDOLADjwvncFonobUC+ybz60vHBoWL+xEh4FFEpXtWZ53xGFb06idMvJQOYeFF9Su
k038q51xEY2TyXqJCxzPpRG16cG2j0yn+KudTBGgyeZUQOb5L/cUH37+QvZZAf113bhvvXkL
YZz9risZL/t31jrZkSL5asAy+O/hoS5ANQWo5reDah0ccqoODp8KqvLQTtODkALXvJp/ZFY0
+bl3JDKQOAEwz86haugedy5PhgCO3sNsn1evsEdwQWfwjxnX2sw8+Pmw5UXiGIsk+/N86ctx
B1Pqk6riI5sOvRUsDmAyVKjc5mZRTaoZN2ZiPRbnV/Qa3IJOp6SKgEdOPTHekF6nqxKDTtfN
Y6ouK0UAAlxpHicEGH4KIcqyhYSsMo8T4rtXTyFEWbaQkGXz2Ekhg4hnrRpC6sruNYWQ2gaP
WYWVm0lM0q1x3Ojxi2wPz0blkhLjWzVOqcYsEEDSTo6aTH4qGIcMHfuAO3lw3OjOje0xqYox
5skVUfnZmBcYHvPslz1ZDopN+no3PQq8w2M9pHG9rVncPxv2Ts9PihD6QZyeiPJ7CoXoMlid
Xzu9EmDWreV6TBWBuPKAuiCmEy0oIKp7dHY5LII6m9LQ4gfDUG47JJjFWggX3X90D4fdoyIE
VBBhpwo+vQ5il0ML6R8ULxz0nHU/HANjOmh9BQYT9V0IWbxEPqfdU51wyIROgnBOPDrSM4M7
H42S0S4IbhRcy3P/yxXnQFoIUJuVA+DRHtcvUEn/rKdjPyCpPHtHqZZL+Pi1c9I7wopYoxd+
F5PjAfzLmnlxcfqljyfkPveYZP5D5aGQ34C/SpLX3JhUM94snJllfiUMsA2diRaW2Xwt83he

[sane-devel] mustek_pp driver version 12-alpha

2003-01-12 Thread Jochen Eisinger
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--enigC5068C84F9E9AC538F851276
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I just commited version 12-alpha of the mustek_pp driver to the SANE
CVS. It's a complete rewrite of the backend based on information
provided by Mustek (thank you!).

However, there are some differences:

  * CIS scanners are now completly supported, thanks to Eddy De Greef
for writing the driver. He's now also maintaining this part of the
backend
  * CCD scanners with 600dpi optical resolution aren't supported anymore
(actually, they never really worked anyway)
  * CCD scanners with 300dpi are supported, but that part of the driver
is not working yet
  * the config file syntax changed, i hope it's much easier now

furthermore, the .desc file is incomplete and the backend exports tons
of 'illegal' symbols, i'll fix this before code freeze...

regards
-- jochen

--enigC5068C84F9E9AC538F851276
Content-Type: application/pgp-signature

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+IclR8OF76YrreuMRAlmHAJ4+05FBH7OVhMB4OCRjc9/wGtE6sACg3t3N
/84xSJHtg+gkJYEcLqv/psg=
=AkJF
-END PGP SIGNATURE-

--enigC5068C84F9E9AC538F851276--



[sane-devel] Search engine now on new server

2003-01-08 Thread Jochen Eisinger
Hi,

I moved the mailing list archive and driver search engines to another
box, namely belleile.informatik.uni-freiburg.de. If you're using (as you
should) the alias sane.informatik.uni-freiburg.de, you shouldn't need to
update anything.

The new box features two UltraSPARC 2 (168mhz) CPUs, 512MB ram, 2x4GB
SCSI discs and 100mbit internet connectivity.

best regards
-- jochen



[sane-devel] Mustek 600 III EP Plus

2002-12-04 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The man page sane-mustek_pp contains examples for your scanner. Don't
forget to uncomment the mustek_pp line in your dll.conf too.

regards
- -- jochen

Hans Krueger wrote:

 what should that mustek_pp.conf file should look like for Mustek 600 III
 EP Plus
 scanner that I have.
 only one parallel port
 suse 8.1
 thanks


- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE97hRN8OF76YrreuMRAoa4AJ9TFN8GTFY0KqeelTwLJOhIlNrW1gCgz7mg
fZRvRp6l/DEv4r/nkNWn/sc=
=b+P9
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-12-03 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Mertens Bram wrote:

 * Something I haven't mentioned before because I can't see how this
 would affect anything is that the scanner is attached to a switchbox
 (a little box that allows more parallel devices to be attached to a
 single parallel port.)  If the switch is in the wrong position scanimage
 can't detect the scanner, but the switch is in the correct position.

You could try to connect the scanner directly to your pc... if that
doesn't work I don't know more things to try..

regards
- -- jochen

- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE97KJP8OF76YrreuMRAk7YAJ9iOHfhx/xty+wye3aNVntPhenPxACdHFCc
vTSKfBYj1oKJm+rKhY+fGH8=
=cgEc
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-12-02 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

that's a working configuration for me:

option io-mode alt_lock
option niceload
port 0x378
option use600
option strip-height 16
option wait-bank 700
option wait-lamp 15

does this work for you?

regards
- -- jochen

Mertens Bram wrote:

 On Thu, 2002-11-28 at 17:13, Mertens Bram wrote:

 On Thu, 2002-11-28 at 17:00, Jochen Eisinger wrote:
 
 hum, i nearly forgot.. you're using a 600dpi scanner, there's a special
 option for this in the config file. use600 (see the man-page)
 
 do you have that option set?


 I added this line to the end of /etc/sane.d/mustek_pp.conf:
 option use600

 And now the resulting preview/scan is a completely black image! + the
 scanner seemed to make more and louder noises than usual...

 Do I have t include the comments above this line (like in the man-page)
 as well?

 TIA


- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE968sv8OF76YrreuMRAkpfAKDqU3tAP4A7LD9K4fpz2RZqZUJNtQCg9DKY
K9ANw9Rg60AQTgTh2iI94JU=
=gj2l
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-11-28 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

hum, i nearly forgot.. you're using a 600dpi scanner, there's a special
option for this in the config file. use600 (see the man-page)

do you have that option set?

regards
- -- jochen

Mertens Bram wrote:

 On Tue, 2002-11-26 at 16:42, Jochen Eisinger wrote:

 could you try
 
 scanimage --mode Gray --resolution 100  test.pnm
 
 does this produce a correct image?


 This results in a 986K blank image... (By that I mean it is as if I have
 scanned a completely white page or something - while the test-page is
 completely blue with some text on it)
 [root@localhost M8ram]# scanimage -L
 device `mustek_pp:MD9848' is a Medion MFS-600IIIP flatbed scanner
 [root@localhost M8ram]# scanimage --mode Gray --resolution 100 
 test.pnm
 -rw-rw-r--1 M8ramM8ram986k Nov 26 17:45 test.pnm

 So the file seems to be ok, only the info that gets written to it seems
 to be replaced by a blank image...

 Thanks


- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE95j2X8OF76YrreuMRAiggAJ0Txwmm4fzu6+BFSCl99VmQXZ6XpQCeMZMs
5zP3lqVxekpPGzCJ8bHn8H4=
=wtmd
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-11-26 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Mertens Bram wrote:

 [mustek_pp] attach: asic 0xa5, ccd 01

That appears to be a 600dpi scanner, for those only grayscale scanning
is supported? can you scan grayscale pictures?

regards
- -- jochen

- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE941+X8OF76YrreuMRApa4AJ4kQm0t8tVEnePBbq5dL4ZAa/OuXQCgyVIu
hGfYtEmkBqpeL4cGFfCqhX8=
=3XN6
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-11-26 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Mertens Bram wrote:

 I've tried to scan twice without the acquire preview but using the start
 scan button from the main window and both times xsane crashed due to an
 Floating point exception!

 Does that shed any light?

not really...

could you try

scanimage --mode Gray --resolution 100  test.pnm

does this produce a correct image?

regards
- -- jochen

- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE945Z78OF76YrreuMRAr//AKCXA4FLcD9H0m8XOLmsu3fpWqEP0ACgrwoi
EL6TKv2sIkyvpfPhcZnJa7Y=
=LP+K
-END PGP SIGNATURE-



[sane-devel] edited /etc/sane.d/dll.conf, what next?

2002-11-24 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

does scanimage -L show your scanner? If yes, could you please send me
the output of the following command:

SANE_DEBUG_MUSTEK_PP=128 scanimage -T

regards
- -- jochen

- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE94T878OF76YrreuMRAsK7AKDAu6eRNbypjPfif5trt2LWVYEYkgCfQ7hl
W92D7DzRk0cmH58dp0J5VRA=
=O7f/
-END PGP SIGNATURE-



[sane-devel] Mustek ASIC 1505 Scanners

2002-11-14 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Melanie wrote:

 I have been given a Mustek ScanExpress A3 EP scanner, which turned out
 to be 1505 based (ID 0xA2). I have so far located 3 different Mustek
 backends, only one of which offers the beginnings of support for the
 1505 chipset.

three different backends? the cvs  penguin-breeder one are the same but
different version... but which is the third?

 The one that is included in the most recent SANE release has a #define
 that, when turned on, will make the driver recognize the chip. However,
 there is no further support for the chipset and the scanner simply sits
 there and does nothing.

Yes, I added those defines to have some point to start when some day
there would be support for this scanner.

 The main issue, as far as I see, is to write the code to get the scanner
 to move the carriage and start sending image data. My assumption, based
 on the fact that existing code is able to turn the lamp off, is that
 basic communication with the scanner is possible using existing code as
 well.

mhm, to reuse such common code is the aim of the new version located at
penguin-breeder.org

 I would be interested in finding out if anyone has ever had any success
 in activating even the most basic functions on 1505 scanners, and
 possibly source code or documentation to that effect. If there is driver
 development in progress, I also would be interested to find out the
 current status and maybe join in for a few lines of code, too.

there were somebody working on this, but i have lost track of him/her
and never heard of a success story

 Finally, I wonder if the person who has once received a favourable
 response from Mustek is subscribed to this list and would be willing to
 try for the source code to the 1505 based scanner's TWAIN driver as
 well, or would at least disclose the contact at Mustek who has
 previously released information and / or source code.

that would be me then...

actually, we came to the most interesting part here... and it's nearly
midnight again... I'll answer the rest next week (i'm off over the
weekend), so you have at least a first answer and don't need to feel
ignored :)

regards
- -- jochen

- --
...and I doubt complaining to the author will get you
anything but a free procmail rule.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE91CYn8OF76YrreuMRAhorAJ9wA/ze8p+V+DRbhYHBfcCrYISC5wCgp8P4
dliEi0EaW6yV/tnmXtPdAoo=
=nxcw
-END PGP SIGNATURE-



[sane-devel] Proposal for device lists

2002-09-30 Thread Jochen Eisinger
Hi,

[Henning]
 Yet another related topic: It would be great to have some sort of
 database generated from the .desc files. So a user could use the WWW
 to search for his scanner. E.g with search boxes for Manufacturer,
 bus-type and model name. The output would be all we now about the
 model including backedn and manufacturer links and by which version
 it's supported. Eg, first check stable, then cvs, then external
 drivers.

 Can anyone do this?
Yes, me... i'll set this up at
http://sane.informatik.uni-freiburg.de/scanner.pl in some hours or maybe
tommorow

regards
-- jochen

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.




[sane-devel] mustek 1200 cp

2002-09-28 Thread Jochen Eisinger
Hi,

this scanner is supported by the current development version of the
mustek_pp backend, more details (including the backend) are available from

http://penguin-breeder.org/?page=mustek_pp

regards
-- jochen

Rick Seitz wrote:
 Is there a backend for this EPP scanner. I see there is a 12000 P thats
 doesnt work yet, but nothing on the 1200 CP, please advise this is the
 only item on my computer that keeps taking me back to windows.
 
 Thanks for the feedback in advance
 
 Rick
 
 
 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.



[sane-devel] Forward: saned problems with xinetd

2002-09-19 Thread Jochen Eisinger
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--enig42C0110941AE2353D253F8C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

could you send a tcpdump of the traffic between scanimage and saned? I
don't have xinetd running, so it's hard to tell whether the config is
right or not. However, it might help to add protocol = tcp to the sane
block in xinetd.conf and/or sane 6566/tcp to /etc/services.

There is a little page about saned at penguin-breeder.org/?page=sane-net
btw.

regards
-- jochen

Robert Kleemann wrote:
 Summary: saned runs fine as a standalone server (saned -d128) but
 fails when run from xinetd.

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.

--enig42C0110941AE2353D253F8C6
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9iYJH8OF76YrreuMRAgaVAJ0cskGEPSlC6mWd9Uvn0uJPp8mMMQCfVNxC
qazmJSM/Pc2kvbrutkBI1as=
=3Gw2
-END PGP MESSAGE-

--enig42C0110941AE2353D253F8C6--



[sane-devel] Re: saned problems with xinetd

2002-09-19 Thread Jochen Eisinger
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--enig97ABF95867FD8DFC70AE985C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Robert Kleemann wrote:
 Sure, I ran tcpdump -i any -x -s 1024 and then ran scanimage -L
 locally.  You can find the output at:
 http://www.kleemann.org/crap/tcpdump1
01:23:46.723361 manny.sane  manny.37793: P 1:45(44) ack 20 win 32767
nop,nop,timestamp 70916012 70916012 (DF)

E..`.@.@..W...
.P.
:..
.:../bin/bash: /
root/.bashrc: Pe
rmission denied.

after pipeing the tcpdump through a perl script (ok, ok, hennings C hack
was faster, but mine looks better! :)

Maybe you should use /bin/sh for such things or make sure bash doesn't
access files it shouldn't access

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.
 I hope I haven't offended you.  I tried to get it working on my own
 and when I failed I hoped that sending a detailed message to the list
 would jog the memory of people who had a similar problem.  I really
 appreciate all this free software!
Hehe, I hope I didn't offend you... that's just a footer I include in
all my emails nowadays. It's just meant as a joke... finally, this
mailing list here exists to help users with such problems.

btw. you already have your procmail rule, it sorts your mail to
$MAILDIR/Mailing\ Lists/sane

regards
-- jochen

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.

--enig97ABF95867FD8DFC70AE985C
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9ich58OF76YrreuMRAviyAKCWs8GPTu+f6Qe9enQbYlbc1tDIQwCfUj4z
UwiJyNRndBLkFJu3ygYm/r4=
=/xNW
-END PGP MESSAGE-

--enig97ABF95867FD8DFC70AE985C--



[sane-devel] mustek_pp-11.alpha with gphoto2 problem

2002-08-23 Thread Jochen Eisinger
Hi,

the debian package does _not_ include the gphoto2 backend by default,
you have to modify the debian/rules file to configure the gphoto2
backend, i.e. include the option --with-gphoto2 in the configure call.

(Il package Debian non include di default il backend di gphoto2,
devi modificare i debian/rules file per configurare il backend di
gphoto2. Esempio: includi l'opzione --with-gphoto2 nel ./configure)

regards
-- jochen

-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.



[sane-devel] few newbie questions/problems

2002-06-09 Thread Jochen Eisinger
The following is an OpenPGP/MIME signed message
created by Enigmail/Mozilla, following RFC 2440 and RFC 2015
--enig302F6C67C1E7CA256B0EFE8A
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Hi,

Grzegorz Jaskiewicz wrote:
 1) how should i configure sane 1.0.7, in Rh 7.3 i am using to work with
 my scanner. Even if it can only switch off the light.
It's a mustek pp scanner, so you could try the mustek_pp backend...

google.com/search?q=mustek+pp+scanner+linux+sane

gives the correct link as best hit... How to configure the backend is
also described in the man-page man sane-mustek_pp (you can also access
this information through the SANE homepage).

However, your scanner isn't supported yet (not even partially)

 2) Does somebody still work on that scanner back end ? I not, and
 somebody has resources (disasm of drivers, some documentation) i  will
 gladly finish it. No problem for me, i don't have much time. But that
 will be for me use full so i can do that.
I do. I also have source codes from mustek...

 3) Somebody should add newbie guide on sane site ! There is nothing for
 unexperienced users. 
Ah, we have a volunteer here! Btw, it's hard to write newbie guides, if
nobody reads them... ;-)

Well, stay tuned, sooner or later a driver for your scanner will pop up.

regards
-- jochen


-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.

--enig302F6C67C1E7CA256B0EFE8A
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9A5wi8OF76YrreuMRAiw0AJ9riAlGVJHhecg8RJUcGanmPlxoWQCgnK10
bLBVN/BnzWAenvQhiao0ghU=
=VmqE
-END PGP MESSAGE-

--enig302F6C67C1E7CA256B0EFE8A--



[sane-devel] Re: Mustek 600 III EP Plus problems

2002-06-03 Thread Jochen Eisinger
--=.In0vTD?05_+AN5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

to which port is your scanner connected? Or are you using a printer
while trying to scan? You could try to unload the parport modules (or at
least make sure they do not lock the port address...)

regards
-- jochen

[Kristen Doyle]
 I am trying to get it working on an linux box when i try though the
 following comes up
 
 Linux 2.4.18
 
 
 [sanei_debug] Setting debug level of mustek_pp to 128.
 [mustek_pp] init: SANE v1.0.8, backend v1.0.9-devel
 [mustek_pp] I wouldn't let myself be root if I were you...
 [mustek_pp] init: option niceload
 [mustek_pp] init: trying port `0x378'
 [mustek_pp] attach: couldn't attach to `0x378' (Invalid argument)
 [mustek_pp] attach(v1.0.9-devel): line 2538: debug exception
 [mustek_pp] init: couldn't attach to port `0x378'
 [mustek_pp] init: 'name' only allowed after 'port'
 [mustek_pp] init: 'vendor' only allowed after 'port'
 [mustek_pp] init: option wait-lamp 15
 [mustek_pp] init: setting global option wait-lamp to 15
 [mustek_pp] init: option strip-height 16
 [mustek_pp] init: setting global option strip-height to 16
 
 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).[mustek_pp] exit: (...)
 comp3:/usr/local/etc/sane.d#


-- 
...and I doubt complaining to the author will get you
anything but a free procmail rule.

--=.In0vTD?05_+AN5
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE8+zmL8OF76YrreuMRAn9xAKCrQGyV7wkGta4KbSGUomJqvZ6FxACg4jPl
v7xgrEhdgL4kuUZtstYe6ZY=
=FPz/
-END PGP MESSAGE-

--=.In0vTD?05_+AN5--



[sane-devel] Blank Scans on Mustek 600 CP

2002-05-22 Thread Jochen Eisinger
--=.D36NLyRkPgK6vG
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

Please use either backend version 1.0.11-alpha (download it from
http://www.penguin-breeder.org/?page=mustek_pp) or apply Eddy's patches
for CIS scanners (http://home.tiscalinet.be/EddyDeGreef/ - the 600CP is
a CIS scanner...). Using the newer backend is the better choice btw...

regards
-- jochen

[TP Reitzel]
 
 
 I'm using a Mustek 600 CP parallel port scanner. I've downloaded,
 compiled, and installed sane-backends-1.07 in addition to xsane-0.85
 for Slackware 8.0. I've read and reread all of the documentation on
 the website, Penguin-Breeders.org. Everything appears normal as I can
 hear the scanner operate. However, I'm having difficulty in scanning
 an image from xsane or scanimage. All my scans come up BLANK. I do not
 have any SCSI functions enabled in the kernel at this point.  The
 output of SANE_DEBUG_MUSTEK_PP=128 scanimage -L is:

-- 
  I'd rather die before using Micro$oft Word
-- Donald E. Knuth 
 (asked whether he'd reinvent TeX in the light of M$ Word)
  
  GnuGP public key for jochen.eisin...@gmx.de:
  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)


--=.D36NLyRkPgK6vG
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE865F/8OF76YrreuMRAs63AJ4iiJ/bG/pk4rlUwQ0L7advhlXOtACgszzU
mbiFvpIVPczCbMhHnsbeH/4=
=h7SX
-END PGP MESSAGE-

--=.D36NLyRkPgK6vG--



[sane-devel] New sane-net homepage

2002-04-30 Thread Jochen Eisinger
--=./KnjxXs?IEh'N,
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

due to problems with the isp hosting the old sane-net homepage, the page
has moved to

  http://www.penguin-breeder.org/?page=sane-net

Please update your bookmarks. The old URL now redirects to the new page.

regards
-- jochen

-- 
  I'd rather die before using Micro$oft Word
-- Donald E. Knuth 
 (asked whether he'd reinvent TeX in the light of M$ Word)
  
  GnuGP public key for jochen.eisin...@gmx.de:
  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)


--=./KnjxXs?IEh'N,
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8zovS8OF76YrreuMRAkL8AJ9mznXqaVBiKvxdMIewSB9GXF/9rACePp3r
7A5ovox0dB6GyVo/iy8m3jA=
=nTwK
-END PGP MESSAGE-

--=./KnjxXs?IEh'N,--



[sane-devel] New mustek_pp (alpha) backend available for testing.

2002-04-30 Thread Jochen Eisinger
--=.xTPmA5y/RBN1w+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

a completly rewritten version of the mustek_pp backend is available for
testing at:

http://www.penguin-breeder.org/?page=mustek_pp

So far, only CIS scanners are supported - thanks to Eddy De Greef for
implementing this part!

Support for CCD scanners will be added soon.

Please test this backend, so it can make it's way into CVS soon.

This backend was developed using information kindly provided by Mustek,
thanks for your support!

Due to problems with the isp hosting the old mustek_pp homepage, the old
page now just redirects to the new url.

regards
-- jochen

-- 
  I'd rather die before using Micro$oft Word
-- Donald E. Knuth 
 (asked whether he'd reinvent TeX in the light of M$ Word)
  
  GnuGP public key for jochen.eisin...@gmx.de:
  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)


--=.xTPmA5y/RBN1w+
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8zo938OF76YrreuMRAnLwAKD2IKHqRfqN8eQfk/mxpi+4qO2hkQCfRwGV
jjYZ6cwqkt7xmuRxdQIsqKg=
=RkYH
-END PGP MESSAGE-

--=.xTPmA5y/RBN1w+--



[sane-devel] todo entry for saned: support for network masks

2002-04-30 Thread Jochen Eisinger
--u1'7p0?wL_3=.K=.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I added a TODO entry for saned:

   - Add support for IP ranges in saned.conf (like 10.0.0.0/8)

should not be difficult to add, however the config file format needs to
changed for IPv6 anway, so I decided not to change anything yet.

regards
-- jochen

-- 
  I'd rather die before using Micro$oft Word
-- Donald E. Knuth 
 (asked whether he'd reinvent TeX in the light of M$ Word)
  
  GnuGP public key for jochen.eisin...@gmx.de:
  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)


--u1'7p0?wL_3=.K=.
Content-Type: application/pgp-signature

-BEGIN PGP MESSAGE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8zo5x8OF76YrreuMRAp5GAKCFN5cR3Fsql+ceAMKFxiQn6LVKkgCgxGnV
V738QTjc0Me1TZrPtwL7oyg=
=HaZe
-END PGP MESSAGE-

--u1'7p0?wL_3=.K=.--



[sane-devel] Mustek_PP Godd news, better news, bad news

2001-11-20 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Jim George wrote:

| Something has gone wrong now.  When I issue the command scanimage 
| out.pnm, as myself or root on the server, it scans but then stops with
| no error messages at all.  The only way I can kill I can return to the
| prompt is with kill -9.

Please do this with SANE_DEBUG_MUSTEK_PP=128... and does out.pnm contain
any data?


regards
- -- jochen


- --
~  I'd rather die before using Micro$oft Word
~-- Donald E. Knuth
~ (asked whether he'd reinvent TeX in the light of M$ Word)
~
~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)

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

iD8DBQE7+qrJ8OF76YrreuMRAloaAJ9RFQ5/XNqb+cDjtPlKu0BGhIHlywCfUczo
fb3iFK9UN8G2tsUydSByTCU=
=o1Ib
-END PGP SIGNATURE-



[sane-devel] Mustek_PP Godd news, better news, bad news

2001-11-16 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Does this also happen with plain scanimage on your scanner server (as root)?

Could you put somewhere on he internet such a scanned image and the
output of

SANE_DEBUG_MUSTEK_PP=128 scanimage -T

(assuming you're using bash)

regards
- -- jochen

Jim George wrote:

| Folks,
|
| I'm not sure what to think.
|
| I've got my Mustek_PP 1200CP working on all my Linux clients to my Linux
| Server...Good News or what?
| I've got my Mustek_PP 1200CP working from my Windows client (using
| Xsane-WIN32) to my Linux ServerBetter News or what?
| The problem is that all instances of scanning miss the last 1/4 of the
| vertical page.  No matter what I do or where I position the damn paper I
| miss the rightmost 1/4 of the page.Bad News or what?
|
|
| Can someone tell me what I'm doing wrong?
|
| TIA,
|
| Jim
|
| p.s. I realise having written this letter that it looks somewhat
| big-headed to claim 'I've got my...', when in fact it was you guys who
| wrote the software.
|
|
|
|
| ___
| Sane-devel mailing list
| sane-de...@www.mostang.com
| http://www.mostang.com/mailman/listinfo/sane-devel
|


- --
~  I'd rather die before using Micro$oft Word
~-- Donald E. Knuth
~ (asked whether he'd reinvent TeX in the light of M$ Word)
~
~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc (0x8AEB7AE3)

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

iD8DBQE79UJU8OF76YrreuMRAkSPAJ0QaYi8WGL6k0M0oh80/p1wbbNdvwCgvl5t
CD7sz/gkcnQsc+eHsfUqONs=
=9Syh
-END PGP SIGNATURE-



[sane-devel] Brand-Newbie question

2001-10-14 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Jim George wrote:

   I've just installed sane with the mustek_pp backend.
  
   I had no /dev/scanner entry in my /dev directory therefore, after much
   scrabbling around and guessing, I created a symbolic link from
/dev/lp0 to
   /dev/scanner.

the mustek_pp backend doesn't support devices yet, you have to specify
the port number of your parallel port in /etc/sane.d/mustek_pp.conf (or
/usr/local/etc/sane.d/mustek_pp.conf depending on your installation)


  
   I chose /dev/lp0 as this is the entry in /etc/printcap  that equates to
   the lp printer, and my mustek 1200cp scanner (CIS chipset with the
   software patch from Eddy DeGreef) shares that port.
  
   I edited /etc/sane.d/dll.conf and removed the comment in front of
   mustek_pp.
  
   I edited /etc/sane.d/mustek_pp.conf and changed the port to 0x3bc as per
   the instrcutions in that file.
  
   My problem is that when I run xsane I get the message 'no devices
   available'.  I've tried specifying mustek_pp:/dev/scanner and
   mustek_pp:/dev/lp0 (and 1).  But all of these fail.

In the file mustek_pp.conf you've also specified the name for the
scanner, which you want to use, for example name SM-1200CP, then you
have to use the device mustek_pp:SM-12000CP. Furthermore, you can only
access the scanner as root. To allow users to scan, you have to setup
the SANE Network Scanner daemon. Descriptions of how to do this can be
found in the man-pages saned, sane-net  sane-mustek_pp or on the
web-page http://home.nexgo.de/jochen.eisinger/saned/

regards

   -- jochen
  
   Can someone tell me what I've done wrong, or have missed?
  
   Thanks in advance,
  
  
   Jim
   ___
   Sane-devel mailing list
   sane-de...@www.mostang.com
   http://www.mostang.com/mailman/listinfo/sane-devel
  


- --
I'd rather die before using Micro$oft Word
  -- Donald E. Knuth
   (asked whether he'd reinvent TeX in the light of M$ Word)

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc

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

iD8DBQE7yYVg8OF76YrreuMRAnDCAJ0XRApILnKE6CZh8Z6buu6SHYbRMQCggfZb
RXTFqfG0rOvv3K7LO4bQoJk=
=Y+Ck
-END PGP SIGNATURE-




[sane-devel] Brand-Newbie question

2001-10-14 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Jim George wrote:

  # specify the port your scanner is connected to. Possible are 0x378 (lp1)
  # 0x278 (lp2) and 0x3bc (lp0)
  port 0x3bc

Well, that's an old problem with kernel 2.2.x - 2.4.x... reminds me I
should add this to the config-examples. In 2.2.x (before parport) the
names for the ports where fixed. Now with parport, the names are just
aliases, and normally, lp0 is assigned to the first available port
(normally 0x378)... this is btw explained in the man page sane-mustek_pp
I'd recommend to read :)

so try port 0x378 instead...

regards
- -- jochen


- --
   I'd rather die before using Micro$oft Word
 -- Donald E. Knuth
  (asked whether he'd reinvent TeX in the light of M$ Word)

   GnuGP public key for jochen.eisin...@gmx.de:
   http://home.nexgo.de/jochen.eisinger/pubkey.asc

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

iD8DBQE7ybU78OF76YrreuMRAuxVAKD3Xjj1pzD4RsKszkDaoemXlPuTRACgnb6x
gXFUvW+8om5ZwxI20COhNII=
=mkc1
-END PGP SIGNATURE-



[sane-devel] HP Scanjet 2200c project

2001-10-12 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

There appears to be a group working on a driver for HP Scanjet 2200c
project. I've added a pointer to scanjet2200c.sourceforge.net to PROJECTS.

regards
- -- jochen

- --
   I'd rather die before using Micro$oft Word
 -- Donald E. Knuth
  (asked whether he'd reinvent TeX in the light of M$ Word)

   GnuGP public key for jochen.eisin...@gmx.de:
   http://home.nexgo.de/jochen.eisinger/pubkey.asc

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

iD8DBQE7xhsa8OF76YrreuMRAtxSAJ0ZHZ4WbPxfL2Uq6bVkt4kUbXx4ywCeMenV
+KwEa1N9tXfZ5ymerqIBkwk=
=t9/t
-END PGP SIGNATURE-



[sane-devel] [dev] net backend and timing problems? (pretty weird)

2001-09-08 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

~From the debug output Michael send me, I assume that the bug isn't in
the net backend. The data pipe is closed correctly and the sigpipe
occurs on the control pipe. Why this doesn't happen with a delay of some
seconds isn't clear to me.

Anyways, I'd like to use the new net backend version, because it has
much more debug output and fixes some minor bugs. I've tested it,
Michael tested it. Could some more people test it before it's committed
to cvs?

I'm adding debug output to the sanei_wire interface at the moment and
already stumbled over a serious bug... in sanei_w_space memcpy is used
although the areas copied may overlap (which may result in data corruption).

regards
- - -- jochen

Jochen Eisinger wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Hi!
|
| The problem here is, my net backend just doesn't crash, no matter what i
| do :(
|
|
| I'd say this is the old scan over localhost problem. Anyway, I've
| rewritten parts of the net backend (basically adding lot's of DBG, some
| checks again NULL pointers and I've changed parts of the auth functions
| to avoid information leaks)
|
| Please try this backend with SANE_DEBUG_NET=128 and send me the output...
|
| regards
| - -- jochen
|
| mh wrote:
| | mh, Fre, 07 Sep 2001:
| | ...
| |
| |BTW, maybe someone else with the same problem can try to add a sleep()
| too?
| |AFAIR, there were a couple of reports about problems with the net
| backend/saned
| |on the localhost.
| |
| |
| | Just some additional infos: (I hope, this doesn't get boring)
| | I've just made some modifications in the net backend (net.c):
| | I've replaced all calls to do_cancel(s) in the function sane_read() with
| | calls to sane_cancel(s) .
| | Now the net backend works just fine (at least on the localhost). I did
| 500
| | scans with the pnm backend and 50 with my Plustek (using quiteinsane).
| There
| | wasn't a single problem. The other frontends work without problems too.
| | Any explanation for this ?
| |
| | Michael
| | ___
| | Sane-devel mailing list
| | sane-de...@www.mostang.com
| | http://www.mostang.com/mailman/listinfo/sane-devel
| |
|
|
| - --
| ~  [This is a signature virus, please copy me into your signature file!]
|
| ~  GnuGP public key for jochen.eisin...@gmx.de:
| ~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
| -BEGIN PGP SIGNATURE-
| Version: GnuPG v1.0.6 (GNU/Linux)
| Comment: For info see http://www.gnupg.org
|
| iD8DBQE7mWxW8OF76YrreuMRAo7bAJ4yKLu/RkO15GyrX7/tpSVCmEIAvACgy5y4
| 3Sck7rzVEK/mZKsu1kvk8jo=
| =2eZe
| -END PGP SIGNATURE-
| net.c.gz
|
| Content-Type:
|
| application/octet-stream
| Content-Encoding:
|
| base64
|
|


- --
~ [This is a signature virus, please copy me into your signature file!]

~ GnuGP public key for jochen.eisin...@gmx.de:
~ http://home.nexgo.de/jochen.eisinger/pubkey.asc

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

iD8DBQE7mi/a8OF76YrreuMRAunTAJwIkJPEzJoYbEGsaNVNQddf9yN0ngCglHcT
k1khOi6A+31HaDGDe78GdKQ=
=XaDM
-END PGP SIGNATURE-



[sane-devel] [dev] net backend and timing problems? (pretty weird)

2001-09-08 Thread Jochen Eisinger
This is a multi-part message in MIME format.
--080801080505050209070105
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Ok, here we go... a modified version of sanei_wire.c. Could please try
this one? with sane_debug_sanei_wire=4...

regards
- -- jochen

Jochen Eisinger wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Hi!
|
| The problem here is, my net backend just doesn't crash, no matter what i
| do :(
|
|
| I'd say this is the old scan over localhost problem. Anyway, I've
| rewritten parts of the net backend (basically adding lot's of DBG, some
| checks again NULL pointers and I've changed parts of the auth functions
| to avoid information leaks)
|
| Please try this backend with SANE_DEBUG_NET=128 and send me the output...
|
| regards
| - -- jochen
|
| mh wrote:
| | mh, Fre, 07 Sep 2001:
| | ...
| |
| |BTW, maybe someone else with the same problem can try to add a sleep()
| too?
| |AFAIR, there were a couple of reports about problems with the net
| backend/saned
| |on the localhost.
| |
| |
| | Just some additional infos: (I hope, this doesn't get boring)
| | I've just made some modifications in the net backend (net.c):
| | I've replaced all calls to do_cancel(s) in the function sane_read() with
| | calls to sane_cancel(s) .
| | Now the net backend works just fine (at least on the localhost). I did
| 500
| | scans with the pnm backend and 50 with my Plustek (using quiteinsane).
| There
| | wasn't a single problem. The other frontends work without problems too.
| | Any explanation for this ?
| |
| | Michael
| | ___
| | Sane-devel mailing list
| | sane-de...@www.mostang.com
| | http://www.mostang.com/mailman/listinfo/sane-devel
| |
|
|
| - --
| ~  [This is a signature virus, please copy me into your signature file!]
|
| ~  GnuGP public key for jochen.eisin...@gmx.de:
| ~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
| -BEGIN PGP SIGNATURE-
| Version: GnuPG v1.0.6 (GNU/Linux)
| Comment: For info see http://www.gnupg.org
|
| iD8DBQE7mWxW8OF76YrreuMRAo7bAJ4yKLu/RkO15GyrX7/tpSVCmEIAvACgy5y4
| 3Sck7rzVEK/mZKsu1kvk8jo=
| =2eZe
| -END PGP SIGNATURE-
| net.c.gz
|
| Content-Type:
|
| application/octet-stream
| Content-Encoding:
|
| base64
|
|


- --
~  [This is a signature virus, please copy me into your signature file!]

~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7mk8j8OF76YrreuMRAgzAAKCPkbr1JNzaXBo76TmP7A7if5TfxgCdFCkk
2MBoDYhItSe+NqvU1c6ep+E=
=lqOY
-END PGP SIGNATURE-

--080801080505050209070105
Content-Type: application/octet-stream;
 name=sanei_wire.c.gz
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename=sanei_wire.c.gz

H4sIACZOmjsCA81beXPaSBb/G3+KTraSBYeAnczWbEycLWLjDLUOTtl4sqndLUqWGlCNkJiW
BGFS+e77jpbUujA4M7OZ8tjQxzt+7+jXR7qHIrR8KZ6LG9vyfalE37ZlGIpRsBYDK9x0DoQQ
Z8Fyo9zZPBLNs5Y4fvXqR3FurVxHvA/CO6lmUj0fW/4Mh47nbiimricF/F1aKhLBVERzKW76
owE02L9YM9k5SIcuVTBT1gJHT5WUIgym0dpSsic2QSxAJqGk44aRcu/iCIhGwvKdbqCQwCJw
3OkG22LfAdGRTSTVIkx4vhvdincStLI88SG+81xbXLq29EMprBApLLExnEtH3G1oxgXKcKNl
EBcBELYiN/B7QrrQr8RKqhC+ixeaB1LRNNsiUKJpRSi5EsES57VA3I3wrCibWq18pqMjXJ9k
mQdL0GcOBEHDtet54k6KOJTT2GsLGIlkPg7HP13djkV/9El87F9f90fjTz0YHM2DOBJyJZmU
u1h6LlAGrZTlRxsQHme/H1yf/QRT+m+Hl8PxJ5T/YjgeDW5uxMXVteiLD/3r8fDs9rJ/LT7c
Xn+4uhl0hLiRMkEXidQAPAViiwBAdGRkuV7Ian8Co4Ygm+eIubWSYFxbuiuQzBI2ONn9hkMi
lhf4M1ISBmcw9oQ7FX4QtcVaueArUVA2KU7PrNoWQ9/utMXfXomxBIik+OBZNkVDjBRevjxq
i7dBGMFQwqsvjl4cHx8/P3559GNb3N70Wat+CPKHS2m7IK/8bMslU0f2Vgy2UOSSFAIzUFcs
wUvdkBxpyr5sOY6Lk4AAmDj1YM+9U5ZyocEOfMDRT9wD1FbSkxYgrSknfiUzCdCx0IHaiAzG
k+f6v4CoJAiT3jCOATk3xi3FBUAHoDoxYAERKD9LO46sO0+2mbMTgECANEaNG4XSm0KkgthJ
QCgZxl7kgpGyqUgT/NcOIAyyeCsb2gioDvmLQkAYDwgFgyAIAlD4AXj1BllC/NgYPoFPgNo2
2JnSD2qNwqRpKFHdDhwg44NkbmSEZYZfomgbgnEN0aQASX9leS74j6TQZuAUGCLwQ7Gebwg+
MkIqKKXDBeXPfREgoYZsvDC+W0AmsOeQakEskJqU0W6+AOcgB1Ghhtr1bS92yGEIECQQyl9j
Caho32kTYWuGIQLyMIcowSrlBMCzWkGYtS4AdeBiJq4sJA0XBKnsKKcIhydlb9emQCR/57S5
ppAg1dqY+IAYddjzADBBKuu5JNDRSTGOoiJL6LCWS2+DH2hujlXHkMQJyI3XsAboQHEAGMwd
eYowCJiDPx52Dw7+ooEVjzudrv7cxVW0CzE6dWed+WNj0GuplB905m+MpjBywAWLbQpwxzaz
cRN2o81Shvn2EmP8hWy3j3Ana1dJFs+RU/AV8bZ/9s/B6Hwy6r8fNLIx9xK6g4Vc+g7RWgWu
c6DnTsIlJtDmRyAiDsW6LUL3NzmJMH4WsT1vHXwB+HWbf7eJZNgWnpxGE4yKHvSBv4ipI07F
+vkbN+hMHWwMkxkQaE5b+OhBkfR76FXnb9+J5su2eJwT4UQ8wRAD+uROqBS0/Md/3E5EaQOb
FlGA5NjUjeIN8r2Lp1OpOsi0hd7CPF60DxolLuQo68D/K0iN3srrLRPABAG5KRQnTdHpdCDy
cd2DmJl6cThvtjCg4tkchMrkAO5hZEVxKB6diiPm/oV+aymOy5qScpwNdXYSSCNVOKXZ6mlK
Skax8vnbV4O1VtyOlRLPRBUmYPQKoX4oC0XVnMYBgUQBWR5AUeQpwoKbZ54KGkJKAQlQNge0
tKmmOmh8OWjYuPR9HF4PJoPR2dX54ATJskex85i6mPQBChX1cHRh0GnloDr9QpAbE2XiZoQ0
828x9Tmm/aYW6Q0as8HANVi3xIuBcfOQvZ0yY0s0p067IF2eNv6HJktJvCbyiEtji59Q3p1C
NQa5uvnEaZHMlJ+QLCOive

[sane-devel] [dev] net backend and timing problems? (pretty weird)

2001-09-08 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Hum... if you have the time, could you send me the debug output from my
new net.c when crashing due the option changes, and the debug output
from my new sanei_wire with the old net backend (while probably crashing
after a preview)

regards
- -- jochen

mh wrote:
| Jochen Eisinger, Sam, 08 Sep 2001:
|
|Hi!
|
|~From the debug output Michael send me, I assume that the bug isn't in
|the net backend. The data pipe is closed correctly and the sigpipe
|occurs on the control pipe. Why this doesn't happen with a delay of some
|seconds isn't clear to me.
|
|Anyways, I'd like to use the new net backend version, because it has
|much more debug output and fixes some minor bugs. I've tested it,
|Michael tested it. Could some more people test it before it's committed
|to cvs?
|
|I'm adding debug output to the sanei_wire interface at the moment and
|already stumbled over a serious bug... in sanei_w_space memcpy is used
|although the areas copied may overlap (which may result in data
corruption).
|
|
| This should really be tested by others; I just discovered, that your
modified
| version of net.c introduces some new problems (at least for me). When
I try to
| change the scan mode (plustek backend) from e.g. Color to Gray,
xsane and
| xscanimage segfault :-(
| The same happens, if I set the options Grayify, Three-Pass
Simulation or
| Hand-Scanner Simulation with the pnm backend.
| For some unknown reason, quiteinsane doesn't crash.
|
| Michael
|
| Some reading for this long and rainy weekend follows (xscanimages
reaction after
| trying to change the scanmode :'-( ):
|
| Program received signal SIGSEGV, Segmentation fault.
| panel_destroy (dialog=0x80b2c30) at gtkglue.c:833
| 833 gtkglue.c: Datei oder Verzeichnis nicht gefunden.
| (gdb) bt
| #0  panel_destroy (dialog=0x80b2c30) at gtkglue.c:833
| #1  0x8058b43 in panel_rebuild (dialog=0x80b2c30) at gtkglue.c:1181
| #2  0x80565fa in set_option (dialog=0x80b2c30, opt_num=2, val=0x80b2690,
| action=SANE_ACTION_SET_VALUE) at gtkglue.c:201
| #3  0x80573fb in option_menu_callback (widget=0x80b04cc, data=0x80b3228)
| at gtkglue.c:568
| #4  0x400b3e93 in gtk_marshal_NONE__NONE () at gtkmarshal.c:124
| #5  0x400e4ce8 in gtk_handlers_run (handlers=0x80a29a0, signal=0xbfffefc8,
| object=0x80b04cc, params=0xb01c, after=0) at gtksignal.c:1917
| #6  0x400e40bf in gtk_signal_real_emit (object=0x80b04cc, signal_id=75,
| params=0xb01c) at gtksignal.c:1477
| #7  0x400e2017 in gtk_signal_emit () at gtksignal.c:234
| #8  0x4011aacf in gtk_widget_activate () at gtkwidget.c:2707
| #9  0x400bbe7c in gtk_menu_shell_activate_item () at gtkmenushell.c:771
| ___
| Sane-devel mailing list
| sane-de...@www.mostang.com
| http://www.mostang.com/mailman/listinfo/sane-devel
|


- --
~  [This is a signature virus, please copy me into your signature file!]

~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7mmOT8OF76YrreuMRAg0FAJ9SwUzHRUYMf9nCk8VMlV8/T9YEYQCffsqz
wlPtMRyiR+mDLxkBK03LWYQ=
=R55N
-END PGP SIGNATURE-



[sane-devel] [dev] net backend and timing problems? (pretty weird)

2001-09-07 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ahh... and does this happen when using the pnm backend?

regards
- -- jochen



- --
~  [This is a signature virus, please copy me into your signature file!]

~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7l+678OF76YrreuMRAkj/AKCi7nO6WMDMUa4aaQXwApK+KyxYdQCeMt37
Vg60MqgDFao0RmSasDc8Wpg=
=t3do
-END PGP SIGNATURE-



[sane-devel] [dev] net backend and timing problems? (pretty weird)

2001-09-06 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Does this crash also occur with scanimage? and test?

regards
- -- jochen



- --
~  [This is a signature virus, please copy me into your signature file!]

~  GnuGP public key for jochen.eisin...@gmx.de:
~  http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7l+Hf8OF76YrreuMRAolpAJ9OZETb7EJYravkfQbESpLoA4w1ZgCdFn7B
OxXOAHhMWM/Ai2qM38+C0Oc=
=FkBT
-END PGP SIGNATURE-



[sane-devel] New SANE mailing list search-engine

2001-08-29 Thread Jochen Eisinger
Hi!

 From now on, the mailing list archive (both the old and the new) can
be searched at http://sane.informatik.uni-freiburg.de/htdig/search.html.
The search database is updated daily. The software is htdig 3.1.5  
apache 1.3 running on a SPARCStation-4 with Solaris 8 (just in case
you're interested...)


Thanks to the Chair for Computer Architecture 
(http://ira.informatik.uni-freiburg.de/) who provide both the hardware 
and the bandwidth the search engine is available again.

regards
-- jochen



[sane-devel] xinetd.conf contents and file

2001-08-19 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!


Richard]

 Jochen Eisinger  wrote:
  I'll note it... could you perhaps send me your xinetd config files?

 Hello Jochen

 Sure can here is the content.The attachment is the config file itself.But with
 viruses out there id understand you if you'd just delete it.
thanks... but, you know, maybe I'm to dumb, but I just didn't succed in
executing that wired attachment using pine...

regards
- -- jochen


  i sent you this document for you to review i need  your  opinion 
 : )

 Richard Hebert

- -- 
The Law of the Letter:
The best way to inspire fresh thoughts is to seal the envelope.

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7f7xY8OF76YrreuMRAnwKAJ9wbWRC1P3mniOZyVH1XDn0MCriIACfd0RV
jTK0HSyudS5RwwujM0sYpSA=
=3liI
-END PGP SIGNATURE-



[sane-devel] saned

2001-08-16 Thread Jochen Eisinger
Hi!

  service sane
  {
  port= 6566
  socket_type = stream
  wait= no
  user= saned
  group   = saned
  server  = /usr/sbin/saned
  }

If you want to access pp scanners using saned, saned should run as user
root. If not, make sure, user/group saned exists.
 
 ouf ! : ) now  GIMP  still cant use the scanner.
 
 Where have i gone  wrong ? 
Maybe saned isn't started, you can test this by telneting the saned port:

# telnet localhost 6566

If the connection is refused, the xinetd config is wrong. If you can
connect, you can continue:

stop xinetd and start saned from the commandline:

# /etc/rc.d/init.d/xinetd stop (or something like that...)
# saned -d128

now you should get some debug output from saned (in your syslog there should
also be some interesting stuff)

Logged in as an user try this: (assuming you use bash)

$ SANE_DEBUG_NET=128 scanimage -L

Either this or the saned should now give you some further hints, where to
search for possible errors.

 
 I  agree with the previous post  there is a need for a  simple 1,2,3 type
 step by step instruction for these scanners.
 I use mine in root mode for now cause i need to do this.
 
 An easy way to do this ( that dosent need the user be a programmer ) 
 is really needed.As Linux makes it's way in more and more desktops and 
  normal  users are getting Linux on their systems,i am under the
 impression
 that scanner documentation and  software really needs be simplified to
 allow
 normal (read non programmers) users to successfully use their equipment.

Hu... I know. I'm working on it 

regards
-- jochen

 
 Best regards 
 
 Richard Hebert
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




[sane-devel] xinetd.conf add this to documentation .

2001-08-16 Thread Jochen Eisinger
Hi!

nice to hear that it's working...

 i  found it ..and  got it  working .
 there was a  } in  xinetd.conf missing at the end.
 i modified it but i simply had not restarted xinetd.
 
 all works.
 
 
 
 But  still a comment about  xinetd 
 the modification i made to the  file works.
 I suggest this to be included in the documentation.
 
 ex   
 
 Add to /etc/xinetd.conf the file following lines:
 service sane
 {
 socket_type = stream
 server = /usr/sbin/saned
 protocol = tcp
 user = root
 wait = no
 disable = no
 }
I'll note it... could you perhaps send me your xinetd config files?

regards
-- jochen

 
 
 best regards 
 
 Richard
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




[sane-devel] Non root users

2001-08-11 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

[G. L. `Griz' Inabnit]

 On Friday 10 August 2001 08:25, Jochen Eisinger wrote:
  Hi!
 
 [snip]

 [/snip]
  
   /etc/inetd.conf line;
 sanestream  tcp nowait  saned.saned /usr/sbin/saned
   saned
 
  you have to run saned as root (although not recommende in the man-page).
  just replace saned.saned by root.root.
 
 [snip]

 [/snip]
   2.How can I reconfigure the machine so that regular users have 
   access to
   the scanner, software, use w/o su'ing to root?
 
  run saned as root, use passwords to protect the service (see man saned,
  man sane-net  man scanimage)
 
   3.Are there any log files for sane/xsane? I do not find anything 
   in /var
   or anywhere else to speak of.
 
  if you run saned from the command line with option -d128 you'll get debug
  output.
 
 [snip]
 [/snip]

   And magic occured!

   Richard, this is for you.

   Edit the /etc/inetd.conf and make the required changes.
   Edit the /etc/sane.d/net.conf and uncomment   localhost
   As root,   killall -HUP inetd
   As a user, run xsane

   BE AWARE THIS IS NOT SETUP WITH SECURITY IN MIND!! but it works,
 wonderfully! :--)
To add at least a little security, make use of user-authentication! saned
supports a MD5 based challenge/response protocol. See man saned  man
scanimage. XSane also supports that.

regards
- -- jochen




- -- 
Everybody has something to conceal.
-- Humphrey Bogart

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7dGOW8OF76YrreuMRAhFYAKCO2krCPbGmFM0GJXWcRE+IC8uY2wCfV0AY
BFdA4LtsRbNsfO8aKU9aEjI=
=17av
-END PGP SIGNATURE-



[sane-devel] Questions from new backend developers

2001-08-11 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

[Tim Waugh]
  I'm not sure if this works for all the parport backends/drivers (e.g.
  sanei_ab306 or sanei_pa4s2).

 It would be great if someone could port this code into libieee1284
 so that other applications can benefit from it.

Could somebody give me a pointer to libieee1284? if it works, I'll soon
add support for it to sanei_pa4s2. A sanei_ieee1284 could be used to
ensure, that the interface remains the same during development of that
lib.

regards
- -- jochen

 Tim.
 */


- -- 
Everybody has something to conceal.
-- Humphrey Bogart

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7dGR88OF76YrreuMRAhguAJ9Ebmz0MH0IInk/2HQdJMyCjVn4aQCgg2fZ
to77AiFdwmTwqBvv4xq+wc4=
=zLva
-END PGP SIGNATURE-



[sane-devel] Non root users

2001-08-10 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

[G. L. `Griz' Inabnit]

 Good day,

   I recently aquired a Mustek 6000 III EP Plus parelell port scanner. As 
 root,
 it works wonderfully.

 SYS INFO:

 Debian UNSTABLE (SID)

 libsane1.0.4-2API library for scanners
 sane   1.0.4-1Scanner graphical front-ends
 xsane  0.70-1 a gtk based X11 frontend for SANE (Scanner A
 xbase-clients  4.1.0-2miscellaneous X clients

 Athlon 850 Tbird
 1.5 gig ram
 Abit KT7A-Raid
 Printer port set to EPP in CMOS

 /etc/inetd.conf line;
   sanestream  tcp nowait  saned.saned /usr/sbin/saned 
 saned

you have to run saned as root (although not recommende in the man-page).
just replace saned.saned by root.root.

   I fought with the setup/install of this poor flatbed for hours and 
 hours.
 Trying multiple variations of this-that-and-the-other-thing. Nothing seemed
 to work. But when I did a 'scanimage  --list-devices' as root, sure enough it
 was there (I had su'd to root in an xterm to do this). I could not figure out
 what the complaint was with xsane other than being told that no devices
 existed for use. The scanner was seen, id'd, and said to be working, yet when
 I called xsane as a user (griz), I was told there where no scanning devices.
   Accidently, I started 'xsane' in the xterm that I had su'd to root in.
 PRESTO!! It not only came up and ran (after the bitchbox)!! Also,it beat the
 hell outta the speed it ever had in Windon't (BravoZulu people!!). So, then I
 tried it as a user again. Nothing. (sigh)
   So, onto Google. Do a search for 'xsane mail list'. Bang! There is one!
 Fantastic!! They have an archive. Life IS Good! Search the archive. Find two
 messages, one from Richard (CC: above)
 {http://www.mostang.com/pipermail/sane-devel/2001-July/79.html}
 and another from jochen
 {http://www.mostang.com/pipermail/sane-devel/2001-July/82.html} stating
 that the sane.d server would cure the problem.
   Uh, it didn't. :--)  Although I'm not honestly sure I've set it up
 correctly, nor do I know how to assertain if the daemon is actually running.

 1.Which device is this scanner connected to? I do not have anything in 
 /dev
   that screams out I'm the scanner! and I don't see anything in
   /var/log/messages (nor dmesg | less).
the scanner is not attached to a device, the driver accesses it directly.


 2.How can I reconfigure the machine so that regular users have access to 
 the
   scanner, software, use w/o su'ing to root?
run saned as root, use passwords to protect the service (see man saned,
man sane-net  man scanimage)


 3.Are there any log files for sane/xsane? I do not find anything in /var 
 or
   anywhere else to speak of.
if you run saned from the command line with option -d128 you'll get debug
output.


   At this time I'm fairly sure it's a simple permissions issue, but I've 
 yet
 to discover WHICH packages needed corrected or which device I may need access
 to.

   Please keep Richard included on any responces to me, please. As we are
 working on this together. And if there is any other System Info (e.g versions
 of software, hardware info, log files, etc) required,  just let me know and
 it will be included on the next mailing to the list.


 Respectfully,


 Griz


regards
- -- jochen

- -- 
Things are more like they used to be than they are now.

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7c/zg8OF76YrreuMRAq66AJ9n9z8jAnLsi3yb44gf4Cd6upX5cwCg8qYI
0zuZJeu7ghpWEzg7gFjWSCk=
=Xlj4
-END PGP SIGNATURE-



[sane-devel] saned to solve root issue ?

2001-08-10 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

[Richard]

 Well it's been a  while since i wrote and yet i havent had any
 success using xsane as non root.

 Im no programmer but i gave it a  good shot.

 It semed if i had understood well i had to set saned to run as root.
 but then  two things pop to mind

 1 - Ok first is  easy  it's how to set  saned to run as root
( im an incompetent  ..im  still trying to figure how to make saned
  eun always as root )
that's the solution. replace saned.saned in /etc/inetd.conf by root.root


 2 - Second once it's set how do i use the saned daemon ,how do i call it ?
see the man page saned and sane-net for a detailed description


 Keep in mind im no programmer but a simple folk trying to have his
 scanner work so i can scan the wife's family photos to put into her
 family tree..

 PS as ROOT user  i used GIMP and  bingo ..it  works  beautifully
 but like Griz mentioned it would be way better  to use both as non root.

 And Griz  dont  despair ..there is no actual device .it's a   virtual device 
 
 if i understood correctly , so we  did not find  any  devices to chmod ,
 there aint one..
  :  )

 So if anyone can help clarify this both of us would greatly appreciate

 Thank you for your patience.
 Merry Christmas

 Richard

regards
- -- jochen

- -- 
Cats are smarter than dogs.  You can't make eight cats pull a sled through
the snow.

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7c/208OF76YrreuMRAkelAKCi7xwhh7qHTAs2EoSoDvlG9cOfvwCfR85b
KE+qYf6nYuarHceEWtmF9JU=
=h7ZY
-END PGP SIGNATURE-



[sane-devel] network scanner problems

2001-08-07 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Does network scanning work with scanimage and/or xsane?

Here it works also with xscanimage...

regards
- -- jochen

[Guido Socher]

 Has anybody seen the following problem with the net backend
 in sane 1.0.5?

 The xscanimage program crashes because it tries to write
 data to a closed connection.
 The connection is closed in the sane_read() function in
 net.c because it executes this code:
   if (s-bytes_remaining == (size_t) - 1)
 {
   char ch;

   /* turn off non-blocking I/O (s-data will be closed anyhow): */
   fcntl (s-data, F_SETFL, 0);

   /* read the status byte: */
   if (read (s-data, ch, sizeof (ch)) != 1)
 ch = SANE_STATUS_IO_ERROR;
   do_cancel (s);
   return (SANE_Status) ch;
 }

 That is s-bytes_remaining is -1 and then do_cancel(s) is
 called which closes the connection.
 Next xscanimage (ignoring the closed connection) tries
 to set some control options using this
 closed connection and that is where the sigpipe is received.

 The interessting thing is that the scan as such is ok, i.e I can
 see the full picture in the preview for a second.

 I have the feeling that the -1 record length is used as a special
 value to signal the end of the scan and unfortunately net.c
 thinks that this is an error. Is that possible?

 It think that is is the case because scanning directly without
 the network inbetween works perfectly.

 Anybody who managed to get the network scan backend to work in
 1.0.5?

 Here the crash:
 Program received signal SIGPIPE, Broken pipe.
 0x4042e584 in write () from /lib/libc.so.6
 (gdb) backtrace
 #0  0x4042e584 in write () from /lib/libc.so.6
 #1  0x0020 in ?? ()
 #2  0x080564bc in flush (w=0x80739fc) at sanei_wire.c:404
 #3  0x080564f4 in sanei_w_set_dir (w=0x80739fc, dir=WIRE_DECODE)
 at sanei_wire.c:413
 #4  0x08056557 in sanei_w_call (w=0x80739fc, procnum=5,
 w_arg=0x4001a8e0 sanei_w_control_option_req, arg=0xbfffd560,
 w_reply=0x4001a960 sanei_w_control_option_reply, reply=0xbfffd540)
 at sanei_wire.c:432
 #5  0x400194cf in sane_net_control_option (handle=0x80cc488, option=22,
 action=SANE_ACTION_SET_VALUE, value=0xbfffd758, info=0x0) at net.c:806
 #6  0x4031b991 in sane_dll_control_option (handle=0x80cc4b8, option=22,
 action=SANE_ACTION_SET_VALUE, value=0xbfffd758, info=0x0) at dll.c:846
 #7  0x4031bc2d in sane_control_option (h=0x80cc4b8, opt=22,
 act=SANE_ACTION_SET_VALUE, val=0xbfffd758, info=0x0) at dll-s.c:34
 #8  0x08050bd0 in restore_option (p=0x80df848, option=22, saved_value=0,
 valid=1) at preview.c:453
 #9  0x0805135c in scan_done (p=0x80df848) at preview.c:702
 #10 0x08051269 in input_available (data=0x80df848, source=10,
 cond=GDK_INPUT_READ) at preview.c:543
 (gdb)

 And here the debug sequence:
 sane_read: max_length = 8192
 sane_read: max_length = 8192
 sane_read: max_length = 8192
 sane_read: max_length = 8192
 sane_read: next record length=4088 bytes
 sane_read: max_length = 8192
 sane_read: next record length=8 bytes
 sane_read: max_length = 8192
 sane_read: next record length=4096 bytes
 sane_read: max_length = 8192
 sane_read: next record length=4076 bytes
 sane_read: max_length = 8192
 sane_read: next record length=20 bytes
 sane_read: max_length = 8192
 sane_read: next record length=4096 bytes
 sane_read: max_length = 8192
 sane_read: next record length=3725 bytes
 sane_read: max_length = 8192
 sane_read: max_length = 8192
 sane_read: next record length=-1 bytes
 sane_cancel
 sane_control_option: option 4, action 1
 sane_get_option_descriptor: option 4
 sane_control_option: option 22, action 1
 Broken pipe
 Exit 141



- -- 
Reality is bad enough, why should I tell the truth?
-- Patrick Sky

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7cFQE8OF76YrreuMRAhnVAKDJlLe3Sqt5S1UtJGeIJ8eDdu1bgACfcFmA
an3k9ycKvf2BrdDP/GOlzCA=
=0Vyn
-END PGP SIGNATURE-



[sane-devel] Parallel as non root

2001-07-31 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

The solution to your problem is the SANE network daemon saned. You
can install saned who is running as root (yes, the man-page says, this
isn't recommended) and allow users to access to scanner over TCP.

Please see the man-pages saned, sane-net and sane-mustek_pp for hints
how to setup this. Information about user authentication with passwords
is provided in the man-pages saned and scanimage.

regards
- -- jochen

[Richard]

 Good evening

 I thought i had it made.
 Xsane recognised the scanner and i was in business..so i thought.

 In the archives there is a  letter addressing just that.
 http://www.mostang.com/mail-archive/sane-devel/2001-01/0195.html

 I changed owner and chmod  the files as suggested.
 Then when i tested SANE_DEBUG_MUSTEK_PP=255 xsane in non root mode
 i had a  surprise.

 Gtk-WARNING **: This process is currently running setuid or setgid.
 This is not a supported use of GTK+. You must create a helper
 program instead. For further details, see:

 http://www.gtk.org/setuid.html

 Refusing to initialize GTK+.

 Running xsane by itself also returns this unpleasant warning.

 So where do i go from now ?
 Is this fixed in the new sane 1.0.5 ? Will a new frontend fix this ?

 Sincere thanks

 Richard Hebert

 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com

 ___
 Sane-devel mailing list
 sane-de...@www.mostang.com
 http://www.mostang.com/mailman/listinfo/sane-devel


- -- 
More people are flattered into virtue than bullied out of vice.
-- R.S. Surtees

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD4DBQE7ZrBh8OF76YrreuMRAr/PAKDgDy6Yc3xsZd/y7Iz1ZZEgs4OO3gCXc9D0
XPqlzkUZCBDWwFVSRO6vdg==
=uV9s
-END PGP SIGNATURE-



[sane-devel] RH 7.0 sane and Mustek 600 III EP Plus

2001-07-29 Thread Jochen Eisinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Sorry for the late reply, they don't have decent Internet access here
at the north-sea beach... :P

I'm glad to read that the problem is already solved.
[Henning Meier-Geinitz]
  When i get it going ill write a simple Mustek 600 how-to
  so if anything like this hits someone else they will have a few good
  pointers.

 I'm sure Jochen Eisinger will update the manual page and website, if
 there is something he has forgotten to mention.
Yep, please let me know. I appreciate such help very much.

regards
- -- jochen

- -- 
falsie salesman, n:
Fuller bust man.

  [This is a signature virus, please copy me into your signature file!]

GnuGP public key for jochen.eisin...@gmx.de:
http://home.nexgo.de/jochen.eisinger/pubkey.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7ZETA8OF76YrreuMRAvA+AJ9oNLSvPfj6MNQvDQ3ckZbLyr/G+wCgjQip
h7jIElqSyWIlR1Qzm8v7W0E=
=LjZ1
-END PGP SIGNATURE-