<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I bet you have two sets of config files. Sane is using the one in /usr/local/etc. </div><div><br></div><div>allan<br></div><div><br>On Sep 15, 2014, at 11:50 PM, Mark Drew <<a href="mailto:drewmark@gmail.com">drewmark@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Allan,<div><br></div><div>Yay!  I got the debug log you asked for (attached).  Looking through it, the problem seemed to be:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace">...<br>[epjitsu] do_cmd: finish<br>[epjitsu] load_fw: failed to lseek file /usr/local/share/sane/epjitsu/1300i_0D12.nal<br>[epjitsu] destroy: start<br>...</font></blockquote><div><br></div><div>Sure enough, the file referenced in the log doesn't exist, but I knew I'd put it there.  Turns out it was in /usr/share, not /usr/local/share.  The thing is, my /etc/sane.d/epjitsu.conf has this in it:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace"># Fujitsu S1300i<br></font><font face="courier new, monospace">firmware /usr/share/sane/epjitsu/1300i_0D12.nal<br></font><font face="courier new, monospace">usb 0x04c5 0x128d</font></blockquote></div><div><br></div><div>So, it looks like scanimage -L isn't honoring the setting in my config file.  My config file said it was in /usr/share/..., but it was looking for it in /usr/local/share/...  Or maybe, might it be using a different config file somewhere else since I built/installed it from source?</div><div><br></div><div>Anyway, I soft-linked /usr/local/share/sane/epjitsu/1300i_0D12.nal to /usr/share/sane/epjitsu/1300i_0D12.nal, and voila:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace">[mark@PotableLinux ~]$ scanimage -L<br>device `epjitsu:libusb:002:009' is a FUJITSU ScanSnap S1300i scanner</font></blockquote></div><div><br></div><div>I can scan now!</div><div><br></div><div>Thanks for your help and your time working on this driver!!!  I hope this information helps you continue to improve the driver (assuming you're working on it).</div><div><br></div><div>Mark</div><div class="gmail_extra">
<br><div class="gmail_quote">On Mon, Sep 15, 2014 at 8:37 AM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Lets get a debug log:<br>
<br>
SANE_DEBUG_EPJITSU=15 scanimage -L 2>s1300i.log<br>
<br>
then send me that log file.<br>
<br>
allan<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Sep 14, 2014 at 1:29 PM, Mark Drew <<a href="mailto:drewmark@gmail.com">drewmark@gmail.com</a>> wrote:<br>
> Allan,<br>
><br>
> Thanks for the fast response, but I'd already done that:<br>
><br>
>> [mark@PotableLinux ~]$ ll /usr/share/sane/epjitsu/<br>
>> total 68K<br>
>> -rw-rw-r--. 1 root root 65K Sep 13 22:06 1300i_0D12.nal<br>
><br>
><br>
> And from my /etc/sane.d/epjitsu.conf:<br>
><br>
>> # Fujitsu S1300i<br>
>> firmware /usr/share/sane/epjitsu/1300i_0D12.nal<br>
>> usb 0x04c5 0x128d<br>
><br>
><br>
> Can you think of anything else I might be missing?<br>
><br>
> Thanks!<br>
> Mark<br>
><br>
> On Sun, Sep 14, 2014 at 6:08 AM, M. Allan Noah <<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>> wrote:<br>
>><br>
>> You need to extract the firmware from the windows driver and put it where<br>
>> sane can reach it. See /etc/sane.d/epjitsu.conf<br>
>><br>
>> allan<br>
>><br>
>> On Sep 14, 2014, at 3:04 AM, Mark Drew <<a href="mailto:drewmark@gmail.com">drewmark@gmail.com</a>> wrote:<br>
>><br>
>> All,<br>
>><br>
>> I downloaded the latest git snapshot of the sane backend (1.0.25git) and<br>
>> built it from source according to the instructions in README and<br>
>> README.linux.  Everything went smoothly until I got to the point of trying<br>
>> 'scanimage -L'.  What I don't understand (and would like help with) is why<br>
>> sane-find-scanner will find my scanner (with or without root), but scanimage<br>
>> -L will not (with or without root).<br>
>><br>
>> When I was using the 1.0.23 distribution from yum repos, I was able to get<br>
>> the scanner recognized by both of these commands (but the my scanner wasn't<br>
>> supported at all by that version).  Now I can only get sane-find-scanner to<br>
>> recognize my scanner.<br>
>><br>
>>> [mark@PotableLinux ~]$ uname -a<br>
>>> Linux PotableLinux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC<br>
>>> 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
>>> [mark@PotableLinux ~]$ cat /etc/redhat-release<br>
>>> Fedora release 17 (Beefy Miracle)<br>
>><br>
>><br>
>> Here's the output from sane-find-scanner:<br>
>><br>
>>> [mark@PotableLinux ~]$ sane-find-scanner -v<br>
>>> This is sane-find-scanner from sane-backends 1.0.25git<br>
>>><br>
>>>  ...<br>
>>><br>
>>> checking /dev/usbscanner14... failed to open (Invalid argument)<br>
>>> checking /dev/usbscanner15... failed to open (Invalid argument)<br>
>>> found USB scanner (vendor=0x046d, product=0x08ae) at libusb:001:005<br>
>>> found USB scanner (vendor=0x04c5 [FUJITSU], product=0x128d [ScanSnap<br>
>>> S1300i]) at libusb:002:007<br>
>>>   # Your USB scanner was (probably) detected. It may or may not be<br>
>>> supported by<br>
>>>   # SANE. Try scanimage -L and read the backend's manpage.<br>
>>><br>
>>>   # Not checking for parallel port scanners.<br>
>>><br>
>>>   # Most Scanners connected to the parallel port or other proprietary<br>
>>> ports<br>
>>>   # can't be detected by this program.<br>
>>><br>
>>>   # You may want to run this program as root to find all devices. Once<br>
>>> you<br>
>>>   # found the scanner devices, be sure to adjust access permissions as<br>
>>>   # necessary.<br>
>>> done<br>
>><br>
>><br>
>> And here's scanimage:<br>
>><br>
>>> [mark@PotableLinux ~]$ scanimage -V<br>
>>> scanimage (sane-backends) 1.0.25git; backend version 1.0.25<br>
>>> [mark@PotableLinux ~]$ scanimage -L<br>
>>><br>
>>> No scanners were identified. If you were expecting something different,<br>
>>> check that the scanner is plugged in, turned on and detected by the<br>
>>> sane-find-scanner tool (if appropriate). Please read the documentation<br>
>>> which came with this software (README, FAQ, manpages).<br>
>>> [mark@PotableLinux ~]$ sudo scanimage -L<br>
>>><br>
>>> No scanners were identified. If you were expecting something different,<br>
>>> check that the scanner is plugged in, turned on and detected by the<br>
>>> sane-find-scanner tool (if appropriate). Please read the documentation<br>
>>> which came with this software (README, FAQ, manpages).<br>
>><br>
>><br>
>> Any help would be greatly appreciated!<br>
>><br>
>> Thanks!<br>
>> Mark<br>
>><br>
>><br>
>> --<br>
>> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
>> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>>             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
"well, I stand up next to a mountain- and I chop it down with the edge<br>
of my hand"<br>
</font></span></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><s1300i.log></div></blockquote></body></html>