[sane-devel] Redhat 9 mustek 1200 xsane invalid argument

m. allan noah kitno455 at gmail.com
Thu Mar 20 02:14:07 UTC 2008


i bet xsane is using the system copy, and scanimage is using the
replacement. redhat does not put /usr/local/lib in /etc/ld.so.conf. so
either do that, or even better, reconfigure to overwrite the old copy,
and reinstall.

allan

On 3/19/08, Martin <martinh at ix.netcom.com> wrote:
>
>  Yes, I have,
>  /usr/lib/sane/
>  and
>  /usr/local/lib/sane/  <this being the most recently installed Mar 17 2008>
>
>
>
>  m. allan noah wrote:
>  no, that looks like the right command. is there any chance you have
> two copies of sane installed? one in /usr/lib, and the other in
> /usr/local/lib?
>
> allan
>
> On 3/19/08, Martin <martinh at ix.netcom.com> wrote:
>
>
>  I tried , SANE_DEBUG_GT68XX=4 xsane 2> mt1200.log
>  But it does not produce any output.
>  Do I need to ./configure something with the debug switch enabled?
>
>  The version of xsane I have is - could this be a problem?
>  --------------------------------------
>  $ xsane --version
>  xsane-0.89 (c) 1998-2002 Oliver Rauch
>  Email: Oliver.Rauch at xsane.org
>  package xsane-0.89
>  compiled with GTK-2.2.0
>  without GIMP support
>  --------------------------------------
>  Thanks.
>
>
>  m. allan noah wrote:
>  > SANE_DEBUG_GT68XX=4 xsane 2> mt1200.log
>  >
>  > then send mt1200.log to the list. you might also want to try removing
>  > the .sane directory from your homedir.
>  >
>  > allan
>  >
>  > On Wed, Mar 19, 2008 at 5:39 PM, Martin <martinh at ix.netcom.com> wrote:
>  >
>  >> Versions used:
>  >> /usr/local/bin/scanimage --version
>  >> scanimage (sane-backends) 1.1.0-cvs; backend version 1.1.0
>  >>
>  >> gt68xx-backend-only-1.0-84
>  >>
>  >> How do I generate a debug log?
>  >>
>  >> Thanks.
>  >> Martin
>  >>
>  >>
>
>
>
>
>  On Tue, Mar 18, 2008 at 11:44 PM, Martin <martinh at ix.netcom.com> wrote:
>
>  >>
>  >> Hello,
>  >> I can get my mustek 1200 scanner working using,
>  >>
>  >> As a normal user I can scan it:
>  >> $ /usr/local/bin/scanimage
> --device-name=gt68xx:/dev/usb/scanner0 --mode
>  >> Color --resolution 600 > aaa.pnm
>  >>
>  >> I can open up the file in Gimp and save it as aaa.jpg file format:
>  >> $ gimp aaa.pnm
>  >>
>  >> But...
>  >> when trying to execute the xsane command,
>  >>
>  >> $ xsane gt68xx:/dev/usb/scanner0
>  >> or
>  >> $ xsane
>  >>
>  >> I get error message, >> Failed to open device gt68xx:/dev/usb/scanner0:
>  >> Invalid argument.
>  >>
>  >> Any ideas would be greatly appreciated, thanks.
>  >>
>  >>
>  >
>
>
>
>
>


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list