[sane-devel] ScanSnap s1100 testing

Carl Karsten carl at personnelware.com
Thu Dec 22 06:33:11 UTC 2011


no porb.  I scripted the instructions and posted it to that thread.
no clue what the patch problems were.

Is your patch somewhere public so that I can wget it instead of having
to click around in the forum?

On Wed, Dec 21, 2011 at 3:13 PM, m. allan noah <kitno455 at gmail.com> wrote:
> Sorry, no chance.
>
> allan
>
> On Wed, Dec 21, 2011 at 4:03 PM, Carl Karsten <carl at personnelware.com> wrote:
>> From that thread:
>>
>> """Started again from scratch to see i could crack this
>> Now im getting the following error when I try to patch the file"""
>>
>> I have not tried it.
>>
>> Any chance of you applying creating a patch that can be added to the
>> ubuntu package (which has a bunch of patches.)  Not to submit to
>> ubuntu (so doesn't matter if it breaks other things), but I'll put it
>> on my PPA, or ping some of the people who have sane on PPAs (the few I
>> have found are over a year old.)
>>
>>
>> juser at trist:~/temp$ apt-get source sane-backends
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> NOTICE: 'sane-backends' packaging is maintained in the 'Bzr' version
>> control system at:
>> https://code.launchpad.net/~ubuntu-desktop/sane-backends/ubuntu
>> Please use:
>> bzr branch https://code.launchpad.net/~ubuntu-desktop/sane-backends/ubuntu
>> to retrieve the latest (possibly unreleased) updates to the package.
>> Need to get 5,219 kB of source archives.
>> Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main sane-backends
>> 1.0.22-7ubuntu1 (dsc) [2,435 B]
>> Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main sane-backends
>> 1.0.22-7ubuntu1 (tar) [5,151 kB]
>> Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main sane-backends
>> 1.0.22-7ubuntu1 (diff) [65.7 kB]
>> Fetched 5,219 kB in 10s (500 kB/s)
>> gpgv: Signature made Sun 04 Dec 2011 10:27:45 PM CST using RSA key ID 21B2133D
>> gpgv: Can't check signature: public key not found
>> dpkg-source: warning: failed to verify signature on
>> ./sane-backends_1.0.22-7ubuntu1.dsc
>> dpkg-source: info: extracting sane-backends in sane-backends-1.0.22
>> dpkg-source: info: unpacking sane-backends_1.0.22.orig.tar.gz
>> dpkg-source: info: unpacking sane-backends_1.0.22-7ubuntu1.debian.tar.gz
>> dpkg-source: info: applying frontends_libs.patch
>> dpkg-source: info: applying libsane_deps.patch
>> dpkg-source: info: applying disable_rpath.patch
>> dpkg-source: info: applying sane-config_and_pkg-config_fixes.patch
>> dpkg-source: info: applying dll_backend_conf.patch
>> dpkg-source: info: applying unneeded_doc.patch
>> dpkg-source: info: applying sane-desc.c_debian_mods.patch
>> dpkg-source: info: applying multiarch_dll_search_path.patch
>> dpkg-source: info: applying multiarch_manpages_libdir.patch
>> dpkg-source: info: applying sane-desc_udev+acl.patch
>> dpkg-source: info: applying udev_usb_suspend.patch
>> dpkg-source: info: applying fix_v4l_build.patch
>> dpkg-source: info: applying xerox_mfp_fix_usb_devices.patch
>> dpkg-source: info: applying xerox_mfp_add_scx_4623fw.patch
>> dpkg-source: info: applying hurd_path_max_fix.patch
>> dpkg-source: info: applying scanimage_man_batch_start.patch
>> dpkg-source: info: applying disable_v4l.patch
>> dpkg-source: info: applying fix_avahi_error_paths.patch
>>
>>
>> juser at trist:~/temp$ bzr branch
>> https://code.launchpad.net/~ubuntu-desktop/sane-backends/ubuntu
>> WARNING: gnome-keyring:: no socket to connect to
>> Branched 15 revisions.
>> juser at trist:~/temp$ cd ubuntu/
>> juser at trist:~/temp/ubuntu$ ls
>> debian
>> juser at trist:~/temp/ubuntu$ cd debian/
>> juser at trist:~/temp/ubuntu/debian$ ls
>> changelog             libsane.postinst       po
>> sane-utils.README.Debian
>> compat                libsane.postrm         rules
>> sane-utils.saned.default
>> control               libsane.preinst        sane-utils.config
>> sane-utils.saned.init
>> copyright             libsane.README.Debian  sane-utils.install
>> sane-utils.templates
>> libsane-dev.doc-base  libsane.shlibs         sane-utils.postinst  source
>> libsane-dev.install   patches                sane-utils.postrm
>> juser at trist:~/temp/ubuntu/debian$ cd patches/
>> juser at trist:~/temp/ubuntu/debian/patches$ ls
>> disable_rpath.patch          hurd_path_max_fix.patch                 series
>> disable_v4l.patch            libsane_deps.patch
>> udev_usb_suspend.patch
>> dll_backend_conf.patch       sane-config_and_pkg-config_fixes.patch
>> unneeded_doc.patch
>> fix_avahi_error_paths.patch  sane-desc.c_debian_mods.patch
>> xerox_mfp_add_scx_4623fw.patch
>> fix_v4l_build.patch          sane-desc_udev+acl.patch
>> xerox_mfp_fix_usb_devices.patch
>> frontends_libs.patch         scanimage_man_batch_start.patch
>>
>>
>> On Wed, Dec 21, 2011 at 1:45 PM, m. allan noah <kitno455 at gmail.com> wrote:
>>> I have written an updated version of the epjitsu backend, which will
>>> drive the S1100, with proper calibration, more features, etc.
>>> Unfortunately, this version breaks support for the other epjitsu
>>> machines, and I have not had time to fix it. If you are prepared to
>>> build from source, you can use the new version. See post #7 here:
>>> http://ubuntuforums.org/showthread.php?t=1678335
>>>
>>> allan
>>>
>>> On Wed, Dec 21, 2011 at 2:32 PM, Carl Karsten <carl at personnelware.com> wrote:
>>>> I have a ScanSnap S1100 which says "needs testers" and the usb id is blank:
>>>>
>>>> http://www.sane-project.org/cgi-bin/driver.pl?manu=fujitsu&model=scansnap&bus=any&v=&p=
>>>>
>>>> Bus 002 Device 003: ID 04c5:1200 Fujitsu, Ltd
>>>>
>>>> How do I go about testing?
>>>>
>>>> juser at trist:~$ scanimage -V
>>>> scanimage (sane-backends) 1.0.22; backend version 1.0.22
>>>>
>>>> juser at trist:~$ sane-find-scanner
>>>>
>>>>  # sane-find-scanner will now attempt to detect your scanner. If the
>>>>  # result is different from what you expected, first make sure your
>>>>  # scanner is powered up and properly connected to your computer.
>>>>
>>>>  # No SCSI scanners found. If you expected something different, make sure that
>>>>  # you have loaded a kernel SCSI driver for your SCSI adapter.
>>>>
>>>> found USB scanner (vendor=0x04c5, product=0x1200) at libusb:002:003
>>>>  # Your USB scanner was (probably) detected. It may or may not be supported by
>>>>  # SANE. Try scanimage -L and read the backend's manpage.
>>>>
>>>>  # Not checking for parallel port scanners.
>>>>
>>>>  # Most Scanners connected to the parallel port or other proprietary ports
>>>>  # can't be detected by this program.
>>>>
>>>>  # You may want to run this program as root to find all devices. Once you
>>>>  # found the scanner devices, be sure to adjust access permissions as
>>>>  # necessary.
>>>> juser at trist:~$ scanimage -L
>>>> WARNING: gnome-keyring:: no socket to connect to
>>>>
>>>> No scanners were identified. If you were expecting something different,
>>>> check that the scanner is plugged in, turned on and detected by the
>>>> sane-find-scanner tool (if appropriate). Please read the documentation
>>>> which came with this software (README, FAQ, manpages).
>>>>
>>>>
>>>> sudo lsusb -vv -s 3
>>>>
>>>> Bus 002 Device 003: ID 04c5:1200 Fujitsu, Ltd
>>>> Device Descriptor:
>>>>  bLength                18
>>>>  bDescriptorType         1
>>>>  bcdUSB               2.00
>>>>  bDeviceClass          255 Vendor Specific Class
>>>>  bDeviceSubClass       255 Vendor Specific Subclass
>>>>  bDeviceProtocol       255 Vendor Specific Protocol
>>>>  bMaxPacketSize0        64
>>>>  idVendor           0x04c5 Fujitsu, Ltd
>>>>  idProduct          0x1200
>>>>  bcdDevice            1.00
>>>>  iManufacturer           1 FUJITSU
>>>>  iProduct                2 ScanSnap S1100
>>>>  iSerial                 0
>>>>  bNumConfigurations      1
>>>>  Configuration Descriptor:
>>>>    bLength                 9
>>>>    bDescriptorType         2
>>>>    wTotalLength           32
>>>>    bNumInterfaces          1
>>>>    bConfigurationValue     1
>>>>    iConfiguration          0
>>>>    bmAttributes         0xc0
>>>>      Self Powered
>>>>    MaxPower                2mA
>>>>    Interface Descriptor:
>>>>      bLength                 9
>>>>      bDescriptorType         4
>>>>      bInterfaceNumber        0
>>>>      bAlternateSetting       0
>>>>      bNumEndpoints           2
>>>>      bInterfaceClass       255 Vendor Specific Class
>>>>      bInterfaceSubClass    255 Vendor Specific Subclass
>>>>      bInterfaceProtocol    255 Vendor Specific Protocol
>>>>      iInterface              0
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x81  EP 1 IN
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval             255
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x02  EP 2 OUT
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval             255
>>>> Device Qualifier (for other device speed):
>>>>  bLength                10
>>>>  bDescriptorType         6
>>>>  bcdUSB               2.00
>>>>  bDeviceClass          255 Vendor Specific Class
>>>>  bDeviceSubClass       255 Vendor Specific Subclass
>>>>  bDeviceProtocol       255 Vendor Specific Protocol
>>>>  bMaxPacketSize0        64
>>>>  bNumConfigurations      1
>>>> Device Status:     0x0001
>>>>  Self Powered
>>>> juser at trist:~$
>>>>
>>>>
>>>>
>>>> --
>>>> Carl K
>>>>
>>>> --
>>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>>>             to sane-devel-request at lists.alioth.debian.org
>>>
>>>
>>>
>>> --
>>> "The truth is an offense, but not a sin"
>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>>             to sane-devel-request at lists.alioth.debian.org
>>
>>
>>
>> --
>> Carl K
>
>
>
> --
> "The truth is an offense, but not a sin"



-- 
Carl K



More information about the sane-devel mailing list