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

Martin martinh at ix.netcom.com
Thu Mar 20 16:28:47 UTC 2008


Hi Allan, here the output from this, SANE_DEBUG_DLL=4 xsane 2>dll.log
I looked at it quickly and it is not looking at the 
"/usr/local/lib/sane" even after executing ldconfig.
The same either as root or normal user.
Thanks, Martin

m. allan noah wrote:
> SANE_DEBUG_DLL=4 xsane 2>dll.log
>
> dll.log should show which libraries it is loading.
>
> allan
>
> On 3/20/08, Martin <martinh at ix.netcom.com> wrote:
>   
>>  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/8b275b25/attachment-0001.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dll.log
Url: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080320/8b275b25/attachment-0001.txt 


More information about the sane-devel mailing list