[sane-devel] Canon PIXMA MX890
On Thu, Nov 29, 2012 at 2:43 AM, Henry Ptasinski henry at logout.com wrote: On 11/28/2012 09:38 AM, Henry Ptasinski wrote: Flatbed scans with resolutions up to 600 dpi all seem to be working fine. At 1200 and 2400 dpi, the images are mangled. Columns appear to be interleaved at both resolutions. I assume the problem is due to a missing check in pixma_mp150.c:post_process_image_data(). Any suggestions for how to start fixing this issue? Hello Henry, Yes, that is the correct solution. We know by now that many newer devices require this exception, but we will only add the exception when someone reports it, as that is the only sure way to tell. Thank you for bringing this to our attention. Nice to know that both 1200 and 2400 work without extra image data manipulation necessary too. Regards, Gernot Hassenpflug With a little poking around, I found that this change fixes the 1200 and 2400 dpi scanning problem: --- a/backend/pixma_mp150.c +++ b/backend/pixma_mp150.c @@ -1081,6 +1081,7 @@ post_process_image_data (pixma_t * s, pixma_imagebuf_t * i /* special image format for *most* devices at high dpi. * MP220, MX360, MX370, MG5300 are exceptions */ if (s-cfg-pid != MP220_PID s-cfg-pid != MX360_PID + s-cfg-pid != MX890_PID s-cfg-pid != MX370_PID s-cfg-pid != MG5300_PID n 0 reorder_pixels (mp-linebuf, sptr, c, n, m, s-param-wx, line_si For people more familiar with the pixma code, does this seem like the right approach? Thanks, --- Henry Ptasinski henry at logout.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
[sane-devel] Cannot scan over an open local network
Joel, I wrote the tutorial you are using, so I want to make sure we get your issue fixed and the tutorial updated. I added some of the things from this topic to the tutorial. Can you give us an update on if you got this working? --- Steven Santos Director Simply Circus, Inc. 86 Los Angeles Street Newton, MA 02458 P: 617-527-0667 F: 617-934-1870 E: Steven at SimplyCircus.com On Sun, Nov 25, 2012 at 6:28 PM, Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote: Joel Webster writes: First of all, thank you for all of your hard work getting SANE to be...sane. I recently acquired an HP Deskjet 3050A J611 series, which is one of their all-in-one printer/scanner combo machines. I would like to be able to use the device over my home network, where the device is connected to our file/print server. I can print to it everywhere (from windows linux machines alike) with no problems, but I cannot scan from anywhere but from the server itself. It works flawlessly from the server, but I cannot even see the machine over the network. I have followed the advice on the https://help.ubuntu.com/community/sane.d%20tutorial page and have worked through all of the troubleshooting steps three times to make sure I didn't miss anything. I can't even scan through localhost on the server it's connected to. All firewalls are disabled across all machines on the internal network. The file/print server is running Ubuntu 12.04. Are there any further steps I can take to figure this out? For lack of a crystal ball ;-), posting your /etc/sane.d/net.conf and /etc/sane.d/saned.conf files as well as information about your network configuration would be very helpful in trouble shooting this. For the network configuration, the output of $ sudo ifconfig or $ ip addr will do. There is a small chance that saned may be run by a user that is not in the appropriate group. To check that, run $ grep setfacl /lib/udev/rules.d/*-libsane.rules $ groups saned and check that the bit between g: and :rw in the output from the first command should be listed in the output of the second. In my case, the output looks like this (Debian wheezy) ENV{libsane_matched}==yes, RUN+=/bin/setfacl -m g:scanner:rw $env{DEVNAME} saned : saned scanner and scanner is both lines so I'm good. Other than that, check that saned is running with $ sudo service saned status Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] [PATCH] Fix MX892 interleaving issue at high resolutions.
The MX890 series scanners do not need pixel reordering at high dpi, so treat them the same as MX360, MX370, etc. Signed-off-by: Henry Ptasinski henry at logout.com --- backend/pixma_mp150.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c index d2653d6..4a17fca 100644 --- a/backend/pixma_mp150.c +++ b/backend/pixma_mp150.c @@ -1079,9 +1079,10 @@ post_process_image_data (pixma_t * s, pixma_imagebuf_t * ib) mp-shift, mp-stripe_shift); /* special image format for *most* devices at high dpi. - * MP220, MX360, MX370, MG5300 are exceptions */ + * MP220, MX360, MX370, MX890, MG5300 are exceptions */ if (s-cfg-pid != MP220_PID s-cfg-pid != MX360_PID - s-cfg-pid != MX370_PID s-cfg-pid != MG5300_PID n 0) + s-cfg-pid != MX370_PID s-cfg-pid != MX890_PID + s-cfg-pid != MG5300_PID n 0) reorder_pixels (mp-linebuf, sptr, c, n, m, s-param-wx, line_size); /* Crop line to selected borders */ -- 1.7.5.4
[sane-devel] Canon PIXMA MX890
On Thu, Nov 29, 2012 at 11:34:08AM +0900, Gernot Hassenpflug wrote: On Thu, Nov 29, 2012 at 2:43 AM, Henry Ptasinski henry at logout.com wrote: On 11/28/2012 09:38 AM, Henry Ptasinski wrote: Flatbed scans with resolutions up to 600 dpi all seem to be working fine. At 1200 and 2400 dpi, the images are mangled. Columns appear to be interleaved at both resolutions. I assume the problem is due to a missing check in pixma_mp150.c:post_process_image_data(). Any suggestions for how to start fixing this issue? Hello Henry, Yes, that is the correct solution. We know by now that many newer devices require this exception, but we will only add the exception when someone reports it, as that is the only sure way to tell. Thank you for bringing this to our attention. Nice to know that both 1200 and 2400 work without extra image data manipulation necessary too. I've sent a patch for this issue to the list, so hopefully that can be included shortly. Any thoughts on the timeout issue? Simply changing the timeout value in wait_until_ready() seems like a hack. Also, it doesn't solve all of the starup issues - if the printer has been sitting for quite a while unused, other errors show up: [sanei_debug] Setting debug level of pixma to 3. [pixma] pixma is compiled without pthread support. [pixma] Could not read pixma configuration file: pixma.conf [pixma] pixma version 0.17.0 [pixma] pixma_collect_devices() found Canon PIXMA MX890 Series at libusb:003:002 [pixma] sanei_bjnp_find_devices: [pixma] wlan1 is IPv4 capable, sending broadcast, socket = 3 [pixma] wlan1 is IPv6 capable, sending broadcast, socket = 4 [pixma] pixma_open(): Canon PIXMA MX890 Series [pixma] Reader task id=2867 (forked) [pixma] Reader task started [pixma] [pixma] pixma_scan(): start [pixma] line_size=1329 image_size=588747 channels=3 depth=8 [pixma] dpi=150x150 offset=(0,0) dimension=443x443 [pixma] gamma_table=0x25a90b8 source=0 [pixma] threshold=127 threshold_curve=0 [pixma] pixma_scan() failed EPROTO [pixma] Reader task terminated: EPROTO [pixma] read_image():reader task closed the pipe:0 bytes received, 588747 bytes expected scanimage: sane_read: Error during device I/O [pixma] pixma_close(): Canon PIXMA MX890 Series This proto failure seems to go away after the printer has some time to wake up, at which point the wait_until_ready() value seems to come into play. Likely unrelated, I'm using the -d flag to scanimage, so why is sanei_bjnp_find_devices() still sending out discovery messages over the network? Thanks, --- Henry Ptasinski henry at logout.com
[sane-devel] HP Colour Laserjet 2820
I have the above MFD and would like to use the scanning facility with SANE. Does anyone know if this is do-able, if so how? Regards Neil
[sane-devel] Fwd: canon lide 110 - buttons - don't working :/
hi guys, i'm new here i tryed some 'solutions' to use buttons on canon lide110 but no one worked i searched about sane-genesys and buttond but i couldn't make it work can anyone help me allowing this device to accept buttons and send me information when should i start scanimage? maybe we need to add some code but it's not a problem for who don't know the device it's a canoscan lide 110 (sane-genesys) it have four buttons PDF, AUTO SCAN, COPY, EMAIL i just need one button, but if we could make all work that's nice too :) thanks guys -- Roberto Spadim
[sane-devel] Fwd: canon lide 110 - buttons - don't working :/
Am 29.11.2012 19:44, schrieb Roberto Spadim: hi guys, i'm new here i tryed some 'solutions' to use buttons on canon lide110 but no one worked i searched about sane-genesys and buttond but i couldn't make it work did you try scanbd? can anyone help me allowing this device to accept buttons and send me information when should i start scanimage? maybe we need to add some code but it's not a problem for who don't know the device it's a canoscan lide 110 (sane-genesys) it have four buttons PDF, AUTO SCAN, COPY, EMAIL i just need one button, but if we could make all work that's nice too :) thanks guys -- Roberto Spadim -- Wilhelm