[sane-devel] SANE packages PPA?

2009-05-19 Thread Jeff Kowalczyk
It would be very helpful if there were an official PPA for SANE .debs.

Ubuntu 9.04's use of libsane-1.0.19-23ubuntu7 would probably bring a
substantial influx of willing testers with hardware, if there was an easy
way to track 1.0.20 releases with an entry under sources.list.d.

Could the git snapshot machinery be extended to build .debs?
http://www.sane-project.org/snapshots/

Thanks,
Jeff






[sane-devel] SANE packages PPA?

2009-05-19 Thread Jeff Kowalczyk
On Tue, 19 May 2009 09:11:58 -0400, m. allan noah wrote:
 PPA? sources.list.d? Plain English please?

Right, Personal Package Archive, a convention for Ubuntu (and Debian)
users to publish .deb packages on Launchpad. If an individual were
publishing the SANE test packages, a PPA might be a good choice.

But I guess what I really had in mind was an official SANE APT repository,
such as the way WINE publishes their unstable packages:

http://www.winehq.org/download/deb

Thanks,
Jeff




[sane-devel] Git repositories are up

2009-05-04 Thread Jeff Kowalczyk
Julien BLACHE wrote:
  git clone ssh://login at git.debian.org/git/sane/sane-backends.git

 I guess I'm waiting for questions now?

Are the ssh:// urls for committers only?

Should users and packagers use the http:// url forms?

Thanks,
Jeff




[sane-devel] Migrate from CVS to SVN or DVCS?

2008-11-12 Thread Jeff Kowalczyk
m. allan noah wrote:
 we should use a service that alioth provides, and preferably one with
 broad multi-platform support.

I had some time while waiting for git clone cvs sane-backends ;) but I
was pleasantly surprised to find that Alioth supports +1-voted DVCSs:

http://wiki.debian.org/Alioth/Bzr
http://wiki.debian.org/Alioth/Git
http://wiki.debian.org/Alioth/Hg






[sane-devel] Force wake/detection of Fujitsu fi-60F (epjitsu) USB-plugged before firmware files installed?

2008-11-06 Thread Jeff Kowalczyk
I am having trouble accessing an epjitsu Fujitsu fi-60F at a remote site.
The scanner was plugged in yesterday, the host PC has not been rebooted,
and I would like to avoid doing that during business hours.

The host PC is Ubuntu 8.10 desktop, libsane-1.0.19-6ubuntu1:

$ scanimage -V
scanimage (sane-backends) 1.0.19; backend version 1.0.19

My user is in the scanner group:

 $ grep scan /etc/group
 scanner:x:105:hplip,(...),myuser

The default package epjitsu.conf is as follows:

 $ cat /etc/sane.d/epjitsu.conf 
 # For scanners connected via USB on a known device (kernel driver):
 #usb /dev/usb/scanner0
 
 # For scanners connected via USB using vendor and device ids (libusb):
 #usb VENDORID PRODUCTID
 
 # NOTE: if you have to add your device here- please send the id and model
 # to the author via email, so it can be included in next version. kitno455 at
 # gmail dot com - with epjitsu in the subject line
 
 # these devices require a firmware file in order to function
 # it can generally be found inside C:\windows\fjsti.cab or
 # C:\windows\fjmini\*.cab
 # open that file and look for a ~65K .NAL file with the scanner's name
 # and copy it someplace sane can reach it. then update the line below.
 # NOTE: the firmware line must occur BEFORE the usb line for your scanner
 
 # Fujitsu fi-60F
 firmware /usr/share/sane/epjitsu/60f_0A00.nal
 usb 0x04c5 0x10c7
 
 # Fujitsu S300
 firmware /usr/share/sane/epjitsu/300_0A00.nal
 usb 0x04c5 0x1156

The firware file is in place, but was not at the time the scanner was
plugged in:

 $ ls -al /usr/share/sane/epjitsu
 total 80
 drwxr-xr-x 2 root root  4096 2008-04-28 13:09 .
 drwxr-xr-x 5 root root  4096 2008-11-06 12:25 ..
 -rw-r--r-- 1 root root 65793 2008-04-28 16:17 60f_0A00.nal

sane-find-scanner finds the device as a USB id, but does not
identify or associate it with the epjitsu backend:

  $ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

  found USB scanner (vendor=0x04c5, product=0x10c7) at libusb:005:004
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

However, scanimage does not find the device at all:

 $ scanimage -L
 
 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).

Are there any utilities to force detection and/or waking of this device,
or is my best option to reboot?

Thanks.




[sane-devel] Force wake/detection of Fujitsu fi-60F (epjitsu) USB-plugged before firmware files installed?

2008-11-06 Thread Jeff Kowalczyk
m. allan noah wrote:
 the firmware is loaded when you run scanimage, so a reboot
 should not be required.
 
 SANE_DEBUG_EPJITSU=15 scanimage -L 2fi60.log
 
 and look thru that logfile.

Thanks.

What does 'could not open device: 11' signify?

$ SANE_DEBUG_EPJITSU=15 scanimage -L 2fi60.log
$ cat fi60.log 
[sanei_debug] Setting debug level of epjitsu to 15.
[epjitsu] sane_init: start
[epjitsu] sane_init: epjitsu backend 1.0.10, from sane-backends 1.0.19
[epjitsu] sane_init: reading config file epjitsu.conf
[epjitsu] sane_init: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
[epjitsu] sane_init: looking for 'usb 0x04c5 0x10c7'
[epjitsu] attach_one: start 'libusb:005:004'
[epjitsu] attach_one: init struct
[epjitsu] attach_one: connect fd
[epjitsu] connect_fd: start
[epjitsu] connect_fd: opening USB device
[epjitsu] connect_fd: could not open device: 11
[epjitsu] connect_fd: finish
[epjitsu] sane_close: start
[epjitsu] teardown_buffers: start
[epjitsu] teardown_buffers: finish
[epjitsu] sane_close: finish
[epjitsu] sane_init: firmware '/usr/share/sane/epjitsu/300_0A00.nal'
[epjitsu] sane_init: looking for 'usb 0x04c5 0x1156'
[epjitsu] sane_init: found 0 scanner(s)
[epjitsu] sane_init: finish
[epjitsu] sane_get_devices: start
[epjitsu] sane_get_devices: finish
[epjitsu] sane_exit: start
[epjitsu] sane_exit: finish





[sane-devel] Force wake/detection of Fujitsu fi-60F (epjitsu) USB-plugged before firmware files installed?

2008-11-06 Thread Jeff Kowalczyk
It appears that 'usermod -a -G scanner myuser' and logging back in isn't
sufficient for scanner access on this system:

