Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-30 Thread Henning Meier-Geinitz
Hi, On Sun, Oct 27, 2002 at 03:24:18PM +, Major A wrote: > > But as $(prefix)/etc is default, a different setting means, that the > > user used --sysconfdir explicitly. Why should we warn about that? > > Maybe the user likes to have it in /opt/settings/sane.d/? > > > > We could print somethin

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-30 Thread Major A
> I need some help from sh/bash experts: How can I print the paths and > have all the variables expanded/substituted? Example: > echo "Configuration files: " ${sysconfdir} > results in: > Configuration files: ${prefix}/etc > I would like to see "/usr/local/etc". Grrr, I've had that problem be

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-27 Thread Henning Meier-Geinitz
Hi, On Sun, Oct 27, 2002 at 01:25:56PM +, Major A wrote: > > I have added a test for sysconfdir = /usr/etc in configure. I think > > that's the most common mistake. Other directories like > > prefix=/opt/sane with sysconfdir=/opt/sane/etc would be intentional, > > so no warning is printed in t

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-27 Thread Major A
> But as $(prefix)/etc is default, a different setting means, that the > user used --sysconfdir explicitly. Why should we warn about that? > Maybe the user likes to have it in /opt/settings/sane.d/? > > We could print something like: > Installation directories: > libraries: ... > binaries: .../

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-27 Thread Henning Meier-Geinitz
Hi, On Sat, Oct 26, 2002 at 06:50:10AM -0400, Karl Heinz Kremer wrote: > ... and in this case it would not even have worked: The problem here > was that the user had just the configuration files in two places (not > two complete Sane installations). The "real" configuratio files were > in /usr/etc

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-27 Thread Major A
> I have added a test for sysconfdir = /usr/etc in configure. I think > that's the most common mistake. Other directories like > prefix=/opt/sane with sysconfdir=/opt/sane/etc would be intentional, > so no warning is printed in this case. Very good, but I have another idea that may be worth consid

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-26 Thread Henning Meier-Geinitz
Hi, On Fri, Oct 25, 2002 at 06:41:37PM -0500, Frank Zago wrote: > Since this is a recurrent issue, sane-find-scanner and maybe (x)scanimage, > could test for the presence of 2 sane installation and issue a warning. > > Testing for the presence of libsane.so in 2 or more directories should > suf

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-26 Thread Karl Heinz Kremer
--azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 26, 2002 at 11:07:18AM +0200, Henning Meier-Geinitz wrote: > Hi, >=20 > On Fri, Oct 25, 2002 at 06:41:37PM -0500, Frank Zago wrote: > > Since this is a

[sane-devel] epson scanner driving me crazy

2002-10-26 Thread Emilio Fesocchi
-- On Fri, 25 Oct 2002 19:32:24 Karl Heinz Kremer wrote: >On Fri, Oct 25, 2002 at 11:23:09PM +0100, Emilio Fesocchi wrote: >> [epson] sane_init, >#usb /dev/usb/scanner0< >> [epson] sane_get_devices() > >This is your problem: The config file does not contain a valid entry >for a USB scanner.

[sane-devel] epson scanner driving me crazy

2002-10-26 Thread Till Kamppeter
Emilio Fesocchi wrote: > [epson] sane_init: sane-backends 1.0.9 > [epson] sane_init, ># epson.conf< > [epson] sane_init, >#< > [epson] sane_init, ># here are some examples for how to configure the EPSON > backend< > [epson] sane_init, >#< > [epson] sane_init, ># SCSI scanner:< > [epson] sane_init,

[sane-devel] epson scanner driving me crazy

2002-10-25 Thread Emilio Fesocchi
-- On Fri, 25 Oct 2002 12:24:34 khk wrote: > >This is wrong! The major device number 180 is used for the whole >USB subsystem, and not just for the scanner. OK! Line alias char-major-180 scanner has been ripped off. >Edit the file dll.conf and make sure that the "epson" entry is configured.

[sane-devel] epson scanner driving me crazy

2002-10-25 Thread Karl Heinz Kremer
--5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2002 at 11:23:09PM +0100, Emilio Fesocchi wrote: [ ... ] > [sanei_debug] Setting debug level of epson to 128. > [epson] sane_init: sane-backends 1.0

Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

2002-10-25 Thread Frank Zago
[...] > If you think > you already did this, then you have two versions of Sane (or at > least of the config files) installed. The fact that you think you > commented out the v4l entry also suggests this: If this were the > case, you would not see the v4l entries in your log. > > Please check that

[sane-devel] epson scanner driving me crazy

2002-10-25 Thread Emilio Fesocchi
Hi everybody! I'm trying to reinstall SANE (hd failure! @#&%!!!) for my Epson Perfection 640U (usb) but this time I'm facing a little problem, everytime I try "scanimage -L" I get: device `v4l:/dev/video0' is a Noname BT878(Hauppauge (bt878)) virtual device Here's some more info: cat /proc/bu

[sane-devel] epson scanner driving me crazy

2002-10-25 Thread k...@khk.net
> Hi everybody! I'm trying to reinstall SANE (hd failure! @#&%!!!) for my > Epson Perfection 640U (usb) but this time I'm facing a little problem, > everytime I try "scanimage -L" I get: [ ... ] > > /etc/modules.conf: > > alias parport_lowlevel parport_pc > alias eth0 3c59x > alias char-major-81 b