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

Martin martinh at ix.netcom.com
Thu Mar 20 13:21:58 UTC 2008


I tried $ ldconfig
but still getting "invalid argument" error.

Thanks for taking the time to help resolve this for me.
I'm open to more ideas, thanks.
Martin

m. allan noah wrote:
> try /usr/local/lib instead. and you might have to run ldconfig afterwards
>
> allan
>
> On 3/20/08, Martin <martinh at ix.netcom.com> wrote:
>   
>> I changed the file /etc/ld.so.conf , to look at "/usr/local/lib/sane"
>>  /usr/kerberos/lib
>>  /usr/X11R6/lib
>>  /usr/local/lib/sane
>>  /usr/lib/qt-3.1/lib
>>
>>  but the command $  xsane gt68xx:/dev/usb/scanner0
>>  still errors out with >> "Failed to open device
>>
>> gt68xx:/dev/usb/scanner0:  Invalid argument."
>>
>>
>> m. allan noah wrote:
>>  > 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>
>>  >>
>>  >>
>>
>>     
>>>> 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.
>>  >>
>>  >>
>>
>>     
>>>>  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.
>>  >>  >>
>>  >>
>>
>>     
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080320/4c26f6d8/attachment.htm 


More information about the sane-devel mailing list