[sane-devel] The never ending hpusbscsi storry

2005-03-05 Thread Rene Rebe
Hi,

Matthias Kindtner wrote:

 scanimage -L
 scanimage: symbol lookup error: /usr/lib/sane/libsane-avision.so.1: undefined 
 symbol: sanei_usb_set_timeout

With the latest backed you need to update include/sane/sanei_usb.h and 
sanei/sanei_usb.c from my SVN repository (will go into SANE CVS in the 
next day).

 device `avision:/dev/sg0' is a Minolta Dimage Scan Dual II film scanner

Don't ever use hpusbscsi. I though I already told all vedors it is that 
broken that they should never ever ship it. It is the first thing that 
will be removed in Linux 2.7.

If it would be me it would be removed from _all kernels right now_ ...

 Mar  4 23:40:51 runningdug scsi: Device offlined - not ready after error 
 recovery: host 1 channel 0 id 0 lun 0
 Mar  4 23:40:51 runningdug scsi1 (0:0): rejecting I/O to offline device
 Mar  4 23:40:51 runningdug scsi1 (0:0): rejecting I/O to offline device
 Mar  4 23:40:51 runningdug scsi1 (0:0): rejecting I/O to offline device
 
 A simple plug-out plug-in of the usb solve the problem and I can start once
 again

... hpusbscsi as it lifes ...

 I hope there are all messages you need in the mail, otherwise I send it to.
 
 You have any Idea for me??

find /lib/modules -name hpusbscsi.*o | xargs rm -fv

(or so - assuming no spaces in filenames ...)

and build the backend with the updated sanei_usb* files. Or 
alternatively use a avision backed that is two weeks old (man svn) which 
does not need the updated sanei functionality.

Yours,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
 http://www.exactcode.de/ | http://www.t2-project.org/
 +49 (0)30  255 897 45




[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread gerard klaver
On Wed, 2005-03-02 at 16:03 +0100, Jens Gulden wrote:
 Hello,
 
 unpaper removes black edges and other photocopy artefacts from scanned 
 images. It also deskews book pages (auto-rotates them to a straight 
 alignment), and centers them on the sheet.
 Old photocopies can become well-readable PDFs again.
 
 Available at http://unpaper.berlios.de/.
 
 Hope it's useful. Enjoy,
 Jens
 
  From the Readme:
 --
 unpaper is a post-processing tool for scanned sheets of paper, 
 especially for book pages that have been scanned from previously created 
 photocopies.
 The main purpose is to make scanned book pages better readable on screen
 after conversion to PDF. Additionally, unpaper might be useful to 
 enhance the quality of scanned pages before performing optical character 
 recognition (OCR).
 
 unpaper tries to clean scanned images by removing dark edges that 
 appeared through scanning or copying on areas outside the actual page 
 content (e.g. dark areas between the left-hand-side and the 
 right-hand-side of a double-sided book-page scan).
 The program also tries to detect disaligned centering and rotation of 
 pages and will automatically straighten each page by rotating it to the 
 correct angle. This is called deskewing.
 Note that the automatic processing will sometimes fail. It is always a 
 good idea to manually control the results of unpaper and adjust the 
 parameter settings according to the requirements of the input. Each 
 processing step can also be disabled individually for each sheet.
 
 Input and output files can be in either .pbm or .pgm format, as also 
 used by the Linux scanning tools scanimage and scanadf.
 Conversion to PDF can e.g. be achieved with the Linux tools pgm2tiff, 
 tiffcp and tiff2pdf.
 --
 
 (It's a small program with 1 single source file only. Almost too small 
 for being an open-source project on its own. If you have ideas to 
 integrate it into other Linux scanning/graphics projects instead, please 
 let me know.)
 
Hello Jens,

My proposal/idea would be te place it in a sane-tools package.

This would be a new package with for the time being only the unpaper
program.

Also if there are other tools related to scanners or webcams the have
a place to be kept.

For example the lprof package see:
gkall.hobby.nl/sane-lprof/sane-lprof.html 
 
And maybe a place to keep the icc profiles from scanners?

Other packages?

In this way also the package can maybe be used as a plug-in for some
scanner frontend programs?

This is the first email about this proposal on the SANE mailinglist
so if anybody has comments/ideas?.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread Oliver Rauch
Am Sam, 2005-03-05 um 15.50 schrieb gerard klaver:
 On Wed, 2005-03-02 at 16:03 +0100, Jens Gulden wrote:
  Hello,
 =20
  unpaper removes black edges and other photocopy artefacts from scanne=
d=20
  images. It also deskews book pages (auto-rotates them to a straight=20
  alignment), and centers them on the sheet.
  Old photocopies can become well-readable PDFs again.
 =20
 Hello Jens,
=20
 My proposal/idea would be te place it in a sane-tools package.

Hello.

It only makes sense to do this when these packages have no other
homepages. I think it is better when a package has it=C2=B4s own home and=
 we
set a link to such tools, then we can be sure that we don=C2=B4t handle o=
ld
versions.

Oliver




[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread gerard klaver
On Sat, 2005-03-05 at 16:18 +0100, Oliver Rauch wrote:
 Am Sam, 2005-03-05 um 15.50 schrieb gerard klaver:
  On Wed, 2005-03-02 at 16:03 +0100, Jens Gulden wrote:
   Hello,
  =20
   unpaper removes black edges and other photocopy artefacts from scan=
ned=20
   images. It also deskews book pages (auto-rotates them to a straight=
=20
   alignment), and centers them on the sheet.
   Old photocopies can become well-readable PDFs again.
  =20
  Hello Jens,
 =20
  My proposal/idea would be te place it in a sane-tools package.
=20
 Hello.
=20
 It only makes sense to do this when these packages have no other
 homepages. I think it is better when a package has it=B4s own home and =
we
 set a link to such tools, then we can be sure that we don=B4t handle ol=
d
 versions.
=20
 Oliver
=20
=20

I had the idea that Jens (the developer of the unpaper program) is also
the maintainer for unpaper in SANE CVS. So SANE CVS contains the new
version.

--=20

m.vr.gr.
Gerard Klaver




[sane-devel] Re: The never ending hpusbscsi storry

2005-03-05 Thread Oliver Neukum
Am Samstag, 5. M=E4rz 2005 00:28 schrieb Rene Rebe:
 Don't ever use hpusbscsi. I though I already told all vedors it is that=20
 broken that they should never ever ship it. It is the first thing that=20
 will be removed in Linux 2.7.
=20
 If it would be me it would be removed from _all kernels right now_ ...

It shall be. A patch to do that is in the queue. The other users have
gone away.

Regards
Oliver



[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread Johannes Berg
On Sa, 2005-03-05 at 16:31 +0100, gerard klaver wrote:
 I had the idea that Jens (the developer of the unpaper program) is also
 the maintainer for unpaper in SANE CVS. So SANE CVS contains the new
 version.

Incorporating software like that is almost always a bad idea -- it ties
release management and other things too closely together, even if the
sources are maintained in a single place.
I agree with Oliver in that it'd be nice to have a link to this, and
debian (and other systems) could adopt a sane-tools meta-package that
would depend on the extra tools.

johannes