[sane-devel] Canon DR2020U
This machine will never be supported by the canon_dr backend. It uses a completely different protocol. allan On Wed, Mar 14, 2012 at 11:31 PM, Benjamin Baker benjamin at wimmerahills.com.au wrote: Unfortunately I have misread the supported scanners lists and purchased an unsupported device. It is a Canon DR2020U. I run Ubuntu 10.04 (lucid). I would be very happy indeed to hear that somebody is working on the canon_dr backend to support this device. ?Otherwise I'll just have to bribe somebody - or do it myself. -- 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] Xsane is not working now
As root, run the following command: scanimage -L then run that same command as yourself. Hopefully you will see your scanner listed both times. allan On Tue, Mar 13, 2012 at 4:07 PM, Shunsuke Akagi shoon at att.net wrote: Hi, Great developers of Xsane, Xsane worked great right after installation and I thought it's great. However after uninstall several fax related appllications and Skanlite because they did not work, Xsane does not work any more. I reinstalled Skanlite and now Skanlite is working somehow. What howppens is that when I click preview or scan, it won't do anything. Silence! Now once I opened Simple Scan and ran Xsane, Xsane tells me it cannot find Canon MP250. So it knows what my scanner is doing. I tried to check /usr/etc/sane.d/dll.conf but /usr/etc/ is empty so now I do not know what I am supposed to do. Help me please. Shoon -- 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] SANE scanning of documents that are ~430mm x ~280mm
You must set page-width and page-height to the size of the paper, then you set -t, -l, -x and -y to the area on that paper you wish to scan. Often the whole thing. The apparent limits on the scan area change based on the paper size: scanimage --help and scanimage --page-width 308 --page-height 925 will give very different maximums for -x and -y allan On Tue, Feb 28, 2012 at 10:56 AM, Robert Whelan II rwhelanii at gmail.com wrote: new to mailing lists so I hope I did this correctly. I am using scanimage. Here is the shell script for it (note that the Fujitsu 6670 is the only scanner device connected): scanner=`scanimage --formatted-device-list=%d` dateVal=`date +%Y%m%d-%H%M%S` mkdir -p /images/$dateVal touch /images/$dateVal/INPROCESS scanimage --device-name=$scanner --batch=/images/$dateVal/out%d.tif --format=tiff --source ADF Duplex --mode Gray --resolution 150 --page-width 308.824 --page-height 925.711 -t 0.0 -l 0.0 rm /images/$dateVal/INPROCESS I have attempted it with -x 215.872 -y 279.364 (the max values listed under Geometry) explicitly (the defaults appear to be set to that anyway). No change. I can send you an attachment of the scanned output, but if I had to guesstimate, it'd be about this area scanned (o scanned area, x non-scanned): xxoox \ xxoox ? Page 1 (half of bi-fold) xxoox / xxoox \ xx ?Page 2 (2nd half of bi-fold) xx / When scanning, so that the entire form can scan I lay it sideways so that might better explain why that particular area at the top is missing. I have tested the scanner using ScandAll Pro on Windows and it is able to acquire the full image, so if I had to guess it is the upper bounds set, but I'm not 100% sure of that. On Wed, Feb 22, 2012 at 11:33 AM, m. allan noah kitno455 at gmail.com wrote: Are you using scanimage? It's options are order sensitive. Make sure you set page-width and page-height before -x and -y. If that does not work, let me know, and well start debugging. allan -- 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 -- The truth is an offense, but not a sin
[sane-devel] legal size with Fujitsu ScanSnap S1500
You need the x and y parameters also, AFTER the page-width and page-height in your command line. allan On Sat, Feb 25, 2012 at 5:37 PM, Max Spring m2spring at springdot.org wrote: I'm trying to scan legal size documents (8.5in x 14in / 216mm x 356mm) with Fujitsu ScanSnap S1500 and scanimage 1.0.23git: ?$ scanimage --resolution 300 --page-width 216 --page-height 356 img.pnm ?scanimage: rounded value of page-width from 216 to 215.999 ?scanimage: rounded value of page-height from 356 to 355.999 The result is unfortunately just 11in / 279mm tall: ?$ identify img.png ?img.png PNM 2544x3300 2544x3300+0+0 1-bit Bilevel DirectClass 1.049MB 0.020u 0:00.029 The scanner is supposedly able to scan legal size. What can I do? Thanks! -Max -- 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] SANE scanning of documents that are ~430mm x ~280mm
Are you using scanimage? It's options are order sensitive. Make sure you set page-width and page-height before -x and -y. If that does not work, let me know, and well start debugging. allan On Wed, Feb 22, 2012 at 10:18 AM, Robert Whelan II rwhelanii at gmail.com wrote: OS Ubuntu 11.10 Scanner Fujitsu 6670 We have folded documents that we need to scan all of the pages. In the java process that I've created, it should theoretically do all of the splitting and reconciling of the images into multiple pages. The problem I'm running into is that I've tried setting the -t -l options to 0.0 and the -x and -y to the maximum allowed (with page-width and page-height to match). When the scan completes, it doesn't acquire the entire front or back of the page. Maybe 60% in total. How can I use SANE to scan 430mm x 280mm? We also have a tri-folded version of the form that is more than likely 645mm x 280mm. How would we scan that as well? Thanks, Robert -- 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] Heads-up: modified backends/Makefile.am
There is a copy of sane-backends on the alioth server, which needs to be updated and re-run configure/make. In this case, it's not really an issue, because you did not add a new backend. That's the only time it really matters. allan On Mon, Feb 13, 2012 at 6:37 AM, Nils Philippsen nils at tiptoe.de wrote: On Sat, 2012-02-11 at 15:28 -0500, m. allan noah wrote: Don't worry about alioth, I've got to do some cleanup over there anyway. I'll take care of it. Cool, thanks. Is this the way to do this, i.e. make changes and ping yoo and/or the list? Nils -- Nils Philippsen / Wilhelmstra?e 22 / D-71229 Leonberg nils at tiptoe.de / nils at redhat.com PGP fingerprint: ?C4A8 9474 5C4C ADE3 2B8F ?656D 47D8 9B65 6951 3011 Ever noticed that common sense isn't really all that common? -- The truth is an offense, but not a sin
[sane-devel] Fujitsu S1100 tester found
I am MAN. I wrote and maintain the epjitsu backend. I also wrote the patch you referenced. It is not included in the git tree because it breaks support for the other scanners the backend controls. I am slowly progressing toward a new version which will merge the two, but my time is limited. I also own an S1100, so no additional testing is required. Just use the patch, and let me know if you see any problems. allan -- The truth is an offense, but not a sin
[sane-devel] Heads-up: modified backends/Makefile.am
Don't worry about alioth, I've got to do some cleanup over there anyway. I'll take care of it. allan On Sat, Feb 11, 2012 at 1:52 PM, Nils Philippsen nils at tiptoe.de wrote: On Sat, 2012-02-11 at 19:37 +0100, Nils Philippsen wrote: I just committed a patch I carried much too long downstream in Fedora, which enables building packages of sane-backends with locking enabled as a non-root user(*). When I pushed this commit, I got this warning message: remote: *** A Makefile was modified; please ./configure make on Alioth remote: *** Contact sane-devel if you don't know what to do Would anybody fill me on on what I should do now? Uhm, it seems mkinstalldirs can't set users or groups anymore at all, so I've pushed a followup commit which makes backends/Makefile only call it in a way it understands. Maybe there's one or two things that can be removed now (or I'm having a brown-paperbag moment and this all needs to be reversed). Anyway, the original question still stands. Thanks, Nils -- Nils Philippsen / Wilhelmstra?e 22 / D-71229 Leonberg nils at tiptoe.de / nils at redhat.com PGP fingerprint: ?C4A8 9474 5C4C ADE3 2B8F ?656D 47D8 9B65 6951 3011 Ever noticed that common sense isn't really all that common? -- 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] Binaries for sane-backends-1.0.18
From the archives of an old linux distro, preferably the one you are running? allan On Thu, Feb 9, 2012 at 1:52 PM, Rich Vaccaro rich.vaccaro at steponesystems.com wrote: Hello, Is there somewhere I can download the binaries for sane-backends-1.0.18 for Linux on i386? Regards, Rich -- 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] sane Nikon Coolscan Problem
I have assigned your bug to the backend author, though he seems pretty busy. You might also want to try the older coolscan2 backend, by modifying dll.conf (generally located in /etc/sane.d/) allan On Thu, Feb 9, 2012 at 12:09 PM, Chuck Johnson caj at cjconsult.com wrote: Good Afternoon (at least it is in the eastern United States g) -- I'm writing to you because your names are mentioned in various connections to the sane project.? I know it's purely a volunteer effort and I apologize for intruding on your time, so I'll be brief. I recently hooked up my Nikon Super Coolscan LS-5000 ED and tried scanning slides with xsane, but was blocked with error during device I/O.? I described all the details -- as many as I could think of, anyway -- in message #313534 on the sane project at alioth.debian.org (link below), but it seems that there is very little activity on the site.? May other people have reported the same error; there doesn't seem to be a reliable solution offered among the posts and in many cases no response at all. I would appreciate it if any of you could point me toward some help on this problem.? Is alioth the only site on which to find solutions?? Is sane-devel at lists.alioth.debian.org more active than the bug page? Many thanks, and again sorry for the intrusion. Chuck Johnson https://alioth.debian.org/tracker/index.php?func=detailaid=313534group_id=30186atid=410366 -- 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] PIXMA: 1 Bit B/W Lineart for pixma_mp150 and pixma_mp810 Subdrivers
Cool. You might also want to look at the dynamic thresholding code I added to the epjitsu backend. Stef was able to copy it to genesys as well. Basically adds a sliding window and some hysteresis to the threshold determination, brings out text on gray backgrounds and such. I'd like to add it to sanei_magic someday, but don't have the time right now. allan On Fri, Feb 3, 2012 at 4:31 PM, Rolf Bensch rolf at bensch-online.de wrote: Hello, I just commited 1 bit B/W lineart for all scanners in the pixma_mp150 and pixma_mp810 subdrivers to the git tree. Due to the fact that these ccd scanners doesn't support generic lineart, I implemented software-lineart. The graphic frontend (Xsane) provides a slider to set the threshold. pixma_mp810 subdriver has been tested well with these scanners: Canoscan 8800F Canoscan 9000F Canon Pixma MP810 Canon Pixma MP960 pixma_mp150 subdriver isn't tested yet. This code should run, because it is similar to the pixma_mp810 code and I compared the diff files. Please report other working scanners to the ML. Cheers, Rolf -- 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] Fujitsu ScanSnap S1100
Try getting a debug log: SANE_DEBUG_EPJITSU=255 scanimage -L 2s1100.log then send me that log. allan 2012/1/28 tommy boyd tommyboyd10 at hotmail.com: I had the ScanSnap S1100 scanner working well with Xsane using the?epjitsu?backend developed Allan Noah on Ubuntu 10.10 but after upgrading to Ubuntu 11.10 I now?receive?an 'out of memory' error when attempting to connect? Can anyone help me debug? Regards Tom -- The truth is an offense, but not a sin
[sane-devel] Subject: [PATCH 0/4] fix and cleanup portable PATH_SEP and DIR_PATH defines
5 of the 8 backends are mine, and I have no objection. allan On Tue, Jan 17, 2012 at 3:40 PM, Chris Bagwell chris at cnpbagwell.com wrote: This patch series makes minor portability fixes to following backends. ?I've not seen any objections from various maintainers... so if I do not hear back by weekend, I'll commit this patch series. canon_dr cardscan epjitsu fujitsu kodak gt68xx microtek2 dll Thanks for this and other windows patches, Ruediger. Chris On Sun, Jan 15, 2012 at 8:31 AM, Ruediger Meier sweet_f_a at gmx.de wrote: From: Ruediger Meier ruediger.meier at ga-group.nl This patch-set is to fix and unify PATH_SEP and DIR_PATH defines in the context of seeing them conflicting on cygwin. Ruediger Meier (4): ?fix, PATH_SEP and DIR_SEP were inconsistently defined on cygwin since ? ? ? ?5168206e (also see a28bd843) ?cleanup, remove all unused PATH_SEP defines ?cleanup, always use the same portable PATH_SEP define (note _WIN32 ? ? is not defined on cygwin) ?update ChangeLog for previous commits ?ChangeLog ? ? ? ? ? ?| ? ?6 ++ ?backend/canon_dr.h ? | ? ?8 ?backend/cardscan.h ? | ? ?8 ?backend/dll.c ? ? ? ?| ? ?6 +- ?backend/epjitsu.h ? ?| ? ?8 ?backend/fujitsu.h ? ?| ? ?8 ?backend/gt68xx.c ? ? | ? ?2 +- ?backend/kodak.h ? ? ?| ? ?8 ?backend/microtek2.h ?| ? ?2 +- ?sanei/sanei_access.c | ? ?2 +- ?sanei/sanei_config.c | ? ?5 + ?11 files changed, 11 insertions(+), 52 deletions(-) -- 1.7.6.1 -- 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 -- 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] Support for CanoScan 9000F and others: 48 bit support for flatbed mode
I propose to give Gernot Hassenpflug write access to the sane repository. He has proved to be more than capable of writing a high-quality backend that supports multiple recent Canon scanners/multifunctionals. Moreover, he is also very active in open source printer driver development (Gutenprint), so he is certainly someone you want to have aboard. After discussions with Gernot, I have committed his code to SANE git repo, on his behalf. Hopefully one of you will be able to step forward and lend a hand with whatever ongoing maintenance or enhancements are required. allan -- The truth is an offense, but not a sin
[sane-devel] Version of net-snmp
only one backend uses netsnmp, magicolor, IIRC. So you can build without it if you don't need that. allan On Sun, Jan 1, 2012 at 12:35 PM, Paul Newall p.newalls at ntlworld.com wrote: I have ubuntu 11.10 with net-snmp 5.4.3 sane-backends configure says net-snmp 5.6 is needed Can anyone explain how the dependencies are determined for sane-backends? Since cups can use net-snmp 5.4.3 to find printers, is it really necessary to have 5.6 ? Is there some very useful extra feature in 5.6 ? Do many backends need 5.6 ? Am I likely to sucessfully detect an aio printer/scanner using 5.4.3 if I ignore the variable passed from configure? Thanks Paul -- 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] xsane ignoring .sane-entries?
for starters, lets see if we can get the epson to show up with scanimage -L, maybe check the contents of /etc/sane.d/dll.conf, and make sure epson is enabled (though in theory, epson2 should support your machine) allan On Mon, Dec 26, 2011 at 10:30 AM, Dr. Michael Kaplan dr.michaelkaplan at alice-dsl.de wrote: Hi, I'm using F16 on an AMD64 machine. I have 2 scanners, a hp in my home network and an epson on the usb port. sane-find-scanner reports: found USB scanner (vendor=0x04b8 [EPSON], product=0x010b [Perfection1240]) at libusb:004:002 scanimage -L reports: device `hpaio:/net/Officejet_6500_E710a-f?zc=HP2CEF9D' is a Hewlett-Packard Officejet_6500_E710a-f all-in-one If I call xsane epson:libusb:004:002 or xsane hpaio:/net/Officejet_6500_E710a-f?ip=192.168.1.28 xsane works fine. I deleted the .sane-directory in my homedir and created a new one by saving options from xsane. The .sane-directory now looks like $ ls .sane/xsane/ batch-lists epson:libusb:004:002.drc hpaio:_net_Officejet__6500__E710a-f_ip=192.168.1.28.drc xsane.mdf xsane.rc My problem is that a xsane call without argument doesn't find my devices and reports an I/O error with hpaio:/net/Officejet_6500_E710a-f?zc=HP2CEF9D Why does xsane ignore my .sane/xsane/ ? My system apparently uses 2 different versions of xsane: /usr/bin/xsane (without gimp support) /usr/lib64/gimp/2.0/plug-ins/xsane (with gimp support) but both have the same problem. I tried to change the gimp-Menu to call directly xsane epson:libusb:004:002 or xsane hpaio:/net/Officejet_6500_E710a-f?ip=192.168.1.28 but this didn't work. Thanks in advance for any idea! Michael -- 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] Poor Quality, Large Files
you are using the wrong application. try gscan2pdf instead. allan On Tue, Dec 27, 2011 at 10:56 AM, CACook at quantum-sci.com wrote: Does anyone know why XSane causes such large PDF files to be made, especially in Multipage mode? ?Three pages is 12.5MB, very difficult to email. Also why are my scans so shadowy for white pages? ?I raise gamma and brightness and it helps, but what happened to the Lineart option? This is a Canon MP460 on Debian Testing. -- 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] [sane-commit] [SCM] SANE project website branch, master, updated. gitconversion-10-gd077a3f
These issues are mostly due to lack of manpower. Feel free to help out by submitting patches. allan On Mon, Dec 26, 2011 at 12:08 PM, Michael Nagel ubuntu at nailor.devzero.de wrote: Hi there, thanks (everyone) for the great work with sane! When I read this email regarding the sane homepage I got some questions about the homepage: ? ?added three recent frontends What needs to be done to get Simple Scan (https://launchpad.net/simple-scan) listed there? Simple Scan is a beginner-friendly program for casual scanning, it uses libsane to do the hard work and is the default scanning application in Ubuntu. Then, all pages have a footer saying: $Date$ $Author$ I think this is an SVNism that broke during the git transition. It should be either repaired or removed. And finally: Is there a special reason there is a different logo on the main page than on all other pages? Also, is it just the lack of manpower or is there a special reason that the website looks like websites used to look before CSS became widely adopted? Best Regards Michael -- 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] ScanSnap s1100 testing
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=fujitsumodel=scansnapbus=anyv=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] ScanSnap s1100 testing
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=fujitsumodel=scansnapbus=anyv=p= Bus 002 Device 003: ID 04c5:1200 Fujitsu, Ltd
[sane-devel] Best way to release a development version of a new backend for testing?
Assuming you use sanei_* libraries, you best bet is to initially distribute a patch against the latest release of sane-backends. Once you have some feedback/testing, you could work that patch into shape against the current development version, and submit it for inclusion with the rest of sane-backends. It has been our experience that backends which live out of tree die off, and backends which are designed to build standalone have lots of cruft in them when they get added to sane. allan On Mon, Dec 19, 2011 at 4:42 PM, Paul Newall p.newalls at ntlworld.com wrote: Any ideas how I should get people to test my new backend for scanning on Kodak Aio printers? I've got it working, added to?the sane backends on?my PC. Should I try to create a?make file?that will add it to a user's existing installation? Maybe someone has a template I could use to do that? Or should I be trying to get it added to sane backends as soon as possible? - I hesitate to do that because I guess it will need quite?a bit of tidying up before it's really ready for that. Paul Newall -- 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] 16 bits / color scanning
actually, the wikipedia page says this: Unfortunately it appears that the various implementations could not agree on which byte order to use, and some connected the 16-bit endianness to the pixel packing order.[5] In Netpbm, the de facto standard implementation of the PNM formats, the most significant byte is first. Now, I don't take anything on wikipedia seriously, but it does point out the problem. There is no standard either in PNM, or in SANE. So, we would have to define that. Big endian is fine with me. allan 2011/12/16 K?re S?rs kare.sars at iki.fi: Hello, On Thursday 15 December 2011 06:40:32 Stef wrote: Le mercredi 14 d?cembre 2011 10:17:38 K?re S?rs a ?crit : Hi, While testing the 16 bit features of Skanlite I noticed a problem with endianness. If I scan directly with epson2 on a x86 I get one byte order, but if I do a network scan through saned+epson2 running on a PowerPC I get the other order Is there a workaround for this? ? ? ? Hello, ? ? ? does this byte inversion problem happen with any frontends ? Like scanimage or xsane ? Yes xsane has the same problem. How epson2 running directly on PPC does behave ? I run scanimage on the PPC and copied the resulting image to my PC, but this image also had the inversion problem. According to Wikipedia the 'Netpbm PPM rawbits image data' format should be platform independent... I have not tried to view it over ssh on my headless PPC yet. ? ? ? According to the SANE standard, the SANE_NET_START RPC sends the byte order, which should allow to handle endianess issues. Regards, ? K?re -- 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] [SPAM] Re: [SPAM] Re: [SPAM] Re: Canon DR-7550 I/O Error
Thanks, I will look at this soon. allan On Wed, Dec 14, 2011 at 11:30 AM, Furio Settimi ris at bresciaservice.com wrote: tomorrow I will send the 7550C logs thanks Il 06/12/2011 16:41, m. allan noah ha scritto: Thanks. I will look at these tonight. Perhaps also you could get a single scan from the CR-55? We could see if it is the same protocol. allan On Tue, Dec 6, 2011 at 10:38 AM, Furio Settimiris at bresciaservice.com ?wrote: Il 02/12/2011 17:40, m. allan noah ha scritto: i think the sniffer does not run on win7 I think also, .. now if you want another logs, ask me thanks Furio ?Fabio ps I have too Canon CR-55 -- The truth is an offense, but not a sin
[sane-devel] HP Scanjet 7500
I have also found it useful to pipe those logs thru the attached script. allan On Thu, Dec 15, 2011 at 1:28 PM, David Moorhouse sane at moorhouse.net.nz wrote: Thanks Stef That should be enough to get me going. Cheers D On 15/12/11 08:30, Stef wrote: Le mercredi 14 d?cembre 2011 19:51:09 David Moorhouse a ?crit : Can anybody recommend a USB tracer, freeware preferred. I'll get a bit of time over the end of the year to work on this so need to check I have all the pre requisites lined up. Thanks David ? ? ? ?Hello, ? ? ? ?my tool of choice is http://www.pcausa.com/Utilities/UsbSnoop/, works on XP and sometimes BSOD with some drivers on vista. wireshark also does USB logging but I don't know it well. Regards, ? ? ? ?Stef -- 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 -- next part -- A non-text attachment was scrubbed... Name: spike4.pl Type: application/octet-stream Size: 1795 bytes Desc: not available URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111215/2c69bb74/attachment.obj
[sane-devel] Device Selection
On Tue, Dec 13, 2011 at 10:03 AM, CACook at quantum-sci.com wrote: On Sunday, December 11, 2011 03:42:26 PM Olaf Meeuwissen wrote: # sane-find-scanner ... found USB scanner (vendor=0x138a, product=0x0007) at libusb:003:004 ? # Your USB scanner was (probably) detected. It may or may not be supported by ? # SANE. Try scanimage -L and read the backend's manpage. Is this your scanner? ?Looks like a VFS451 Fingerprint Reader to me[1]. At the very least none of the SANE backends don't mention they support this device. ?Nor do the external backends. Hi, no it's a Canon MP460 multifunction printer/scanner. It must be that the device found on the client was the fingerprint reader on my HP Elitebook where I ran sane-find-scanner. ?For some reason it is not referring to port 6566. On the server where the scanner is connected the device shows in lsusb as: ?Bus 001 Device 006: ID 04a9:1716 Canon, Inc. MP460 Composite ... and sane-find-scanner: found USB scanner (vendor=0x04a9 [Canon], product=0x1716 [MP460]) at libusb:001:006 On Sunday, December 11, 2011 03:58:49 PM m. allan noah wrote: Try this: SANE_DEBUG_DLL=15 scanimage -L 2dll.log # SANE_DEBUG_DLL=15 scanimage -L 2/home/carl/dl/dll.log No scanners were identified. And what was in the log? -- The truth is an offense, but not a sin
[sane-devel] Device Selection
Try this: SANE_DEBUG_DLL=15 scanimage -L 2dll.log then look in that log file. allan On Fri, Dec 9, 2011 at 10:10 AM, CACook at quantum-sci.com wrote: On Thursday, December 08, 2011 11:52:34 AM m. allan noah wrote: skip xsane for a minute. what about scanimage -L # scanimage -L No scanners were identified. ... # sane-find-scanner ... found USB scanner (vendor=0x138a, product=0x0007) at libusb:003:004 ?# Your USB scanner was (probably) detected. It may or may not be supported by ?# SANE. Try scanimage -L and read the backend's manpage. On Thursday, December 08, 2011 03:36:59 PM you wrote: Educated guess: your libsane is really libsane-v4l and not libsane-dll. Don't seem to have a libsane-dll anywhere in /usr. ?Do have libsane-v4l.la, .so.1, and .so.1.0.22 in /usr/lib32/sane and /usr/lib/x86_64-linux-gnu/sane . Other possibility: /usr/lib/sane is in ld.so.conf which it shouldn't. /etc/ld.so.conf only has: include /etc/ld.so.conf.d/*.conf ... and /etc/ld.so.conf.d only has files named: libc.conf x86_64-linux-gnu.conf zz_i386-biarch-compat.conf Both machines are running the most current Debian Testing 64bit. ?Didn't build from source; ?did a network install. Most Linux distributions get these points right these days. ?If you've built from source though, there's a good chance that the first issue is at play here. ?Make sure that you /usr/lib/libsane.so.1.0.22 is the same as your /usr/lib/sane/libsane-dll.so.1.0.22. Don't have a /usr/lib/libsane.so* ?or ?/usr/lib/sane/libsane-dll.so* ?on either machine. Neither also in ?/usr/lib/x86_64-linux-gnu/sane ?or anything relevant in ?/usr/local/lib ?in either machine. -- 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] xsane - DOES NOT save file preference on exit
On Thu, Dec 8, 2011 at 4:34 AM, Julien BLACHE jb at jblache.org wrote: m. allan noah kitno455 at gmail.com wrote: Hi Allan, Since I am the author of the sane-fujitsu backend, I feel compelled to respond. Unfortunately, I don't have a solution :( Make sure you are running the latest version of XSANE. Try erasing the preferences file entirely. It could have to do with the way XSane restores settings and options management in the backend. It's basically one gigantic loop that sets an option then reloads the option descriptors, rinse, repeat. If the backend changes the resolution in reaction to another setting being modified, it's entirely possible XSane doesn't set it back. It's been a while since I last looked into this, but that's my recollection. Pretty much the only explanation I can see for what Joseph is seeing. The fujitsu backend does setup the option descriptors at the time they are accessed, and later uses them to correct the values set by the front end. If XSANE sets the values before it has requested the descriptions, that would be a problem. It would also be unusual. There is also some logic in the fujitsu backend which attempts to keep the y resolution equal to the x resolution. XSANE seems to counteract this. The current development version removes the y-resolution option entirely. allan -- The truth is an offense, but not a sin
[sane-devel] Device Selection
Just disable v4l in dll.conf, and see if that helps. allan On Thu, Dec 8, 2011 at 1:20 PM, CACook at quantum-sci.com wrote: Having a problem with XSane -- it always chooses the wrong device. ?It chooses the v4l built-in camera in my laptop, rather than the saned daemon's scanner, which is a Canon. There doesn't seem to be any place in XSane to select device, and the documentation doesn't address this issue at all. In /etc/saned/dll.conf I've disabled all scanners except net and the Canons, and now XSane says there are no devices to choose from! ?Why doesn't it look to the server on localhost:6566? Will it not work with saned? ?I need it to, so I can scan remotely. -- 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] Device Selection
skip xsane for a minute. what about scanimage -L allan On Thu, Dec 8, 2011 at 2:26 PM, CACook at quantum-sci.com wrote: On Thursday, December 08, 2011 10:29:16 AM m. allan noah wrote: Just disable v4l in dll.conf, and see if that helps. Thanks, but disabling only v4l still says 'no devices'. For some reason XSane does not seem to be looking to saned's port 6566. OK there's more to the story: ?My saned server is running on Hex, where the scanner is. ?I'm using a reverse SSH tunnel to serve 6566 on Droog. ?So 6566 appears on Droog as localhost:6566 yet the server is actually on Hex. ?For years I've remotely served services like this such as Squid, MythTV, Cups, etc, and they all (still) work. ?It is a great secure method. ?I am seeing localhost:6566 on Droog, just as I should, and there are no firewall errors. ?But XSane is not using it. Xsane runs fine on Hex, and when I stop saned it can no longer find any devices, so I know XSane is using saned on Hex. ?For some reason though, XSane is not finding the server on Droog. Is there anything I should know about XSane's use of saned? -- 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] [SPAM] Re: [SPAM] Re: Canon DR-7550 I/O Error
ok, a brief view of the BW logs shows the following: 1. ERR and Letter have no differences in these new commands. 2. ADVTXT scans in grayscale, and must clean the image in the host. 3. ADVTXT2 changes one bit in the e5 06 command 4. Duplex sends the same commands as simplex, and then re-sends the e5 04 and e5 06 commands with slight differences. Can you get a log with ADVTXT2 and Duplex both enabled? allan On Tue, Dec 6, 2011 at 10:38 AM, Furio Settimi ris at bresciaservice.com wrote: Il 02/12/2011 17:40, m. allan noah ha scritto: i think the sniffer does not run on win7 I think also, .. now if you want another logs, ask me thanks Furio Fabio ps I have too Canon CR-55 -- The truth is an offense, but not a sin
[sane-devel] [SPAM] Re: [SPAM] Re: Canon DR-7550 I/O Error
Oh, and can you also get a screenshot of the window where you set these ADVTXT options? allan On Wed, Dec 7, 2011 at 10:10 PM, m. allan noah kitno455 at gmail.com wrote: ok, a brief view of the BW logs shows the following: 1. ERR and Letter have no differences in these new commands. 2. ADVTXT scans in grayscale, and must clean the image in the host. 3. ADVTXT2 changes one bit in the e5 06 command 4. Duplex sends the same commands as simplex, and then re-sends the e5 04 and e5 06 commands with slight differences. Can you get a log with ADVTXT2 and Duplex both enabled? allan On Tue, Dec 6, 2011 at 10:38 AM, Furio Settimi ris at bresciaservice.com wrote: Il 02/12/2011 17:40, m. allan noah ha scritto: i think the sniffer does not run on win7 I think also, .. now if you want another logs, ask me thanks Furio Fabio ps I have too Canon CR-55 -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] xsane - DOES NOT save file preference on exit
Since I am the author of the sane-fujitsu backend, I feel compelled to respond. Unfortunately, I don't have a solution :( Make sure you are running the latest version of XSANE. Try erasing the preferences file entirely. allan On Wed, Dec 7, 2011 at 4:04 PM, Joseph syscon780 at gmail.com wrote: I have two scanners: - Epson Perfection - Fujitsu ScanSnap S1500 In both scanners there is box checked in preference: Save device preferences at exit This works on Epson scanner, for example if I change the resolution it saves the setting to my home directory .sane/xsane/file_name.drc But it does not work on Fujitsu ScanSnap, it reverses the scan resolution to 50 instead of my setting 150dpi Why such a strange behavior? What is controlling it? File in directory ~/.sane/xsane have correct permission: -rw-rw 1 joseph joseph 1837 Dec 7 13:00 Epson:GT-9300.drc -rw-rw 1 joseph joseph 1877 Dec 7 13:27 FUJITSU:ScanSnapS1500.drc I've tried to change setting in the text file: FUJITSU:ScanSnapS1500.drc resolution 150 y-resolution 150 but the changes reverse back to : resolution 50 y-resolution 50 -- #Joseph -- 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] [SPAM] Re: [SPAM] Re: Canon DR-7550 I/O Error
Thanks. I will look at these tonight. Perhaps also you could get a single scan from the CR-55? We could see if it is the same protocol. allan On Tue, Dec 6, 2011 at 10:38 AM, Furio Settimi ris at bresciaservice.com wrote: Il 02/12/2011 17:40, m. allan noah ha scritto: i think the sniffer does not run on win7 I think also, .. now if you want another logs, ask me thanks Furio Fabio ps I have too Canon CR-55 -- The truth is an offense, but not a sin
[sane-devel] [SPAM] Re: Canon DR-7550 I/O Error
i think the sniffer does not run on win7 also, i do not need all the higher resolutions. allan On Fri, Dec 2, 2011 at 11:18 AM, Furio Settimi ris at bresciaservice.com wrote: We have build a test PC station with Windows 7 Home premium 64bit only for test the scanner Canon DR-7550C. PC config: AMD Athlon II 170u 2.00GHz with 3.00 GB Ram. Software in use: Canon Capture Perfect 3.0. We will can begin the testing with this setting: Black White - A4 - 100 dpi - single side Black White - A4 - 150 dpi - single side Black White - A4 - 200 dpi - single side Black White - A4 - 300 dpi - single side Black White - A4 - 400 dpi - single side Black White - A4 - 600 dpi - single side Black White - A4 - 100 dpi - double side Error diffusion - A4 - 100 dpi - single side Advanced text - A4 - 100 dpi - single side Advanced text II - A4 - 100 dpi - single side 256 color gray scale - A4 - 100 dpi - single side Color 24bit - A4 - 300 dpi - single side Black White - Letter - 100 dpi - single side Thanks Furio Fabio Il 01/12/2011 01:33, m. allan noah ha scritto: This machine uses a new command 'e5' instead of the traditional 'd5' command used by older canon dr machines. The contents of these commands are unknown. So, I need you to make some more logs in windows. You will need to change one setting, make a scan, save the log, clear the log, and change the setting back to the previous value. This way, we can determine the differences. If you could start by making a scan identical to your last, but simplex instead, that would be a good starting point. After that, we would need simplex scans with the various special features changed. Things like dropout color, or multi-feed detection, asynchronous mode, etc. I know this is a great deal of work, but lacking documentation, there is no other way. allan On Wed, Nov 30, 2011 at 10:48 AM, m. allan noahkitno455 at gmail.com ?wrote: Thank you. I will look at it tonight. allan On Wed, Nov 30, 2011 at 10:42 AM, Furio Settimiris at bresciaservice.com ?wrote: I am slowly because have only one pc with microsoft sorry Furio Il 30/11/2011 02:22, m. allan noah ha scritto: Can you make a log of the scanner actually making a scan? Maybe low resolution binary duplex? allan On Tue, Nov 29, 2011 at 10:16 AM, Furio Settimiris at bresciaservice.com ?wrote: Il 25/11/2011 17:16, m. allan noah ha scritto: This machine is untested. Apparently it does not like the buffering command. This command might be unsupported, or it might have a different format for this machine. Can you get a log of the scanner in action under windows, using this software: http://www.pcausa.com/Utilities/UsbSnoop/ for this, send attachment If not, we can just disable this command, and rebuild sane-backends from source. for this, how I can make it ? Thanks Furio -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] TPU functionality in epson2-backend.
SANE_DEBUG_EPSON2=255 scanimage [args here] 2tpu.log then look in tpu.log allan On Wed, Nov 30, 2011 at 11:26 AM, Martin Zackrisson martin.zackrisson at cmb.gu.se wrote: On 11/30/2011 04:53 PM, m. allan noah wrote: Are you sure you are really running your modified version of the backend? have you enabled debugging at runtime? I use prefix in ./configure and then in the folder I install it i run ./scanimage so I should be using my modified version as far as I can understand. As for debugging I haven't really understood how to enable runtime debugging (sorry for my newbieness) /Martin -- 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] Canon DR-7550 I/O Error
This machine uses a new command 'e5' instead of the traditional 'd5' command used by older canon dr machines. The contents of these commands are unknown. So, I need you to make some more logs in windows. You will need to change one setting, make a scan, save the log, clear the log, and change the setting back to the previous value. This way, we can determine the differences. If you could start by making a scan identical to your last, but simplex instead, that would be a good starting point. After that, we would need simplex scans with the various special features changed. Things like dropout color, or multi-feed detection, asynchronous mode, etc. I know this is a great deal of work, but lacking documentation, there is no other way. allan On Wed, Nov 30, 2011 at 10:48 AM, m. allan noah kitno455 at gmail.com wrote: Thank you. I will look at it tonight. allan On Wed, Nov 30, 2011 at 10:42 AM, Furio Settimi ris at bresciaservice.com wrote: I am slowly because have only one pc with microsoft sorry Furio Il 30/11/2011 02:22, m. allan noah ha scritto: Can you make a log of the scanner actually making a scan? Maybe low resolution binary duplex? allan On Tue, Nov 29, 2011 at 10:16 AM, Furio Settimiris at bresciaservice.com ?wrote: Il 25/11/2011 17:16, m. allan noah ha scritto: This machine is untested. Apparently it does not like the buffering command. This command might be unsupported, or it might have a different format for this machine. Can you get a log of the scanner in action under windows, using this software: http://www.pcausa.com/Utilities/UsbSnoop/ for this, send attachment If not, we can just disable this command, and rebuild sane-backends from source. for this, how I can make it ? Thanks Furio -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] Canon DR-7550 I/O Error
Can you make a log of the scanner actually making a scan? Maybe low resolution binary duplex? allan On Tue, Nov 29, 2011 at 10:16 AM, Furio Settimi ris at bresciaservice.com wrote: Il 25/11/2011 17:16, m. allan noah ha scritto: This machine is untested. Apparently it does not like the buffering command. This command might be unsupported, or it might have a different format for this machine. Can you get a log of the scanner in action under windows, using this software: http://www.pcausa.com/Utilities/UsbSnoop/ for this, send attachment If not, we can just disable this command, and rebuild sane-backends from source. for this, how I can make it ? Thanks Furio -- The truth is an offense, but not a sin
[sane-devel] Canon DR-7550 I/O Error
This machine is untested. Apparently it does not like the buffering command. This command might be unsupported, or it might have a different format for this machine. Can you get a log of the scanner in action under windows, using this software: http://www.pcausa.com/Utilities/UsbSnoop/ If not, we can just disable this command, and rebuild sane-backends from source. allan On Fri, Nov 25, 2011 at 10:39 AM, Furio Settimi ris at bresciaservice.com wrote: Hi, I have some problem with Canon DR-7550 on Slackware 13.37 with Sane V:10.0.22 When I try this command or other options, the report is every time this. Example: SANE_DEBUG_CANON_DR=25 scanimage ? file.tiff [canon_dr] ssm_buffer: start [canon_dr] do_usb_cmd: start [canon_dr] cmd: writing 24 bytes, timeout 3 [canon_dr] cmd: wrote 24 bytes, retVal 0 [canon_dr] out: writing 32 bytes, timeout 3 [canon_dr] out: wrote 0 bytes, retVal 9 [canon_dr] out: wrong size 32/0 [canon_dr] ssm_buffer: finish [canon_dr] sane_start: ERROR: cannot ssm buffer [canon_dr] sane_start: error 9 scanimage: sane_start: Error during device I/O [canon_dr] sane_cancel: finish [canon_dr] sane_close: start . thank You -- 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] Fujitsi-fi-6130
What version of sane-backends is on this machine? allan On Tue, Nov 22, 2011 at 7:18 AM, harrowite pinnerite at gmail.com wrote: It appears that this is a supported device that I have previously run from Mandriva Linux 2010.2 but I am now using PCLinuxOS 2011 where it is not found by the GUI install program nor is it listed when the manual option to install is selected. Is there anything that I can do to run it under Linux? -- View this message in context: http://old.nabble.com/Fujitsi-fi-6130-tp32872436p32872436.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- 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 -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/2022/4fc14ef1/attachment.html
[sane-devel] Fujitsu owners: help needed
Yesterday I committed an updated version (108) of the fujitsu backend to sane-backends git tree. This attempts to correct a series of long-standing bugs for the now ancient M3091 and M3092. These changes also modify code that is used by all other scanner models, most of which I do not own. Hence, I need some assistance to test these machines. If a few of you have some spare time to build sane from source, and make some scans, I would appreciate it. Installation: 1. install the libusb-dev package (or libusb-devel, not sure what your OS calls it) 2. install gcc package and it's required dependencies (though it's probably already installed) 3. download latest sane-backends from http://www.sane-project.org/snapshots/ 4. tar xzf sane-backends... 5. cd sane-backends... 6. run (all on one line): BACKENDS=fujitsu ./configure --prefix=/usr --sysconfdir=/etc --disable-locking (Note that you might need to add --libdir=/usr/lib64 if that is where your current sane libs are) 7. make (then wait awhile) 8. copy the file backend/.libs/libsane-fujitsu.so.1.0.23 over top of the copy provided by your distro, probably /usr/lib/sane/libsane-fujitsu.so.1.0.22 You can save the old one before you overwrite it if you want, just make sure the replacement uses that exact name. 9. test with scanimage Only step #8 needs to be done as root. Experiments: Basically these changes deal with the available resolution choices, and with the transfer of data from the scanner. So, making a series of scans which change the data volume (by changing mode, resolution, scan size, duplex, etc) should be sufficient. Switching between flatbed and adf (for the combination machines) would also be useful. That should be enough to uncover any problems. Thanks for your help! allan -- The truth is an offense, but not a sin -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/2022/1499bc0e/attachment.html
[sane-devel] TPU functionality in epson2-backend.
Sane is free/open source software. Take a spin thru the backend, and see if you can find a good place to send this command. allan On Mon, Nov 21, 2011 at 7:05 PM, Martin Zackrisson martin.zackrisson at cmb.gu.se wrote: On 2011-11-21 00:56, Olaf Meeuwissen wrote: No clue what capability 32829 is, but the scanner protocol command that selects whether you use the flatbed or TPU option uses the same values. That is, 0 will do a flatbed scan, 1 a TPU scan. I'm not versed in c++, so I wonder if such a capability could be included in SANE? It could, but I seriously doubt it should as it would drive the scanner outside of its spec. Thanks very much for your reply. I suspect that the scanner has a TPU capability limit is set lower since Epson must have assumed that people are not interested in scanning the full area in TPU mode (you are meant to use their fixtures to scan negatives etc. which all fall inside the standard TPU capability range). However, under Windows it is indeed possible to extend it. In fact the reason I found out about the 32829 was because I monitored what settings were changed when I launched Epson's own scanning interface (Two more did, but I never found any functionality connected to them). And changing this value to 1 does the trick/allows full size scanning. I've gotten many images that way, and I don't see any significant quality drop outside the standard max-range. Swithing it back to 0 and you get the smaller scanning area - all other settings equal. The setting could mean something like use full sensor width/length. Unfortunately for me, my use of the scanner demands that I succeed in getting the full image. So I would very much appreciate having this feature included or directions for how I could build it myself. Else, I would have to surrender back to Windows and TWAIN again. Also, my brute-force solution to the lamp-issue below is by simply cutting power to the scanner. This requires me to work in Linux. So I'm in a bit of a tight spot here. Best regards, Martin Zackrisson -- sane-devel mailing list: sane-devel at lists.alioth.**debian.orgsane-devel at lists.alioth.debian.org http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**sane-develhttp://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.orgsane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/2021/eb1274c8/attachment.html
[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685
|no)] [no] ??? Request backend to remove border from pages digitally ??? --swdespeck[=(yes|no)] [no] ??? Request backend to remove lone dots digitally ??? --despeck 1..9 (in steps of 1) [1] ??? Maximum diameter of lone dots to remove from scan ? Extras: ??? --lamp-off-time 0..60 [15] ??? The lamp will be turned off after the given time (in minutes). A value ??? of 0 means, that the lamp won't be turned off. ??? --threshold 0..100% (in steps of 1) [50] ??? Select minimum-brightness to get a white point ??? --threshold-curve 0..127 (in steps of 1) [50] ??? Dynamic threshold curve, from light to dark, normally 50-65 ??? --disable-dynamic-lineart[=(yes|no)] [no] ??? Disable use of a software adaptive algorithm to generate lineart ??? relying instead on hardware lineart. ??? --disable-interpolation[=(yes|no)] [no] ??? When using high resolutions where the horizontal resolution is smaller ??? than the vertical resolution this disables horizontal interpolation. ??? --color-filter Red|Green|Blue|None [None] ??? When using gray or lineart this option selects the used color. ? Sensors: ? Buttons: ??? --calibrate [] ??? Start calibration using special sheet ??? --clear-calibration [] ??? Clear calibration cache Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE. List of available devices: ??? genesys:libusb:002:003 2011/11/11 m. allan noah kitno455 at gmail.com You need to add the -b argument to scanimage, if you want multiple images. See man scanimage for details and other related options. allan On Fri, Nov 11, 2011 at 4:14 AM, ??? mimisturtle at gmail.com wrote: Can I use SANE (scanimage) to get a duplex image from DocketPort 685 i have tried ?scanimage --help -d?genesys:libusb:002:017 it showed messags but i found that sensor: was leaved blank , which meaned it didnt support duplex ? the sane utility was complied by my own I used sane-backends-1.0.22.tar.gz, libusb-0.1.12.tar.gz Could you kindly? help me to get? a docketPort 685 duplex-supported sane utility(scanimage) by modfication of source code or any other ways to achieve it ? Thanks a lot~ -- 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 -- The truth is an offense, but not a sin
[sane-devel] Samsung SCX-4100 support proposal.
You should get a log of the scanner in use with the windows driver. If you post the log on the web, someone may recognize the protocol. If you are lucky, it will be similar to an existing machine. I use this tool: http://www.pcausa.com/Utilities/UsbSnoop/ allan On Sun, Nov 13, 2011 at 6:47 AM, Ilya Tumaykin itumaykin at gmail.com wrote: You mean I should step forward from Reporting Unsupported Scanners to the next section Writing a Backend and start some coding? 13 ?? 2011??. 13:56 ABC abc at telekom.ru ???: I will not help you on that. Please read http://www.sane-project.org/contrib.html -abc On Sat, Nov 12, 2011 at 06:29:29PM +0300, Ilya Tumaykin wrote: I have no /proc/bus/usb, but here are the rest of the info I collected. Not sure if I should add these files as attachements, so I uploaded it to pastebin.ca. dmesg http://pastebin.ca/2093986 lsusb -vvv http://pastebin.ca/2093987 sane-find-scanner -v -v (from root) http://pastebin.ca/2093988 udevadm monitor --udev --kernel --property http://pastebin.ca/2093989 What is the next step? 2011/11/11 ABC abc at telekom.ru Hello Ilya Tumaykin, Then you should go standard/hard way: http://www.sane-project.org/contrib.html -abc On Fri, Nov 11, 2011 at 01:30:32AM +0300, wrote: Thanks for your reply. Of course I've already tried that with no luck at all. The short story of things that already was tried (all of them failed): 1. Added scanner's usb id to xerox_mfp.conf. Double checked udev rules for correctness. Blacklisted usblp and built SANE with usb support. 2. Got reports that SCX-4200 just works with latest Ubuntu. Checked patches for Ubuntu package. None of them were related, however I gave it a try with no luck. 3. Installed latest Ubuntu just to be sure and eliminate the fact that I could forgot some small detail. 4. Tried several different versions of Samsung's Unified Driver on my Gentoo and that clean Ubuntu I've just installed. There are several comments related to this issue in Gentoo's bugzilla under the name Coacher: https://bugs.gentoo.org/show_bug.cgi?id=139715 However, it is not SANE related. 5. Recompiled 3.0.8 kernel with changed Makefile to make it 2.6.40.8: VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 40 EXTRAVERSION = .8 I'll also make a try with 3.1 later but I don'y think I'll be lucky. I was trying to trick Samsung's driver so it is not SANE related too. The syptoms I have are the same after all this tries: when I plug in my MFP I see dmesg info message, can see udevd output, even have my printer working smoothly, but scanner is dead. 2011/11/10 ABC abc at telekom.ru Hello Ilya, Try to add USB ids of your device to your xerox.conf and try scanimage -L -abc On Thu, Nov 10, 2011 at 10:44:54PM +0300, wrote: Hello everyone. I am a long time Linux user and Samsung SCX-4100 owner. In ancient times SANE didn't have support for my model or, for exmaple, SCX-4200, so I used Samsung's binary driver. Now it is incompatible with modern 3.x kernels and I think it's a turning point for me to drop it in favor of opensource one. Since SCX-4200 and SCX-4600 are supported by xerox_mfp backend I hope it will be easier to add support for my scanner too. I send my call to devs to help me achieve this mission. I have on my side Linux-powered machine, Samsung SCX-4100, good knowledge of C and willing to make my old flatbed working. Please guide me through. Where should I start? Best regards. Ilya Tumaykin. -- 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 -- 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 -- Best regards. Ilya Tumaykin. -- 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 -- Best regards. Ilya Tumaykin. -- 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
[sane-devel] Test.conf devices not working for ADF
scanimage -b this should make a series of files in the current directory. allan On Sun, Nov 13, 2011 at 6:47 PM, Wolfgang Ihloff wolfgang at ihloff.de wrote: I am using the sane backend with test.conf devices add to dll.conf The test device works correctly for single page, however the adf does not work. Am I missing some configuration? I read somewhere that by default it should send 50 pages in case of adf setting. With Skanlite I get 10 pages when I select ADF before it returns Document feeder out of documents I am on MacOSX Snow Leopard using sane 1.0.23 and all related packages from?http://www.ellert.se/twain-sane/ Using Apple Image Capture I do not see the sane device. I Use Morena java scan applet from?http://www.gnome.sk/Twain/jtp.html My Gimp Installation does not show the Sane interface either. The instructions here did not make sense to me:?http://www.xsane.org/doc/sane-xsane-gimp-doc.html?I think there is no xsane on MacOSX Any suggestion on another program to try out on MacOSX? Any suggestions on what I am missing? What application are you using to test with? In case it is your own program: you can just do multiple scans until you get the Document feeder out of documents status or until you decide to stop. Right, that is what I would have expected but in my Java Setup I only see 1 page returned. But as stated above it might very well be an error within the Java domain on Morena or on my Java code. So another program to test would be the best next step I can come up with. Cheers, Wolfgang -- 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] Hello, I am Fedora user using SANE for my DocketPort 685
You need to add the -b argument to scanimage, if you want multiple images. See man scanimage for details and other related options. allan On Fri, Nov 11, 2011 at 4:14 AM, ??? mimisturtle at gmail.com wrote: Can I use SANE (scanimage) to get a duplex image from DocketPort 685 i have tried ?scanimage --help -d?genesys:libusb:002:017 it showed messags but i found that sensor: was leaved blank , which meaned it didnt support duplex ? the sane utility was complied by my own I used sane-backends-1.0.22.tar.gz, libusb-0.1.12.tar.gz Could you kindly? help me to get? a docketPort 685 duplex-supported sane utility(scanimage) by modfication of source code or any other ways to achieve it ? Thanks a lot~ -- 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] Epson Perfection V500 Photo
My epjitsu backend speaks to some Epson-based Fujitsu machines. I suppose it is possible that the v500 could be related, and a modified version could be produced. allan On Fri, Nov 4, 2011 at 4:38 PM, Ronald F. Guilmette rfg at tristatelogic.com wrote: In message 87fwi43zbq.fsf at avasys.jp, Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote: WRT FreeBSD support, may I suggest you submit a support request[2] so we get concrete info on how badly people want this. I'm not sure that I understand your request. ?Could you elaborate? I mean I want it. ?I want it bad. ?How bad? ?On a scale from one to ten? Well, you know, I suppose that there are many things in this life that I want more... youth, good looks, lots of money... If you are thinking that many other people will suddenly arise from out of the woodwork to clamor for a FreeBSD port of your driver, once I have formally done so, well I seriously don't think that's realistic. ?It's clear that FreeBSD doesn't have nearly the market penetration of Linux at this point, so there is never going to be a numerically huge demand. ?But those of us who use FreeBSD sure would think kindly of your company if you helped us on on this. Is it really (still) the case that in order to make the V500 work with SANE I have to get some closed-source binary that only runs on Linux? To the best of my knowledge, yes. ?I am not aware of any (successful) reverse engineering efforts. Alright. Thank you much for the information. I'm only asking because the guy who maintains the FreeBSD port of the epkowa backend suggested that I try the epson2 backend, because he felt that it was more up-to-date. Is that guy talking about the latest iscan release (2.27.1, released on 2011-09-26)? I have no idea what specific version he was talking about. ?All I know is that I've now tried both epkowa and epson2 and both are non-functioning for me in the way I described, i.e. sane-find-scanner sees the scanner while scanimage does not. Regards, rfg P.S. ?If you guys already have the code to make this work, then why not just do a FreeBSD port and release it as unsupported? ?I cannot imagine that doing that would take much work on your part. ?I mean it isn't as if Linux and FreeBSD are such radically different environments. ?In fact they are virtually identially in most respects. ?And also, as I understand it, access to this typr of scanner on FreeBSD is now performed exclusively through a low-level thing called libusb which is presenting some sort of nice clean API to higher level code that wants to access USB devices. ?So if your code already knows how to interface to libusb on Linux... well... I mean seriously, how hard would it be to just recompile the stuff for FreeBSD and then just stick the result on your FTP server under unsupported/ or something like that? Of course, if you are willing to do this I'll be more than happy to volunteer to be the guinea pig and test the thing out for you and see if it even works. -- 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] [PARTIALLY SOLVED] I/O error using saned over net
The bigger question is why does the kds driver return SANE_STATUS_JAMMED when the scanner is not jammed. Since it is closed source, we cannot know. allan On Tue, Nov 1, 2011 at 11:42 PM, widman widman at cecst.com wrote: A recurring problem with using saned over the network is an incomprehensible I/O error with a variety of scanners. Using a fresh install of Ubuntu lucid 10.04 and a freshly compiled sane-backends 1.0.22, with a new Kodak i1210 scanner, I found the following: ?1. Locally, scanimage -L ? ? detected the scanner correctly. ?2. Locally, scanimage --device-name kds:i1210/i1220 --batch=foo%d.pnm ? ? scanned every page correctly into local files. ?3. Locally, scanimage --device-name net:localhost:kds:i1210/i1220 --batch=foo%d.pnm ? ? failed with scanimage: sane_read: Error during device I/O. ?4. Over the net, scanimage --device-name net:ip of server:kds:i1210/i1220 --batch=foo%d.pnm ? ? failed with scanimage: sane_read: Error during device I/O. The following patch fixes the 4th situation (but not the 3rd) imperfectly: the first scanned page is lost completely. ?However, if the length is not set to zero, the first two pages are mixed together and only the third and subsequent pages of a batch are scanned and transmitted correctly. ?The patched version of sane is installed into /usr/local/sbin/ ?and the file /etc/xinetd.d/saned is updated accordingly: ?# server ? ?= /usr/sbin/saned ?server ? ? ?= /usr/local/sbin/saned Thus, this patch allows the scanner to be used over the net using sane at the cost of having to place a placeholder sheet before the first page that is to be scanned (since the first scanned page is discarded, the placeholder is discarded and the first real sheet is the second in the batch to be scanned). ?The questions now are: ?1) why is the status SANE_STATUS_JAMMED returned with loss of part of the first page? ?2) What can be done about it? I do not think the Kodak i1210 scanner is responsible because it works flawlessly via its local usb connection and because the same error has been reported with other scanners. Please note that I did not test this patch by actually jamming the scanner to make sure it would signal the error. Thanks diff -rc sane-backends-1.0.22/frontend/saned.c sane-backends-1.0.22.new/frontend/saned.c *** sane-backends-1.0.22/frontend/saned.c ? ? ? 2010-12-01 17:49:58.0 -0600 --- sane-backends-1.0.22.new/frontend/saned.c ? 2011-11-01 21:55:34.0 -0500 *** *** 1753,1758 --- 1753,1772 ? ? ? ? ?status = sane_read (be_handle, buf + reader, nbytes, length); ? ? ? ? ?DBG (DBG_INFO, ? ? ? ? ? ? ? do_scan: read %d bytes from scanner\n, length); + ? ? ? ? /* 2011-11-01 L Widman */ + ? ? ? ? ? // for some reason, the first bufferful comes with status SANE_STATUS_JAMMED + ? ? ? ? ? // which is separate from the scanner being empty later, and the first page + ? ? ? ? ? // is not read completely. + ? ? ? ? ? // ? Setting the initial length to 0 essentially discards the first page and + ? ? ? ? ? // allows the remaining pages to be read and transmitted normally. + ? ? ? ? ? // ? Note that reader == 4 only during the first iteration unless it exceeds sizeof(buf) + ? ? ? ? ? if( (reader == 4) (status == SANE_STATUS_JAMMED) ){ + ? ? ? ? ? ? DBG (DBG_INFO, + ? ? ? ? ? ? ? ?do_scan: accepting %d bytes from scanner despite status %s\n, length, sane_strstatus(status)); + ? ? ? ? ? ? status = SANE_STATUS_GOOD; + ? ? ? ? ? ? length = 0; + ? ? ? ? ? } + ? ? ? ? /* 2011-11-01 L Widman */ ? ? ? ? ?reset_watchdog (); -- 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] Fujitsu M3091DCd scanner: scanadf: invalid argument
Did this produce images? if not, you might try using scanimage -b instead. allan On Tue, Nov 1, 2011 at 6:45 AM, Dave Webb dave.webb8211 at googlemail.com wrote: I tried to compile the Debian packages from Wheezy (on my freshly installed Squeeze distribution, with your patch) which seems to solve this issue. I'm now able to scan simplex (source ADF Front). Thank you very much! But ... now scanadf crashes when scanning duplex: user at alpha:~$ SANE_DEBUG_FUJITSU=128 scanadf -d fujitsu --source 'ADF Duplex' --mode Gray --resolution 300 -x 210 -y 297 -o scan-%04d.pnm 2 dbg *** glibc detected *** scanadf: munmap_chunk(): invalid pointer: 0x00fd49a0 *** === Backtrace: = /lib/libc.so.6(+0x71ad6)[0x7f53cb031ad6] /usr/lib/x86_64-linux-gnu/sane/libsane-fujitsu.so.1(sane_fujitsu_read+0x6d4)[0x7f53caba83c4] scanadf[0x402708] scanadf[0x4042f3] /lib/libc.so.6(__libc_start_main+0xfd)[0x7f53cafdec4d] scanadf[0x401469] # What's installed: root at alpha:/home/user# dpkg -l | grep sane ii ?libsane ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1.0.22-6 ? ?API library for scanners ii ?libsane-common ? ? ? ? ? ? ? ? ? ? ? 1.0.22-6 ? ?API library for scanners -- documentation and support files ii ?libsane-dev ? ? ? ? ? ? ? ? ? ? ? ? ?1.0.22-6 ? ?API development library for scanners [development files] ii ?libsane-extras ? ? ? ? ? ? ? ? ? ? ? 1.0.22.2 ? ?API library for scanners -- extra backends ii ?libsane-extras-common ? ? ? ? ? ? ? ?1.0.22.2 ? ?API library for scanners -- documentation and support files rc ?libsane-hpaio ? ? ? ? ? ? ? ? ? ? ? ?3.10.6-2 ? ?HP SANE backend for multi-function peripherals ii ?sane ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1.0.14-9 ? ?scanner graphical frontends ii ?sane-utils ? ? ? ? ? ? ? ? ? ? ? ? ? 1.0.22-6 ? ?API library for scanners -- utilities rc ?xsane ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.997-2+b1 ? ?featureful graphical frontend for SANE (Scanner Access Now Easy) root at alpha:/home/user# dpkg -l | grep libc6 ii ?libc6 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?2.11.2-10 ? ?Embedded GNU C Library: Shared libraries ii ?libc6-dev ? ? ? ? ? ? ? ? ? ? ? ? ? ?2.11.2-10 ? ?Embedded GNU C Library: Development Libraries and Header Files ii ?libc6-i386 ? ? ? ? ? ? ? ? ? ? ? ? ? 2.11.2-10 ? ?Embedded GNU C Library: 32-bit shared libraries for AMD64 I attached the full backtrace and a description what I did in an attachment because the files are so huge. If you need more debugging information I'm willing to help. Kind regards Dave Webb On 10/31/11, m. allan noah kitno455 at gmail.com wrote: yes- that was fixed in sane-backends 1.0.22, we must not call mode-select unless the scanner supports the page code in question. Easiest would be an upgrade, though you will still need to repeat the prior fix. allan On Mon, Oct 31, 2011 at 5:37 PM, Dave Webb dave.webb8211 at googlemail.com wrote: Allen, I applied your lines and installed the backends again. The lines are called but the scanner still does not work. The error message changed slightly. [fujitsu] sane_start: start [fujitsu] started=0, side=0, source=1 [fujitsu] update_params: start [fujitsu] update_params: x: max=10200, page=10200, gpw=10200, res=300 [fujitsu] update_params: y: max=33632, page=13200, gph=13200, res=300 [fujitsu] update_params: area: tlx=0, brx=10200, tly=0, bry=13200 [fujitsu] update_params: params: ppl=2544, Bpl=318, lines=3300 [fujitsu] update_params: params: format=0, depth=1, last=1 [fujitsu] update_params: finish [fujitsu] scanner_control: start [fujitsu] scanner_control: adf function not required [fujitsu] mode_select_auto: start [fujitsu] do_scsi_cmd: start [fujitsu] cmd: writing 6 bytes [fujitsu] cmd: [fujitsu] 000: 15 10 00 00 0c 00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? .. [fujitsu] out: writing 12 bytes [fujitsu] out: [fujitsu] 000: 00 00 00 00 3c 06 00 00 00 00 00 00 ... [fujitsu] sense_handler: start [fujitsu] Sense=0x5, ASC=0x20, ASCQ=00, EOM=1, ILI=0, info= [fujitsu] Illegal request: invalid command [fujitsu] do_scsi_cmd: return 'Invalid argument' [fujitsu] mode_select_auto: finish [fujitsu] sane_start: ERROR: cannot mode_select_auto scanadf: sane_start: Invalid argument Invalid argument Scanned 0 pages [fujitsu] sane_cancel: start [fujitsu] sane_cancel: finish [fujitsu] sane_close: start [fujitsu] mode_select_buff: start [fujitsu] mode_select_buff: unsupported [fujitsu] disconnect_fd: start [fujitsu] disconnecting scsi device [fujitsu] disconnect_fd: finish [fujitsu] sane_close: finish [fujitsu] sane_exit: start [fujitsu] disconnect_fd: start [fujitsu] disconnect_fd: finish [fujitsu] sane_exit: finish What's going on here? Best regards Dave Webb -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] Fw: Canon DR-2580C - size recognition problems
I've attached a patch which should address the issue, by making the side of the padding configurable. I've not tested it at all, and it may not even apply cleanly to the version you are using. But, it's short, so you should be able to manually add it. allan On Mon, Oct 31, 2011 at 8:11 PM, m. allan noah kitno455 at gmail.com wrote: Grr- this machine seems to work in reverse from all the others. the back side is padded instead of the front. I shall have to think about that... allan On Mon, Oct 31, 2011 at 8:03 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: There you go. Were created at the time the previous log was. Command was ?SANE_DEBUG_CANON_DR=15 scanimage --mode Gray --source ADF Duplex ?--resolution 200 --batch-count=2 --batch=s%d.pnm --page-height 300 ?--page-width 240 -x 240 -y 300 --swcrop=no output3 Scaled down by factor 4 x 4, as the ones before. Max Am Mon, 31 Oct 2011 19:56:12 -0400 schrieb m. allan noah kitno455 at gmail.com: hmm, send me two images like you did before. allan On Mon, Oct 31, 2011 at 7:42 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Increased to 42. Seems to be alright, as far as i can see. Max -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin -- next part -- A non-text attachment was scrubbed... Name: cdr-2580.diff Type: application/octet-stream Size: 1462 bytes Desc: not available URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/2001/d7afb70a/attachment.obj
[sane-devel] Fw: Canon DR-2580C - size recognition problems
I will commit the current patch. we can adjust the offset value later. allan On Tue, Nov 1, 2011 at 3:05 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Awesome! Got really good scans now. Maybe the front side starts a little early (hard to determine exactly, the rotation at the other scans may be responsible for having the offset wrong), about 1 mm but that's all ok to me. Today I'm out of time and can't do further finetuning, but as soon as I got the perfect offset value i'll mention it here. Thank you very much for your excellent support. If you (this means all of the list as well of cause) need testing for this model in the future, please feel free to ask. Max Am Tue, 1 Nov 2011 09:39:23 -0400 schrieb m. allan noah kitno455 at gmail.com: I've attached a patch which should address the issue, by making the side of the padding configurable. I've not tested it at all, and it may not even apply cleanly to the version you are using. But, it's short, so you should be able to manually add it. allan -- The truth is an offense, but not a sin
[sane-devel] Fujitsu M3091DCd scanner: scanadf: invalid argument
It appears that the 3091 does not support the scanner control command with function 0. This is used on all other Fujitsu machines to indicate the use of the adf. The other adf-only machines support this function. I suppose it could be made conditional based on the presence of the adf. Are you able to compile sane-backends from source? allan On Mon, Oct 31, 2011 at 11:01 AM, Dave Webb dave.webb8211 at googlemail.com wrote: Hi, I can provide more debug information because I did: user at alpha:~$ export SANE_DEBUG_FUJITSU=128 To me, this is the relevant excerpt: [...] [fujitsu] scanner_control: start [fujitsu] scanner_control: function 0 [fujitsu] do_scsi_cmd: start [fujitsu] cmd: writing 10 bytes [fujitsu] cmd: [fujitsu] 000: f1 00 00 00 00 00 00 00 00 00 ? ? ? ? ? ? ? ? ? .. [fujitsu] sense_handler: start [fujitsu] Sense=0x5, ASC=0x24, ASCQ=00, EOM=1, ILI=0, info= [fujitsu] Illegal request: invalid CDB field [fujitsu] do_scsi_cmd: return 'Invalid argument' [fujitsu] scanner_control: error, tries 1, ret 4 [fujitsu] scanner_control: finish [fujitsu] sane_start: ERROR: cannot control adf, ignoring [...] The full log is attached. Kind regards! Dave Webb -- 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] Canon DR-2580C - size recognition problems
try setting using the page-width and page-height params before you set the x/y allan On Mon, Oct 31, 2011 at 1:39 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Hi, I've got some problems with the Canon DR-2580C scanner: It doesn't recognize the size of the paper(which is Din A4) correctly but cuts off the bottom. Setting the size via -x/-y doesn't work, since these values are reset to the predefined maximums (215, 279). In sum the front side is missing 1 to 2 cm at the bottom. Additionally the back side has a y-offset, so it starts about 2-3 cm late and is therefore missing 3-5 cm. Another thing is: The back side it slightly rotated even if the front page is all straight. Furthermore: Various(i.e. i tested all possible) combinations of swcrop, swdeskew and rollerdeskew do not work as expected. Especially deskew rotates the page (mostly the back side, as this is rotated slightly as mentioned above) into the wrong direction; so afterwards it's even more inclined than before. Still the last thing wouldn't be that a problem to me, since one could do that via some software after the scan. The main thing is the missing data at the bottom of the page. Mostly used scanimage; with different resolutions, modes, parameters for x,y,t,l and deskew-options. I tested some gui tools as well (though gscan2pdf seems to be the only one, supporting duplex; it shows those problems as well): scanimage --mode Gray --source ADF Duplex --resolution 200 --batch-count=2 --batch=s%d.pnm Version information: (debian wheezy) :~$ dpkg --list | grep sane ii libsane 1.0.22-6 ? ? ? ? ? ? ? ? ? ? ? ? API library for scanners ii libsane-common 1.0.22-6 ? ? ? ? ? ? ? ? ? ? ? ? API library for ? ? ? ?scanners -- documentation and support files ii libsane-extras 1.0.22.2 ? ? ? ? ? ? ? ? ? ? ? ? API library for scanners -- extra ? ? ? ?backends ii libsane-extras-common 1.0.22.2 ? ? ? ? ? ? ? ? ? ? ? ? API library for scanners -- ? ? ? ?documentation and support files ii libsane-perl 0.03-1+b1 ? ? ? ? ? ? ? ? ? ? ? ?Perl bindings for the SANE (Scanner ? ? ? ?Access Now Easy) Project ii ?sane-utils 1.0.22-6 ? ? ? ? ? ? ? ? ? ? ? ? API library for scanners -- utilities :~$ scanimage -V scanimage (sane-backends) 1.0.22; backend version 1.0.22 :~$ lsusb | grep Canon Bus 001 Device 046: ID 04a9:1608 Canon, Inc. I'd have attached a example scan consisting of front and back side (50kb each); not sure whether this 'd be ok on this list? Please let me know what more information would be needful or which tests i could do. Thanks for any help in advance. kind regards, Max -- 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] Fw: Canon DR-2580C - size recognition problems
what is the height in pixels of the waste data at the top of the page, and what resolution did you scan at? allan On Mon, Oct 31, 2011 at 2:13 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Ah, ic. I'll give it a try and given i find some time take a look at the source. Thank you very much for your (indeed fast) help. Max PS: Sorry, lost the last two messages to the list; see citations. Am Mon, 31 Oct 2011 14:01:03 -0400 schrieb m. allan noah kitno455 at gmail.com: The deskew is purely a crude software algo. If the bottom has been cut off, it has no chance. Perhaps now it will be improved. The cropping can be corrected by setting the value of duplex_offset for this model in the backend. You would have to build from source. allan On Mon, Oct 31, 2011 at 1:56 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Ah, this works for the bottom-missing-problem. Thanks for that. Perhaps this should be mentioned in the documentation. Or is it already and i overlooked it? Do you have any recommendations for the other thing (crop/deskew) as well? kind regards, Max Am Mon, 31 Oct 2011 13:47:22 -0400 schrieb m. allan noah kitno455 at gmail.com: try setting using the page-width and page-height params before you set the x/y allan -- 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] Fw: Canon DR-2580C - size recognition problems
ok. if you download the sane-backend source, and edit backend/canon_dr.c, you will find the function init_model(). In there is a section for your scanner. Add this line: s-duplex_offset = 432; Then you should be able to configure and make the software. You don't need to make install. Instead, just copy backend/.libs/libsane-canon_dr.so.1.0.22 over the version provided by your distro. Make sure you use the same file name, as there are symlinks which point to it. That should cause the backend to strip off the black line from the top of the back side. allan On Mon, Oct 31, 2011 at 3:28 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Well, it is indeed far better with the bottom not cut off. I used ?scanimage --mode Gray --source ADF Duplex --resolution 200 ?--batch-count=2 --batch=s%d.pnm --page-height 300 --page-width 240 -x ?240 -y 300 --rollerdeskew=yes --swcrop=yes --swdeskew=no output: ?scanimage: rounded value of page-height from 300 to 299.999 ?scanimage: rounded value of page-width from 240 to 216.042 ?scanimage: rounded value of br-x from 240 to 216.042 ?scanimage: rounded value of br-y from 300 to 299.999 ?Scanning 2 pages, incrementing by 1, numbering from 1 ?Scanning page 1 ?Scanned page 1. (scanner status = 5) ?Scanning page 2 ?Scanned page 2. (scanner status = 5) to generate the images attached. They are scaled down by factor 4 x 4, means: resolution: ? ? ? ? ? ? ? ? ? ? ? ? ? ? 200 ppi image-dimensions: ? ? ? ? ? ? ? ? ? ? ? 1649 px x 2361 px media-dimensions: ? ? ? ? ? ? ? ? ? ? ? 210 mm x 297 mm scan-dimensions: ? ? ? ? ? ? ? ? ? ? ? ?216 mm x 300 mm height of black bar bottom front side: ?77 px height of black bar top back side: ? ? ?72 px kind regards, Max Am Mon, 31 Oct 2011 14:18:21 -0400 schrieb m. allan noah kitno455 at gmail.com: what is the height in pixels of the waste data at the top of the page, and what resolution did you scan at? allan On Mon, Oct 31, 2011 at 2:13 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Ah, ic. I'll give it a try and given i find some time take a look at the source. Thank you very much for your (indeed fast) help. Max -- The truth is an offense, but not a sin
[sane-devel] Fujitsu M3091DCd scanner: scanadf: invalid argument
no patch, but maybe you can do this by hand: Edit backend/fujitsu.c and find function scanner_control(). After the line 'if(s-has_cmd_scanner_ctl){' , add this: /* don't really need to ask for adf if that's the only option */ /* doing so causes the 3091 to complain */ if(function == SC_function_adf !s-has_flatbed){ DBG (10, scanner_control: adf function not required\n); return ret; } then make make install allan On Mon, Oct 31, 2011 at 4:49 PM, Dave Webb dave.webb8211 at googlemail.com wrote: Allen! Thanks for your promptly reply. Are you able to compile sane-backends from source? Yes, I've some experience with compiling software packages from source (homebrew et cetera). It's the first time I used Debian's apt-get -b source to build the packages, but I think I succeeded. Obviously, the same error occurs after installing these packages. Are you going to send me a patch I could test? Best regards Dave What I did: apt-get install dpkg-dev dpatch libgimp2.0-dev libgtk2.0-dev autotools-dev libv4l-dev libgphoto2-2-dev libltdl3-dev libjpeg-dev libtiff4-dev libusb-dev ?libieee1284-3-dev ?libavahi-client-dev texlive texlive-latex-extra chrpath xutils-dev apt-get -b source libsane-dev apt-get -b source libsane-extras dpkg -i libsane-extras_1.0.21.2_amd64.deb libsane-extras-dbg_1.0.21.2_amd64.deb libsane-extras-dev_1.0.21.2_amd64.deb dpkg -i libsane_1.0.21-9_amd64.deb libsane-dbg_1.0.21-9_amd64.deb libsane-dev_1.0.21-9_amd64.deb apt-get -b source sane dpkg -i sane-utils_1.0.21-9_amd64.deb sane_1.0.14-9_amd64.deb -- 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] Fw: Canon DR-2580C - size recognition problems
No, it's detected correctly. Can you increase the value of BUILD near the top of the file, and make and copy again? then get another log. I wish to make sure we are actually running the modified code. allan On Mon, Oct 31, 2011 at 5:34 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Had a look at the debug-log with SANE_DEBUG_CANON_DR=15, see attachment. Am I suspecting right that it is recognized as the wrong model, i.e. DR-2050? Max On Mon, 31 Oct 2011 22:27:11 +0100 Max Voit max.voit+mlsa at with-eyes.net wrote: seems debian did some strange things i don't understand. Finally build the whole package anew and installed it, otherwise(with the way described, same version as the installed package) the scanner would not be recognized. Well, it didn't work. The black bar at the top of the back side is still 70px, the one on the bottom of the front side grew up to 140px. kind regards, Max On Mon, 31 Oct 2011 15:43:42 -0400 m. allan noah kitno455 at gmail.com wrote: ok. if you download the sane-backend source, and edit backend/canon_dr.c, you will find the function init_model(). In there is a section for your scanner. Add this line: s-duplex_offset = 432; Then you should be able to configure and make the software. You don't need to make install. Instead, just copy ?backend/.libs/libsane-canon_dr.so.1.0.22 over the version provided by your distro. Make sure you use the same file name, as there are symlinks which point to it. That should cause the backend to strip off the black line from the top of the back side. allan -- The truth is an offense, but not a sin
[sane-devel] Fw: Canon DR-2580C - size recognition problems
hmm, send me two images like you did before. allan On Mon, Oct 31, 2011 at 7:42 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Increased to 42. Seems to be alright, as far as i can see. Max Am Mon, 31 Oct 2011 19:21:14 -0400 schrieb m. allan noah kitno455 at gmail.com: No, it's detected correctly. Can you increase the value of BUILD near the top of the file, and make and copy again? then get another log. I wish to make sure we are actually running the modified code. allan On Mon, Oct 31, 2011 at 5:34 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Had a look at the debug-log with SANE_DEBUG_CANON_DR=15, see attachment. Am I suspecting right that it is recognized as the wrong model, i.e. DR-2050? Max -- The truth is an offense, but not a sin
[sane-devel] Fujitsu M3091DCd scanner: scanadf: invalid argument
yes- that was fixed in sane-backends 1.0.22, we must not call mode-select unless the scanner supports the page code in question. Easiest would be an upgrade, though you will still need to repeat the prior fix. allan On Mon, Oct 31, 2011 at 5:37 PM, Dave Webb dave.webb8211 at googlemail.com wrote: Allen, I applied your lines and installed the backends again. The lines are called but the scanner still does not work. The error message changed slightly. [fujitsu] sane_start: start [fujitsu] started=0, side=0, source=1 [fujitsu] update_params: start [fujitsu] update_params: x: max=10200, page=10200, gpw=10200, res=300 [fujitsu] update_params: y: max=33632, page=13200, gph=13200, res=300 [fujitsu] update_params: area: tlx=0, brx=10200, tly=0, bry=13200 [fujitsu] update_params: params: ppl=2544, Bpl=318, lines=3300 [fujitsu] update_params: params: format=0, depth=1, last=1 [fujitsu] update_params: finish [fujitsu] scanner_control: start [fujitsu] scanner_control: adf function not required [fujitsu] mode_select_auto: start [fujitsu] do_scsi_cmd: start [fujitsu] cmd: writing 6 bytes [fujitsu] cmd: [fujitsu] 000: 15 10 00 00 0c 00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? .. [fujitsu] out: writing 12 bytes [fujitsu] out: [fujitsu] 000: 00 00 00 00 3c 06 00 00 00 00 00 00 ? ? ? ? ? ? ... [fujitsu] sense_handler: start [fujitsu] Sense=0x5, ASC=0x20, ASCQ=00, EOM=1, ILI=0, info= [fujitsu] Illegal request: invalid command [fujitsu] do_scsi_cmd: return 'Invalid argument' [fujitsu] mode_select_auto: finish [fujitsu] sane_start: ERROR: cannot mode_select_auto scanadf: sane_start: Invalid argument Invalid argument Scanned 0 pages [fujitsu] sane_cancel: start [fujitsu] sane_cancel: finish [fujitsu] sane_close: start [fujitsu] mode_select_buff: start [fujitsu] mode_select_buff: unsupported [fujitsu] disconnect_fd: start [fujitsu] disconnecting scsi device [fujitsu] disconnect_fd: finish [fujitsu] sane_close: finish [fujitsu] sane_exit: start [fujitsu] disconnect_fd: start [fujitsu] disconnect_fd: finish [fujitsu] sane_exit: finish What's going on here? Best regards Dave Webb -- The truth is an offense, but not a sin
[sane-devel] Fw: Canon DR-2580C - size recognition problems
Grr- this machine seems to work in reverse from all the others. the back side is padded instead of the front. I shall have to think about that... allan On Mon, Oct 31, 2011 at 8:03 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: There you go. Were created at the time the previous log was. Command was ?SANE_DEBUG_CANON_DR=15 scanimage --mode Gray --source ADF Duplex ?--resolution 200 --batch-count=2 --batch=s%d.pnm --page-height 300 ?--page-width 240 -x 240 -y 300 --swcrop=no output3 Scaled down by factor 4 x 4, as the ones before. Max Am Mon, 31 Oct 2011 19:56:12 -0400 schrieb m. allan noah kitno455 at gmail.com: hmm, send me two images like you did before. allan On Mon, Oct 31, 2011 at 7:42 PM, Max Voit max.voit+mlsa at with-eyes.net wrote: Increased to 42. Seems to be alright, as far as i can see. Max -- The truth is an offense, but not a sin
[sane-devel] plustek optic pro s28
This machine is GL841 based? You should get info from stef about how to add the machine to genesys backend. allan On Tue, Oct 25, 2011 at 6:10 PM, Yevgeny Gromov yevgeny at tut.by wrote: Hi! I try to write driver for Plustek optic pro s28 which is not supported yet in sane. Maybe someone tried to do it before me and have achieved some results? Just now after several hours of work I've only lerned how to turn off and on the lamp in it. -- 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] Kodak DS 3520 on Ubuntu 10.04 w/1.0.22 backend
let's see- 300 dpi monochrome scsi scanner, possibly not actually made by Kodak. You sure you want to put any effort into this? :) We would need a log of the thing making a scan under windows, so we can see if bears any relationship to other kodaks. allan On Fri, Oct 21, 2011 at 10:12 AM, Kevin MacNeil kevin.macneil at gmail.com wrote: I have a Kodak DS 3520 scanner I'm trying to get working with Ubuntu 10.04. http://www.sane-project.org/sane-mfgs.html#Z-KODAK says Please test! sane-find-scanner worked with 10.04's included 1.0.20 version of sane-backends, however scanimage -L failed to locate the scanner. I built prevu debs for 10.04 with version 1.0.22 from the current Ubuntu Oneriric release. I was not able to get sane-backends-extras to build. With the new libsane and sane-utils installed scanimage -L now works, but scanimage -T returns an illegal request error (see below). Despite its current refusal to work with Linux, the 3520 is a pretty nice scanner. I'd like to get it working if possible. Does anyone have any suggestions, or is this a lost cause? root at ubuntu-scanner:~# dpkg -l | egrep '(libsane | sane-utils)' ii ?libsane ? ? ? ? ? 1.0.22-2ubuntu2~10.04prevu1 ? ? API library for scanners ii ?sane-utils ? ? ? ?1.0.22-2ubuntu2~10.04prevu1 ? ? API library for scanners -- utilities root at ubuntu-scanner:~# export SANE_DEBUG_KODAK=5 root at ubuntu-scanner:~# sane-find-scanner found SCSI scanner KODAK DS Scanner 3000 0201 at /dev/sg2 root at ubuntu-scanner:~# scanimage -L [sanei_debug] Setting debug level of kodak to 5. [kodak] sane_init: kodak backend 1.0.7, from sane-backends 1.0.22 device `kodak:/dev/sg2' is a KODAK DS Scanner 3000 scanner root at ubuntu-scanner:~# scanimage -T [sanei_debug] Setting debug level of kodak to 5. [kodak] sane_init: kodak backend 1.0.7, from sane-backends 1.0.22 [kodak] sense_handler: start [kodak] SK=0x5, ASC=0x24, ASCQ=00, ILI=0, info= [kodak] Illegal request: invalid field in CDB [kodak] do_cmd: return 'Invalid argument' [kodak] sane_open: GX error 4 scanimage: open of device kodak:/dev/sg2 failed: Invalid argument -- 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] Kodak DS 3520 on Ubuntu 10.04 w/1.0.22 backend
...that's 10+ years old? :) If it is truly made by Kodak, then we might be able to modify the backend to talk to it. If it is actually Panasonic or BB+H, we will have more work to do. I will ask my contacts at kodak if they have any info on this machine. They have been helpful in the past. allan On Fri, Oct 21, 2011 at 10:23 AM, Kevin MacNeil kevin.macneil at gmail.com wrote: This would be more of a high-speed, high-volume $$$ SCSI scanner. We actually have two of them. On Fri, Oct 21, 2011 at 10:20 AM, m. allan noah kitno455 at gmail.com wrote: let's see- 300 dpi monochrome scsi scanner, possibly not actually made by Kodak. You sure you want to put any effort into this? :) We would need a log of the thing making a scan under windows, so we can see if bears any relationship to other kodaks. allan On Fri, Oct 21, 2011 at 10:12 AM, Kevin MacNeil kevin.macneil at gmail.com wrote: I have a Kodak DS 3520 scanner I'm trying to get working with Ubuntu 10.04. http://www.sane-project.org/sane-mfgs.html#Z-KODAK says Please test! sane-find-scanner worked with 10.04's included 1.0.20 version of sane-backends, however scanimage -L failed to locate the scanner. I built prevu debs for 10.04 with version 1.0.22 from the current Ubuntu Oneriric release. I was not able to get sane-backends-extras to build. With the new libsane and sane-utils installed scanimage -L now works, but scanimage -T returns an illegal request error (see below). Despite its current refusal to work with Linux, the 3520 is a pretty nice scanner. I'd like to get it working if possible. Does anyone have any suggestions, or is this a lost cause? root at ubuntu-scanner:~# dpkg -l | egrep '(libsane | sane-utils)' ii ?libsane ? ? ? ? ? 1.0.22-2ubuntu2~10.04prevu1 ? ? API library for scanners ii ?sane-utils ? ? ? ?1.0.22-2ubuntu2~10.04prevu1 ? ? API library for scanners -- utilities root at ubuntu-scanner:~# export SANE_DEBUG_KODAK=5 root at ubuntu-scanner:~# sane-find-scanner found SCSI scanner KODAK DS Scanner 3000 0201 at /dev/sg2 root at ubuntu-scanner:~# scanimage -L [sanei_debug] Setting debug level of kodak to 5. [kodak] sane_init: kodak backend 1.0.7, from sane-backends 1.0.22 device `kodak:/dev/sg2' is a KODAK DS Scanner 3000 scanner root at ubuntu-scanner:~# scanimage -T [sanei_debug] Setting debug level of kodak to 5. [kodak] sane_init: kodak backend 1.0.7, from sane-backends 1.0.22 [kodak] sense_handler: start [kodak] SK=0x5, ASC=0x24, ASCQ=00, ILI=0, info= [kodak] Illegal request: invalid field in CDB [kodak] do_cmd: return 'Invalid argument' [kodak] sane_open: GX error 4 scanimage: open of device kodak:/dev/sg2 failed: Invalid argument -- 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 -- The truth is an offense, but not a sin
[sane-devel] question please
you did not tell us your version of sane-backends, or what scanner you have, so it is very hard to help you... allan On Wed, Oct 19, 2011 at 4:45 AM, Derrick Neve djn at microtec.fr wrote: With the release of Ubuntu 11.10 I have a little problem. I use Xsane often to scan using the flatbed scanner in my office just behind me. ?Before (under 11.04 -- don't know if that makes a difference) Xsane used to pick up 1) my scanner and 2) another hp aio in a different office on our network. ?Now, when it scans it picks up two OTHER hp aio but NOT my own scanner! How can I force it to use MY scanner instead of presenting me the choice of two others that I don't want? Thank you so much! Derrick -- 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] scanimage problem
1. hopefully you have listed hp2400 in dll.conf, not genesys.conf 2. the 2400 should work if you are running a development version of sane-backends 2. If you cannot get the scanner to show up consistently to lsusb, there is some bigger problem. Are you running a virtual machine? allan On Wed, Oct 19, 2011 at 11:05 AM, Bertie Coopersmith bertie at coopersmith.demon.co.uk wrote: For some years I had been using my HP Scanjet 2400 with the Elcot driver which is configured by the entry hp2400 in dll.conf Then sometime in, I think, June 2011 as part of a regularly occurring automatic update of my Ubuntu 10.04 LTS system this driver was replaced as part of the SANE development. The new driver is configured by an hp2400 entry in genesys.conf. It is is still under development by Alexey Osipov. It was initially able to produce a greyscale image of a colour document but now it fails to work at all. 'scanimage -L' fails with ?Segmentation Fault If I go back to the Elcot driver then 'scanimage -L' outputs: scanimage: symbol lookup error: /usr/lib/sane/libsane-hp2400.so.1: undefined symbol: sanei_usb_init Should I buy a modern scanner which the SANE Web page asserts does work and attempt to install it or shall I continue to try, with your help, to get this hp2400 model to work? ?--- Even to get it to be consistently recognized by 'lsusb' can be a struggle. Please help, Bertie Coopersmith. -- 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] Commit by JAZ
This is partly my fault. I have his account configured for read-only git access, but there is a bug in alioth which allows write access. I will clean it up. allan On Tue, Oct 18, 2011 at 4:36 AM, ABC abc at telekom.ru wrote: 2011-10-17 12:22 JAZ ? ? ? ? ? ? ? ?unwanted files removed 2011-10-17 12:00 JAZ ? ? ? ? ? ? ? ?Applied patch for HPN6310 These patches effectively removing applied by me at 2011-10-01 (two week before 2011-10-17). Which si bad. git log -p backend/xerox_mfp.conf.in doc/descriptions/xerox_mfp.desc 2011-10-01 16:18 Alex Belkin ? ? ? ?Usb id for Samsung SCX-4828FN or SCX-4x28 Series Maybe you can 'git pull' before commiting next time? Bad. -- 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] Commit by JAZ
I have made two revert commits which should reverse the code changes. I did not make a revert on the merge commit, but I think that's OK. Alex and stef- can you check that everything looks correct now? allan On Tue, Oct 18, 2011 at 7:10 AM, m. allan noah kitno455 at gmail.com wrote: This is partly my fault. I have his account configured for read-only git access, but there is a bug in alioth which allows write access. I will clean it up. allan On Tue, Oct 18, 2011 at 4:36 AM, ABC abc at telekom.ru wrote: 2011-10-17 12:22 JAZ ? ? ? ? ? ? ? ?unwanted files removed 2011-10-17 12:00 JAZ ? ? ? ? ? ? ? ?Applied patch for HPN6310 These patches effectively removing applied by me at 2011-10-01 (two week before 2011-10-17). Which si bad. git log -p backend/xerox_mfp.conf.in doc/descriptions/xerox_mfp.desc 2011-10-01 16:18 Alex Belkin ? ? ? ?Usb id for Samsung SCX-4828FN or SCX-4x28 Series Maybe you can 'git pull' before commiting next time? Bad. -- 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 -- The truth is an offense, but not a sin
[sane-devel] epson V100
What version of sane-backends are you running? allan On Mon, Oct 10, 2011 at 10:30 AM, St?phanie Vilayphiou stephanie.vilayphiou at gmail.com wrote: Hi, several years ago, I bought an Epson V100 for it was suitable for Linux. At the time I was running Ubuntu. Now I tried to use it under Arch Linux and I have some struggles... I installed those packages from the aur reposit: iscan-data here is some output: sane-find-scanner found USB scanner (vendor=0x04b8 [EPSON], product=0x012d [EPSON Scanner]) 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. scanimage -L hdevice `epkowa:usb:002:003' is a Epson (unknown model) flatbed scanner device `epson:libusb:002:003' is a Epson? flatbed scanner in /etc/sane.d/epkowa.conf and in /etc/sane.d/epson.conf I have: usb usb 0x04b8 0x012d usb /dev/usb/scanner0 iscan Could not send command to scanner. Check scanner's status. xsane It proposes me to choose between 2 devices: epkowa:usb:002:003 Doesn't seem to end into anything. epson:libusb:002:003 Opens up xsane, but when trying to preview or scan: Failed to start scanner: Invalid argumenth Doing all those things with sudo leads to the same results. I do not know where to look anymore... Does someone have a hint? Thanks! St?phanie -- St?phanie Vilayphiou stdin http://stdin.fr/ +32 (0)4 89 00 88 59 -- 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] Many questions: JPEG-Compressed scan; public or password login; Error messages; Scanner HDD access
On Wed, Oct 5, 2011 at 11:23 AM, Reinhold Kainhofer reinhold at kainhofer.com wrote: I'm currently trying to write a backend for Konica minolta bizhub copiers/scanners (via TCP/IP). I have basically decoded the protocol: http://wiki.kainhofer.com/hardware/bizhub_scan Now, I have several issues concerning how to implement things in the backend: 1) The device supports user login, public login or completely free access. It's clear how I can request a user/password if that is required. However, the device I have at hand allows public access and optional password-protected access. How can I let the user decide whether to use public access or password-protected access? I'm attaching a screenshot of the corresponding part of the windows TWAIN driver. You have not explained what the different levels of access actually do, so it's hard to suggest a solution. 2) The device offers JPEG compression for grayscale and color scans, while SANE so far only supports uncompressed RGB frames (which means that at 600dpi, it will require up to 200MB of network traffic and RAM). What is the recommended way to decompress the JPEG data? Link to libjpeg and use that? Or is there some built-in code (afaics, sanei_jpeg.h is about creating jpeg files, right?). Most backends simply seem to disallow any compression if SANE_FRAME_JPEG is not defined, which I don't like because sending the uncompressed data is really a waste of bandwidth and it takes quite a while. Just because the current sane standard does not allow you to return jpeg data to the front end, does not mean that you cannot collect jpeg data from the scanner. Use libjpeg to decompress in the backend. Also add an option to produce jpeg output if SANE_FRAME_JPEG is defined. Some day that might be turned on... :( 3) How can I get some custom error message to the front end? In particular, the device will refuse to scan from FBF if there is some paper in the ADF. (The reverse is easy, because the is SANE_STATUS_NO_DOCS to indicate that the scanner expects paper in the ADF) How can I tell the user that he can't scan from FBF if the ADF is loaded? SANE_STATUS_INVAL does not give the user any clue what's wrong... I would returned jammed in that case. Unfortunately you cannot send custom messages. 4) The device supports Paper discoloration or Background removal, both with a setting of either Auto or a numeric values -6...+2 (see attached screenshot). It seems that the proper way to implement this for an option is to use a Range {-6, 2, 1} and capabilities with SANE_CAP_AUTOMATIC. This really adds a checkbox in xsane to use either automatic or the manually given numeric value. However, I don't find a way to set the default to automatic... I have handled similar situations in other backends with two options- one bool to enable/disable/auto, and a second to set the level. Or, a single range with one of the values being treated as 'automatic'. 5) The scanners also have a HDD installed, where one can store scans on the disk and later retrieve them via the network (again, it's the same SCL-based protocol like real scans). It basically works by logging in as a user, then selecting a box and then selecting an image in that box. You can then download that image just like you would really scan it. How can I implement this as a sane backend (in particular the box+image selection part)? Any ideas? This would require a 'scan' to produce a thumbnail page, and then a second scan with an 'image_number' option, perhaps as a vector. The gui would have to be custom. allan Thanks, Reinhold -- -- Reinhold Kainhofer, reinhold at kainhofer.com, http://reinhold.kainhofer.com/ ?* Financial Actuarial Math., Vienna Univ. of Technology, Austria ?* http://www.fam.tuwien.ac.at/, DVR: 0005886 ?* LilyPond, Music typesetting, http://www.lilypond.org -- 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] epson V100
see this: http://www.sane-project.org/cgi-bin/driver.pl?manu=model=v100bus=anyv=p= Have you installed this 'non-free' plugin mentioned by epkowa? allan On Mon, Oct 10, 2011 at 11:20 AM, St?phanie Vilayphiou stephanie.vilayphiou at gmail.com wrote: Not sure where to find this info. But this is what xsane gives me: Vendor: Epson Model: Type: Flatbed scanner Device: 005 Loaded backend: epson:libusb:002 Sane version: 1.0.22 St?phanie On Mon 10 Oct 2011 05:04:11 PM CEST, m. allan noah wrote: What version of sane-backends are you running? allan On Mon, Oct 10, 2011 at 10:30 AM, St?phanie Vilayphiou stephanie.vilayphiou at gmail.com ?wrote: Hi, several years ago, I bought an Epson V100 for it was suitable for Linux. At the time I was running Ubuntu. Now I tried to use it under Arch Linux and I have some struggles... I installed those packages from the aur reposit: iscan-data here is some output: sane-find-scanner found USB scanner (vendor=0x04b8 [EPSON], product=0x012d [EPSON Scanner]) 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. scanimage -L hdevice `epkowa:usb:002:003' is a Epson (unknown model) flatbed scanner device `epson:libusb:002:003' is a Epson ?flatbed scanner in /etc/sane.d/epkowa.conf and in /etc/sane.d/epson.conf I have: usb usb 0x04b8 0x012d usb /dev/usb/scanner0 iscan Could not send command to scanner. Check scanner's status. xsane It proposes me to choose between 2 devices: epkowa:usb:002:003 Doesn't seem to end into anything. epson:libusb:002:003 Opens up xsane, but when trying to preview or scan: Failed to start scanner: Invalid argumenth Doing all those things with sudo leads to the same results. I do not know where to look anymore... Does someone have a hint? Thanks! St?phanie -- St?phanie Vilayphiou stdin http://stdin.fr/ +32 (0)4 89 00 88 59 -- 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 -- St?phanie Vilayphiou stdin http://stdin.fr/ +32 (0)4 89 00 88 59 -- The truth is an offense, but not a sin
[sane-devel] Fujitsu ScanSnap S1100
This machine is not yet supported by sane. However, I have a beta version of the epjitsu backend which does support it, but breaks support for the other scanners. I did help another guy get it working- see post 7 here: http://ubuntuforums.org/showthread.php?t=1678335 Perhaps someday I will have enough time to get this fixed and committed... allan On Mon, Oct 10, 2011 at 6:18 PM, Paul Connor mrphconnor at gmail.com wrote: I am trying to test this scanner shown as supported through the epjitsu backend. http://www.sane-project.org/cgi-bin/driver.pl?manu=fujitsumodel=scansnapbus=anyv=p= However Xsane does not detect any scanning device attached however it does see the usb connection I am running Ubuntu 11.04 Using the latest daily backend git build scanimage --version scanimage: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory sudo sane-find-scanner found USB scanner (vendor=0x148f [Ralink], product=0x3070 [802.11 n WLAN]) at libusb:002:003 found USB scanner (vendor=0x04c5 [FUJITSU], product=0x1200 [ScanSnap S1100]) at libusb:001:004 scanimage -Lscanimage: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory Anyone able to troubleshoot my problems so we can test this scanner? -- 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] .sane entries
Those programs save their preferences in those files. You can erase them, and they will be recreated next time you start the program. allan On Fri, Oct 7, 2011 at 1:11 PM, Thomas H. George lists at tomgeorge.info wrote: On Fri, Oct 07, 2011 at 07:02:50AM +0200, stef wrote: Le jeudi 6 octobre 2011 23:32:02 Thomas H. George, vous avez ?crit : In my home directory there is a subdirectory .sane containing two further subdirectoris, xsane containing the file xsane.rc and xscanimage containing the file xscanimage.rc. I did not create these files and find their contents odd. Can, should I delete them? ?If not, are there instructions for editing them? Tom ? ? ? Hello, ? ? ? you'll find information about these files and directories in the man page of xsane and xscanimage. Regards, ? ? ? Stef The man pages of xsane and xscanimages give no specific information regarding the contents of xsane.rc and xscanimages.rc just the advice, The user should customize the program through the Preferences menu. The xscanimages preferences menu does not include an option to customize the xscanimages.rc file. ?I can't check the preference memu for xsane because the program terminates in a segfault. ?This segfault problem and possible solutions has been discussed in the posting Permission Problem with xsane to the debian-user list and the posting xsane permission problem to the sane-devel list. Regards, ? ? ? ?Tom -- 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] USB trouble - Fujitsu fi4120C
This machine has slightly flaky usb support, but the sane backend should handle it. What version of sane-backends is this? allan On Fri, Oct 7, 2011 at 5:26 PM, Ed Greenberg edg at greenberg.org wrote: I've got a Fujitsu fi-4120C hooked to an Ubuntu Natty system. When I power the scanner on, I get root at arthur:~# tail /var/log/syslog Oct ?7 17:11:51 arthur kernel: [15652.183350] usb 2-1.5: new full speed USB device using ehci_hcd and address 13 Then I do root at arthur:~# scanimage -L device `fujitsu:fi-4120Cdj:624506' is a FUJITSU fi-4120Cdj scanner Then I do it again: root at arthur:~# scanimage -L 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). root at arthur:~# If I try to get a scan, I get root at arthur:~# scanadf -d fujitsu:fi-4120Cdj:624506 --scan-script /usr/local/bin/mypnm2ps --resolution 150 --y-resolution 150 --mode Gray --source 'ADF Front' scanadf: open of device fujitsu:fi-4120Cdj:624506 failed: Invalid argument If I try a scan without the -d, I get root at arthur:~# scanadf ?--resolution 150 --y-resolution 150 --mode Gray --source 'ADF Front'scanadf: no SANE devices found It's like the act of discovering it kills it. I did all this as root to try and get permission errors out of the way. Are there any suggestions? Thanks, Ed -- 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] xsane permission problem
the device is set to be rw for group scanner. Is your user in group scanner? allan On Wed, Oct 5, 2011 at 2:55 PM, Thomas H. George lists at tomgeorge.info wrote: I understand this is a well-known problem - I have scoured the /usr/share/docs. ?Tried every remedy I could find. ?No success. System: Debian Squeeze ?Scanner: Epson PERFECTION ? ? ? 2400 Photo tom at dragon:~$ ls -l /dev/bus/usb/001 total 0 crw-rw-r-- ?1 root root ? ?189, 0 Oct ?5 07:45 ?[0m [40;33;01m001 [0m crw-rw-r-- ?1 root root ? ?189, 1 Oct ?5 07:45 ?[40;33;01m002 [0m crw-rw-r--+ 1 root scanner 189, 4 Oct ?5 12:25 ?[40;33;01m005 [0m tom at dragon:~$ ls -l /proc/bus/usb total 0 tom at dragon:~$ ls -l /usr/bin/xsane -rwxr-xr-x 1 root tom 640536 Sep ?5 ?2010 /usr/bin/xsane tom at dragon:~$ scanimage -L device `epson2:libusb:001:005' is a Epson GT-9300 flatbed scanner tom at dragon:~$ ls -l /dev/usb -s001:005 Bus 001 Device 005: ID 04b8:011b Seiko Epson Corp. Perfection 2400 Photo tom at dragon:~$ ls -l /dev/bus/usb/001/005 crw-rw-r--+ 1 root scanner 189, 4 Oct ?5 14:26 /dev/bus/usb/001/005 tom at dragon:~$ ls -ld /etc/sane.d drwxr-xr-x 3 root root 4096 Oct ?5 12:00 /etc/sane.d tom at dragon:~$ ls -l /etc/sane.d/epson* -rw-r--r-- 1 root root 376 May ?3 ?2008 /etc/sane.d/epson2.conf -rw-r--r-- 1 root root 793 May ?3 ?2008 /etc/sane.d/epson.conf tom at dragon:~$ ls -l /etc/sane.d/dll.conf -rw-rw-r-- 1 root root 928 Oct ?5 12:00 /etc/sane.d/dll.conf tom at dragon:~$ grep epson /etc/sane.d/dll.conf # epson epson2 tom at dragon:~$ grep -B1 011b /lib/udev/rules.d/60-libsane.rules # Epson Perfection 2400 | Epson GT-9300UF | Epson Perfection 2400 PHOTO ATTRS{idVendor}==04b8, ATTRS{idProduct}==011b, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes -- 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] How to change the Makefile.in and Makefile.am
You must add the backend name to configure.in, and various backend file names in several places in backend/Makefile.am. Look for an existing backend name to see all the places. Do the same for your manpages and description files in doc/. Then run automake (rebuilds all the Makefile.in files) and then run autoconf to rebuild configure. There are probably other steps I forgot ;) If you send a patch to the list, only send the configure.in and Makefile.am changes, I'll re-run automake and autoconf here. allan On Thu, Sep 15, 2011 at 2:20 AM, kingjian_tao at avision.com.cn wrote: Dear, ? ?I write a new backend,I success add it to sane-backends-1.0.18,But ?now I want to add this backend to sane-backends-1.0.22. Could you tell me which change should I do.and How to change the Makefile.in and Makefile.am,Thanks. Best Regards -- 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] How can I write a new backend
First step is to read http://www.sane-project.org/contrib.html There are some links on that page which are helpful. I assume this machine does not use the same protocol as the existing Avision machines? If it does, then it would be easier to modify the existing sane avision backend. allan On Tue, Sep 13, 2011 at 9:47 PM, kingjian_tao at avision.com.cn wrote: Dear ?I want to write a new backend for a scanner ,I have already write a stand-alone scanning program.How can I add the driver to SANE backend.Could you tell me the method, ?thanks Best Regards -- 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] Probs... test
You have to dig into the sane standard a bit to understand why values sometimes get rounded. SANE_FIX datatype has a certain granularity, and the backend itself sets a step quantity on any range values, and then the backend also gets to 'clean' the value after the frontend changes it. It is certainly possible that these three things add up to strange results, particularly as the test backend is rather infrequently used :) I've never seen multi-pass noise reduction, though I have seen scanning at higher resolution than required, and downsampling. However, this will cause a significant speed reduction. Also, this might just mask the real problem, which is poor calibration (or cheap hardware). allan On Wed, Sep 14, 2011 at 10:36 AM, Michael Talbot-Wilson mtw at view.net.au wrote: Dear all, I'm a newcomer to the list. ?My first message. ?Hope you can help. ?Several points. (My scanner is an Epson Perfection 4990 Photo detected as Epson GT-X800.) I've written a Tcl/Tk frontend/interface to scanimage (quite restricted, 260 lines) in part because I want XPosition and YPosition tags, which xsane doesn't save, in part also because I want the TIFF tags, equivalents, in PGM files (as comments). ?The scanimage output, PGM, is piped to a program that reads and writes up to the first whitespace, writes its comments, and then copies the rest. Noticed this along the way. ?Using the test device I can't duplicate scanimage's calculation of the br coords, and I can't see anything wrong with my code. ?I do a mouse drag of a rectangle to obtain the args for scanimage, run it (using -l -t -x -y not --tl-x etc.), and see messages such as scanimage: rounded value of tl-x from 18.288 to 18 scanimage: rounded value of tl-y from 16.256 to 16 scanimage: rounded value of br-x from 49.496 to 49 scanimage: rounded value of br-y from 51.052 to 51 but my own corresponding calculations are min x in pixels = 36 min y in pixels = 32 tl-x in mm = 18.288 tl-y in mm = 16.256 max x in pixels = 98 max y in pixels = 101 br-x in mm = 49.784 br-y in mm = 51.308 I can't understand the convert x/y to br_x/br_y section of scanimage.c. I'm doing the calculations like this, where $prevres, the resolution of the preview file, is 50 (per inch). bind .w ButtonPress-2 { ? set x1 %x ? set y1 %y } bind .w B2-Motion { ? set x2 %x ? set y2 %y } set xmin [min $x1 $x2] set ymin [min $y1 $y2] set xmax [max $x1 $x2] set ymax [max $y1 $y2] set tlx [expr ${xmin}.0 / ${prevres}.0 * 25.4] set tly [expr ${ymin}.0 / ${prevres}.0 * 25.4] set brx [expr ${xmax}.0 / ${prevres}.0 * 25.4] set bry [expr ${ymax}.0 / ${prevres}.0 * 25.4] puts min x in pixels = $xmin puts min y in pixels = $ymin puts tl-x in mm = $tlx puts tl-y in mm = $tly puts max x in pixels = $xmax puts max y in pixels = $ymax puts br-x in mm = $brx puts br-y in mm = $bry Also, I notice: $ sane-backends-1.0.22/frontend/.libs/scanimage -d test --tl-x 3.1 --tl-y 4.7 --br-x 10 --br-y 11 /dev/null scanimage: rounded value of tl-x from 3.10001 to 3 scanimage: rounded value of tl-y from 4.7 to 5 ./scanimage: unrecognized option '--br-x' Finally, does anyone do multiple passes and averaging for noise reduction? Scanning a black sheet I seem to see some noise, a little (doing histograms/counts), but I don't know whether modern scanners ever need noise reduction. Oops, sorry, not final. ?I just noticed this, using device test with --format tiff: Script started on Wed 14 Sep 2011 10:13:30 CST $ file scan1315957558 scan1315957558: TIFF image data, big-endian $ tiffinfo ?scan1315957558 TIFFReadDirectory: Warning, scan1315957558: wrong data type 8992 for XResolution; tag ignored. TIFFReadDirectory: Warning, scan1315957558: invalid TIFF directory; tags are not sorted in ascending order. TIFFReadDirectory: Warning, scan1315957558: unknown field with tag 26991 (0x696f) encountered. TIFFReadDirectory: Warning, scan1315957558: unknown field with tag 25971 (0x6573) encountered. TIFF Directory at offset 0x8 (8) ?Subfile Type: (0 = 0x0) ?Image Width: 623 Image Length: 680 ?Bits/Sample: 8 ?Compression Scheme: None ?Photometric Interpretation: min-is-black ?Orientation: row 0 top, col 0 lhs ?Samples/Pixel: 1 ?Rows/Strip: 680 ?Min Sample Value: 0 ?Max Sample Value: 255 ?Planar Configuration: single image plane TIFFFetchDirectory: scan1315957558: Can not read TIFF directory count. TIFFReadDirectory: scan1315957558: Failed to read directory at offset 0. $ exit exit Script done on Wed 14 Sep 2011 10:14:05 CST As a newbie I threw that in just in case the people who have been working on SANE for years had never noticed. ?Doesn't stop it from working perfectly well as a test device. ?Sorry. Still, I hope someone can say something about multiple scanner takes for noise reduction. ?Is it useful, or it is overdoing things insanely? ?NonSANEly? ?Unsaintly? -- sane-devel mailing list: sane-devel at
[sane-devel] infoprint 1650 mfp
I would not have it write back to a shared folder if I could prevent it. It makes more sense to send it over the wire to the process which initiated the scan. However, the specifics are entirely dependent on the hardware itself. If you wish to make it work, the first step is for you to learn to make a wireshark trace of the windows software. No one else has access to the hardware. allan On Sun, Sep 11, 2011 at 10:37 AM, Ilan Tal ilan.tal at gmail.com wrote: Sorry that I tend to keep my contact with Windows to a minimum. It is my friend's printer and I watched her run it under Windows and then I went to my Ubuntu machine. It is definitely Ricoh, scanback 3.3.3 (maybe only 3.3?) The printer is an IBM Infoprint 1650 MFP. I'm not familiar with a wireshark trace. I guess you would like me to capture whatever the scanback is sending to the printer. I suppose if we knew what it was sending, we could send the same string from Ubuntu and have it ship back to a shared folder on Ubuntu the resulting pdf file. Ilan On Sun, Sep 11, 2011 at 5:19 PM, m. allan noah kitno455 at gmail.com wrote: Well, you could start by telling us the brand name, Ricoh perhaps? Second, perhaps you could get a wireshark trace of the windows driver making a small, low resolution network scan? Make sure you capture the entire packet length. Then compress that log, and put it up on the web where we can reach it. Perhaps someone will recognize the protocol. allan On Sun, Sep 11, 2011 at 10:05 AM, Ilan Tal ilan.tal at gmail.com wrote: Hello, I may be asking something impossible. If so, please let me know. I have an infoprint 1650 mfp printer/scanner which is on a LAN, stand alone and not connected to any particular computer. The printer part works just fine, out-of-the-box. The scanner part is another story. SANE doesn't detect the scanner. In Windows there is a scanback program which basically puts a protocol on the printer by which the user put the document into the scanner, presses a button on the scanner and the document is scanned and a pdf file is shipped over the LAN to the Windows PC. Thus it seems clear that Windows too doesn't directly see the scanner. Apparently this is the reason SANE doesn't see it either. Since Windows has a solution, I would like a solution for Ubuntu as well. Otherwise one is stuck with Windows. I wonder if anyone has any ideas on what might be available, or how to solve the problem? Thanks, Ilan -- 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 -- The truth is an offense, but not a sin
[sane-devel] working scanner on one Ubuntu machine, fails on another
try as root. allan On Wed, Sep 7, 2011 at 4:48 PM, Ed Greenberg edg at greenberg.org wrote: I have a Fujitsu fi-4120C connected via USB to Ubuntu 11.04. ?The scanner works fine with my Ubuntu 10.04 laptop. When I do lsusb I get: edg at arthur:~$ lsusb Bus 002 Device 013: ID 04c5:1041 Fujitsu, Ltd fi-4120c Scanner Bus 002 Device 012: ID 046d:0825 Logitech, Inc. Bus 002 Device 010: ID 22b8:41d9 Motorola PCS Motorola Droid Bus 002 Device 007: ID 03f0:2c17 Hewlett-Packard LaserJet 1022 Bus 002 Device 006: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub Bus 002 Device 005: ID 1130:1620 Tenx Technology, Inc. Bus 002 Device 004: ID 046d:c52e Logitech, Inc. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I do sane-find-scanner and get: found USB scanner (vendor=0x04c5, product=0x1041) at libusb:002:013 When I do scanimage -L I get: No scanners were identified. ... scanadf, simple-scan and xsane all report not scanner found. I plugged back into the 10.04 machine and all I compared packages which contain the word sane, and all seems installed. I'm pretty stumped. ? Any suggestions? -- 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] Best supported, affordable scanner?
quote: There is a great difference between be involved and be committed. Usually we are committed... :) allan 2011/8/26 Sergei LITVINENKO sergei.litvinenko at gmail.com: 25.08.2011 17:25, Alejandro Imass ?: I've personally never found a scanner that doesn't work with Sane. Canon CanoScan 9000F is best choice for scanning 6 cm film. It is not supported SANE and nobody know when will be. :-) -- Best regards, Sergei LITVINENKO There is a great difference between be involved and be committed. Usually we are committed... -- 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] Canon LaserBase MF6530
The MF6500 series was listed as supported in sane-backends version 1.0.22. Perhaps you need to upgrade? allan On Tue, Aug 16, 2011 at 2:18 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv wrote: Huh, finally found that I need in FAQ: I have Ubuntu Linux 10.10 xSane 0.997 LinuxBox:~$ sudo scanimage --version scanimage (sane-backends) 1.0.21; backend version 1.0.21 Janeks On 2011.08.15. 17:10, m. allan noah wrote: what version of sane-backends are you using? allan On Mon, Aug 15, 2011 at 9:44 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv ?wrote: LinuxBox:~$ sudo scanimage -L device `pixma:04A92686_1666LEuH' is a CANON Canon imageClass MF6500 multi-function peripheral Janeks On 2011.08.15. 15:53, m. allan noah wrote: What is the output of this command: scanimage -L allan On Mon, Aug 15, 2011 at 8:37 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv ? ?wrote: Hi! Could it be possible to force the device above do the scanning job. It works as a printer pretty well, except it does not like that printer is on before system. And probably could not wake up the device after it was in sleep mode. As scanner it is visible and I can connect them, but when starting a scan (preview) it looks like it is woking (act like copying a page), but then the device and SANE software hangs. brgrds and looking forward Janeks P.S. I can do some diagnostics on command line with some advice. -- 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] Canon LaserBase MF6530
What is the output of this command: scanimage -L allan On Mon, Aug 15, 2011 at 8:37 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv wrote: Hi! Could it be possible to force the device above do the scanning job. It works as a printer pretty well, except it does not like that printer is on before system. And probably could not wake up the device after it was in sleep mode. As scanner it is visible and I can connect them, but when starting a scan (preview) it looks like it is woking (act like copying a page), but then the device and SANE software hangs. brgrds and looking forward Janeks P.S. I can do some diagnostics on command line with some advice. -- 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] Canon LaserBase MF6530
what version of sane-backends are you using? allan On Mon, Aug 15, 2011 at 9:44 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv wrote: LinuxBox:~$ sudo scanimage -L device `pixma:04A92686_1666LEuH' is a CANON Canon imageClass MF6500 multi-function peripheral Janeks On 2011.08.15. 15:53, m. allan noah wrote: What is the output of this command: scanimage -L allan On Mon, Aug 15, 2011 at 8:37 AM, Janeks Kamerovskis janeks.kamerovskis at silvita.lv ?wrote: Hi! Could it be possible to force the device above do the scanning job. It works as a printer pretty well, except it does not like that printer is on before system. And probably could not wake up the device after it was in sleep mode. As scanner it is visible and I can connect them, but when starting a scan (preview) it looks like it is woking (act like copying a page), but then the device and SANE software hangs. brgrds and looking forward Janeks P.S. I can do some diagnostics on command line with some advice. -- 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] Packard Bell Diamond 1200 plus
The scanner seems to make many afe calibration passes. Perhaps your LED or sensors are getting weak. I think you can bypass this part of the calibration by adding info to your sane.d/gt68xx.conf: afe 0x0a 0x00 0x09 0x01 0x09 0x01 see 'man sane-gt68xx' for more info. allan On Thu, Aug 4, 2011 at 9:34 PM, Fritjof fritjofl at gmail.com wrote: Hi! Before scanning one page, my scanner need 20 sec for preperation, for every page, I assume this is not normal. I've had this problems for many years. Help? Version:scanimage (sane-backends) 1.0.22; backend version 1.0.22 Hardware: Packard Bell Diamond 1200 plus OS: Ubuntu 11.04 DEBUG: [sanei_debug] Setting debug level of gt68xx to 4. [gt68xx] SANE GT68xx backend version 1.0 build 84 from sane-backends 1.0.22 [gt68xx] sane_init: reading config file `gt68xx.conf' [gt68xx] sane_init: config file line 25: trying to attach `usb 0x05d8 0x4002' [gt68xx] sane_init: config file line 85: trying to attach `usb 0x055f 0x021e' [gt68xx] sane_init: config file line 94: trying to attach `usb 0x055f 0x0218' [gt68xx] sane_init: config file line 104: trying to attach `usb 0x055f 0x0219' [gt68xx] sane_init: config file line 118: trying to attach `usb 0x055f 0x021a' [gt68xx] sane_init: config file line 125: trying to attach `usb 0x055f 0x021d' [gt68xx] sane_init: config file line 129: trying to attach `usb 0x055f 0x021f' [gt68xx] sane_init: config file line 133: trying to attach `usb 0x055f 0x021c' [gt68xx] attach: trying to open device `libusb:005:007' [gt68xx] attach: device `libusb:005:007' successfully opened [gt68xx] attach: found Mustek flatbed scanner Bearpaw 1200 CU Plus at libusb:005:007 [gt68xx] sane_init: config file line 144: trying to attach `usb 0x055f 0x021b' [gt68xx] sane_init: config file line 148: trying to attach `usb 0x055f 0x0210' [gt68xx] sane_init: config file line 154: trying to attach `usb 0x043d 0x002d' [gt68xx] sane_init: config file line 158: trying to attach `usb 0x07b3 0x0401' [gt68xx] sane_init: config file line 159: trying to attach `usb 0x07b3 0x0400' [gt68xx] sane_init: config file line 169: trying to attach `usb 0x07b3 0x0402' [gt68xx] sane_init: config file line 170: trying to attach `usb 0x07b3 0x0403' [gt68xx] sane_init: config file line 179: trying to attach `usb 0x07b3 0x040b' [gt68xx] sane_init: config file line 185: trying to attach `usb 0x07b3 0x040e' [gt68xx] sane_init: config file line 189: trying to attach `usb 0x07b3 0x0412' [gt68xx] sane_init: config file line 195: trying to attach `usb 0x07b3 0x045f' [gt68xx] sane_init: config file line 199: trying to attach `usb 0x07b3 0x0462' [gt68xx] sane_init: config file line 203: trying to attach `usb 0x07b3 0x0413' [gt68xx] sane_init: config file line 207: trying to attach `usb 0x07b3 0x0422' [gt68xx] sane_init: config file line 211: trying to attach `usb 0x07b3 0x0454' [gt68xx] sane_init: config file line 217: trying to attach `usb 0x0458 0x2021' [gt68xx] sane_init: config file line 221: trying to attach `usb 0x0458 0x2011' [gt68xx] sane_init: config file line 227: trying to attach `usb 0x0458 0x201b' [gt68xx] sane_init: config file line 231: trying to attach `usb 0x0458 0x2017' [gt68xx] sane_init: config file line 235: trying to attach `usb 0x0458 0x201a' [gt68xx] sane_init: config file line 239: trying to attach `usb 0x0458 0x201d' [gt68xx] sane_init: config file line 243: trying to attach `usb 0x0458 0x201f' [gt68xx] sane_init: config file line 247: trying to attach `usb 0x0458 0x2014' [gt68xx] sane_init: config file line 251: trying to attach `usb 0x0458 0x201E' [gt68xx] sane_init: config file line 255: trying to attach `usb 0x04a7 0x0444' [gt68xx] get_id: vendor id=0x021C, product id=0x055F, DID=0x00019937, FID=0x [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=3531 [gt68xx] sane_get_parameters: pixels_per_line=2563, bytes per line=2563 [gt68xx] sane_get_parameters: pixels 2563x3531x256 [gt68xx] sane_control_option: option 16 is inactive [gt68xx] sane_control_option: option 16 is inactive [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 [gt68xx] sane_get_parameters: pixels 427x589x256 [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 [gt68xx] sane_get_parameters: pixels 427x589x256 [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 [gt68xx] sane_get_parameters: pixels 427x589x256 [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 [gt68xx] sane_get_parameters: pixels 427x589x256 [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 [gt68xx] sane_get_parameters:
[sane-devel] Duplex Complex with ScanSnap scanner hardware
Xsane has a non-obvious control for this- you must set the 'pages' parameter higher. If you are scanning documents, I suggest you use gscan2pdf instead of xsane. It works better for such workloads. allan On Sat, Jul 30, 2011 at 1:12 AM, Tim George tcg2k7 at gmail.com wrote: Hello- I have a Fujitsu ScanSnap S1500 scanner. My new Linux Mint 11 Distro xsane 0.998 will not duplex scan a two-sided document (even with ADF Duplex selected), but seems to scan one side just fine. Is there a fix for this? If so, please note that I'm absolutely brand new at Linux, so need friendliest instruction possible. Please cc michael_cullins @yahoo.com (also). Thank you! -Tim -- Timothy George Owner / Operator 17 plus years shearartisan at gmail.com 714-521-1353 714-719-3775 -- 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] Agfa DuoScan SCSI scanner with Mac OS X 10.4
Try changing /etc/sane.d/dll.conf. Disable agfafocus and make sure microtek is enabled. allan On Fri, Jul 22, 2011 at 4:52 AM, Werner Randelshofer werner.randelshofer at bluewin.ch wrote: Hi, I am trying to use an Agfa DuoScan SCSI scanner with Mac OS X 10.4. When I run sane-find-scanner, the scanner is listed, but scanimage -L reports an error. I think scanimage does not work, because the device is listed with a number instead of with /dev/... I tried $ scanimage -d 01723e0e0b9ad186 scanimage: open of device 01723e0e0b9ad186 failed: Invalid argument and $ scanimage -d 01723e0e0b9ad186 scanimage: open of device 01723e0e0b9ad186 failed: Invalid argument Is there a different way how I am suposed to use the device number in the scanimage command? Below are the outputs of sane-find-scanner and scanimage -L. TIA, Werner $ 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. found SCSI scanner AGFA DUOSCAN 2.30 at 01723e0e0b9ad186 found SCSI scanner AGFA DUOSCAN 2.30 at 01723c0e1b7f7937 found SCSI scanner AGFA DUOSCAN 2.30 at 01723a0e3190bf86 found SCSI scanner AGFA DUOSCAN 2.30 at 0172380e31ec6d9c found SCSI scanner AGFA DUOSCAN 2.30 at 0172360e32468f79 found SCSI scanner AGFA DUOSCAN 2.30 at 0172340e329f8164 found SCSI scanner AGFA DUOSCAN 2.30 at 0172320e32f98119 found SCSI scanner AGFA DUOSCAN 2.30 at 0172300e335270aa ?# Your SCSI scanner was detected. It may or may not be supported by SANE. Try ?# scanimage -L and read the backend's manpage. ?# No USB scanners found. If you expected something different, make sure that ?# you have loaded a kernel driver for your USB host controller and have setup ?# the USB system correctly. See man sane-usb for details. ?# 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. $ scanimage -L [sanei_debug] Setting debug level of dll to 0. [sanei_debug] Setting debug level of agfafocus to 128. [agfafocus] attach: opening /dev/scanner [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_open: device name /dev/scanner is not valid [agfafocus] attach: open failed (Invalid argument) 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). -- 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] Agfa DuoScan SCSI scanner with Mac OS X 10.4
Well, according to the debug message, this model is untested. Perhaps you can email the author as directed? allan On Fri, Jul 22, 2011 at 7:40 AM, Werner Randelshofer werner.randelshofer at bluewin.ch wrote: Hi Allan, I have now disabled agfafocus and enabled microtek. scanimage -L works now. This is great. Thank you! Unfortunately, I still can not scan a page. I get the following error message. scanimage: sane_start: Error during device I/O I have attached the output of scanimage at the end of this e-mail. I have switched the debugging on for sanei_scsi and microtek. I guess there might be a problem with the commands that are sent to the device. Suggestions highly appreciated. Werner On 22.07.2011, at 12:51, m. allan noah wrote: Try changing /etc/sane.d/dll.conf. Disable agfafocus and make sure microtek is enabled. allan $ scanimage Desktop/test.pnm [sanei_debug] Setting debug level of microtek to 128. [microtek] sane_init: ?MICROTEK says hello! (v0.13.1) [microtek] sane_init: ?config- # Uncomment following line to disable real calibration routines... [microtek] sane_init: ?config- #norealcal [microtek] sane_init: ?config- # Uncomment following line to disable clever precalibration routines... [microtek] sane_init: ?config- #noprecal [microtek] sane_init: ?config- # ? Using norealcal will revert backend to pre-0.11.0 calibration code. [microtek] sane_init: ?config- scsi * * Scanner [microtek] attach_scanner: ?019bc8172dcdf573 [microtek] attach_scanner: ?opening 019bc8172dcdf573 [sanei_debug] Setting debug level of sanei_scsi to 255. [microtek] attach_scanner: ?sending INQUIRY [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:96 isWrite:0 [sanei_scsi] isRead dst_size:96 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Transferred 96 bytes [microtek] id_microtek... [microtek] [microtek] [microtek] [microtek] == Congratulations! == [microtek] Your scanner appears to be supported [microtek] by the microtek backend. ?However, it [microtek] has never been tried before, and some [microtek] parameters are bound to be wrong. [microtek] [microtek] Please send the scanner inquiry log in [microtek] its entirety to mtek-bugs at mir.com and [microtek] include a description of the scanner, [microtek] including the base optical resolution. [microtek] [microtek] You'll find complete instructions for [microtek] submitting an error/debug log in the [microtek] 'sane-microtek' man-page. [microtek] [microtek] [microtek] [microtek] ?=== SANE/Microtek backend v0.13.1 === [microtek] == Scanner Inquiry Block mm [microtek] 06 00 01 01 5b 00 00 00 41 47 46 41 20 20 20 20 [microtek] 44 55 4f 53 43 41 4e 20 20 20 20 20 20 20 20 20 [microtek] 32 2e 33 30 53 43 53 49 20 46 57 20 56 33 2e 36 [microtek] 20 43 54 4c 35 33 38 30 03 4f 8c c5 06 ee 5d 43 [microtek] 01 03 47 00 00 83 00 01 0e 4a 07 05 00 00 00 00 [microtek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff [microtek] == Scanner Inquiry Report == [microtek] = Scanner ID... [microtek] Device Type Code: 0x06 [microtek] Model Code: 0x5d [microtek] Vendor Name: 'AGFA ? ?' ? Model Name: 'DUOSCAN ? ? ? ? ' [microtek] Vendor Specific String: 'SCSI FW V3.6 CTL5380' [microtek] Firmware Rev: '2.30' [microtek] SCSI F/W version: 0.0 ? ? Scanner F/W version: 0.1 [microtek] Response data format: 0x01 [microtek] = Imaging Capabilities... [microtek] Modes: ?Lineart Halftone Gray Color (OnePass) [microtek] Resolution Step Sizes: 1% 5% ? ?Expanded Resolution Support? yes [microtek] Supported Bits Per Sample: 4 8 10 12 [microtek] Max. document size code: 0x06 [microtek] Max. document size: ?8299 x 13499 pixels [microtek] Frame units: ?pixels ?1/8's [microtek] # of built-in halftones: 12 ? Downloadable patterns? Yes [microtek] Data Compression: [microtek] Contrast Settings: 14 ? Exposure Settings: 74 [microtek] Adjustable Shadow/Highlight? yes ? Adjustable Midtone? yes [microtek] Digital brightness/offset? yes [microtek] Gamma Table Size: 4096 entries of 2 bytes (max. depth: 12) [microtek] = Source Options... [microtek] Feed type: ?flatbed ? ?ADF support? yes [microtek] Document Feeder Support? yes ? Feeder Backtracking? yes [microtek] Feeder Installed? no ? ? ? ? ? Feeder Ready? no [microtek] Transparency Adapter Installed? yes [microtek] Fast Color Prescan? no [microtek] Selectable Transfer Format? no [microtek] Color Transfer Sequence: line-by-line, non-sequential with headers [microtek] Three pass scan support? no [microtek] ModeSelect-1 and ModeSense-1 Support? yes [microtek] Can Disable Linearization Table? no [microtek] Can Disable Start-of-Scan Recalibration? no [microtek] Internal expanded expansion? no [microtek] == End of Scanner Inquiry Report === [sanei_debug] Setting debug level of sanei_scsi to 255. [sanei_scsi] sanei_scsi_open: device name /dev/scanner is not valid
[sane-devel] Canon MP250 detected by sane-find-scanner but not by scanimage
run the following: SANE_DEBUG_DLL=255 scanimage -L Inspect the output to see if pixma is mentioned. If not, then check /etc/sane.d/dll.conf and see if it is commented out. Do all of these things as root. allan -- The truth is an offense, but not a sin
[sane-devel] Multiple Scanner Support
No, you re-write the pseudocode in a real programming language :) What I gave was something kinda like shell, which can be stored in a text file, made executable, and run directly. Not sure how that works on a mac... allan On Thu, Jul 14, 2011 at 9:35 AM, Joel featheredtar at gmail.com wrote: Neat. So far my experience with SANE is using it as a TWAIN plugin for Mac OSX's Image Capture. The text based commands seem much better than the gaudy manufacturer supplied GUIs though! Maybe I'll direct my future scanner purchases to SANE supported scanners. Into which program(s) do I input the pseudocode? -- Joel Sent with Sparrow On Thursday, July 14, 2011 at 15:31, m. allan noah wrote: Sane is very different from the GUI scanning you are used to. what you want is as simple as this pseudocode: while(1){ scanimage -ddevicename1 directory1/`date +%s`.pnm scanimage -ddevicename2 directory2/`date +%s`.pnm scanimage -ddevicename3 directory3/`date +%s`.pnm sleep(1200); } unfortunately, this only works if your scanners are supported. the cs3200 and cs5600, not so much. allan On Wed, Jul 13, 2011 at 8:44 PM, Joel Penner featheredtar at gmail.com wrote: Thanks. Here I'm using a CanoScan 5600F (the Mac driver of which is kind of unstable, and the shipped program horribly bloated!,) an Epson Perfection V33 (a bad scanner!,) and a CanoScan 3200 (which I'm using with VueScan, it's proven to be very stable.) At home I have another CS 5600F, two CS LiDE 20s, a CS 5000, an Agfa Snapscan e20 and e50, and a really good Epson scanner, the name of which I forget. I could VNC the computer to find out, but I'm on my cell phone data connection right now... The issue of resource hogging isn't common. So far I've only starkly experienced it with the CS 5600Fs. It's unfortunate that such an amazing scanner has to have such a shoddy Mac backend/driver. Hopefully the eventual SANE backend will be better! Similar to your idea, initially I tried running multiple instances of VueScan, but because the specific scanners weren't specified to each instance, they presumably conflicted, causing the different instances to?occasionally?crash. How would one give explicit device names to each copy? I am very comfortable with OS GUIs, but unfortunately have done almost no programming. - Joel On Thu, Jul 14, 2011 at 2:05 AM, m. allan noah kitno455 at gmail.com wrote: Neat videos! The answer to your question depends on the scanner, and the driver (we call them backends). 1. Some scanners are really dumb and require the host software to do lots of processing to get a usable image. You could certainly stagger the scans so that two scanners were never in use at the same time. 2. Some backends are written to only talk to one scanner, and may not play well if two scanners are open from within the same application. It might be possible to avoid this by running multiple copies of the app, and giving explicit device names to each copy. What scanners are you using now? allan On Wed, Jul 13, 2011 at 7:53 PM, Joel Penner featheredtar at gmail.com wrote: Hi. I'm currently using multiple scanners for a project where I have flowers scanned a few times an hour to make videos of the desiccation process. I'm currently in Germany where I've managed to get three scanners running off of one iBook, but at home I have eight scanners strewn across multiple old computers. My original idea was to have all the scanners running off of one computer, but issues with drivers conflicting with each other in addition to poorly programmed drivers which use over half of the CPU's resources while scanning presented problems. I've been using the included software packages where possible, and VueScan when not. I've experimented a bit with SANE. I was wondering what people thought about the possibility of running multiple scanners off of one computer. Does SANE support this? And I've been using solely PPC Macs running either 10.4 or 10.5 so far. You can find some videos of my project here: http://www.flickr.com/photos/featheredtar/sets/72157611634807864/ Thanks, Joel -- 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 -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] Multiple Scanner Support
OSX has unix in there somewhere, no need to switch OS just for this. Why do you assume I use Linux? Because I have been helpful, and not asked for any money? :) allan On Thu, Jul 14, 2011 at 10:01 AM, Joel featheredtar at gmail.com wrote: Oh okay. That makes more sense. :-) I'm going to try Linux out more. Which distro do you use? -- Joel Sent with Sparrow On Thursday, July 14, 2011 at 15:52, m. allan noah wrote: No, you re-write the pseudocode in a real programming language :) What I gave was something kinda like shell, which can be stored in a text file, made executable, and run directly. Not sure how that works on a mac... allan On Thu, Jul 14, 2011 at 9:35 AM, Joel featheredtar at gmail.com wrote: Neat. So far my experience with SANE is using it as a TWAIN plugin for Mac OSX's Image Capture. The text based commands seem much better than the gaudy manufacturer supplied GUIs though! Maybe I'll direct my future scanner purchases to SANE supported scanners. Into which program(s) do I input the pseudocode? -- Joel Sent with Sparrow On Thursday, July 14, 2011 at 15:31, m. allan noah wrote: Sane is very different from the GUI scanning you are used to. what you want is as simple as this pseudocode: while(1){ scanimage -ddevicename1 directory1/`date +%s`.pnm scanimage -ddevicename2 directory2/`date +%s`.pnm scanimage -ddevicename3 directory3/`date +%s`.pnm sleep(1200); } unfortunately, this only works if your scanners are supported. the cs3200 and cs5600, not so much. allan On Wed, Jul 13, 2011 at 8:44 PM, Joel Penner featheredtar at gmail.com wrote: Thanks. Here I'm using a CanoScan 5600F (the Mac driver of which is kind of unstable, and the shipped program horribly bloated!,) an Epson Perfection V33 (a bad scanner!,) and a CanoScan 3200 (which I'm using with VueScan, it's proven to be very stable.) At home I have another CS 5600F, two CS LiDE 20s, a CS 5000, an Agfa Snapscan e20 and e50, and a really good Epson scanner, the name of which I forget. I could VNC the computer to find out, but I'm on my cell phone data connection right now... The issue of resource hogging isn't common. So far I've only starkly experienced it with the CS 5600Fs. It's unfortunate that such an amazing scanner has to have such a shoddy Mac backend/driver. Hopefully the eventual SANE backend will be better! Similar to your idea, initially I tried running multiple instances of VueScan, but because the specific scanners weren't specified to each instance, they presumably conflicted, causing the different instances to?occasionally?crash. How would one give explicit device names to each copy? I am very comfortable with OS GUIs, but unfortunately have done almost no programming. - Joel On Thu, Jul 14, 2011 at 2:05 AM, m. allan noah kitno455 at gmail.com wrote: Neat videos! The answer to your question depends on the scanner, and the driver (we call them backends). 1. Some scanners are really dumb and require the host software to do lots of processing to get a usable image. You could certainly stagger the scans so that two scanners were never in use at the same time. 2. Some backends are written to only talk to one scanner, and may not play well if two scanners are open from within the same application. It might be possible to avoid this by running multiple copies of the app, and giving explicit device names to each copy. What scanners are you using now? allan On Wed, Jul 13, 2011 at 7:53 PM, Joel Penner featheredtar at gmail.com wrote: Hi. I'm currently using multiple scanners for a project where I have flowers scanned a few times an hour to make videos of the desiccation process. I'm currently in Germany where I've managed to get three scanners running off of one iBook, but at home I have eight scanners strewn across multiple old computers. My original idea was to have all the scanners running off of one computer, but issues with drivers conflicting with each other in addition to poorly programmed drivers which use over half of the CPU's resources while scanning presented problems. I've been using the included software packages where possible, and VueScan when not. I've experimented a bit with SANE. I was wondering what people thought about the possibility of running multiple scanners off of one computer. Does SANE support this? And I've been using solely PPC Macs running either 10.4 or 10.5 so far. You can find some videos of my project here: http://www.flickr.com/photos/featheredtar/sets/72157611634807864/ Thanks, Joel -- 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 -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] Multiple Scanner Support
I'm not entirely sure how to respond. First, I very much appreciate the thanks. Performing sane's janitorial duties doesn't usually elicit praise :) Oddly, it was never my intention to be in this position. In 2003, I simply wanted to get a patch into the fujitsu backend, and then leave this list. Obviously that plan failed :) Second, I hesitate to recommend an OS because there are some very dedicated port maintainers on this list. I don't want to put them in a position where they feel they must defend their organization/employer. Third, I am somewhat disturbed at the thought of a cult. But I wonder if I could get them to come and mow my lawn? allan On Thu, Jul 14, 2011 at 12:12 PM, Richard Ryniker ryniker at alum.mit.edu wrote: Allen has been a steadfast contributor to this list of information and advice to scanner users, for which it is entirely appropriate to say Thank you from time to time. ?Thank you, Allen, for the significant personal effort you contribute to make SANE and this list a valuable resource for many others. With respect to the original poster's question about what operating system you prefer, this is the first time I can recall where you have been discreet, even reticent, to offer an opionion about software. ?You have every right to reserve comment, of course. ?Among other possibilities, you may simply seek to avoid a cascade of posts about the perceived advantages or problems of different software platforms. It is possible your discretion on this topic might start a cult among list readers that tries to infer your operating system preferences from clues it claims to find in your posts. ?I guess that is the price of prominence. -- 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] scaner
You will need to edit this file: /etc/sane.d/gt68xx.conf some info is in the file, and also the manpages listed inside it. allan On Wed, Jul 13, 2011 at 12:36 PM, Alex Jakcson alex10041972 at gmail.com wrote: Please help to connect the scanner: Bear-paw-2448-CU-PRO alex at ubuntu:~$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 055f:0408 Mustek Systems, Inc. BearPaw 2448 CU Pro Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub alex at ubuntu:~$ sudo scanimage -L device `gt68xx:libusb:002:002' is a unknown manufacturer unknown device -- use override to select flatbed scanner -- 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] Multiple Scanner Support
Neat videos! The answer to your question depends on the scanner, and the driver (we call them backends). 1. Some scanners are really dumb and require the host software to do lots of processing to get a usable image. You could certainly stagger the scans so that two scanners were never in use at the same time. 2. Some backends are written to only talk to one scanner, and may not play well if two scanners are open from within the same application. It might be possible to avoid this by running multiple copies of the app, and giving explicit device names to each copy. What scanners are you using now? allan On Wed, Jul 13, 2011 at 7:53 PM, Joel Penner featheredtar at gmail.com wrote: Hi. I'm currently using multiple scanners for a project where I have flowers scanned a few times an hour to make videos of the desiccation process. I'm currently in Germany where I've managed to get three scanners running off of one iBook, but at home I have eight scanners strewn across multiple old computers. My original idea was to have all the scanners running off of one computer, but issues with drivers conflicting with each other in addition to poorly programmed drivers which use over half of the CPU's resources while scanning presented problems. I've been using the included software packages where possible, and VueScan when not. I've experimented a bit with SANE. I was wondering what people thought about the possibility of running multiple scanners off of one computer. Does SANE support this? And I've been using solely PPC Macs running either 10.4 or 10.5 so far. You can find some videos of my project here: http://www.flickr.com/photos/featheredtar/sets/72157611634807864/ Thanks, Joel -- 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] backend update request: sane-pixma
2011/7/12 Gernot Hassenpflug aikishugyo at gmail.com: 2011/7/12 ibu ? ibu at radempa.de ibu ? wrote: Replying to myself, after installing libusb-dev I got the scanner detected with sane-find-scanner and after ldconfig I also could use /usr/local/bin/scanimage: /../ The latter moved one page through the ADF and the next was moved in a partially and then nothing happened, but I guess this is ok for scanimage. Which other tests can I do? I suppose you could try with xsane (perhaps as root if permissions problems occur). try using scanimage -b to make sure batch mode works allan -- The truth is an offense, but not a sin
[sane-devel] Dust removal inSANE ?
Excellent description of both the problem, and the solution. I wrote sanei_magic to contain exactly these sort of routines. Though, you could also add a sanei_ir or some such, if you want a more 'private' playground :) allan On Mon, Jul 11, 2011 at 12:54 PM, Michael Rickmann mrickma at gwdg.de wrote: I learned from other posts in this list that SANE does not provide much support for infrared. In sane.h some related definitions are even commented out. Only in coolscan.c I have found some RGBIfix routines by Andreas Rick which must be related to what he describes on his page at http://andreas.rick.free.fr/sane/dustremove.html. With my attempts to support PIE film scanners in the pie backend I have reached a stage where I can receive R, G, B and I color planes at resolutions from 300 to 3600 dpi at 16 bit color depth. I wish to use the infrared channel for dirt removal without touching current SANE specifications. Essentially three things have to be done: 1) reduce red spectral overlap from the infrared (ired) plane 2) find the dirt 3) replace the dirt Everything beyond depends on the kind of film and taste. If you are interested in quick results skip down to the last paragraphs of this post. I rolled up my sleeves though in a different way than suggested on this list and made a small program ircleanest.c in which I tried to implement above three steps. For trying image calculations before programming ImageJ (http://rsbweb.nih.gov/ij/) ?has been great help. Ad 1) Quite often the ired image looks like a greyscale image with dirt emphasized. Something similar was reported for the Epson V700 scanner in ( http://lists.alioth.debian.org/pipermail/sane-devel/2011-February/028149.html ). The ired plane of negative films usually only contains slight shades of the image but slide films may show a considerable amount of it. I tried something with gamma and linear operations what Andreas Rick describes for the Coolscan. I could not get it to work and I do not wish to craft parameters by hand for every slide. When plotting the ired value of 1000 randomly chosen pixels against the red value the relation ired = b + a * ln (red) always gave a good fit. So calculating an ired' = ired - a ?* ln (red) should clean the ired plane. It works. I randomly sample 2000 pixels, calculate the parameter a by linear regression from the ln (red) and ired values, produce an ired' plane and scale it between 0 and 65535. I also tried to include green and blue planes but there is a lot of calculation and no real benefit. A similar cleaning effect one gets with the relations ired = b * red ^ a and ired' = ired / red ^ a. This comes closer Andreas Rick's suggestion of applying a gamma, and the coefficients can also be determined by linear regression. Ad 2) First I tried static thresholds to find the dirt. I still use two of them, Otsu's and Yen's in M. Emre Celebi's implementation in the FOURIER 0.8 project ( http://sourceforge.net/projects/fourier-ipal ). Yen's threshold in this implementation assumes a bimodal distribution and was the best of the static thresholds I tried in detecting only dirt. I still use it to add large dirty areas. But soon I gave up detecting smaller dirt with static thresholding without user intervention. On my search for an adaptive threshold I stumbled over the MAD (median of the absolute deviations from the median) filter (Crnojevic V. (2005) Impulse Noise Filter with Adaptive Mad-Based Threshold. Proc. of the IEEE Int. Conf. on Image Processing, 3: 337-340). It is an understandable paper describing an algorithm of rather low complexity. Median filtering, however, is rather slow. First, ?I replaced the first median filter step of the original paper with a maximum filter because the dirty pixels are always darker than the real signal. Then I managed to get images from the scanner at maximum resolution and realized some impulse noise. So I resorted to a mean filter. The second median I also replaced by a mean filter to reduce computation time. In spite of these changes Crnojevic's recommendations for the choice of the parameters a and b were still valid when scaled to 16 bit. In my ircleanest.c program it is the filter_madmean routine. Combining the madmean dirt mask with the one from Yen's static threshold gave a good representation of what I felt had to be removed. Ad 3) For Replacing the dirt I dilate the clean image parts into the dirty ones. As I wish to do that in one sweep several pixels deep I first calculate the Manhattan distance of dirty pixels to their closest clean neighbors and keep an index of these clean ones. The result is ok in general but looks funny when the original dirt was overlapping a region of high colour changes. So I adapt the dilated pixels by a mean filter to their new surroundings and replace them again. Clean pixels remain unchanged by this procedure. You find examples of my dust removal at
[sane-devel] unclear error message
Actually, it might have worked under 1.0.20 and 1.0.22, but been broken under 1.0.21. allan On Fri, Jul 8, 2011 at 9:16 AM, Jeremy Dawson jlcaadawson at netspeed.com.au wrote: On 07/08/2011 11:06 PM, Richard Ryniker wrote: You might try an update to 1.0.22, which is in the Fedora 14 updates repository. ?Either use yum update for a general update of your Fedora system, or yum update sane-backends to update just that. Alternatively (if your machine has no Internet access) retrieve just the sane-backends package from: http://download.fedoraproject.org/pub/fedora/linux/updates/14/i386/sane-backends-1.0.22-3.fc14.i686.rpm and copy it for local installation on the subject system. I expect the SANE maintainers would prefer to diagnose a problem on the latest version, instead of 1.0.21. Seems to work now! ?Surprise, as I had the scanner working under Ubuntu a year or so ago, long before Fedora 14 arrived, so I didn't think of the possibility that the problem would be due to having old software. Anyway, it works now - thanks very much Jeremy -- The truth is an offense, but not a sin
[sane-devel] FUJITSU fi-4340Cd ADF and page-height
you must set the page-height option. it is disabled when you are in flatbed mode. flatbed mode is the default for fujitsu machines which have flatbed. so you should see it like this: scanimage --source=ADF duplex -h Note also that the backend operation is dependent on the order of the options, so you should likely set the 'fundamental' (for lack of better term) options before the scan area options: scanimage --source ADF Duplex --mode Gray --page-height=297 -l 0 -t 0 -x 210 -y 297 --batch-start=1 --batch-count=2 --resolution 200 allan On Tue, Jun 28, 2011 at 7:56 AM, Mario Goppold mgoppold at tbz-pariv.de wrote: Hi, I have some problems to scan A4 sized pages form ADF with the fujitsu backend. Every time the backend rounds the page to letter: SANE_DEBUG_FUJITSU=25 scanimage -l 0 -t 0 -x 210 -y 297 --source ADF Duplex --mode Gray --batch-start=1 --batch-count=2 --resolution 200 --verbose [fujitsu] update_params: start [fujitsu] update_params: x: max=10368, page=10200, gpw=10368, res=600 [fujitsu] update_params: y: max=72816, page=13200, gph=72816, res=600 [fujitsu] update_params: area: tlx=0, brx=10200, tly=0, bry=13200 [fujitsu] update_params: params: ppl=5100, Bpl=15300, lines=6600 [fujitsu] update_params: params: format=1, depth=8, last=1 [fujitsu] update_params: finish ... [fujitsu] update_params: start [fujitsu] update_params: x: max=10368, page=10200, gpw=10200, res=200 [fujitsu] update_params: y: max=72816, page=13200, gph=13200, res=200 [fujitsu] update_params: area: tlx=0, brx=9923, tly=0, bry=13200 [fujitsu] update_params: params: ppl=1653, Bpl=1653, lines=2200 [fujitsu] update_params: params: format=0, depth=8, last=1 [fujitsu] update_params: finish The second update_param happens due to the iterpretation of the source=ADF. The options --page-width/--page-height are inactive so I can't set them as you suggested in Not able to scan A3 size with Fujitsu fi-5650c 05.02.2011 In fujitsu.c:get_page_height I find the following: ?/* current paper size for adf not overscan */ ?if(s-overscan != MSEL_ON){ ? ? ?return s-page_width; ?} My questions is why returns get_page_height s-page_width an not s-max_y? If get_page_height returns s-max_y I can scan pages in A4 and all other greater then letter: [fujitsu] update_params: start [fujitsu] update_params: x: max=10368, page=10200, gpw=10368, res=600 [fujitsu] update_params: y: max=72816, page=13200, gph=72816, res=600 [fujitsu] update_params: area: tlx=0, brx=10200, tly=0, bry=13200 [fujitsu] update_params: params: ppl=5100, Bpl=15300, lines=6600 [fujitsu] update_params: params: format=1, depth=8, last=1 [fujitsu] update_params: finish ... [fujitsu] update_params: start [fujitsu] update_params: x: max=10368, page=10200, gpw=10200, res=200 [fujitsu] update_params: y: max=72816, page=13200, gph=72816, res=200 [fujitsu] update_params: area: tlx=0, brx=9923, tly=0, bry=14033 [fujitsu] update_params: params: ppl=1653, Bpl=1653, lines=2338 [fujitsu] update_params: params: format=0, depth=8, last=1 [fujitsu] update_params: finish I think the problem lies in the interpretation/evaluation of br_y. But I can not see where the value changes. Original Code with some more debugs: [fujitsu] sane_get_option_descriptor: 10 [fujitsu] MG get_page_height: x: max=10368, page=10200, res=200 max_basic=5184 basic_res=600 [fujitsu] MG get_page_height: y: max=72816, page=13200, res=200 max_basic=36408 basic_res=600 [fujitsu] MG get_page_height: area: tlx=0, brx=9923, tly=0, bry=13200 [fujitsu] MG get_page_height: Fall s-overscan != MSEL_ON return 13200 [fujitsu] MG get_page_height: x: max=10368, page=10200, res=200 max_basic=5184 basic_res=600 [fujitsu] MG get_page_height: y: max=72816, page=13200, res=200 max_basic=36408 basic_res=600 [fujitsu] MG get_page_height: area: tlx=0, brx=9923, tly=0, bry=13200 [fujitsu] MG get_page_height: Fall s-overscan != MSEL_ON return 13200 [fujitsu] MG sane_get_option_descriptor: option==OPT_BR_Y get_page_height 13200 [fujitsu] MG sane_get_option_descriptor: option==OPT_BR_Y br_y_range.max 18308400 MG scanimage: option br-y = 297 [dll] sane_control_option(handle=0x805a8b0,option=10,action=1,value=0xbfa0aeb0,info=0xbfa0addc) [fujitsu] sane_control_option: set value for 'br-y' (10) [fujitsu] MG sane_control_option set : OPT_BR_Y ? val_c/(1 16)= 279.36 [fujitsu] MG sane_control_option set : OPT_BR_Y ? ? ? ? ? ? val_c= 18308400 [fujitsu] MG sane_control_option set : OPT_BR_Y ? ? ? ? ? s-br_y= ?13200 [fujitsu] MG sane_control_option set : OPT_BR_Y no update needed MG scanimage: option br-y = 279.364 scanimage: rounded value of br-y from 297 to 279.364 and with get_page_height returns s-max_y: [fujitsu] sane_get_option_descriptor: 10 [fujitsu] MG get_page_height: x: max=10368, page=10200, res=200 max_basic=5184 basic_res=600 [fujitsu] MG get_page_height: y: max=72816, page=13200, res=200 max_basic=36408 basic_res=600 [fujitsu] MG
[sane-devel] Fujitsu fi-4220C2
sane is a scanner driver suite for unix-like systems. Which system you have and your skill level will decide how you download it. sane is free. allan On Fri, Jun 17, 2011 at 11:57 AM, Colin Parker colinparker at onetel.net wrote: I note that you list the above but how do I download the software and how much does it cost please? Alwyn. -- 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] Fujitsu fi-4220C2
you seem to have forgotten that Mac OS-X users also need salvation :) allan
[sane-devel] [PATCH] xerox_mfp: Add USB id for Samsung CLX-216x Series
yes- see recent thread on this list titled: 'Alioth server upgrades' allan On Thu, Jun 16, 2011 at 5:42 AM, ABC abc at telekom.ru wrote: Thanks. Added into git. To list: Btw, now it doesn't regenerate Lists of Devices on commit? I don't see new divice on http://www.sane-project.org/lists/sane-backends-cvs.html#S-XEROX-MFP On Tue, Jun 14, 2011 at 10:55:31PM +0200, Malte Starostik wrote: From: Malte Starostik m-starostik at versanet.de Tested with a CLX-2160. Signed-off-by: Malte Starostik malte at malte.homeip.net --- ?backend/xerox_mfp.conf.in | ? ?3 +++ ?1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/backend/xerox_mfp.conf.in b/backend/xerox_mfp.conf.in index 2a28004..809786b 100644 --- a/backend/xerox_mfp.conf.in +++ b/backend/xerox_mfp.conf.in @@ -18,6 +18,9 @@ usb 0x04e8 0x341b ?#Samsung SCX4725-FN ?usb 0x04e8 0x341f +#Samsung CLX-216x Series +usb 0x04e8 0x3425 + ?#Samsung SCX-4500 ?usb 0x04e8 0x3426 -- 1.7.3.4 -- 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 -- 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] Genius scanner recognized, but firmware issue
did you place the file in the requested directory? If so, you may need to change the permissions on the file or directory such that your userid can read the file. allan On Sat, Jun 11, 2011 at 11:50 PM, Drew Parrish community at southpoint4u.com wrote: Hi! I am trying to get my scanner to work on my macbook. ?I have a genius cp-sf600 slim scanner. ?I was able to recognize the scanner with the twain sane backends, but it keeps telling me Couldn't open firmware file (`/usr/local/share/sane/gt68xx/cism216.fw'): No such file or directory I have the file cism216.fw I have no idea how to get the cism216.fw software recognized. Thanks for the help? Drew Parrish -- 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