<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Am 12.02.2011 16:10, schrieb Thorsten Stumpf:
    <blockquote cite="mid:201102121610.49041.thorsten2586@gmx.de"
      type="cite">
      <pre wrap="">Hello,

genesys.log: run of xsane w/ usb traces

thx for your good work!

Regards
Thorsten
Am Freitag 11 Februar 2011, um 06:58:30 schrieb stef:
</pre>
      <blockquote type="cite">
        <pre wrap="">Le Thursday 10 February 2011 23:07:05 Sebastian Reinhardt, vous avez &eacute;crit
: ....

</pre>
        <blockquote type="cite">
          <pre wrap="">-------------------------------------------------------------------------
-- ----------------------------- Changing directory to:

SNR@Dorsy1:~/Downloads/Sane/sane-backends-git20110209/backend&gt;

Then, as user:

SNR@Dorsy1:~/Downloads/Sane/sane-backends-git20110209/backend&gt;
./run-genesys.sh

 =&gt; No scanner found.

-----------------------------------
SNR@Dorsy1:~/Downloads/Sane/sane-backends-git20110209/backend&gt; cat
genesys.log
[sanei_debug] Setting debug level of genesys to 255.
[genesys] SANE Genesys backend version 1.0 build 63 from sane-backends
1.0.22git
[genesys] sane_init: authorize != null
[genesys] sane_init: little endian machine
[genesys] probe_genesys_devices: start
[genesys] probe_genesys_devices: exit
[genesys] sane_init: exit
[genesys] sane_get_devices: start: local_only = false
[genesys] probe_genesys_devices: start
[genesys] probe_genesys_devices: exit
[genesys] sane_get_devices: exit
[genesys] sane_exit: start
[genesys] sane_exit: exit

-------------------------------------------------------------------------
-- ----------------------------- Now, root:
-----------------------------------
SNR@Dorsy1:~/Downloads/Sane/sane-backends-git20110209/backend&gt; su
Passwort:
Dorsy1:/mnt/lvm/homes/SNR/Downloads/Sane/sane-backends-git20110209/backen
d # ./run-genesys.sh
Dorsy1:/mnt/lvm/homes/SNR/Downloads/Sane/sane-backends-git20110209/backen
d # cat genesys.log
[sanei_debug] Setting debug level of genesys to 255.
[genesys] SANE Genesys backend version 1.0 build 63 from sane-backends
1.0.22git
[genesys] sane_init: authorize != null
[genesys] sane_init: little endian machine
[genesys] probe_genesys_devices: start
[genesys] probe_genesys_devices: exit
[genesys] sane_init: exit
[genesys] sane_get_devices: start: local_only = false
[genesys] probe_genesys_devices: start
[genesys] probe_genesys_devices: exit
[genesys] sane_get_devices: exit
[genesys] sane_exit: start
[genesys] sane_exit: exit

-------------------------------------------------------------------------
-- -----------------------------

That's it, so far. One difference between root or non-root is, that a
additional small window is shown for one millisecond (can not see what
it is) before the window with "no scanner found" is popping up!

Compilation without error on this system:

OS: openSuSE 11.3 (64bit)
Kernel (uname -a): Linux Dorsy1.SNR 2.6.37-desktop #1 SMP PREEMPT
2011-01-11 16:25:30 +0100 x86_64 x86_64 x86_64 GNU/Linux

Do Youn need more information or do I have to try it on an different
system (I can do tests on some of our pc's in company, if I do not need
to install sane-git! =&gt; differnet kernels available)
</pre>
        </blockquote>
        <pre wrap="">
        Hello,

        could you add the following export to the script ? It will enable USB
traces:
export SANE_DEBUG_SANEI_USB=255

        Maybe libusb support isn't built in (check you have libusb-devel or
better libusb_1.0-devel installed).

Regards,
        Stef

--
sane-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a>
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to <a class="moz-txt-link-abbreviated" href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
sane-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a>
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to <a class="moz-txt-link-abbreviated" href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a></pre>
    </blockquote>
    Ok, found one of my mistakes: missing libusb-devel and now I have
    compiled the latest sane-backend (sane-backends-git20110215) with
    configured libusb- support (./configure --enable-libusb_1_0). <br>
    <br>
    Now I have same problem as "normal" user: no scanner found. With
    root- access I get: "Error while accessing device 'libusb:001:018':
    Unknown argument" (Sorry if this is not the same like native english
    error message, because I translated this from german error message!
    :-) )<br>
    Everytime I try to access the scanner as root, the device identifier
    is increased after this error message (001:010 was displayed in
    first message)!<br>
    <br>
    Now I got more output in logfile (take a look at attachted logfile)!
    <br>
    <br>
    What is next?<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regaards

Sebastian Reinhardt

</pre>
  </body>
</html>