<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    hi, <br>
    i have a Fujitsu fi -7160 and the latest version of Debian jessie
    installed.<br>
    (i also have a Fujitsu Scansnap S1100 but that can wait until i can
    scan with my fi-7160)<br>
    <br>
    After installing sane-frontends and backends i can scan as root but
    not as user.<br>
    I tried everything, that I can think of so if anyone can help me
    with this I would be greatful.<br>
    <br>
    My installation steps:<br>
    sudo apt-get install sane sane-utils libsane-extras xsane<br>
    I checked that the backend for fujitsu is enabled in
    /etc/sane.d/dll.conf<br>
    <br>
    sudo sane-find-scanner <br>
    found USB scanner (vendor=0x0a5c [Broadcom Corp], product=0x21f3
    [BCM20702A0]) at libusb:006:002<br>
    found USB scanner (vendor=0x04c5, product=0x132e) at libusb:003:002<br>
    found USB scanner (vendor=0x04c5 [FUJITSU], product=0x1200 [ScanSnap
    S1100]) at libusb:001:003<br>
    <br>
    sane-find-scanner<br>
    could not open USB device 0x1d6b/0x0001 at 007:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x5986/0x0299 at 004:003: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0002 at 004:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x0a5c/0x21f3 at 006:002: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0001 at 006:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x04c5/0x132e at 003:002: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0002 at 003:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0001 at 005:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0003 at 002:001: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x045e/0x0745 at 001:002: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x04c5/0x1200 at 001:004: Access denied
    (insufficient permissions)<br>
    could not open USB device 0x1d6b/0x0002 at 001:001: Access denied
    (insufficient permissions)<br>
    <br>
    I edit /etc/sane.d/fujitsu.conf<br>
    #fi-7160<br>
    usb 0x04c5 0x132e<br>
    <br>
    and /etc/sane.d/epjitsu.conf<br>
    # Fujitsu S1100<br>
    firmware /usr/share/sane/epjitsu/1100_0A00.nal<br>
    usb 0x04c5 0x1200<br>
    <br>
    then i create the library epjitsu <br>
    thomas@ws2:/usr/share/sane$ sudo mkdir epjitsu<br>
    and copy 1100_0A00.nal into the library<br>
    thomas@ws2:/usr/share/sane/epjitsu$ ls<br>
    1100_0A00.nal<br>
    <br>
    thomas@ws2:~$ sudo scanimage -L<br>
    device `v4l:/dev/video0' is a Noname Integrated Camera virtual
    device<br>
    device `fujitsu:fi-7160:13013' is a FUJITSU fi-7160 scanner<br>
    device `epjitsu:libusb:001:007' is a FUJITSU ScanSnap S1100 scanner<br>
    <br>
    thomas@ws2:~$ sudo scanimage --device-name=fujitsu --format tiff
    > testimage1.tiff<br>
    thomas@ws2:~$ xdg-open testimage1.tiff<br>
    perfect result!<br>
    <br>
    thomas@ws2:~$ sudo scanimage --device-name=epjitsu --format tiff
    > testimage2.tiff<br>
    scanimage: sane_start: Out of memory<br>
    that problem can wait!<br>
    <br>
    here is my main problem <br>
    thomas@ws2:~$ scanimage --device-name=fujitsu --format tiff >
    testimage3.tiff<br>
    scanimage: open of device fujitsu failed: Invalid argument<br>
    <br>
    I check /etc/group<br>
    lp:x:7:thomas<br>
    saned:x:120:<br>
    scanner:x:105:saned,thomas<br>
    <br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> lsusb<br>
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
    Bus 004 Device 003: ID 5986:0299 Acer, Inc <br>
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
    Bus 006 Device 002: ID 0a5c:21f3 Broadcom Corp. <br>
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
    Bus 003 Device 002: ID 04c5:132e Fujitsu, Ltd <br>
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>
    Bus 001 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver
    v1.0 for Bluetooth<br>
    Bus 001 Device 008: ID 04c5:1200 Fujitsu, Ltd <br>
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
    <br>
    I check permissions<br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> ls -la /dev/bus/usb/003/002<br>
    crw-rw-r-- 1 root root 189, 257 okt 20 10:20 /dev/bus/usb/003/002<br>
    <br>
    I change permissons <br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> sudo chmod 666 /dev/bus/usb/003/002<br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> sudo chmod 666 /dev/bus/usb/001/008<br>
    <br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> scanimage --device-name=fujitsu --format tiff
    > testimage3.tiff<br>
    it works! But not after reboot <br>
    <br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@ws2:~/.sane$">thomas@ws2:~/.sane$</a> scanimage --device-name=epjitsu --format tiff
    > testimage2.tiff<br>
    scanimage: sane_start: Out of memory<br>
    <br>
    reboot <br>
    thomas@ws2:~$ scanimage --device-name=fujitsu --format tiff >
    testimage6.tiff<br>
    scanimage: open of device fujitsu failed: Invalid argument<br>
    <br>
    thomas@ws2:~$ sudo chmod 666 /dev/bus/usb/003/002<br>
    [sudo] password for thomas: <br>
    thomas@ws2:~$ scanimage --device-name=fujitsu --format tiff >
    testimage6.tiff<br>
    now it works but is there a better way to solve the problem
    permanently than to chmod after start.<br>
    <br>
    /Thomas <br>
    <div class="moz-signature">-- <br>
      <br>
      - - - - - - - - - - - <br>
      <b>Thomas DahlĂ©n</b><br>
      <br>
    </div>
  </body>
</html>