$ SANE_DEBUG_EPJITSU=15 sudo scanimage -L 2fi60.log
device `epjitsu:libusb:005:004' is a FUJITSU fi-60F  0A06 scanner





[sane-devel] Migrate from CVS to SVN or DVCS?

2008-10-21 Thread Jeff Kowalczyk
Is there any interest in migrating SANE's CVS to a newer revision control
system?

Subversion would be an improvement for its repository-wide revision
numbers.

A DVCS such as git would be even more interesting, given the apparent
number of people who could contribute code and/or scanner test data.

I became interested in this when planning to make a CVS snapshot package
to use some of our scanner hardware. I realized I didn't know offhand how
to refer to a particular revision of the whole tree with CVS.

With DVCS, maintainers could pull from anyone's repository which
contains useful changesets, and perhaps the newer RCS systems'
export features would make incremental releases easier.






[sane-devel] Fujitsu fi-5120c: replaced by fi-6130?

2008-10-01 Thread Jeff Kowalczyk
I noticed today that the Fujitsu fi-5120c was no longer listed at our
preferred online retailer. A new model fi-6130 was available with slightly
better specifications and a correspondingly higher price.

Is the Fujitsu fi-6130 a direct replacement for the fi-5120c?

Can anyone verify that the fi-6130 carries the same high level of sane
fujitsu-backend compatibility as the fi-5120c?

Thanks,
Jeff




[sane-devel] Fujitsu fi-5120c: replaced by fi-6130?

2008-10-01 Thread Jeff Kowalczyk
On Wed, 01 Oct 2008 09:10:04 -0400, m. allan noah wrote:
 works perfectly with sane cvs, poorly with 1.0.19. debian's latest 1.0.19
 deb has a patch that gives basic support.
 
 sane cvs also enables every esoteric option i could find, including the
 endorser (if you get one).

Is there a source for sane-cvs debs suitable for Ubuntu 8.04 Hardy?

I'd like to use our fi-60f (double-free error, ubuntu memory
'protection'), and if we are fortunate enough get one of these fi-6130,
neither Hardy or Intrepid sane packages are recent enough for full support.





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

2008-05-20 Thread Jeff Kowalczyk
On Tue, 29 Apr 2008 09:20:04 +0100, Chris Lale wrote:
 Jeff Kowalczyk wrote:
 On Mon, 28 Apr 2008 21:01:08 -0400, m. allan noah wrote:
 
 well, i've just committed a patch to fix this, but please test, as i
 never saw the error message in the first place...
 
 Does anyone have a good procedure for patching and rebuilding
 released ubuntu .debs to test upstream changes? Or a way to build new debs
 from sane snapshots at a particular revision? The originally reported
 platform (Ubuntu) is not my familiar source-based system (Gentoo).
 
 
 This is how you could do it in Debian [1].
 
 Basic method for a package somepackage version 0.7.1-1 is as follows. 
 (This
 does not change the version number, but that is explained in the 
 documentation.):
 
 0.
 Get the source package.
 
 1. put
 somepackage_0.7.1-1.diff.gz
 somepackage_0.7.1.orig.tar.gz
 somepackage_0.7.1-1.dsc
 in a directory.
 
 2.  Run
 dpkg-source -x somepackage_0.7.1-1.dsc to recreate build directory.
 
 3. cd to
 somepackage-0.7.1
 Do what you need.
 
 4. Run
 dpkg-buildpackage -rfakeroot
 Completes with message
 dpkg-buildpackage: full upload (original source is included)
 
 5. Run checks:
 lintian somepackage_0.7.1-1_i386.changes
 and
 linda somepackage_0.7.1-1_i386.changes
 Both should complete with no errors reported.
 
 debc somepackage_0.7.1-1_i386.changes | less
 On inspection, files contained in package should look OK.
 
 # debi somepackage_0.7.1-1_i386.changes
 should install package OK.
 
 # dpkg --purge somepackage
 removes package.
 
 
 [1] http://www.us.debian.org/doc/maint-guide/
 
 Hope that helps.
 
 -- 
 Chris.

I've tried the above procedure several times over the past weeks, and I
can't get it right. The ubuntu sane-backends package is missing the
.changes files, etc. 

Also, I'm missing the punchline of the procedure, I want to make a new
.deb that I can dpkg install on any number of machines, report upstream
that the patches help.

I'd like to do the hardware testing on the patch, since it's a relatively
uncommon scanner, and the patch seems like it will make this hardware
usable on Ubuntu.

Can anyone with ubuntu-flavored dpkg-fu either list a working procedure,
or post a deb with the patches integrated? Any info would be much
appreciated.

Thanks,
Jeff




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

2008-04-28 Thread Jeff Kowalczyk
On Mon, 28 Apr 2008 21:51:50 +0200, Julien BLACHE wrote:

 Jeff Kowalczyk jtk at yahoo.com wrote:
 
 Hi,
 
   $ scanimage -d epjitsu
   (massive ansi terminal spew)
   *** glibc detected *** scanimage: double free or corruption (!prev): 
 0x08053ca0 ***
   === Backtrace: =
   /lib/tls/i686/cmov/libc.so.6[0xb7e7fa85]
   /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e834f0]
   /usr/lib/sane/libsane-epjitsu.so.1(sane_epjitsu_exit+0x3d)[0xb7e029dd]
 
 Can you reproduce the problem with a simple scanimage -L ?

scanimage -L appears to be fine:

  $ scanimage -L 
  device `fujitsu:libusb:001:011' is a FUJITSU fi-5120Cdj scanner
  device `epjitsu:libusb:001:009' is a FUJITSU fi-60F  0A06 scanner

 Also please obtain a gdb backtrace :

  $ gdb scanimage
   run -d epjitsu
  (some messages, then terminal data spew)
  *** glibc detected *** /usr/bin/scanimage: corrupted double-linked list: 
0x08054120 ***
  (no debugging symbols found)
  === Backtrace: =
  /lib/tls/i686/cmov/libc.so.6[0xb7dfad0d]
  /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7dfe4f0]
  /usr/lib/sane/libsane-epjitsu.so.1(sane_epjitsu_exit+0x3d)[0xb7d7d9dd]
  /usr/lib/libsane.so.1(sane_dll_exit+0x15d)[0xb7ee4c8d]
  /usr/lib/libsane.so.1(sane_exit+0x17)[0xb7ee5f97]
  /usr/bin/scanimage[0x804b59d]
  /lib/tls/i686/cmov/libc.so.6(exit+0xd4)[0xb7dbd084]
  /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe8)[0xb7da5458]
  /usr/bin/scanimage[0x8049241]
  === Memory map: 
  08048000-08051000 r-xp  08:05 6447711/usr/bin/scanimage
  08051000-08052000 rw-p 9000 08:05 6447711/usr/bin/scanimage
  08052000-080c4000 rw-p 08052000 00:00 0  [heap]
  b7c0-b7c21000 rw-p b7c0 00:00 0 
  b7c21000-b7d0 ---p b7c21000 00:00 0 
  b7d5b000-b7d65000 r-xp  08:05 7716880/lib/libgcc_s.so.1
  b7d65000-b7d66000 rw-p a000 08:05 7716880/lib/libgcc_s.so.1
  b7d73000-b7d79000 r-xp  08:05 7717114/lib/libusb-0.1.so.4.4.4
  b7d79000-b7d7b000 rw-p 5000 08:05 7717114/lib/libusb-0.1.so.4.4.4
  b7d7b000-b7d8a000 r-xp  08:05 935162 
/usr/lib/sane/libsane-epjitsu.so.1.0.19
  b7d8a000-b7d8b000 rw-p e000 08:05 935162 
/usr/lib/sane/libsane-epjitsu.so.1.0.19
  b7d8b000-b7d8f000 rw-p b7d8b000 00:00 0 
  b7d8f000-b7ed8000 r-xp  08:05 7717018
/lib/tls/i686/cmov/libc-2.7.so
  b7ed8000-b7ed9000 r--p 00149000 08:05 7717018
/lib/tls/i686/cmov/libc-2.7.so
  b7ed9000-b7edb000 rw-p 0014a000 08:05 7717018
/lib/tls/i686/cmov/libc-2.7.so
  b7edb000-b7edf000 rw-p b7edb000 00:00 0 
  b7edf000-b7ee1000 r-xp  08:05 7717021
/lib/tls/i686/cmov/libdl-2.7.so
  b7ee1000-b7ee3000 rw-p 1000 08:05 7717021
/lib/tls/i686/cmov/libdl-2.7.so
  b7ee3000-b7ee8000 r-xp  08:05 856953 /usr/lib/libsane.so.1.0.19
  b7ee8000-b7ee9000 rw-p 4000 08:05 856953 /usr/lib/libsane.so.1.0.19
  b7ef5000-b7ef8000 rw-p b7ef5000 00:00 0 
  b7ef8000-b7ef9000 r-xp b7ef8000 00:00 0  [vdso]
  b7ef9000-b7f13000 r-xp  08:05 7716881/lib/ld-2.7.so
  b7f13000-b7f15000 rw-p 00019000 08:05 7716881/lib/ld-2.7.so
  bfd22000-bfd37000 rw-p bffeb000 00:00 0  [stack]
  
  Program received signal SIGABRT, Aborted.
  0xb7ef8410 in __kernel_vsyscall ()
   
62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;cbt
  Undefined command: 62.  Try help.
  (gdb) bt
  #0  0xb7ef8410 in __kernel_vsyscall ()
  #1  0xb7dba085 in raise () from /lib/tls/i686/cmov/libc.so.6
  #2  0xb7dbba01 in abort () from /lib/tls/i686/cmov/libc.so.6
  #3  0xb7df2b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
  #4  0x0006 in ?? ()
  #5  0xbfd346d4 in ?? ()
  #6  0x0400 in ?? ()
  #7  0xb7ebf428 in ?? () from /lib/tls/i686/cmov/libc.so.6
  #8  0x0017 in ?? ()
  #9  0xbfd36999 in ?? ()
  #10 0x0012 in ?? ()
  #11 0xb7ebf441 in ?? () from /lib/tls/i686/cmov/libc.so.6
  #12 0x0002 in ?? ()
  #13 0xb7ebc2d8 in ?? () from /lib/tls/i686/cmov/libc.so.6
  #14 0x001c in ?? ()
  #15 0xb7ebf445 in ?? () from /lib/tls/i686/cmov/libc.so.6
  #16 0x0004 in ?? ()
  #17 0xbfd34c4b in ?? ()
  #18 0x0008 in ?? ()
  #19 0xb7ebf44b in ?? () from /lib/tls/i686/cmov/libc.so.6
  #20 0x0005 in ?? ()
  #21 0x0006 in ?? ()
  #22 0x0004 in ?? ()
  #23 0x0004 in ?? ()
  #24 0x0174 in ?? ()
  #25 0x0174 in ?? ()
  #26 0x0174 in ?? ()
  #27 0xb7ebf44b in ?? () from /lib/tls/i686/cmov/libc.so.6
  #28 0x0005 in ?? ()
  #29 0xbfd34620 in ?? ()
  #30 0x0025 in ?? ()
  #31 0xbfd3463c in ?? ()
  #32 0xb7f04c17 in ?? () from /lib/ld-linux.so.2
  #33 0x0001 in ?? ()
  #34 0x in ?? ()
  (gdb) q
  The program is running.  Exit anyway? (y or n) y





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

2008-04-28 Thread Jeff Kowalczyk
On Mon, 28 Apr 2008 23:10:51 +0200, Jochen Eisinger wrote:
 export MALLOC_CHECK_=0
 If possible, use valgrind -v scanimage -d epjitsu to generate the
 backtrace, it will be more informative.

gdb terminal spew hit a magic ansi sequence that made the text unreadable.
If you can suggest a command that will pipe the scan output away, but
still stay in gdb for the bt, I'll run that.

I had more luck with valgrind this time. However, I'm not very familiar
with reading valgrind output, is this a typical level of detail?

  $ export MALLOC_CHECK_=0
  $ valgrind -v scanimage -d epjitsu
  (...)
  /cmov/libc-2.7.so)
  ==7627== 
  ==7627== 1 errors in context 2 of 5:
  ==7627== Invalid read of size 4
  ==7627==at 0x45919D3: ???
  ==7627==by 0x4035C8C: sane_dll_exit (in /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4036F96: sane_exit (in /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x804B59C: (within /usr/bin/scanimage)
  ==7627==by 0x406D083: exit (in /lib/tls/i686/cmov/libc-2.7.so)
  ==7627==by 0x4055457: (below main) (in /lib/tls/i686/cmov/libc-2.7.so)
  ==7627==  Address 0x41a5bc0 is 0 bytes inside a block of size 700 free'd
  ==7627==at 0x402265C: free (vg_replace_malloc.c:323)
  ==7627==by 0x4592719: ???
  ==7627==by 0x403599E: sane_dll_close (in /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4036FBC: sane_close (in /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x804B569: (within /usr/bin/scanimage)
  ==7627==by 0x406D083: exit (in /lib/tls/i686/cmov/libc-2.7.so)
  ==7627==by 0x4055457: (below main) (in /lib/tls/i686/cmov/libc-2.7.so)
  ==7627== 
  ==7627== 1 errors in context 3 of 5:
  ==7627== Invalid read of size 4
  ==7627==at 0x4015209: (within /lib/ld-2.7.so)
  ==7627==by 0x4005C69: (within /lib/ld-2.7.so)
  ==7627==by 0x4007A97: (within /lib/ld-2.7.so)
  ==7627==by 0x400BC16: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x400BDF9: (within /lib/ld-2.7.so)
  ==7627==by 0x40115A3: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x4010F5D: (within /lib/ld-2.7.so)
  ==7627==by 0x403AC18: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x403B2BB: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==  Address 0x419512c is 20 bytes inside a block of size 21 alloc'd
  ==7627==at 0x4022AB8: malloc (vg_replace_malloc.c:207)
  ==7627==by 0x4008031: (within /lib/ld-2.7.so)
  ==7627==by 0x400BC16: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x400BDF9: (within /lib/ld-2.7.so)
  ==7627==by 0x40115A3: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x4010F5D: (within /lib/ld-2.7.so)
  ==7627==by 0x403AC18: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x403B2BB: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x403AB50: dlopen (in /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627== 
  ==7627== 1 errors in context 4 of 5:
  ==7627== Invalid read of size 4
  ==7627==at 0x40151F3: (within /lib/ld-2.7.so)
  ==7627==by 0x4005C69: (within /lib/ld-2.7.so)
  ==7627==by 0x4007A97: (within /lib/ld-2.7.so)
  ==7627==by 0x4011543: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x4010F5D: (within /lib/ld-2.7.so)
  ==7627==by 0x403AC18: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x403B2BB: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x403AB50: dlopen (in /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x4036755: (within /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4036906: (within /usr/lib/libsane.so.1.0.19)
  ==7627==  Address 0x4194dd8 is 32 bytes inside a block of size 35 alloc'd
  ==7627==at 0x4022AB8: malloc (vg_replace_malloc.c:207)
  ==7627==by 0x4006FD4: (within /lib/ld-2.7.so)
  ==7627==by 0x40079D9: (within /lib/ld-2.7.so)
  ==7627==by 0x4011543: (within /lib/ld-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x4010F5D: (within /lib/ld-2.7.so)
  ==7627==by 0x403AC18: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x400D5D5: (within /lib/ld-2.7.so)
  ==7627==by 0x403B2BB: (within /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x403AB50: dlopen (in /lib/tls/i686/cmov/libdl-2.7.so)
  ==7627==by 0x4036755: (within /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4036906: (within /usr/lib/libsane.so.1.0.19)
  ==7627== 
  ==7627== 5 errors in context 5 of 5:
  ==7627== Conditional jump or move depends on uninitialised value(s)
  ==7627==at 0x4595872: ???
  ==7627==by 0x403693C: (within /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4036BA2: sane_dll_open (in /usr/lib/libsane.so.1.0.19)
  ==7627==by 0x4037193: 

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

2008-04-28 Thread Jeff Kowalczyk
On Mon, 28 Apr 2008 21:01:08 -0400, m. allan noah wrote:

 well, i've just committed a patch to fix this, but please test, as i
 never saw the error message in the first place...

Does anyone have a good procedure for patching and rebuilding
released ubuntu .debs to test upstream changes? Or a way to build new debs
from sane snapshots at a particular revision? The originally reported
platform (Ubuntu) is not my familiar source-based system (Gentoo).




[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-04 Thread Jeff Kowalczyk
Ilia Sotnikov wrote:
 The whole picture isn't so bright - as for now, this native Win32
 version is limited only to dll, net backends and scanimage binary.

Even so, this is a valuable capability when mature. I'm imagining the
departmental linux-connected scanner which returns image data to the Win32
desktop. Scripting that with python via subprocess, there's a possibility
to normalize and automate user scanning tasks, something that's elusive
with TWAIN GUIs.

I don't know of any other general-purpose command line (e.g. GUI headless)
scan initiation tools for device-independent TWAIN. Thanks again for the
efforts.




[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-03 Thread Jeff Kowalczyk
Ilia Sotnikov wrote:
 Last week I've committed native Win32 version of SANE. It's available
 for checkout at cvs.alioth.debian.org:/cvsroot/sane checkout
 experimental/sane-backends-win32. Any feedback will be greatly
 appreciated.

If you have any way to provide snapshot builds from time to time, these
will probably have many more testers providing feedback.

I don't have any Win32 machines on hand myself, but thanks very much for
working on this.

Out of curiosity, how are USB devices named on Win32 (from SANE's point of
view), and do they use the SANE backends for device communication?

If there is a way to deploy a certain model of scanner on a Win32 machine,
have its device name reliably known ahead of time, and if scans can be
initiated from scanimage, scanadf, python-sane, etc., that's *big* news,
and you'll probably see a stampede of Win32 users who need those tools.




[sane-devel] Scanner 'reset scan head' utilities (plustek, Canon Lide20)

2007-06-26 Thread Jeff Kowalczyk
On Tue, 26 Jun 2007 16:32:24 +0200, Gerhard Jaeger wrote:
 which kernel did you use? I've currently checked that on a SuSE10,
 kernel 2.6.13 and turned on CONFIG_USB_SUSPEND - no problems so far.
 
 I tried to put the LiDE20 into suspend - no problems. Next thing
 I need to check is my laptop, running a SuSE10.2 - kernel2.6.18
 
 It's quite strange - from reviewing the code there's only one
 point which could cause the mentioned problems - but not on
 a Lide :(

I'm running a newer kernel on Gentoo Linux ~x86:

Linux 2.6.21-gentoo-r3 #1 PREEMPT Mon Jun 25 16:01:36 EDT 2007 i686
mobile AMD Athlon(tm) XP-M 2000+ AuthenticAMD GNU/Linux

The kernel has been recompiled without USB_SUSPEND, and the scanner is
working fine today.

 # grep USB kernel-config-x86-2.6.21-gentoo-r3
 
 # CONFIG_USB_ZD1201 is not set
 # CONFIG_USB_DABUSB is not set
 # USB devices
 CONFIG_SND_USB_AUDIO=m
 # CONFIG_SND_USB_USX2Y is not set
 # USB support
 CONFIG_USB_ARCH_HAS_HCD=y
 CONFIG_USB_ARCH_HAS_OHCI=y
 CONFIG_USB_ARCH_HAS_EHCI=y
 CONFIG_USB=m
 # CONFIG_USB_DEBUG is not set
 # Miscellaneous USB options
 CONFIG_USB_DEVICEFS=y
 # CONFIG_USB_DYNAMIC_MINORS is not set
 # CONFIG_USB_SUSPEND is not set
 # CONFIG_USB_OTG is not set
 # USB Host Controller Drivers
 CONFIG_USB_EHCI_HCD=m
 # CONFIG_USB_EHCI_SPLIT_ISO is not set
 # CONFIG_USB_EHCI_ROOT_HUB_TT is not set
 # CONFIG_USB_EHCI_TT_NEWSCHED is not set
 # CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set
 # CONFIG_USB_ISP116X_HCD is not set
 CONFIG_USB_OHCI_HCD=m
 # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
 # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
 CONFIG_USB_OHCI_LITTLE_ENDIAN=y
 CONFIG_USB_UHCI_HCD=m
 CONFIG_USB_SL811_HCD=m
 # CONFIG_USB_SL811_CS is not set
 # USB Device Class drivers
 # CONFIG_USB_ACM is not set
 CONFIG_USB_PRINTER=m
 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
 # may also be needed; see USB_STORAGE Help for more information
 CONFIG_USB_STORAGE=m
 # CONFIG_USB_STORAGE_DEBUG is not set
 # CONFIG_USB_STORAGE_DATAFAB is not set
 # CONFIG_USB_STORAGE_FREECOM is not set
 # CONFIG_USB_STORAGE_ISD200 is not set
 # CONFIG_USB_STORAGE_DPCM is not set
 # CONFIG_USB_STORAGE_USBAT is not set
 # CONFIG_USB_STORAGE_SDDR09 is not set
 # CONFIG_USB_STORAGE_SDDR55 is not set
 # CONFIG_USB_STORAGE_JUMPSHOT is not set
 # CONFIG_USB_STORAGE_ALAUDA is not set
 CONFIG_USB_STORAGE_KARMA=y
 # CONFIG_USB_LIBUSUAL is not set
 # USB Input Devices
 CONFIG_USB_HID=m
 # CONFIG_USB_HIDINPUT_POWERBOOK is not set
 CONFIG_USB_HIDDEV=y
 # USB HID Boot Protocol drivers
 # CONFIG_USB_KBD is not set
 # CONFIG_USB_MOUSE is not set
 # CONFIG_USB_AIPTEK is not set
 # CONFIG_USB_WACOM is not set
 # CONFIG_USB_ACECAD is not set
 # CONFIG_USB_KBTAB is not set
 # CONFIG_USB_POWERMATE is not set
 # CONFIG_USB_TOUCHSCREEN is not set
 # CONFIG_USB_YEALINK is not set
 # CONFIG_USB_XPAD is not set
 # CONFIG_USB_ATI_REMOTE is not set
 # CONFIG_USB_ATI_REMOTE2 is not set
 # CONFIG_USB_KEYSPAN_REMOTE is not set
 # CONFIG_USB_APPLETOUCH is not set
 # CONFIG_USB_GTCO is not set
 # USB Imaging devices
 # CONFIG_USB_MDC800 is not set
 # CONFIG_USB_MICROTEK is not set
 # USB Network Adapters
 # CONFIG_USB_CATC is not set
 # CONFIG_USB_KAWETH is not set
 # CONFIG_USB_PEGASUS is not set
 # CONFIG_USB_RTL8150 is not set
 # CONFIG_USB_USBNET_MII is not set
 # CONFIG_USB_USBNET is not set
 # CONFIG_USB_MON is not set
 # USB port drivers
 # USB Serial Converter support
 # CONFIG_USB_SERIAL is not set
 # USB Miscellaneous drivers
 # CONFIG_USB_EMI62 is not set
 # CONFIG_USB_EMI26 is not set
 # CONFIG_USB_ADUTUX is not set
 # CONFIG_USB_AUERSWALD is not set
 # CONFIG_USB_RIO500 is not set
 # CONFIG_USB_LEGOTOWER is not set
 # CONFIG_USB_LCD is not set
 # CONFIG_USB_BERRY_CHARGE is not set
 # CONFIG_USB_LED is not set
 # CONFIG_USB_CYPRESS_CY7C63 is not set
 # CONFIG_USB_CYTHERM is not set
 # CONFIG_USB_PHIDGET is not set
 # CONFIG_USB_IDMOUSE is not set
 # CONFIG_USB_FTDI_ELAN is not set
 # CONFIG_USB_APPLEDISPLAY is not set
 # CONFIG_USB_SISUSBVGA is not set
 # CONFIG_USB_LD is not set
 # CONFIG_USB_TRANCEVIBRATOR is not set
 # CONFIG_USB_IOWARRIOR is not set
 # CONFIG_USB_TEST is not set
 # USB DSL modem support
 # USB Gadget Support
 # CONFIG_USB_GADGET is not set
 
 
 Installed versions of: libusb sane-frontends sane-backends
 
 dev-libs/libusb-0.1.12-r1  USE=-debug -doc
 media-gfx/sane-frontends-1.0.14  USE=gimp
 media-gfx/sane-backends-1.0.18-r2  USE=gphoto2 ipv6 usb v4l
 




[sane-devel] Scanner 'reset scan head' utilities (plustek, Canon Lide20)

2007-06-25 Thread Jeff Kowalczyk
I'm starting to look more closely at scanner troubleshooting issues for
deployment. Is there a utility or command parameter that will instruct a
scanner to park the head back in the home position and generally reset
itself to a safe/ready state?

My everyday flatbed scanner ((vendor=0x04a9 [Canon], product=0x220d
[CanoScan], chip=LM9832/3) at libusb:002:002) got out of sorts today. The
scan head wasn't returned to the home position (it is now), but XSane
scans now just return solid black data.

The Lide20 has been pretty reliable. The only thing out of the ordinary
today was that I ran the scanimage program for scanner information. I
usually use xsane with gimp, and unplug the scanner shortly thereafter.

Is this a hardware state problem, or a crashed kernel module that must be
purged (and how to do so?) Nothing sane-related shows up with lsmod.

Thanks.




[sane-devel] Scanner 'reset scan head' utilities (plustek, Canon Lide20)

2007-06-25 Thread Jeff Kowalczyk
Jeff Kowalczyk wrote:
 My everyday flatbed scanner ((vendor=0x04a9 [Canon], product=0x220d
 [CanoScan], chip=LM9832/3) at libusb:002:002) got out of sorts today.
 The scan head wasn't returned to the home position (it is now), but
 XSane scans now just return solid black data.

I see that it's a known problem, since I have (recently) enabled
CONFIG_USB_SUSPEND to try powertop, and this is using the plustek backend.





[sane-devel] Re: Recommendations for reliable ADF sheetfed (Fujitsu, Kodak, others?)

2007-03-29 Thread Jeff Kowalczyk
m. allan noah wrote:
 the kodak i30 and i40 are rebadged avision av200's, and i think
 visioneer sells one too. i had a kodak i40 here for awhile, it works ok
 with sane, but there were some 'pausing' or timeout issues when you
 first start scanning, even with the latest version of rene's avision
 backend. this was several months ago, so it might be better now.

The Fujitsu fi-5120C (at USD $850) looks like the stronger candidate at
this point.

For the purposes of determining US availability, can anyone verify that
the Kodak i40 (at USD $866) is identical hardware to the AV220C2: 35ppm in
Simplex or 70 ipm in True Duplex, and per m. allan noah's anecdote, works
well with the avision backend, possibly still subject to initialization
timeout issues.




[sane-devel] Recommendations for reliable ADF sheetfed (Fujitsu, Avision, others?)

2007-03-27 Thread Jeff Kowalczyk
I'm looking for current recommendations for a fast ADF scanner with
reliable paper handling and stable SANE driver support for the desired
modes accessed via python PIL/Sane, scanadf, scanner access across
network, etc.

In the past (I ask every year or so, haven't bought yet) m. allan noah and
others have discussed their experiences and driver work with the Fujitsu
FI-5xxxC(x) series.

Good representations were also made about the Avision AV220C2 series,
primarily on the strength of the avision driver support. I was able to
find a source to import units from outside the US, but I have concerns
about ongoing US availability.

Since time has gone by and new models may be out, has anyone got
recommendations for models that meet most of the following criteria in the
USD $1,000 or under price range?

 - 1-bit and greyscale modes are the only ones that matter here

 - 300 dpi, and able to do 300dpi at high speed

 - ADF with at least 50 sheet capacity, good paper-feed reliability

 - USB 2.0 interface (or ethernet interface)

 - Priority is on Linux SANE compatibility, python PIL/Sane usage, scanadf
 over network.

 - Limited feature/modes support OK, only need the 300dpi bw,greyscale
 modes to be reliable and fast.

Thanks for the annual repeat of the question, and thanks if anyone has any
recommendations of new models, or comments on their ongoing experience
with the AV220C2, FI-5120C or updated units.



[sane-devel] Specialized plastic/laminated id card scanner, USB interface?

2007-03-27 Thread Jeff Kowalczyk
I need to scan visitors' plastic/laminate identification cards. The scans
are to be initiated via web app, signalling a headless SANE linux server
to scan via scanadf, network scanning, python PIL/sane, etc.

Has anyone got any vendor and model recommendations for a specialised USB
card scanner (SANE compatible, obviously) that will handle of various
shapes and thicknesses (e.g. flat paper path)?

Thanks.



[sane-devel] Re: CanoScan LiDE20 finally working

2006-05-21 Thread Jeff Kowalczyk
I neglected to add my libusb-0.1.12 information to the previous long
configuration description, which apparently directly affects the udev
device node mapping, permissions, etc.

I also found this forum comment:

What *should* happen is that the udev rules in
/etc/udev/rules.d/60-libsane.rules get run, making a scanner-whatever
symlink to /dev/bus/usb/XXX. This device is then chown'ed via pam_console,
later by udev.

Since I can't find a '60-libsane.rules' file anywhere, I'm not sure what
the next step would be. Is this file normally installed by sane-backends?

Thanks.

# emerge libusb sane-backends sane-frontends -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] dev-libs/libusb-0.1.12  USE=-debug -doc 0 kB
[ebuild   R   ] media-gfx/sane-backends-1.0.17  USE=gphoto2 usb v4l -ipv6 
0 kB
[ebuild   R   ] media-gfx/sane-frontends-1.0.14  USE=gimp 0 kB


# equery files libusb
[ Searching for packages matching libusb... ]
* Contents of dev-libs/libusb-0.1.12:
/usr
/usr/bin
/usr/bin/libusb-config
/usr/include
/usr/include/usb.h
/usr/include/usbpp.h
/usr/lib
/usr/lib/libusb-0.1.so.4 - libusb-0.1.so.4.4.4
/usr/lib/libusb-0.1.so.4.4.4
/usr/lib/libusb.a
/usr/lib/libusb.la
/usr/lib/libusb.so - libusb-0.1.so.4.4.4
/usr/lib/libusbpp-0.1.so.4 - libusbpp-0.1.so.4.4.4
/usr/lib/libusbpp-0.1.so.4.4.4
/usr/lib/libusbpp.a
/usr/lib/libusbpp.la
/usr/lib/libusbpp.so - libusbpp-0.1.so.4.4.4
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libusb.pc
/usr/share
/usr/share/doc
/usr/share/doc/libusb-0.1.12
/usr/share/doc/libusb-0.1.12/AUTHORS.gz
/usr/share/doc/libusb-0.1.12/NEWS.gz
/usr/share/doc/libusb-0.1.12/README.gz





[sane-devel] Re: CanoScan LiDE20 finally working

2006-05-20 Thread Jeff Kowalczyk
Please forgive the very long post, but I wanted to get some specifics
recommended actions to restore access to my Canon LIDE20 scanner, which
has been inaccessible roughly since the upgrade to sane-backends-1.0.17.

My scanner problems seemed to closely match reports those of users with
permissions problems on their USB device nodes, but upon investigation, I
see that I probably suffer from missing udev rule files instead or in
addition.

The previous post said 'use sane to generate udev rules', but does not say
how. Can you elaborate? I'd like to add that operation to a postinstall
step on the distro's sane-backends packaging.

So, I'll lay out the files and facts, and ask the group to suggest
specific ways I can fix this. The detail may help other users diagnose
their issues.

System is Gentoo Linux ~x86, with various overlays. Yeah, I have lots of
unstable software packages installed ;)

Thanks for any suggestions.


There is no (obvious) udev rule file installed with the sane-backends, and
if it is one of these files, it doesn't get copied to /etc/udev/rules.d

# equery files =media-gfx/sane-backends-1.0.17
[ Searching for packages matching =media-gfx/sane-backends-1.0.17... ]
* Contents of media-gfx/sane-backends-1.0.17:
/etc
/etc/env.d
/etc/env.d/30sane
/etc/hotplug
/etc/hotplug/usb
/etc/hotplug/usb/libsane.usermap
/etc/hotplug/usb/libusbscanner
/etc/sane.d
/etc/sane.d/abaton.conf
/etc/sane.d/agfafocus.conf
/etc/sane.d/apple.conf
/etc/sane.d/artec.conf
/etc/sane.d/artec_eplus48u.conf
/etc/sane.d/avision.conf
/etc/sane.d/bh.conf
/etc/sane.d/brother.conf
/etc/sane.d/canon.conf
/etc/sane.d/canon630u.conf
/etc/sane.d/canon_pp.conf
/etc/sane.d/coolscan.conf
/etc/sane.d/coolscan2.conf
/etc/sane.d/dc210.conf
/etc/sane.d/dc240.conf
/etc/sane.d/dc25.conf
/etc/sane.d/dll.conf
/etc/sane.d/dmc.conf
/etc/sane.d/epson.conf
/etc/sane.d/fujitsu.conf
/etc/sane.d/genesys.conf
/etc/sane.d/gphoto2.conf
/etc/sane.d/gt68xx.conf
/etc/sane.d/hp.conf
/etc/sane.d/hp4200.conf
/etc/sane.d/hp5400.conf
/etc/sane.d/hpsj5s.conf
/etc/sane.d/ibm.conf
/etc/sane.d/leo.conf
/etc/sane.d/lexmark.conf
/etc/sane.d/ma1509.conf
/etc/sane.d/matsushita.conf
/etc/sane.d/microtek.conf
/etc/sane.d/microtek2.conf
/etc/sane.d/mustek.conf
/etc/sane.d/mustek_pp.conf
/etc/sane.d/mustek_usb.conf
/etc/sane.d/nec.conf
/etc/sane.d/net.conf
/etc/sane.d/pie.conf
/etc/sane.d/plustek.conf
/etc/sane.d/plustek_pp.conf
/etc/sane.d/qcam.conf
/etc/sane.d/ricoh.conf
/etc/sane.d/s9036.conf
/etc/sane.d/saned.conf
/etc/sane.d/sceptre.conf
/etc/sane.d/sharp.conf
/etc/sane.d/sm3840.conf
/etc/sane.d/snapscan.conf
/etc/sane.d/sp15c.conf
/etc/sane.d/st400.conf
/etc/sane.d/tamarack.conf
/etc/sane.d/teco1.conf
/etc/sane.d/teco2.conf
/etc/sane.d/teco3.conf
/etc/sane.d/test.conf
/etc/sane.d/u12.conf
/etc/sane.d/umax.conf
/etc/sane.d/umax1220u.conf
/etc/sane.d/umax_pp.conf
/etc/sane.d/v4l.conf
/usr
/usr/bin
/usr/bin/gamma4scanimage
/usr/bin/sane-config
/usr/bin/sane-find-scanner
/usr/bin/scanimage
/usr/include
/usr/include/sane
/usr/include/sane/sane.h
/usr/include/sane/saneopts.h
/usr/lib
/usr/lib/libsane.la
/usr/lib/libsane.so - libsane.so.1.0.17
/usr/lib/libsane.so.1 - libsane.so.1.0.17
/usr/lib/libsane.so.1.0.17
/usr/lib/sane
/usr/lib/sane/libsane-abaton.la
/usr/lib/sane/libsane-abaton.so - libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-abaton.so.1 - libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-agfafocus.la
/usr/lib/sane/libsane-agfafocus.so - libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-agfafocus.so.1 - libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-apple.la
/usr/lib/sane/libsane-apple.so - libsane-apple.so.1.0.17
/usr/lib/sane/libsane-apple.so.1 - libsane-apple.so.1.0.17
/usr/lib/sane/libsane-apple.so.1.0.17
/usr/lib/sane/libsane-artec.la
/usr/lib/sane/libsane-artec.so - libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec.so.1 - libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.la
/usr/lib/sane/libsane-artec_eplus48u.so - libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.so.1 - 
libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-as6e.la
/usr/lib/sane/libsane-as6e.so - libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-as6e.so.1 - libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-avision.la
/usr/lib/sane/libsane-avision.so - libsane-avision.so.1.0.17
/usr/lib/sane/libsane-avision.so.1 

[sane-devel] Recent hardware w/good sane suport, 300dpi, fast ADF, USB2? (alternatives for Fujitsu fi-4020C2)

2006-02-12 Thread Jeff Kowalczyk
I've still not purchased a fast ADF scanner for home-office use. I was
hoping someone might have tried a recent model of a certain class that was
working well for them under sane.

interface: USB-2.0
ADF: 50 sheet or larger,
config: upright, flatbed not desired
speed: = 15  ppm @ 300 dpi 1-bit,
  10  ppm @ 300 dpi 256-grayscale,
  25+ ppm @ 150 dpi 1-bit
intangibles: sane support, good reliability reputation (esp ADF)
price range: USD $500 to $1,100

The best option to date clearly seems to be the Fujitsu fi-4020C2 (fujitsu
backend), and thanks to m. allan noah for his work on the backend for
this, and support information on this list.

Since I've been considering that particular fujitsu for more than a year,
and the fi-4020C2 retail price hasn't come down at all, I think I'm
on the downslope of the unit's relative value curve. It sounds like
a solid unit, but I was hoping the price would ease a bit over time.
Fujitsu must have replacement models just around the corner. Whether or
not they'll be readily supported under sane is another question...

Any tips on newer models to look at, or ones that are due out in the next
few months would be greatly appreciated. Any HP or Epson units that have
impressed lately?

If there's any recent developments on the fujitsu backend as pertains to
the fi-4020C2, especially the scan modes I mentioned, I'd certainly like
to hear about them, too. Thanks.



[sane-devel] Re: Recent hardware w/good sane suport, 300dpi, fast ADF, USB2? (alternatives for Fujitsu fi-4020C2)

2006-02-12 Thread Jeff Kowalczyk
Of course I meant fi-4120C2.

And does anyone have any (sane) experience with the newer fi-5120C? Thanks.

http://www.fcpa.fujitsu.com/products/scanners/fi-5120C/specifications.html




[sane-devel] Re: Recent hardware w/good sane suport, 300dpi, fast ADF, USB2? (alternatives for Fujitsu fi-4120C2)

2006-02-12 Thread Jeff Kowalczyk
Horst Herb wrote:
 interface: USB-2.0
 ADF: 50 sheet or larger,
 config: upright, flatbed not desired
 speed: = 15 ?ppm @ 300 dpi 1-bit,
 ? ? ? ? ? 10 ?ppm @ 300 dpi 256-grayscale,
 ? ? ? ? ? 25+ ppm @ 150 dpi 1-bit 
 intangibles: sane support, good reliability reputation
 (esp ADF)
 price range: USD $500 to $1,100
 
 I am most impressed with my Avision AV220

Thanks for the tip, I wouldn't have thought to look at an Avision. I'm
going to look at this one closely based on the roughly 40% lower price and
good driver support you cite.

Their main scanner web page has broken image links, and the manual is also
missing from the linked ftp site. I would like to read up on the specs and
performance under the scan modes I listed;

AV220.pdf

 The SANE driver works very well; I bought the scanner, plugged it in,
 and after adjusting permissions (would only let me scan as root) it just
 works - and I mean every single feature the scanner has to offer works
 well under SANE.

That's good news. Do you use the backend at:
http://www.exactcode.de/oss/avision/index.html

or the curious binary (.so) at the avision ftp site?

01-19-06  01:43PM 31259 libsane_av220.{D} 
01-19-06  01:43PM 31259 libsane_av220.zip 
01-19-06  01:43PM153879 libsane_fb2000.{D} 
01-19-06  01:43PM153879 libsane_fb2000.zip 
01-19-06  01:43PM 31261 libsane_fb6000.{D} 
01-19-06  01:43PM 31261 libsane_fb6000.zip 
01-18-06  01:58PM 34315 libsane_fb6000U.zip 
01-17-06  08:44PM 30632 libsane-av220.{D} 
01-16-06  08:49PM 95156 libsane-av220.so.{D}

 Only problem I have is I still haven't worked out how to pull the second
 image from a Duplex scan programmatically from Python, but works fine
 using e.g. XSane

Awesome, driving scanners with Python! This is exactly where I'm headed,
too ;) Are you using sane.py and sane.so included in PIL-1.1.5?



[sane-devel] Fujitsu Fi-5110EOX2 USB with current Fujitsu SANE backend?

2005-07-06 Thread Jeff Kowalczyk
Has anyone had occasion to use the following Fujitsu scanner with the current
SANE fujitsu back-end?

Fujitsu Fi-5110EOX2 600 x 600dpi USB Interface Sheet Fed/Document Fed Scanner

I'd been planning on a Fujitsu Fi-4120C2, which costs more than twice as much.
I presume that despite similar external appearances, the two Fujitsu scanners
have completely different internal mechanisms and electronics (hence different
SANE compatibility characteristics). The Fi-4120C2 is most likely worth the
extra money.

Still, if the Fi-5110EOX2 works with the current fujitsu back end equally well,
I'd like to get a couple of these cheaper units for lower volume users. Thanks.




Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/



[sane-devel] Re: Need recomendation linux/sane compat scanner w/fast 2bit/greyscale ADF

2005-04-21 Thread Jeff Kowalczyk
m. allan noah wrote:
 i only know fujitsu models, so i am sure there are others, but the
 fi-4120C2 is pretty fast, and the sane support is ok for binary and
 grayscale.

Thanks for the reply. The fujitsu models were my leading candidates.
Thanks for your work on the SANE support for these.

The fi-4120c2 is particularly attractive due to the USB 2.0 interface.
I'll be using this unit with my laptop from time to time, and prefer to
connect it to both the server and laptop with USB 2.0

Question: Does the fi-4120c2 take advantage of its 600dpi optical
resolution to scan 300dpi (and perhaps even 600dpi) at the full 25ppm
speed? The data sheets only list comparison specs of 150dpi and 200dpi at
25ppm, there's no mention of the higher resolutions' effective speed.

 the usb issues seem more linux kernel dependent than sane. 2.4 with
 libusb has worked better than the early 2.6 kernels, but the recent
 2.6.10+ seems to be fine (finally, some 'stable' series this is :)

I currently run Gentoo Linux with a kernel of 2.6.11, libusb-0.1.10a,
udev-056 and HAL. So I should be alright to use the USB greyscale/1bit ADF
combination?

Thanks.




[sane-devel] Re: Need recomendation linux/sane compat scanner w/fast 2bit/greyscale ADF

2005-04-21 Thread Jeff Kowalczyk
Before I settle on the Fujitsu fi-4120C2, would the author of the AV220
support (René Rebe) care to weigh in on how well the Kodak i60 and i80
have been working with his avision SANE driver? (Or anyone that has used
the i60 or i80 with SANE, for that matter)

- 1bit and grayscale
- 300dpi
- USB 2.0 interface
- ADF




[sane-devel] Re: Need recomendation linux/sane compat scanner w/fast 2bit/greyscale ADF

2005-04-21 Thread Jeff Kowalczyk
m. allan noah wrote:
 the scanner speed on the 4120C was limited by the speed of the bus. to
 be honest, i only go up to 200dpi, so i have not tested the speed of the
 4120C2 at higher resolutions.

I just checked with Fujitsu's online support (should have done that
first), and they stated that the FI-4120C2 achieves the following rates
over SCSI and USB 2.0:

150dpi: 25 ppm
200dpi: 25 ppm
300dpi: 15 ppm
600dpi:  3 ppm

quite a notable slowdown, but I think anything in this price range will be
similarly affected. It may just be a physical limit of the optical
technology, where high resolutions can't be satisfactorily resolved if the
paper is moving too quickly through the ADF. Thanks.




[sane-devel] Need recomendation linux/sane compat scanner w/fast 2bit/greyscale ADF

2005-04-17 Thread Jeff Kowalczyk
I'm looking for an ADF-capable scanner to do fast scanning. Has anyone got
recommendations for models that meet most of the following criteria?

 - 1-bit and greyscale modes are the only ones that matter here

 - 300 dpi, and able to do 300dpi at high speed

 - ADF (or ADF option) that has good paper-feed reliability

 - ADF with at least 50 sheet capacity

 - USB 2.0 or Firewire interface, preferred over SCSI-only units

 - Linux SANE compatibility exists today.

 - Limited feature/modes support OK, only  need the 300dpi bw,grey

Hoping for something in the $400-$900 range (new, including ADF),
depending on how fast it is for this type of scanning.

I would also try a good used model if recommended, but most well-supported
older ones seem to be SCSI units.

Thanks if anyone has any recommendations.




[sane-devel] Need recomendation linux/sane compat scanner w/ fast 2bit/greys

2004-04-05 Thread Jeff Kowalczyk
m. allan noah wrote:
 the 4120/4220 on the other hand, are absolutely wonderful, heavy, small, 
 welbuilt machines, with excellent paper feeds, even for heavy stock. we 
 now have quite a few of them in the field, each scanning a few hundred 
 sheets per day, and are quite happy with the performance. they are a bit 
 above consumer level, at ~900 bucks a pop.

Taking a closer look at the 4120C, and with your helpful clue about the
estimated MSRP, that model looks like a good bet. The 4220C is odd-looking,
almost like two complete scanners sharing only electronics. I imagine that
one's much more than $900?

A few questions:
- The hardware JPEG can be disabled, right? Since I'm only looking to save
1-bit and greyscale PNG's, I wouldn't want to introduce JPEG waviness into
those formats.

- Is USB 1.1 interface working in the current or near-term sane driver, and is
USB 1.1 fast enough to push the images across at 25ppm 200dpi? Is that speed
dependent on JPEG-compressed images?

- The rated 200dpi 25ppm speed sounds great. What can I expect at 300dpi
greyscale over USB?

Thanks.

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



[sane-devel] Need recomendation linux/sane compat scanner w/ fast 2bit/greys

2004-04-05 Thread Jeff Kowalczyk
Has your organization had any experience with the 4530C? This small monster has
great specs (35-47ppm, 100-sheet large-format ADF, USB 2.0), although its sure
to cost well over two kilobucks even if you found a discount reseller. If the
quality is an extrapolation of what you've found in the 4120C, that's a good
machine if one has the need.

It would be nice to know that it works at least as well with SANE as the 4120C,
just for what-ifs.

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



[sane-devel] Need recomendation linux/sane compat scanner w/ fast 2bit/greyscale ADF

2004-03-27 Thread Jeff Kowalczyk
After a long while of doing without, I may suddenly need a good scanner for a
collection of documents. I would like to find something with the following
characteristics, if anyone has tried a model that fits the bill.

a) Linux and SANE compatibility exists today. Limited feature support OK.

b) ADF (or ADF option) that has good paper-feed reliability

c) USB (2.0/highspeed) or Firewire interface

d) I really only care about fast b/w and greyscale 300dpi scanning through the
ADF, controlled by the command-line interface. Other scanning concerns are very
minimal, I could use a more common scanner for that.

Hoping for something in the $400-$800 range (new, including ADF), depending on
how fast it is for this type of scanning. I'd also be interested in SANE-ready
models with very high scanning speeds that happen to cost a bit more
($1000-$2000). I really wish the HP 5550c had SANE compatibility, that model
seems perfect otherwise.

Thanks if anyone has any recommendations.

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html