[sane-devel] searching for business card scanner compatible with sane

m. allan noah kitno455 at gmail.com
Sun Dec 20 20:57:55 UTC 2009


this 'bug' is caused by udev/hal being unaware of this usb id. Those
rules are usually managed by the distro, using information we provide.
The s1500 was listed as supported in sane 1.0.20, so your vendor's
udev/hal rules should include it, if you are using 1.0.20.

allan

2009/12/20 Jelle de Jong <jelledejong at powercraft.nl>:
> m. allan noah wrote, on 06-11-09 19:51:
>> On Fri, Nov 6, 2009 at 1:33 PM, Jelle de Jong <jelledejong at powercraft.nl> wrote:
>>> Hi Allan,
>>>
>>> m. allan noah wrote:
>>>> I have not seen any business card scanners with a 50 card input tray.
>>>> In fact, most card sized scanners are single sheet simplex. You might
>>>> have to move up to something like an A6 or A4 sized scanner to get
>>>> multi-page duplex.
>>> You are right. I think 50 page business card (250 g/m2) are a bit to
>>> much to ask, but but an ADF for 10 times A8 (74 в 52 mm) (250 g/m2)
>>> business cards would be nice.
>>>
>>> I also did some searching, and found that even the most sick priced
>>>> 3000 euro scanners that do scan A8 (business card) sized media do not
>>> indicate that they are capable of scanning 250 g/m2 paper... So this
>>> seems to be an useless parameter to select a new scanner on...?
>>
>> most desktop and larger scanners can handle the heavy paper.
>>
>>> Last year I replaced my standalone HP ScanJet 6300c ADF scanner (support
>>> broke with a new sane version) with a new HP Officejet J5780
>>> http://h10025.www1.hp.com/ewfrf/wc/product?product=3301296
>>>
>>> This printer with ADF only cost 130 euro and scans very nice. I did have
>>> regression issues (HP messed up there code) with the network saned
>>> server systems. But support of Julien BLACHE has been really good so now
>>> I got a very usefull scanner setup togheter with my pct-scanner-scripts
>>> available in Debian. I manage a few hundred scans per week, duplex is
>>> not really needed, I got a nice software rearrange duplex feature.
>>>
>>>
>>> I looked a bit further and found the following two options:
>>>
>>> ScanSnap S300 (between 200 and 320 euro)
>>> http://www.fujitsu.com/us/services/computing/peripherals/scanners/scansnap/s300.html
>>>
>>> ^^^ that looks like an useful addition to my scanner setup. I want to
>>> buy this one but I am so afraid I will not get the sane driver features
>>> I need because of an under developed driver. Are my fears justified!?
>>> http://ubuntuforums.org/showpost.php?p=6619498&postcount=11
>>> http://www.sane-project.org/man/sane-epjitsu.5.html
>>>
>>> If somebody can convince me that missing features that are supported by
>>> the hardware will be added to the driver then I will buy this unit...
>>>
>>> ScanSnap S1500 (between 420 and 496 euro)
>>> http://www.fujitsu.com/us/services/computing/peripherals/scanners/scansnap/scansnap-s1500.html
>>>
>>> ^^^ this scanner is also an option but its lot of money. I got perfect
>>> results with a 130 euro all-in-one but no A8 scan support. Would 450
>>> euro be worth it? It driver seems to be developed with the availiable
>>> featurs. http://www.sane-project.org/man/sane-fujitsu.5.html
>>
>> well- i wrote both of those drivers, so i guess i am in a unique
>> position to respond :)
>>
>> the S300 is epson-based, and uses a rather dumb protocol. It also
>> requires a firmware upload, is entirely reverse engineered. It has a
>> smaller paper tray and is slower than other fujitsus.
>>
>> Most of the rest of the fujitsu machines (including the S1500) are
>> much smarter, and I actually have documentation for them, and support
>> a huge list of options.
>>
>> Unless you absolutely need the smaller footprint of the S300 (or the
>> ability to run on USB power), I would definitely buy a 'normal'
>> fujitsu. If money is an issue, see if you can still find an S500 or
>> S510, or buy a used or refurbished fi-series machine (fi-5110C,
>> fi-5120C, fi-6130). They show up on ebay quite often...
>
> So I got my self a brand new Fujitsun ScanSnap S1500, connected it to
> my networked saned Linux server, and tried to detect it with one of my
> sane capable scanadf clients.. but no joy. The other HP scanner was
> still detected.
>
> So debugging started.. :( See the email attachment.
>
> It seems the device node for the scanner does not have the correct
> group permissions set. I called this bug01, is this a known bug? Could
> it be fixed in the next version of sane?
>
> Thanks in advance,
>
> Best regards,
>
> Jelle de Jong
>
> # connecting the device, captured dmesg output
> [523881.040101] usb 1-5: new high speed USB device using ehci_hcd and address 5
> [523881.270350] usb 1-5: configuration #1 chosen from 1 choice
>
> ------------------------------------------------------------------------
>
> # lsusb -d 04c5:11a2
> Bus 001 Device 005: ID 04c5:11a2 Fujitsu, Ltd
>
> ------------------------------------------------------------------------
>
> # lsusb -d 04c5:11a2 -vv
>
> Bus 001 Device 005: ID 04c5:11a2 Fujitsu, Ltd
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               2.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0        64
>  idVendor           0x04c5 Fujitsu, Ltd
>  idProduct          0x11a2
>  bcdDevice            1.00
>  iManufacturer           1 Fujitsu
>  iProduct                2 ScanSnap S1500
>  iSerial                 0
>  bNumConfigurations      1
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength           32
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          0
>    bmAttributes         0xc0
>      Self Powered
>    MaxPower               98mA
>    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            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0        64
>  bNumConfigurations      1
> Device Status:     0x0001
>  Self Powered
>
> ------------------------------------------------------------------------
>
> find /sys -iname 1-5
>
> # scanimage -L
> device `fujitsu:ScanSnap S1500:14033' is a FUJITSU ScanSnap S1500 scanner
> device `net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
> device `hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
>
> ------------------------------------------------------------------------
>
> # sudo -u saned scanimage -L
> device `net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
> device `hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
>
> ------------------------------------------------------------------------
>
> find /sys -iname 005
> ls -hal /dev/bus/usb/001/005
>
> # ls -hal /dev/bus/usb/001/005
> crw-rw-r-- 1 root root 189, 4 2009-12-20 21:37 /dev/bus/usb/001/005
>
> # bug01: device is not part of group saned, scanner or lp
>
> # workaround:
>
> # chgrp lp /dev/bus/usb/001/005
> # ls -hal /dev/bus/usb/001/005
> crw-rw-r-- 1 root lp 189, 4 2009-12-20 21:37 /dev/bus/usb/001/005
>
> ------------------------------------------------------------------------
>
> # sudo -u saned scanimage -L
> device `fujitsu:ScanSnap S1500:14033' is a FUJITSU ScanSnap S1500 scanner
> device `net:192.168.1.1:fujitsu:ScanSnap S1500:14033' is a FUJITSU ScanSnap S1500 scanner
> device `net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
> device `hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
>
> ------------------------------------------------------------------------
>
> # on desktop scanadf client
> $ scanadf -L
> device `net:192.168.1.1:fujitsu:ScanSnap S1500:14033' is a FUJITSU ScanSnap S1500 scanner
> device `net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one
>
> ------------------------------------------------------------------------
>
> # bug01 needs to be fixed so device node get the right permissions
>
> ------------------------------------------------------------------------
>
> # i know ubuntu... got legacy issues, normaly debian is the primary os
>
> # dpkg-query --status sane sane-utils
> Package: sane
> Status: install ok installed
> Priority: optional
> Section: graphics
> Installed-Size: 360
> Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
> Architecture: amd64
> Source: sane-frontends
> Version: 1.0.14-7
> Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgimp2.0 (>= 2.4.0), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.14.1), libpango1.0-0 (>= 1.21.6), libsane (>= 1.0.11-3), zlib1g (>= 1:1.1.4)
> Suggests: gimp
> Description: scanner graphical frontends
>  This package includes :
>  o xscanimage, a scanner graphical frontend with GIMP 2.0 support
>  o scanadf, a command-line frontend for scanners with Automatic Document Feeder
>  o xcam, for acquiring images continuously from cameras.
>  .
>  An alternative to xscanimage called xsane is packaged separately.
>  .
>  The scanner frontends use SANE.  SANE stands for "Scanner Access Now
>  Easy" and is an application programming interface (API) that provides
>  standardized access to any raster image scanner hardware (flatbed
>  scanner, hand-held scanner, video- and still-cameras, frame-grabbers,
>  etc.). The SANE standard is free and its discussion and development are
>  open to everybody. The current source code is written to support several
>  operating systems, including GNU/Linux, OS/2, Win32 and various Unices
>  and is available under the GNU General Public License (commercial
>  applications and backends are welcome, too, however).
> Original-Maintainer: Julien BLACHE <jblache at debian.org>
>
> Package: sane-utils
> Status: install ok installed
> Priority: optional
> Section: graphics
> Installed-Size: 624
> Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Architecture: amd64
> Source: sane-backends
> Version: 1.0.20-4ubuntu3
> Replaces: libsane (<< 1.0.11-4)
> Depends: adduser (>= 3.47), update-inetd (>= 4.31), libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.4), libieee1284-3, libsane (>= 1.0.11-3), libusb-0.1-4 (>= 2:0.1.12), debconf (>= 0.5) | debconf-2.0
> Recommends: avahi-daemon
> Suggests: unpaper
> Conffiles:
>  /etc/sane.d/saned.conf f6f398e55f5821d21abfec8973cf23bc
>  /etc/default/saned d8049f8628d82ab09dfb6d0cc5a83ce7
>  /etc/init.d/saned 298891d7efc8baa6504e979abd35dc67
> Description: API library for scanners -- utilities
>  SANE stands for "Scanner Access Now Easy" and is an application
>  programming interface (API) that provides standardized access to any
>  raster image scanner hardware (flatbed scanner, hand-held scanner,
>  video- and still-cameras, frame-grabbers, etc.). The SANE standard is
>  free and its discussion and development are open to everybody. The
>  current source code is written to support several operating systems,
>  including GNU/Linux, OS/2, Win32 and various Unices and is available
>  under the GNU General Public License (commercial applications and
>  backends are welcome, too, however).
>  .
>  This package includes the command line frontend scanimage, the saned
>  server and the sane-find-scanner utility, along with their documentation.
> Homepage: http://www.sane-project.org
> Original-Maintainer: Julien BLACHE <jblache at debian.org>
>
> ------------------------------------------------------------------------
>
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list