Re: [sane-devel] Canon Lide 90 support

2018-04-03 Thread Gernot Hassenpflug
On Tue, Apr 3, 2018 at 10:24 PM, <wagnerandr...@aol.de> wrote:

> Hi,
> I' m just switch a PC system from Windows to Linux including an old Canon
> Lide 90 Scanner. I saw in Tour mailing list an old thread from 2008.
> Guillaume Gastebois and Pierre Willenbrock started at this time the
> development but did not finished it. I want to start a new attempt but all
> external links are in meanwhile invalid, so i got no base to start. Can
> somebody provide my the code written so far?
> Thank you in advance
>

I actually also have a LiDE 90 I bought cheaply just to help development
several years ago, but the hurdle was too much for me back then.
It would be nice to have another try though, so I will see if I can check
out the git code and have a look to see the current status of the genesys
backend.
Best regards,
Gernot Hassenpflug
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Martin passed away

2018-03-24 Thread Gernot Hassenpflug
On Sat, Mar 24, 2018 at 6:33 PM, Martin Kho <sane-de...@pithon.nl> wrote:

> With deep sadness, I have to inform you that my brother Martin has passed
> away
> last Saturday. Most of the time, he enjoyed working with you. Keep up the
> good
> work,
> Rob
>

I'm very sorry to hear that. My sincere condolences on your loss Rob.
Gernot Hassenpflug
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] I want to test the Sane backend for Canon Pixma MG3670 Multi-functional Scanner-Printer I have

2016-02-11 Thread Gernot Hassenpflug
Hello Rajib,
This is not a personal email exchange, but a mailing list run by an
open source project of volunteers.
The wording of your subject is not good enough to make it mean what
you want it to, in comparison to the usual interpretation that would
be given to it by readers of this ML.
My suggestion is:
(1) test the SANE backend with your scanner, and report back, so that
volunteer coders may correct it as they see fit. This would benefit
the SANE project.
(2) if your goal is to play with your own home-grown driver, then this
is unlikely to benefit the SANE project, but you may read the archives
and learn how to integrate a new backend (and how to disable the use
of an existing backend that already does this work). Doing this would
be educational for you I am sure.

Regads,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] I want to test the Sane backend for Canon Pixma MG3670 Multi-functional Scanner-Printer I have

2016-02-10 Thread Gernot Hassenpflug
On Thu, Feb 11, 2016 at 4:10 PM, Susmita/Rajib Bandopadhyay
<bkpsusmi...@gmail.com> wrote:
> Hi!
>
> Please read my first post on this thread.
>
> I have read the README.
>
> What is this word 'documentation'?

Documentation usually entails the manual pages and other files like
the readme (there are news, install, changelog, release information
and other files in most software).
I would start by reading the manual pages for the sane project and the
various backends.
Try "man sane" and read to the end, there in the "See Also" section
you will find more man pages. Some URLs are also in there for
reference.

Best regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] I want to test the Sane backend for Canon Pixma MG3670 Multi-functional Scanner-Printer I have

2016-02-10 Thread Gernot Hassenpflug
On Thu, Feb 11, 2016 at 2:27 PM, Susmita/Rajib Bandopadhyay
<bkpsusmi...@gmail.com> wrote:
> Another input, Sir!
>
> Kindly inform the programmers that the Makefile makes installation
> files for all Printers of the Universe.

SANE is a scanner project, not a printer project (that would be
gutenprint or some other project).
/../
If you read the instructions, you will see that using configure with
BACKENDS= will create backends just for the
listed backends.
This might be useful to put in the readme, but people should also read
the general manual pages, the readme is not a substitute for them.

Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] I want to test the Sane backend for Canon Pixma MG3670 Multi-functional Scanner-Printer I have

2016-02-10 Thread Gernot Hassenpflug
On Thu, Feb 11, 2016 at 3:17 PM, Susmita/Rajib Bandopadhyay
<bkpsusmi...@gmail.com> wrote:
> Please note that I used:
>
>   ./configure BACKENDS="canon" PRELOADABLE_BACKENDS="canon" to preload
> backend for canon.
> Yet in output : I don't see preloadable backend.
>
> What is the logic behind this?

Hello,
Are you really reading any of the documentation? This is not IRC, so
you can't expect a loose conversation.
There is no such backend. Please read the documentation and the README
files to find out what you need to compile.

Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] I want to test the Sane backend for Canon Pixma MG3670 Multi-functional Scanner-Printer I have

2016-02-10 Thread Gernot Hassenpflug
On Thu, Feb 11, 2016 at 4:37 PM, Susmita/Rajib Bandopadhyay
<bkpsusmi...@gmail.com> wrote:
> That is why I am voluntarily participating to make the driver of my
> printer approved by sane-devel. The driver of my scanner now exists,
> but is not yet tested.

My apologies, from your messages it was not clear to me that you had
written a driver.
In that case, what you want to do is integrate your driver in SANE backends?
However, there is already a driver for this scanner family (MG3600),
so how about if you test that instead first?
It is the pixma backend, so you can just compile that backend, and
test, reporting how especially the high-resolution scans work (above
600 dpi, do you get proper image, or if not, how it looks).
Best regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] Xsane can't find scanner - again, but this one is USB

2015-10-30 Thread Gernot Hassenpflug
> On Thu, Oct 29, 2015 at 11:32 PM, MR ZenWiz <mrzen...@gmail.com> wrote:

Hi,
Does your computer have a USB3 port and are you using it? Or does it
have standard older USB2 ports only? Not sure what the "3.0 root hub"
means.
USB3 and linux have some troubles, and you'll need to work around this
I think, for now, see the mailing list for this.
Note: SANE and CUPS have nothing to do with one another.
Regards,
Gernot Hassenpflug

>> I plugged in my Canon LiDE scanner and it shows up on lsusb:
>>
>> mar@marbase:~ $ lsusb
>> Bus 002 Device 002: ID 8087:8001 Intel Corp.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 002: ID 8087:8009 Intel Corp.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 008: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
>> Bus 003 Device 002: ID 04f9:0040 Brother Industries, Ltd
>> Bus 003 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
>> Bus 003 Device 006: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
>> Bus 003 Device 004: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard 
>> Hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> xsane hung after this.  I unplugged the scanner and plugged the HP
>> back in, and the Canon showed up in xsane, but of course it didn't
>> work.  I switched the cable back, and xsane hung again.  So I ran
>> sane-find-scanner:
>>
>> mar@marbase:~ $ sudo sane-find-scanner
>> [sudo] password for mar:
>>
>>   # 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=0x04a9 [Canon], product=0x220e [CanoScan])
>> at libusb:003:008
>>   # 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 Thu, Oct 29, 2015 at 11:12 PM, MR ZenWiz <mrzen...@gmail.com> wrote:
/../
>>> At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
>>> the USB (bus 3, device 14).
>>>
>>> When I first installed this it was fine, everything worked.
>>>
>>> Tonight I tried to scan a document, and xsane can't find the
>>> scanner/printer/etc.
/../

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] Xsane can't find scanner - again, but this one is USB

2015-10-30 Thread Gernot Hassenpflug
On Fri, Oct 30, 2015 at 6:05 PM, Johannes Meixner <jsm...@suse.de> wrote:
>
> Hello,
>
> On Oct 30 15:38 Gernot Hassenpflug wrote (excerpt):
>>
>> Does your computer have a USB3 port and are you using it?
>> Or does it have standard older USB2 ports only?

Thanks Johannes,

So the question one needs to keep in mind is not USB3 per se, but
whether the xhci kernel module is being used.
I'm sorry, I need to read up more on the issue, I did not realize the
xhci module was the problem regardless of whether USB port was 2 or 3
(assuming the labelling on the ports is not wrong).

> Attention: One needs to be careful with things
> that only look like USB2 ports, cf
> https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c24
> (excerpt)
> --
> My machine has 4 USB ports, two labeled with
> the "super speed" USB logo (a.k.a. USB 3) and
> two labeled with the normal USB logo (a.k.a. USB 2)
> but for all 4 ports xhci is used and it fails on all 4 ports.
> --
>
> FYI, see also
> https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c40

Will read this to get up to speed, pun intended.
Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] how to compile SANE

2015-10-08 Thread Gernot Hassenpflug
On Fri, Oct 9, 2015 at 4:56 AM, Renato Pontefice
<renato.pontef...@gmail.com> wrote:
> Hi,
> as I told on my previous message, I cannot aquire images from my canon lide
> 110 scanner, because of problem.
> Just now, I had an idea: re-compile all SANE on my Debian stretch pc
>
> Can someone help me to do that? I mean: where do I can take file to compile?
> and how can I do that?

Hello Renato,
The linux README file has the information you need. While you are
about it, you probably would benefit from reading the other files
regarding installation also.
Best regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] canoscan 5200F chip info

2015-10-02 Thread Gernot Hassenpflug
On Fri, Oct 2, 2015 at 10:57 AM, Humphrey van Polanen Petel
<hp...@optusnet.com.au> wrote:
>  to sane-devel-requ...@lists.alioth.debian.org
/../

Hello Humphrey,
Thanks for the chip info (no idea about any of them unfortunately).
It would help if you could make a very small scan, the smallest you
can obtain (probably about 4mm by 4mm using the Canon-supplied Windows
TWAIN driver interface), at the lowest resolution (probably 75dpi) in
black and white, or greyscale or color in case other types not
available.
Then zip it and send to my email (aikishugyo at gmail), if there is
anything useful that I can recognize I'll let you know. In particular,
if the scanner supports the PIXMA protocol, there is hope (support
pretty much guaranteed). Otherwise not much.
Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] canoscan 5200F chip info

2015-10-01 Thread Gernot Hassenpflug
On Fri, Oct 2, 2015 at 2:21 PM, Gernot Hassenpflug <aikishu...@gmail.com> wrote:
> On Fri, Oct 2, 2015 at 10:57 AM, Humphrey van Polanen Petel
> <hp...@optusnet.com.au> wrote:
>>  to sane-devel-requ...@lists.alioth.debian.org
> /../
>
> Hello Humphrey,
> Thanks for the chip info (no idea about any of them unfortunately).
> It would help if you could make a very small scan, the smallest you
> can obtain (probably about 4mm by 4mm using the Canon-supplied Windows
> TWAIN driver interface), at the lowest resolution (probably 75dpi) in
> black and white, or greyscale or color in case other types not
> available.

Important information inadvertently left you!
I meant taking a USB log of the traffic of a Windows-based scan.
For WinXP, UsbSnoop is good, because I have a parser for that.
For later versions of Windows, I guess you could you use Wiresharp
with UsbPcap, looking at the output in Wireshark would work for me
too.

> Then zip it and send to my email (aikishugyo at gmail), if there is
> anything useful that I can recognize I'll let you know. In particular,
> if the scanner supports the PIXMA protocol, there is hope (support
> pretty much guaranteed). Otherwise not much.
> Regards,
> Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] PIXMA MG7150 test

2015-09-23 Thread Gernot Hassenpflug
On Wed, Sep 23, 2015 at 11:45 PM, Kiligolo <kiligolo_robob...@hotmail.fr> wrote:
> Le Wednesday 23 September 2015, 12:00:02 sane-devel-
> requ...@lists.alioth.debian.org a écrit :
/../
> I linked my sanner to my computer via USB and I disabled the computer wifi.
> The scanner is detected by "scanimage -L" and I can scan with "scanimage --
> format=tiff > image.tiff".
> I can scan with 75 (default), 150, 300 and 600dpi resolutions. 1200dpi (which
> is not proposed by the scanner screen) takes about five minutes and output a
> corrupted image.

Hi,
Just a comment: This is already fixed more than a year ago, so if you
need this then you can install the source, or wait for 1.0.25 to be
released and be available in your distribution.
Changelog entry:

2014-05-08 Rolf Bensch 
* backend/pixma_mp150.c: fix MG7100 image data post processing @ high
  resolutions > 600dpi.
* doc/descriptions/pixma.desc, doc/sane-pixma.man: Canon Pixma MG7100
  Series scanner is working, reported by Gert Cauwenberg.
* backend/pixma.h, doc/descriptions/pixma.desc: Pixma backend
version 0.17.8

/../
Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon CanoScan 4200F

2015-09-21 Thread Gernot Hassenpflug
On Mon, Sep 21, 2015 at 5:02 PM, Jászberényi Szabolcs
<jaszbereny...@pagisz.hu> wrote:
> Dear Developers!
>
> I would like to help you with some information about Canon CanoScan 4200F. I
> have a working device.

If you search the sane-devel mailing list, there are some posts in the
past about this device.
The very old (sane-backend 1.0.18) info collected is here:
http://www.sane-project.org/unsupported/canon-4200f.html
You can check if the chips match what you found on your device.

> I am running a Ubuntu 15.04 desktop with UbuntStudio desktop (XFCE4).
> Basic information about the scanner: http://jszabolcs.hu/sane-devel/

Hi,
Unfortunately, clicking on the link brings up a 404 error page:

A keresett fájl nem található!

Fájl neve: sane-devel.php
Hibakód: 404


> ICs:
> ST L6219DS 9918L Vb MYS 99 544
> 610800017919D1 0603 TH07 XHJ70JGG
> ESMT M12L16161 LZ81P520J
> 39063 P1HUA
> WM81NS80S 5CAUPBX (it is not sure, but photo is available on the link)
>
> I also did the sane-find-scanner -v -v and lsusb, but I have no
> /proc/bus/usb/devices file.

What did sane-find-scanner say? Did it guess that this is a Genesys
GL841-controlled device?

Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon CanoScan 4200F - Bad link

2015-09-21 Thread Gernot Hassenpflug
On Mon, Sep 21, 2015 at 5:46 PM, Jászberényi Szabolcs
<jaszbereny...@pagisz.hu> wrote:
> Sorry, I gave a bad link before. The correct one is:
> http://kultinf.gyor.hu/~szabolcs/sane-devel/

Hi,
Thanks for the update, looks like the latest sane-find-scanner does
not think it is a currently-known Genesys chip.
Since the scanner is old, it could be an older Genesys or similar
chip, or else something entirely different and unknown (see below).

Perhaps you could do a UsbSnoop scan under Windows XP (virtual one
under Windows 7 probably will work too) of the smallest area you can
possibly mark with the windows driver (probably something like 4mm by
4mm or so). Zip that up and send it directly to me by mail to have a
look at (the mailing list won't accept such large attachments).

UsbSnoop 1.8 for Windows XP:
http://benoit.papillault.free.fr/usbsnoop/
Notes on usage:
http://lindi.iki.fi/lindi/usb/usbsnoop.txt

*If and only if* you are using WinXP, you might want to try a modified
from of UsbSnoop also, as a test---developed from the above 1.8 and
renamed SniffUSB:
http://www.pcausa.com/Utilities/UsbSnoop/

I look forward to hearing from you on this.

Look through the mailing archives also. Here is from 2010 some
information that the ML received (truncated, check the full one in the
archives):


from:René Kjellerup <rk.katana.st...@gmail.com> to:aikishu...@gmail.com
cc:sane-devel@lists.alioth.debian.org
date:Wed, Mar 24, 2010 at 8:48 AMsubject:Re: [sane-devel] any sniff
volunteers unsupported Canon scanners: 4200F, 5200F, 9900F, 9950F

hi Gernot,

a few years back I worked on the 4200F and made these logs (5.1MB or
5341603 bytes)

my scanner broke /../


Reply from me:

from:Gernot Hassenpflug <aikishu...@gmail.com> to:René Kjellerup
<rk.katana.st...@gmail.com>
cc:sane-devel@lists.alioth.debian.org
date:Wed, Mar 24, 2010 at 10:25 AMsubject:Re: [sane-devel] any sniff
volunteers unsupported Canon scanners: 4200F, 5200F, 9900F, 9950F


Hi, the logs from the 4200F seems similar to those from the 5600F, and
maybe this is something like the canon630u backend protocol using the
GL640, judging by the 8-byte command sequences often beginning with
either 0x40 or 0xc0. Or maybe something elseI am not familiar with
that protocol.
/../


Final post in this thread (more in another one, below):


from:Gernot Hassenpflug <aikishu...@gmail.com>
to:sane-devel@lists.alioth.debian.org
date:Wed, Mar 24, 2010 at 12:41 PMsubject:Re: [sane-devel] any sniff
volunteers unsupported Canon scanners: 4200F, 5200F, 9900F, 9950F

Dear all,

So far the 4200F has shown no sign of being a "pixma" device. I also
received logs for the 5600F which appear somewhat similar. Does anyone
know if this might be related to canon630u ?
/../


In a related thread, it was pointed out that there was (at that time)
too little information to tell what chipset was used, but the genesys
developer wrote that sane-find-scanner should be able to tell
(apparently the result is negative at this stage, but that does not
mean it is not a Genesys chip):

See this thread:
[sane-devel] New CanoScan 4200F, 5000F, 5600F backend?

Excerpts:

from:xy <abi1...@googlemail.com> to:sane-devel@lists.alioth.debian.org
date:Fri, Mar 26, 2010 at 3:08 AMsubject:[sane-devel] New CanoScan
4200F, 5000F, 5600F backend?

/../
Obviously we should look at the Genesys backend first.
The home page is http://www.meier-geinitz.de/sane/genesys-backend/

The canon630u-backend is located at:
http://canon-fb630u.sourceforge.net/

and leads to this:
http://canonscanner.sourceforge.net/

from:m. allan noah <kitno...@gmail.com> to:xy <abi1...@googlemail.com>
cc:sane-devel@lists.alioth.debian.org
date:Fri, Mar 26, 2010 at 3:30 AMsubject:Re: [sane-devel] New CanoScan
4200F, 5000F, 5600F backend?

Some links:

http://www.sane-project.org/lists/sane-backends-cvs.html#S-UNSUPPORTED

which shows (among others)

http://www.sane-project.org/unsupported/canon-4200f.html
http://www.sane-project.org/unsupported/canon-5000f.html
http://www.sane-project.org/unsupported/canon-5200f.html
etc...

There really is not enough info here to determine which chip they all
use, but some variant of GL84x is possible...

Perhaps stef or pierre could determine this from sniffer logs.

from:m. allan noah <kitno...@gmail.com> to:stef <stef@free.fr>
cc:sane-devel@lists.alioth.debian.org
date:Fri, Mar 26, 2010 at 9:31 PMsubject:Re: [sane-devel] New CanoScan
4200F, 5000F, 5600F backend?
>Hello,
>
>I think it is easier to tell the exact genesys ASIC from the output of 
> the
> latest version of sane-find-scanner. Or at least the full lsusb -v output.

Yeah- but I wrote the detection code for the later chips based on a
couple of rough guesses :)

There were posts from at least 2 other users wanting support in the
intervening time, but without results.
Regards,
Gernot Hassenpflug

-- 

Re: [sane-devel] Canon CanoScan 4200F - Bad link

2015-09-21 Thread Gernot Hassenpflug
On Mon, Sep 21, 2015 at 5:46 PM, Jászberényi Szabolcs
 wrote:
> Sorry, I gave a bad link before. The correct one is:
> http://kultinf.gyor.hu/~szabolcs/sane-devel/

The text files are readable, but the images are not available
(permission problem).

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Need help with Canon scanner

2015-08-19 Thread Gernot Hassenpflug
On Wed, Aug 19, 2015 at 11:57 PM, Alan McConnell a...@his.com wrote:

 Assembled Wisdom!

 Almost a year ago, I bought a Canon ImageCLASS MF4770n, an
 all in one printer/scanner/copier.  I use it regularly for
 printing, and it works fine with my CUPS SW.  I should add:
 it resides about six feet from my computer, and is connected
 with a USB cable.


Hello Alan,


 I spent a little time this spring trying to get the scan
 function to work, but was not successful.  I am now
 returning to this issue, and I need help.

 First:  I have run sane-find-scanner, and it returns the
 line:
found USB scanner (vendor=0x04a9, product=0x2774) at libusb:001:004
 But when I run xsane as 'myself'(alan), also as 'root', I am
 told after a search, where my various USB lights blink, that
 there is 'no device available.'


What version of SANE do you have installed? You can look at the package
libsane, e.g.
aptitude show libsane
(on my Debian unstable installation it is 1.0.24-13, although I also
install the latest development version in /usr/local)

I believe that there is a backend for the MF4770.  However, I
 don't seem to have libusb, although my USB works fine for
 backups onto USB sticks, and, as mentioned, my USB connection
 to the Canon printer works fine.


pixma_imageclass.c:#define MF4700_PID 0x2774

The MF4700 series has been in SANE since before December 2013, so unless
you are using an ancient version of SANE, it is most likely that you have
the backend you need in SANE.

The documentation in README.linux that comes with the SANE code should help
you check the installation and do some debugging, or at least specify to
the list which steps you managed to succeed in, and where things failed.
On Debian systems, the files you can consult are in (read them with
zless):
/usr/share/doc/libsane/README.linux.gz (the above file, takes you through
custom installation, and section 4 has info to check setup)
/usr/share/doc/libsane/README.Debian.gz (a Debian-specific file with a
trouble-shooting section)

Regards,
Gernot Hassenpflug
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Missing Resolution for Canon MG7550

2015-08-18 Thread Gernot Hassenpflug
On Tue, Aug 18, 2015 at 9:06 PM, Martin martin...@intergga.ch wrote:

 Hi Rolf,

 The sane backend does not provide all resolutions of the scanner:

 Xsane offers 75, 150, 300, 600, 1200 and 2400 ppi.

 Canon's scangear however offers 75, 100, 150, 200, 300, 400, 600 and 1200
 ppi.


Hello Martin,
There is infact no such physical resolution as 200 and 400.
All the physical scans use resolutions which are multiples of 75.
A 200dpi scan will be done at 300dpi and scangear simply filters it down to
200.
Likewise, 400 is done at 600dpi and filtered down.
SANE implements the physical scanning capability. Since the 200 and 400 are
done in software, it would be a filter in the front-end, not the backend.
At least, that is my understanding.
Regards,
Gernot Hassenpflug
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon Pixma MX-925

2015-02-04 Thread Gernot Hassenpflug
On Thu, Feb 5, 2015 at 3:21 AM, Peter Lemkin  MCB crazyb...@volny.cz wrote:
 I have never been a member of any development lists, so don't know how
 things 'go'. I thought you need my model 'tested' in some way and in
 exchange I might get full functionality and connection to front ends.


Hello Peter,
No idea why this is a new thread, but yes, your model needs to be
tested. For this testing, you should use the PPA given to you in the
original thread, since that is the development code, which has the
latest tests, including whatever others have already had tested for
this device (if any).
Regards,
Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] HP Scanjet 5300c

2015-01-22 Thread Gernot Hassenpflug
On Wed, Jan 21, 2015 at 3:47 AM, Maryse Hugues Legay Rochette 
hugues.legay02...@orange.fr wrote:

 Hello
 First, sorry for my bad english, but I will try it anyway.


Hello,
I found your message in my spam folder, not sure if it was because of
formatting (HTML?) or because of non-English words somewhere, but probably
this happens a lot, please be patient


 I send you this mail because I need some help. Maybe would you explain me
 how to proceed.


Unfortunately, I am not familiar with the installation on MacOSX using the
packages (although I know of the packages).


 I would like to run a HP scanner Scanjet 5300c » on a iMac os x 10.10 ,
 so as this one doesn’t see it, I searched for a solution. Founding SANE
 project, I downloaded Mattias Ellert's binary installer packages
 http://www.ellert.se/twain-sane/ of sane-backends, the TWAIN SANE
 interface and related software.
 Now this software appears on the computer, in the section printer and
 scanner. However when it is activated, the application does not found my
 scan. Awaiting the scanner  it’s said.
 Then, once the driver libraries opened I saw there was not Scanjet 5300C
 driver in it, although it is indicated on the page of SANE site to the
 section « Supported device », as you can see below? that it is in fact.


The driver is the avision backend, and that supports the scanjet 5300C.
You won't find a driver called ScanJet 5300C. The avision backend, if
compiled, will be used by SANE at startup to search for attached devices
matching the supported USB IDs registered (programmed into) that backend.
So if the avision backend is in the 1.0.24 SANE package, and this avision
backend supports the ScanJet 5300C, then running the frontend (whatever
application you use that uses SANE to do the scanning) should result in
your scanner being detected.
If not, then conceivably either the frontend is not using the installed
SANE yet, or the avision backend included does not support the ScanJet
5300C, or there is a permission problem somewhere that prevents the scanner
from being used.

Regards,
Gernot Hassenpflug





 BackendVersionSupported DevicesManual PageManufacturerModelInterfaceUSB id
 StatusCommentBackends included in the current tarball - see SANE
 Distribution http://www.sane-project.org/source.htmlavision
 http://skull.piratehaven.org/~mike/sane/avision.htmlBuild: 296
 Hewlett-Packard http://www.hp.com/ScanJet 5300CUSB0x03f0/0x0701complete1
 pass, 2400 dpi - some FW revisions have x-axis image scaling problems over
 1200 dpisane-avision 
 http://www.sane-project.org/man/sane-avision.5.htmlScanJet
 5370CUSB0x03f0/0x0701good1 pass, 2400 dpi - some FW revisions have x-axis
 image scaling problems over 1200 dpi


 What can I do ?
 So I hope that you will send me an answer which can help me to solve these
 difficulties.
 In advance thank you to study my demand.

 Hugues Legay
 3 allée des érables
 CEYZERIAT
 01250
 FRANCE

 hugues.legay02...@orange.fr

 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Canonscan N 650U LIDE Scanner does not scan but makes terrible noise AGAIN !

2014-07-22 Thread Gernot Hassenpflug
Hello Winni,
You should read the linux README included with the SANE source, to
show you how to compile.
Then you can avoid making such a mistake as trying to write into your
system directories.

Regards,
Gernot Hassenpflug


On Tue, Jul 22, 2014 at 4:38 PM, Gerhard Jäger gerh...@gjaeger.de wrote:
 Hi,

 On Monday 21 July 2014 09:21:29 Winni wrote:
 Hi,

 with the ubuntu 14.04 release again I have to suffer the terrible noise
 of my Canonscan N 650U LIDE Scanner.

 I downloaded sane-backends-1.0.24.tar.gz
 https://alioth.debian.org/frs/download.php/file/3958/sane-backends-1.0.24.tar.gz
 *
 +++

 plustek-usbdevs.c*

 /** Canon N650U/N656U */
 static HWDef Hw0x04A9_0x2206 =
 {
  0.76,   /* dMaxMotorSpeed*/
  0.243,  /* dMaxMoveSpeed */

 I tried 0,80 but also same problem.

 you tried 


 ../configure \
   --prefix=/usr \
   --sysconfdir=/etc \
   --mandir=/usr/share/man \
   --infodir=/usr/share/info
   --with-lockdir=/var/lock/sane



 export SANE_DEBUG_PLUSTEK=5

 scanimage -l
 [sanei_debug] Setting debug level of plustek to 5.
 [plustek] Plustek backend V0.52-10, part of sane-backends 1.0.23

 ... but you failed - because you are still using the older backend - 1.0.23
 [...]

 Seems you have not installed 1.0.24.

 - Gerhard

 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MG7120

2014-07-20 Thread Gernot Hassenpflug
On Sun, Jul 20, 2014 at 4:36 PM, Tammo Heeren tammo.hee...@gmail.com wrote:
 scanimage (sane-backends) 1.0.23; backend version 1.0.23

Hello Tammo,
If you look at the supported scanners list, you will see the MG7100 is
in the latest stable release.
You'll need to get 1.0.24.
It is untested, so some resolutions might not work, if you could test,
that would be great.
Regards,
Gernot Hassenpflug

 On Sat, Jul 19, 2014 at 9:47 PM, Bob Gustafson bob...@rcn.com wrote:

 What version sane are you using. The later the version, the higher the
 probability that what you need is there, particularly if you have a newer
 scanner.

 Bob G


 On 07/19/2014 07:41 PM, Tammo Heeren wrote:

 Just bought a Canon MG7120. Wanted to report that sane-find-scanner does
 not find it. I am happy to test more things and provide more information.
 Let me know what I can do and how I can help. I'd be interested in getting
 it working.

 Tammo




 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org



 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] Canon MG7120

2014-07-20 Thread Gernot Hassenpflug
On Sun, Jul 20, 2014 at 5:06 PM, Tammo Heeren tammo.hee...@gmail.com wrote:
 I managed to get here
 scanimage (sane-backends) 1.0.24; backend version 1.0.23

 and sane-find-scanner now finds
 found USB scanner (vendor=0x04a9 [Canon], product=0x1772 [MG7100 series]) at
 libusb:002:005

 What do I do from here?

sane-find-scanner merely uses libusb to detect the scanner, this does
not use the actual backend.
If you read the linux README that comes with SANE, you'll get the
details of how to compile from source (the CVS version) and test.
But for now, just use scanimage to scan, or use xsane if you want a
graphical interface. Either of those should work (i.e., they should
use the sane-pixma 0.17.4 backend that comes with 1.0.24).

Regards,
Gernot Hassenpflug

 On Sun, Jul 20, 2014 at 12:36 AM, Tammo Heeren tammo.hee...@gmail.com
 wrote:

 scanimage (sane-backends) 1.0.23; backend version 1.0.23



 On Sat, Jul 19, 2014 at 9:47 PM, Bob Gustafson bob...@rcn.com wrote:

 What version sane are you using. The later the version, the higher the
 probability that what you need is there, particularly if you have a newer
 scanner.

 Bob G


 On 07/19/2014 07:41 PM, Tammo Heeren wrote:

 Just bought a Canon MG7120. Wanted to report that sane-find-scanner does
 not find it. I am happy to test more things and provide more information.
 Let me know what I can do and how I can help. I'd be interested in getting
 it working.

 Tammo




 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org




 --
 sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


Re: [sane-devel] IrisCard scanner mini

2014-06-22 Thread Gernot Hassenpflug
On Mon, Jun 23, 2014 at 1:01 PM, chuck chu...@blackforest-co.com wrote:
/../
 IrisCard scanner mini
 
 Business card scanner at a garage sale $10 - worth a try and I need a
 business card scanner.
 lsusb
 Bus 005 Device 012: ID 0a53:300a Portable Peripheral Co., Ltd

 sane-find-scanner
 found USB scanner (vendor=0x0a53 [I.R.I.S], product=0x300a [IBCR III]) at
 libusb:005:012

/../

 Suggestions? Thanks.

Hello Chuck,
Prognosis appears bleak.

See:
http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-IRIS

This particular device is not in the list, but presumably the result
is the same.
I suggest whoever maintains the HTML for supported/unsupported devices
add this device (0x300a) to the unsupported list with the other 3 Iris
scanners.

Gernot Hassenpflug

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org


[sane-devel] MX925: Scan via Display to SANE??

2014-05-05 Thread Gernot Hassenpflug
On Mon, May 5, 2014 at 5:13 PM, Johannes Meixner jsmeix at suse.de wrote:


 Hello,

 On May 3 11:51 Louis Lagendijk wrote (excerpt):

  On Fri, 2014-05-02 at 21:55 +, Thomas Escher wrote:

 One question ? I own a Canon MX925. It's possible to scan
 from the display directly to the Windows-Machines.
 Is SANE the right software to scan from
 the display directly to a debian-machine?

 ...

  Yes, Sane can be the base for button-based scanning,
 but you will also need scanbd. Sane provides the interface
 to the scanner, scanbd will handle the logic. Scanbd cab be
 found here:
 http://sourceforge.net/projects/scanbd/?source=directory


 First things first:

 A precondition is that SANE supports the device.

 But according to

 http://www.sane-project.org/cgi-bin/driver.pl?manu=canon;
 model=mxbus=anyv=p=

 it seems no Canon MX925 is listed at SANE which indicates
 that SANE does not support it.


Short one:
MX920 has been supported since December 2012 (see git Changelog), whether
ADF is perfect or not I am not certain.
MX925 is just a regional variation on the MX920 (proof would be to see if
the USB ID is the same).

Regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140505/82133a3e/attachment.html


[sane-devel] Canon MF4770N network

2014-04-08 Thread Gernot Hassenpflug
Hi,
Not sure if it is relevant, but here is an Ubuntu thread, indicating
that the scan button the device needs to be pressed before it can
scan:
http://ubuntuforums.org/showthread.php?t=2156681
Regards,
Gernot


On Tue, Apr 8, 2014 at 1:22 PM, littlesincanada
littlesincanada at yahoo.co.uk wrote:
 Hi,
 Further to my previous post, I should point out that:

 1) Ping works and the printer answers back.
 2) Printing works fine.


 Cheers,
 Ralph

 --
 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] Canon Pixma MP780

2014-02-21 Thread Gernot Hassenpflug
On Fri, Feb 21, 2014 at 2:19 AM, William Barfoot wbarfoot at t-online.de 
wrote:
 Hi,

 I was hoping to get some insight as to which backend with what contents I
 might need to get my MP780 scanner working on my Mac OS X 10.9 system?

Hello Bill,

The MP760/770/780/790 are all supported in SANE with the pixma backend
for quite some time.
What version of SANE are you trying to use? Unless it is more than 4
or 5 years old, the scanners should definitely be supported.

Regards,
Gernot Hassenpflug



[sane-devel] hi, i'm the new debian maintainer for sane-backends

2014-01-23 Thread Gernot Hassenpflug
On Thu, Jan 23, 2014 at 10:26 AM, Mark Buda hermit at acm.org wrote:
 Hi, I'm the new Debian maintainer for sane-backends. I thought I should
 introduce myself. I've been meaning to contribute to Debian for a long
 time (17 years?) but every time I found something I was seriously
 interested in, somebody else had done it already. Recently, when I
 bought a Canon MX452, and needed sane-backends 1.0.24 to make it work, I
 figured I'd actually make myself useful since I was packaging it for
 myself anyway.

Hello Mark,

Welcome
Great to hear you are volunteering for this task, much appreciated.

 Also, I used to work on scanner drivers in real life. It was a very long
 time ago (early 90s), and they were mostly high-end SCSI scanners (e.g.,
 120+ double-sided pages/minute).

 So, um, hi.
 --
 Mark Buda hermit at acm.org

Gernot Hassenpflug
(some time contributor and tester for Canon scanners under SANE)



[sane-devel] saned auf Alix

2014-01-23 Thread Gernot Hassenpflug
On Thu, Jan 23, 2014 at 10:04 PM, Mark Buda hermit at acm.org wrote:
 Nils W. webmaster at lanparty-wolfhagen.de writes:
 I have a Kodak i1120 scanner and would like to scan with it on an Alix
 PC with Debian. Debian is installed on the Alix and the scanner is also
 installed and is found by scanimage -L. I would like, though, to scan
 from the console without an X server. Software to do this is all
 available [installed?]. When I run scantwain it complains about not
 finding an X server and when I call scanimage I get Invalid Argument.

scanimage is as far as I know a console application.
It sounds like the user has a mistake in the arguments.
Perhaps you can post the relevant command here?

Regards,
Gernot Hassenpflug



[sane-devel] UMAX Astra 4700 Canon LiDE 90

2014-01-22 Thread Gernot Hassenpflug
On Wed, Jan 22, 2014 at 6:03 AM, Jarom?r C?p?k tavvva at seznam.cz wrote:
 Hello guys.

 I'd like to know whether by any chance someone's currently working on the
 mentioned two scanners (UMAX Astra 4700  Canon LiDE 90).
 None of them seem to be marked as supported in the list of scanners,
 however it seems few guys at least tried to make them work in the past.

Hi,
I tried to get a LiDE90 to work some time ago, but did not continue
because of time pressure.
I am about ready to try again (Genesys GL842 IIRC).

 I'm willing to collect any data and test diagnostic drivers
 in order to make at least one of these working. Our non-profit
 organization got these scanners as a gift, but as we don't own
 any M$ software, we cannot use them.

 Even when I have no experience with the SANE source code,
 I have quite a lot of experience with hardware design and software
 development. I could try to beat the scanners by myself with some
 hints from you, if you're willing to help me.

Regards,
Gernot Hassenpflug



[sane-devel] UMAX Astra 4700 Canon LiDE 90

2014-01-22 Thread Gernot Hassenpflug
On Wed, Jan 22, 2014 at 9:13 AM, Jarom?r C?p?k tavvva at seznam.cz wrote:
 On Wed, Jan 22, 2014 at 6:03 AM, Jarom?r C?p?k tavvva at seznam.cz wrote:
/../
 I tried to get a LiDE90 to work some time ago, but did not continue
 because of time pressure.
 I am about ready to try again (Genesys GL842 IIRC).

 That's correct. At least sane-find-scanner says: chip=GL842.
 Do you have a physical access to the device?

Yes, I have one. I have some code also, tried to set up registers
based on Windows USB snoop logs (which I could not interpret easily),
but initialization does not yet work. Replaying the Windows commands
to the scanner does work though.

I intend to start again, using the latest GL841 code as a basis.

Regards,
Gernot



[sane-devel] imageCLASS MF4570dw tester available for two days

2013-12-26 Thread Gernot Hassenpflug
On Thu, Dec 26, 2013 at 1:44 PM, Yuval Levy ylevy at uwo.ca wrote:

 On 12/25/2013 07:04 PM, Olaf Meeuwissen wrote:

/../

  the stock 'buntu one.  I only built and installed the sane-backends from
  git.
 
  Eh, how did you configure that build?  Did it by any change zap or
  clobber bits and pieces from the stock 'buntu libsane package you
  installed?

 Plain and simple:

 tar xvfz sane-backends-*.tar.gz
 cd sane-backends-*
 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
 make
 sudo make install


Um, that is certainly not plain and simple, that is overwriting system
libraries willy-nilly.
As I understand it, pure and simple would be something like this:

BACKENDS=pixma epson2 ./configure
make clean
make
make install

(The linux readme file explains various details)
Regards,
Gernot Hassenpflug



[sane-devel] Problems with Canon MX715

2013-05-11 Thread Gernot Hassenpflug
Hello,
This device is part of the Canon MX710 family. I think the first thing to
confirm is whether the pixma driver works or not. That means, if I read
your debug output correctly, that you would be better off using USB
connection, rather than an ethernet connection. It is possible that the
ethernet driver layer has a problem, even if the pixma backend works
perfectly well.

Can you try with USB connection? (maybe that will also show up any
permissions problems)

Regards,
Gernot Hassenpflug


On Fri, May 10, 2013 at 8:22 PM, stephan_t stephan82m at gmx.de wrote:

 Hello,

 as this is a older post and nothing new is comming up here, I would like to
 give some informations about the MX 715 with sane-1.0.23

 If I set the variable I'm getting this output:

 [sanei_debug] Setting debug level of pixma to 3.
 [pixma] pixma is compiled with pthread support.
 [pixma] pixma version 0.17.0
 [pixma] pixma_collect_devices() found Canon PIXMA MX710 Series at
 libusb:001:004
 [pixma] sanei_bjnp_find_devices:
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] pixma_find_scanners() found 1 devices
 [pixma] pixma_collect_devices() found Canon PIXMA MX710 Series at
 libusb:001:004
 [pixma] sanei_bjnp_find_devices:
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] eno1 is IPv4 capable, sending broadcast..
 [pixma] WARNING:Experimental backend CAN DAMAGE your hardware!
 [pixma] pixma_open(): Canon PIXMA MX710 Series
 [pixma] Reader task started
 [pixma] Reader task id=140009308874496 (threaded)
 [pixma]
 [pixma] pixma_scan(): start
 [pixma]   line_size=1914 image_size=1678578 channels=3 depth=8
 [pixma]   dpi=75x75 offset=(0,0) dimension=638x877
 [pixma]   gamma_table=0x1884b98 source=0
 [pixma]   threshold=127 threshold_curve=0
 [pixma] WARNING:Timed out in wait_until_ready()
 [pixma] Current status: paper=1 cal=0 lamp=0 busy=0
 [pixma] pixma_read_image() failed ETIMEDOUT
 [pixma] Reader task terminated: ETIMEDOUT
 [pixma] read_image():reader task closed the pipe:0 bytes received, 1678578
 bytes expected
 scanimage: sane_read: Error during device I/O
 [pixma] pixma_close(): Canon PIXMA MX710 Series


 Hope this helps. If more informations are needed I can provide them.

 Regards
 Stephan T.



 --
 View this message in context:
 http://sane.10972.n7.nabble.com/Problems-with-Canon-MX715-tp5795p17542.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

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130511/9266263f/attachment.html


[sane-devel] Canon PIXMA MP230

2013-03-22 Thread Gernot Hassenpflug
On Thu, Mar 21, 2013 at 8:38 PM, Petar Dodev petar.dodev at gmail.com wrote:
 Hi!

 I recently bought a MP230 and I mounted it on my home Linux  server. The
 model wasn't supported by SANE yet, so I dug around and found how to add it
 in the supported devices:

/../

 I've scanned color and BW up to 600dpi without a problem.

Great news, thank you for testing!

 The only thing I'm not sure about is the max resolution - the official site
 says 600x1200dpi so I wrote 600 in the backend.

Yes, I think that is correct for SANE (optical resolution).

Regards,
Gernot Hassenpflug



[sane-devel] Problems with xsane

2013-02-28 Thread Gernot Hassenpflug
On Thu, Feb 28, 2013 at 4:33 PM, Beate Silbermann
beate.silbermann at t-online.de wrote:
 Hello,

 I have any problems with xsane and scan.
 I have a Canon PIXMA MP490 multi-function peripheral. I installed the print
 driver from canon. Printing allready works fine. But I can't scan with ist.
 Allways when I open xsane and hit scan, I lose my network connection and the
 scan doesn't work.

Hello,
If you installed the Canon driver, you can't use Xsane to access,
since the SANE driver is completely different program from the Canon
scanner program. To use the Canon scanner driver you need to start the
Canon program for scanning.

Anyhow, for SANE, the the MP490 is supported but it depends on your
version of SANE. Also, I am not sure if it has been confirmed to work.
I suspect you may have permission problems, or else the argument you
need to give scanimage must be different. Can you try as root? And
also running xsane as root?

Regards,
Gernot Hassenpflug

 About the Forum Help ubuntuusers I tried this:


 ~$ scanimage -L
 device `pixma:04A9173C_107BD3' is a CANON Canon PIXMA MP490 multi-function
 peripheral

 and than

 ~$ scanimage -d pixma:04A9173C_107BD3 --format tiff  rawr.tiff

 But he doesn't work an he describe: scanimage: open of device
 pixma:04A9173C_107BD3 failed: Invalid argument


 Now I don't know what can I do and I hope you can help me. I'm a beginner
 and I have installed Xubuntu 12.04 with xfce Desktop only been a half year.

 I'm looking forward to get some help from you. Let  me know, if you need
 some information.

 Kind regards
 Beate Silbermann


 --
 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] Canon pixma mp280, not sane supported.

2012-12-12 Thread Gernot Hassenpflug
On Tue, Dec 11, 2012 at 10:41 PM, Rolf Bensch rolf at bensch-online.de wrote:
 Hi Erik,

 I guess that you don't have the user rights to access your scanner.

Erik,

would you be so kind as you give a clear description of the problem
you faced, and how you finally solved it (I think there may be a more
elegant method, like maybe something with symlink changes).
From what you wrote to me, it was a problem with the packaging of
xsane and installation using a high-level package manager like
synaptic.

Best regards,
Gernot

 Please try 'sudo scanimage -L'. If this is working, you need to copy
 'tools/udev/libsane.rules' from your sane's project folder to
 '/etc/udev/rules.d/' and join the group 'scanner'. Ubuntu uses udev to
 recognise the attached devices, please ignore the stuff around
 '/dev/scanner'.

 If this won't work, please reinstall sane from source as described in
 'README.linux' after Installation. You can ignore the stuff above
 Installation.

 Normally sane installation from source doesn't affect system's sane
 installation and vice versa, instead of some symbolic links, for your 32
 bits ubuntu in '/usr/lib/'.

 If any package installation or update might overwrite the symbolic
 links, you only need to create new ones as described in README.linux.

 Cheers,
 Rolf



 Am 09.12.2012 12:58, schrieb erik:
 Hello all

 First of all, if any replies, please send me a cc as i am not a member
 of this list.


 Secondly, I had Sane working brilliantly under ubuntu 10.04 with the
 backend version 1.0.16

 now, after doing a completely fresh install of 12.04 i really cannot get
 Sane to work.

 here are some proofs.

 scanimage -V
 scanimage (sane-backends) 1.0.24git; backend version 1.0.24

 output
 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=0x04a9 [Canon], product=0x1746 [MP280 series])
 at libusb:002:006
   # Your USB scanner was (probably) detected. It may or may not be
 supported by
   # SANE. Try scanimage -L and read the backend's manpage.

 output
 sudo 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).


 Advices from http://www.sane-project.org/README.linux:

 My /etc/ld.so.conf
 only contains the line
 include /etc/ld.so.conf.d/*.conf

 locate libsane.so.1 after sudo updatedb
 /usr/lib/libsane.so.1
 /usr/lib/libsane.so.1.0.24


 Yesterday, I had for one moment the scanner working, then I installed
 Xsane through the command line, which give me a lot options of which I
 didnot know which one to choose. Since then, no success at all. Anyway,
 now installing xsane will mean it will downgrade to 1.0.22.

 If, one day, I will have SANE running, is there a way to install XSane
 without downgrading?


 and a last question, quoting from the README.linux

 It may help to set a symbolic link /dev/scanner to the respective device if
 automatic detection does not work.

 how do I do that?

 Thanks in advance.

 Erik.

 Linux ho-erik 3.2.0-34-generic-pae #53-Ubuntu SMP Thu Nov 15 11:11:12
 UTC 2012 i686 athlon i386 GNU/Linux









 --
 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] Canon PIXMA MX890

2012-11-29 Thread Gernot Hassenpflug
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] Success on untested PIXMA MG3100 Series

2012-11-15 Thread Gernot Hassenpflug
On Thu, Nov 15, 2012 at 4:04 AM, Madis L?hmus l6hmus at gmail.com wrote:
 Hi,

 I apologize if this is not the right place to post this.

Hello Madis,

Correct place, and excellent news, thank you very much fro testing!

 I own a Canon MG 3150 printer-scanner-copy machine. I saw that MG 3100
 series is untested (PIXMA MG3100 Series, USB 0x04a9/0x1752, untested,
 Testers needed!). I installed sane and xsane and was able to scan.
 Specifically I did a colour scan with 150 ppi resolution and a gray scan
 with 75 ppi. Both worked. Laptop and MG3150 talk over wifi (Archlinux,
 Thinkpad T410s).

Great. So there is no trouble with the basic command sending.

 If neccesary I can provide other relevant information or do more extensive
 testing.

Could you test scans up to the maximum resolution of the device, in
both greyscale and color please.
It may be that the maximum resolution does not work, and some filter
changes need to be made in the code for that.

Best regards,
Gernot Hassenpflug



[sane-devel] Success on untested PIXMA MG3100 Series

2012-11-15 Thread Gernot Hassenpflug
On Thu, Nov 15, 2012 at 3:45 PM, Madis L?hmus l6hmus at gmail.com wrote:
 Hello again,

 The results of the testing can be found at:
 https://www.dropbox.com/sh/ekmwi81b56ctc6b/vxNiigBKpy . (Let me know if you
 have troubles seeing/downloading these pictures). This is a scan of an area
 of a document and should show a f character. MG3150 has resolutions from
 75 to 1200 ppi apparently. As you can see, all the scanning modes work, both
 in colour and grayscale, except the 1200ppi mode. It seems to be somehow
 vertically interlaced.

OK, this is kind of expected. Unfortunately, since it requires chaning
code, you can only test this via a local compilation of SANE.
This is very simple, if you obtain the code and read the linux README
included in the repository.

I'll submit a patch on your behalf in the meantime.

Regards,
Gernot Hassenpflug



[sane-devel] Success on untested PIXMA MG3100 Series

2012-11-15 Thread Gernot Hassenpflug
On Thu, Nov 15, 2012 at 5:29 PM, Madis L?hmus l6hmus at gmail.com wrote:
 No problem. Where do I excactly get the patched version when/if it is ready?

Hello Madis,

The information on how to obtain git code is on the SANE sourceforge
web pages, you can use anonymous login method as the steps describe.

I'll let you know as soon as the patch is in, may take a few days.

Best regards,
Gernot Hassenpflug

 On Nov 15, 2012 9:36 AM, Gernot Hassenpflug aikishugyo at gmail.com wrote:

 On Thu, Nov 15, 2012 at 3:45 PM, Madis L?hmus l6hmus at gmail.com wrote:
  Hello again,
 
  The results of the testing can be found at:
  https://www.dropbox.com/sh/ekmwi81b56ctc6b/vxNiigBKpy . (Let me know if
  you
  have troubles seeing/downloading these pictures). This is a scan of an
  area
  of a document and should show a f character. MG3150 has resolutions
  from
  75 to 1200 ppi apparently. As you can see, all the scanning modes work,
  both
  in colour and grayscale, except the 1200ppi mode. It seems to be somehow
  vertically interlaced.

 OK, this is kind of expected. Unfortunately, since it requires chaning
 code, you can only test this via a local compilation of SANE.
 This is very simple, if you obtain the code and read the linux README
 included in the repository.

 I'll submit a patch on your behalf in the meantime.

 Regards,
 Gernot Hassenpflug



[sane-devel] MX712 and Linux

2012-11-06 Thread Gernot Hassenpflug
On Mon, Nov 5, 2012 at 11:53 PM, Kevin Martin ktmdms at gmail.com wrote:
 On 11/01/12 18:17, Gernot Hassenpflug wrote:
 On Fri, Nov 2, 2012 at 4:28 AM, Kevin Martin ktmdms at gmail.com 
 mailto:ktmdms at gmail.com wrote:

 Recently purchased a Canon Pixma MX712 and have the following working:

 It looks like you are using the network connection. To debug the pixma 
 driver, you should first try with a direct USB connection.
 Also, what is the version of SANE and the pixma libraries you are using? 
 Preferebly with be 1.0.23 or the git CVS code.

Hello Kevin,

 sane-backends-drivers-cameras-1.0.23-4.fc19.x86_64
 sane-backends-1.0.23-4.fc19.x86_64
 sane-backends-drivers-scanners-1.0.23-4.fc19.x86_64
 sane-frontends-1.0.14-15.fc18.x86_64
 sane-backends-libs-1.0.23-4.fc19.x86_64
 xsane-gimp-0.998-12.fc19.x86_64
 xsane-common-0.998-12.fc19.x86_64
 sane-backends-devel-1.0.23-4.fc19.x86_64

I'll assume from the above that you have the SANE packages installed correctly.

 The pixma libraries were downloaded from the Canon Europe site since the 
 Canon USA site didn't have Linux files for the MX712 (I
 downloaded the files for the MX715 (cnijfilter-source-3.70) and had to do a 
 fair amount of changing of source code to get them to
 compile on the latest Fedorashould I post the diff's for the changes for 
 that here do you think?).

This is totally  unrelated.
Either you are going to use SANE, or you are going to use the Canon
driver for scanning, you have to decide.

 As for debugging via USB, I'm not sure now to go about doing that.  I can 
 easily tcpdump and windump from my Linux and Windows boxes
 and compare the conversations that go on between the scanner and the two 
 machines, I can strace gimp while I'm trying this or strace
 the scanning pid and see what it's getting (not sure how to do that on 
 Windows) but debugging via USB I'm not sure how to do exactly.

For a start, decide if you want to use the Canon driver or SANE driver.
If you want to use the Canon driver, you'll have to go somewhere else
for support.
If you decide to use SANE, then get rid of the Canon driver, read
man-pixma to understand how to set debugging, and then with the device
attached via USB use the command line sane-find-scanner with debug set
to whatever level is reqired to see if the pixma backend sees the
scanner.
Once it is established whether or not the pixma backend from the SANE
packages you have currently installed actualy detects the scanner,
then it will be possible to start debugging the functionality.

Regards,
Gernot Hassenpflug



[sane-devel] MX712 and Linux

2012-11-02 Thread Gernot Hassenpflug
On Fri, Nov 2, 2012 at 4:28 AM, Kevin Martin ktmdms at gmail.com wrote:

 Recently purchased a Canon Pixma MX712 and have the following working:


Hello Kevin,

/../


 scanning not using the adf from gimp using xsane

 scanning from adf for first page only


It looks like you are using the network connection. To debug the pixma
driver, you should first try with a direct USB connection.
Also, what is the version of SANE and the pixma libraries you are using?
Preferebly with be 1.0.23 or the git CVS code.

Regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121102/3dd26960/attachment.html


[sane-devel] Canon imageCLASS MF4450 (running as MF4410)

2012-10-07 Thread Gernot Hassenpflug
On Sun, Oct 7, 2012 at 9:02 AM, Dylan McGuire dylan.l.mcguire at gmail.com 
wrote:
 Hello,

 I have a Canon imageCLASS MF4450 - it is detecting as MF4410 (which has a
 backend, see
 http://lists.alioth.debian.org/pipermail/sane-devel/2012-February/029573.html)
 but any attempt to start a scan fails with EBUSY. I am using the latest
 backend installed on Ubuntu 10.04. I tremendously appreciate the work done
 on the SANE project - if I can help contribute another device, I would be
 happy to.

Hello,

Thanks for the report.

1) could you install SANE from git and try this (latest backend means
1.0.23 I suppose).

2) could you access a WinXP PC and do USB sniffing from there? That
would show what commands are needed for this device. If new commands
are required, no amount of SANE debugging will help.

Regards,
Gernot Hassenpflug



[sane-devel] Canon imageCLASS MF4450 (running as MF4410)

2012-10-07 Thread Gernot Hassenpflug
On Sun, Oct 7, 2012 at 9:51 AM, Dylan McGuire dylan.l.mcguire at gmail.com 
wrote:
 On Sat, Oct 6, 2012 at 5:33 PM, Gernot Hassenpflug aikishugyo at gmail.com 
 wrote:
 On Sun, Oct 7, 2012 at 9:02 AM, Dylan McGuire dylan.l.mcguire at gmail.com 
 wrote:
 1) could you install SANE from git and try this (latest backend means
 1.0.23 I suppose).

 2) could you access a WinXP PC and do USB sniffing from there? That
 would show what commands are needed for this device. If new commands
 are required, no amount of SANE debugging will help.

 Regards,
 Gernot Hassenpflug

 I have installed SANE from git and I think I have the latest
 development version (1.0.24). The scanimage command gives

 $ scanimage -V
 scanimage (sane-backends) 1.0.24git; backend version 1.0.24

OK, that is fine. Then for sure it needs development.

 I have inserted a few debug printfs in the backend (e.g.
 pixma_imageclass and pixma_common) to trace the problem. Basically, it
 seems to run the initialization step,
 - query status (OK)
 - activate (0)
 - activate (4) -- I don't know what the arguments mean
 and those steps complete successfully (status is OK). The next command
 issues appears to be start_session which results in busy returned
 status.

Maybe the command block sent during a scan command needs some bytes
set differently.

 Unfortunately, I do not have access to a WinXP computer (or the
 scanner, actually -- it is located at my parents' house). If the only
 option here is a USB trace, then it will have to wait a while...

Yes, that would be best. The program to use would be SniffUSB v2.0.
For x86 and x86-64 architectures, and complete instructions for use:
http://www.pcausa.com/Utilities/UsbSnoop/default.htm

A generic look at the development of the sniffer program, for interest:
http://linuxtv.org/wiki/index.php/Usbsnoop

Note: you can use v1.8 as well, although the buttons are a bit
different, but please do not use Snoppy Pro or any other newer
derivative. Not only are they more confusing to use, but the log
format cannot be parsed by our current tools, making it much more
difficult (WIP).

Regards,
Gernot Hassenpflug



[sane-devel] Canon PIXMA MX890

2012-10-03 Thread Gernot Hassenpflug
On Tue, Oct 2, 2012 at 11:50 PM, Henry Ptasinski henry at logout.com wrote:
 With the latest sane-backends sources from the git repo, my MX890 is
 partially functional.  Using scanimage to scan documents on the flatbed
 works some of the time.  Some of the issues I'm seeing:

Hi,
Could you ensure that the pixma driver backend works properly for all
resolutions and also ADF, by attaching via USB.
If the backend is shown to work properly (some resolutions might need
to be programmed specifically for this device), then after that it
will be simpler to try and debug the network backend separately from
the driver backend.
If you read the pixma backend man page (man sane-pixma) there are
instructions for seeing debug output.
Regards,
Gernot Hassenpflug



[sane-devel] Triumph Adler DC 2018 (Utax CD 1018)

2012-10-01 Thread Gernot Hassenpflug
On Mon, Oct 1, 2012 at 9:16 PM, Ralf Blicker mail at ralfblicker.de wrote:

 Hello everybody,

 i've an Printer/Copier/Scan - System by Triumph-Adler.

 This is a network/usb-printer/scanner.

 I would like to use the scanner with sane connected via usb.
 The printing-system is conncted to a cups-server via ethernet.

Hi Ralph,

I suggest you first try with USB connection, to figure out if there is
a backend that will actually work with this scanner. After that, you
can try to get the network part of SANE incorporated.

 

 Here the output of lsusb:
/../
 Bus 001 Device 005: ID 0482:032b Kyocera Corp.
/../
 Here the output of sane-find-scanner:
/../
 found USB scanner (vendor=0x0482 [UTAX_TA], product=0x032b [UTAX_TA CD 
 1018_DC 2018]) at libusb:001:005
   # Your USB scanner was (probably) detected. It may or may not be supported 
 by
   # SANE. Try scanimage -L and read the backend's manpage.

The SANE CVS supported models list for Kyocera is here:
http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-KYOCERA
So your model is not supported, but maybe the sane-avision backend may
work. Here the (linked above) manpage:
http://www.sane-project.org/man/sane-avision.5.html

Regards,
Gernot Hassenpflug



[sane-devel] Problems with Canon MX715

2012-09-25 Thread Gernot Hassenpflug
On Tue, Sep 25, 2012 at 3:17 AM, Sascha M?ller mueller.sascha at gmx.net 
wrote:
 Hello,

 I have some problems with the actual sane backend for MX715 devices.

Hello Sascha,

I'm delighted that you have a MX710 series, which we can now debug!

 scanimage: open of device pixma:04A9175D_20C2C2 failed: Operation not
 supported
 scanimage (sane-backends) 1.0.23; backend version 1.0.23
 device `pixma:04A9175D_20C2C2' is a CANON Canon PIXMA MX710 Series
 multi-function peripheral

 I used the actual pixma backend.

 Is there any chance to fix the problem. How can I help?

Could you read man sane-pixma and use the debug variable to get more
output? You'll need to run from the command line:

export SANE_DEBUG_PIXMA 3
xsane (or scanimage)

If there is a bug in the initialization, then maybe we will need
Windows USB sniff results also, but as a first step, we should be able
to see if something is clearly wrong or not.

Regards,
Gernot Hassenpflug



[sane-devel] Driver for scanner's family PIXMA MG5100 Series.

2012-09-10 Thread Gernot Hassenpflug
On Sun, Sep 9, 2012 at 10:59 PM, Geometra Massimo Claudio Luigi
VIOLETTA - Via Timoleone 120 - 95126 Catania - 095 7124670 - 338 341
1897 vioma at violettamassimo.com wrote:
 Good evening,
 I am a new member of Italian nationality.
 I am happy to belong to your community.
 I do not speak English well, I help with the google translator.

Hello Mr. Geometra Massimo Claudio Luigi Violetta,
That is quite a long name! Welcome!
Don't worry about the English, if we can communicate even via
translator soft that is great.

 I would like to participate in the development of the driver for the scanner
 of the multifunction Canon PIXMA GM5150:
 http://www.sane-project.org/sane-mfgs.html # Z-CANON
 PIXMA MG5100 Series.
 If you tell me what to do, I will be happy to help.
 Thank you.

OK. I think MG5100 should work already in CVS sane. Can you get sane
from CVs repository (need git), and compile on your system? you can
use
$ BACKENDS=pixma ./configure
$ make
$ sudo make install
(read the README.linux for more details).

If you can try color scanning at 75, 150, 300, 600, 1200  dpi please
let me know if it works or not.
If it does not work, then we need to get USB sniff traces from Windows
XP. But first, please let me know how much it works with current SANE
software.

Best regards,
Gernot Hassenpflug



[sane-devel] Driver for scanner's family PIXMA MG5100 Series.

2012-09-10 Thread Gernot Hassenpflug
On Mon, Sep 10, 2012 at 12:00 AM, Geometra Massimo Claudio Luigi
VIOLETTA - Via Timoleone 120 - 95126 Catania - 095 7124670 - 338 341
1897 vioma at violettamassimo.com wrote:
 Dear Gernot Hassenpflug,
 my name is simply Massimo (Max in English).
 Surveyor is my title, I am of Engineering.

Hello Max,
Thank you for your explanation.

 I installed Ubuntu 12.04. The current version does not work with the scanner
 Xsane Pixma MG5150.

OK, that is understandable, the development is happening in the CVS code.

 I'm new to the Linux world.
 Where can I find the CVs repository and Git?
 Thank you.

http://www.sane-project.org/cvs.html

You need git, and then you can write in a src directory where you want
to keep the code:
git clone git://git.debian.org/sane/sane-backends.git

Regards,
Gernot Hassenpflug



[sane-devel] Help with SANE testing for Canon Pixma MG5350

2012-08-16 Thread Gernot Hassenpflug
On Wed, Aug 15, 2012 at 11:15 PM, Ulf Hedlund ulfh10 at gmail.com wrote:
 Hi!

 I have recently purchased a Canon PIXMA MG5350. I am running Kubuntu 12.04
 and got the printing working just fine, however the scanner isn't
 recognized.

 On http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-CANON I saw that
 you are looking for testers. I hereby volunteer to help out with MG5350
 scanner testing, to the extent of my knowledge. I have helped out earlier
 with SANE-testing for Pixma MP800 so I am somewhat familiar with the
 process, although it was a few years ago.

Hello Ulf,
Welcome back! Thank you for volunteering... if you could take Windows
snoops for the MG5300 family in the same way as you did for the MP800
that would help tremendously.
Regards,
Gernot Hassenpflug



[sane-devel] parallel port sniffing?

2012-06-14 Thread Gernot Hassenpflug
On Wed, Jun 13, 2012 at 1:51 AM, stef stef.dev at free.fr wrote:
 Le 12/06/2012 14:52, Gernot Hassenpflug a ?crit :

 So I am wondering about the other question I asked: how would one
 sniff parallel port devices? I've never done that before.

Hello Stef,

 ? ?long go, I wrote a custom VxD that sets debug interrupts on parallel port
 addresses and then
 logs I/O in for of ASM opcodes. It works only in win 95 or win98. I can send
 it if you want.

Thank you for your reply---that sounds interesting. It is the first
reply I had, which I find a bit strange: does most development for
paralletl scanners rely on them working with a parallel-to-USB
connector (and then using UsbSnoop)?
I'll try that initially too, but I am afraid that the ALPS scan
software may not work at all, hence my looking at direct parallel
options.
At the moment I lack a Win95 or Win98 VM to try this on, but I'll keep
your kind offer in mind.

Many thanks once again,
Gernot Hassenpflug



[sane-devel] Two questions: ESC/P control set, and drum scanners

2012-06-11 Thread Gernot Hassenpflug
On Mon, Jun 11, 2012 at 5:26 AM, Alessandro Zummo
azummo-lists at towertech.it wrote:
 On Sun, 10 Jun 2012 09:23:45 +0900
 Gernot Hassenpflug aikishugyo at gmail.com wrote:

 I'm wondering if there is a backend already that uses a protocol based
 on ESC/P command set?

 ?epson2

Thanks! I figured I might have to look at that one sometime, although
I suspect it is a lot more complex than what I need right now.
Regards,
Gernot



[sane-devel] Two questions: ESC/P control set, and drum scanners

2012-06-11 Thread Gernot Hassenpflug
On Mon, Jun 11, 2012 at 8:28 AM, Olaf Meeuwissen
olaf.meeuwissen at avasys.jp wrote:
 Gernot Hassenpflug aikishugyo at gmail.com writes:

 On Mon, Jun 11, 2012 at 5:26 AM, Alessandro Zummo
 azummo-lists at towertech.it wrote:
 On Sun, 10 Jun 2012 09:23:45 +0900
 Gernot Hassenpflug aikishugyo at gmail.com wrote:

 I'm wondering if there is a backend already that uses a protocol based
 on ESC/P command set?

 The epson, epson2 and epkowa backends all support the ESC/I protocol.
 The ESC/P protocol that I'm somewhat familiar with is for *printers*
 (and printers only, AFAIK).

 In your original mail you mentioned ESC S and ESC s commands. ?In the
 ESC/I protocol those commands are for get-command-parameters and
 set-auto-area-segmentation, respectively. ?This doesn't jive with what
 you described so I doubt those backends will be of any use.

 Do your logs include ESC f, ESC G and/or FS F, FS G (status and start
 scan commands)? ?If not, then these backends definitely aren't what
 you're looking for.

Hi Olaf,
No, there are no other commands apart from various ESC S, and then ESC
s for data reading.
It appears very simple compared to, say, the pixma protocol. Once I
have a few more log files I will write out the protocol here, so far I
have only clearly identified the resolution command, and data reading,
and what are presumable ready/OK pairs.
So maybe Canon just created some pre-pixma command format
I can rip out all the complicated stuff in the pixma backend and try
to make a new backend to support this. I figured though it might be
easier to rip out things or replace commands in a backend that uses
ESC/P style commands already.

Regards,
Gernot Hassenpflug



[sane-devel] Two questions: ESC/P control set, and drum scanners

2012-06-10 Thread Gernot Hassenpflug
Hi all,

I've got 2 questions:

1) About scanners using ESC/P command set

I've just received some UsbSnoop data for a Canon MP130 multi-funtion machine.
Unlike the usual pixma command set, this seems to use an extremely
simple and abbreviated set of commands that looks like ESC/P.
The pre-data and post-data interaction uses an ESC S (capital letter)
for write and read, and the data reading uses ESC s (small letter).
I'm wondering if there is a backend already that uses a protocol based
on ESC/P command set?

2) about drum-scanners

I have a couple of ALPS drum-scanner printer/scanner combos (MD-4000
and MD-1500) which function through either a SCSI connection (for
Macs) or a parallel connection (for PCs). I haven't yet installed the
native scan software for Windows so I don't have any data yet, but I
wonder which backend might be best to look at for support. I don't
know if I should be expecting SCSI-over-parallel or something
complicated, and am unsure at this stage how easy it will be to snoop
the parallel connection.
What is a recommended way to do that? I am thinking that maybe I can
install Windows2000 (not sure if the scan software can run on XP) in a
VM, and then install the parallel driver via a USB converter cable
(the printers function well like that). If that works, I can use
UsbSnoop. But if not, I'll have to find a way to snoop the parallel
port maybe? For that would I need portmon, or is there some other
recommended software?

Regards,
Gernot Hassenpflug



[sane-devel] [PATCH] Add MP280 information to pixma.desc

2012-06-09 Thread Gernot Hassenpflug
On Sat, Jun 9, 2012 at 9:37 AM, Daniel Beer dlbeer at gmail.com wrote:
 At Fri, 8 Jun 2012 14:25:56 +0900, Gernot Hassenpflug wrote:
 Just checks specs:
 MP280 max optical resolution is 1200x2400dpi
 I think currently SANE does not support the extended motor
 resolution on the y-axis, so the max square resolution will be
 1200dpi.
 So that means only the 1200dpi resolution mode needs to be resolved
 (you mentioned the modes up to 1200dpi work fine).
 That sounds doable on the weekend unless lots of to-and-fro testing is 
 required.

 Hi Gernot,

 I have B/W, grayscale and colour captures at each of 75, 600 and 1200
 dpi. Is there anything else you'll need?

Thanks!

 Tarred up, it's about 31 MB, so probably too big to email. How would
 you like me to get this to you?

Can you send them by email as separate gzipped files, Even 4mm x 4mm
in color at 1200dpi should be OK I suppose.

Regards,
Gernot



[sane-devel] How can I help with SANE drivers for MG6120

2012-06-08 Thread Gernot Hassenpflug
On Fri, Jun 8, 2012 at 4:02 AM, Rolf Bensch rolf at bensch-online.de wrote:
 Hi Ernest,

Hi Earnest,
The way to provide support in SANE for Canon drivers is to check the
protocol with USB sniff from Windows first, and then to add the
relevant support to the pixma backend.

Can you provide USB sniff logs and send them to me? A search of the
mailing list will show which USB sniff program (I have to check), and
then you need to scan at low-resolution first, a really really small
area.

Regards,
Gernot

 Am 06.06.2012 22:01, schrieb earnest gildon:
 Hello,
 I own a Canon MG6120 and I would like to know how I can help to get the
 drivers sorted out for it i the SANE backend.
 I have owned this printer for about a year and would like to be able to
 contribute to the community. Can someone please point me in the right
 direction. I have some small scripting experience with Python, Java and C+.

 Please let me know how I can help, thanks.

 -e
 --
 earnest gildon (LMT #MT-10217-MT)
 617.596.3429
 http://earnestbodywork.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] [PATCH] Add MP280 information to pixma.desc

2012-06-08 Thread Gernot Hassenpflug
On Fri, Jun 8, 2012 at 1:49 PM, Daniel Beer dlbeer at gmail.com wrote:
 At Fri, 8 Jun 2012 12:55:15 +0900, Gernot Hassenpflug wrote:
 Any report on this device?
 If you can take USB sniffs we can add support to SANE fairly easily.
 Regards,
 Gernot

 Hi Gernot,

 I don't have access to a Windows system at the moment, but I'll
 install the proprietary drivers for Linux over the weekend and take
 some captures. Is pcap format ok?

Hi Daniel,
Thanks for the response, that sounds excellent.
Hmm, I have no idea if pcap format is OK, I don't think there are any
tools in SANE to handle it, but I am sure I can dig up something.
In any case, if the differences are small I can just search for the
patterns I am expecting to find, and thereafter we can test with a
partially-working SANE.
Can you also check the USB ID of the scanner (vendor id and product
id) for confirmation (otherwise I can get it from the Windows driver
files myself).

Regards,
Gernot



[sane-devel] [PATCH] Add MP280 information to pixma.desc

2012-06-08 Thread Gernot Hassenpflug
On Fri, Jun 8, 2012 at 2:12 PM, Daniel Beer dlbeer at gmail.com wrote:
 At Fri, 8 Jun 2012 13:57:50 +0900, Gernot Hassenpflug wrote:
 Thanks for the response, that sounds excellent.

Hi Daniel,

 Wireshark can be used to view the files, if that helps.

OK. Should be fine.

Usually I use a perl script created by the SANE developers, which can
give the plain output of the commands, and there are some associated
programs that can then build an image from the sniffed data. But
here luckily the issue is not that the protocol is completely unknown,
simply that some modes are not yet supported.

 Can you also check the USB ID of the scanner (vendor id and product
 id) for confirmation (otherwise I can get it from the Windows driver
 files myself).

 The ID in the desc file is correct (04a9:1746). This device is mostly
 working with the latest git version, but the highest resolution that
 works is 600 dpi, and the first scan after power-on usually fails
 because SANE doesn't wait for the warm-up (I think).

I see, that is easier then. But we have to check---could be a command
block bit is incorrect also.
I would still appreciate if you can send me the sniffs for the
lower-resolution working modes (in color, grayscale and B/W), that way
I can make sure the working modes match what is implemented, and then
check for differences in the 600dpi modes.

Best regards
Gernot Hassenpflug



[sane-devel] [PATCH] Add MP280 information to pixma.desc

2012-06-08 Thread Gernot Hassenpflug
Daniel,
Just checks specs:
MP280 max optical resolution is 1200x2400dpi
I think currently SANE does not support the extended motor
resolution on the y-axis, so the max square resolution will be
1200dpi.
So that means only the 1200dpi resolution mode needs to be resolved
(you mentioned the modes up to 1200dpi work fine).
That sounds doable on the weekend unless lots of to-and-fro testing is required.
Regards,
Gernot



[sane-devel] [PATCH] Add MP280 information to pixma.desc

2012-05-04 Thread Gernot Hassenpflug
Hi,
If there is a chance, could you perhaps take a Windows scan snoop and
send it to me?
I do not know what difference might be there, but it likely impacts
also other scanners of this generation.

Regards,
Gernot

On 5/4/12, Daniel Beer dlbeer at gmail.com wrote:
 At Thu, 03 May 2012 17:24:56 +0200, Rolf Bensch wrote:
  +:model PIXMA MP280
  +:interface USB
  +:usbid 0x04a9 0x1746
  +:status :complete
  +:comment All resolutions supported (up to 600DPI).

 Are you sure with 600 dpi?
 The definition in pixma_mp150.c says 1200 dpi.

 Hrmm, apparently that's not quite right. I assumed 600 dpi was the
 maximum because everything up to and including that is working (with
 the other patch applied).

 The specs for this scanner claim 1200x2400, but I haven't been able to
 get that working so far. Scanning fails with an IO error on 1200 dpi,
 which I haven't looked into further.

 - Daniel

 --
 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



-- 
ISP Asahi-Net: http://asahi-net.jp/en/
No.1 in Japan by customer satisfaction
(Nikkei News, 7 July 2010)



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-26 Thread Gernot Hassenpflug
On Mon, Dec 26, 2011 at 6:57 AM, Ward Vandewege ward at jhvc.com wrote:
 I can confirm that your patches work. I built sane-backend from git, applied
 your patch and my canoscan 9000f appears to work perfectly.

Hello Ward,
Many thanks for that!
Regards,
Gernot



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-19 Thread Gernot Hassenpflug
More updates:

Compiled latest SANE from git successfully and tested MP810 as example
device. Worked fine at 4800 dpi in TPU mode.

I am attaching the diffs  (diff -u current git file modified file
) for all the files that were modified to create and support the new
sub-driver, which I call pixma_mp810.c after the lowest-named device
it supports.

The attached file is a RARed file which expands into a sub-directory
named sub-driver-pixma_mp810.
It an be un-compressed using:

unrar x pixma_mp810.rar

The new or modified files are (all in /backend sub-directory):

Makefile.am
pixma_rename.h
pixma_common.c
pixma.h
pixma.c
pixma_mp150.c
pixma_mp810.c

More below.

On Sun, Dec 18, 2011 at 11:49 PM, Gernot Hassenpflug
aikishugyo at gmail.com wrote:
 Update:

 I am attaching a patch for pixma_mp750.c to implement grayscale. This
 was I believe submitted quite awhile ago, not sure if it got lost, but
 I am submitting it again since it is part of my customizations.

 On Sun, Dec 18, 2011 at 12:12 PM, Gernot Hassenpflug
 aikishugyo at gmail.com wrote:

 TODO:

 1) I still need to test the MP810 and Canoscan 8800F.

 Done.

 2) Then I need to use the latest SANE code again to confirm that the changes
 to the other pixma files work properly.

Done. Diffs are attached.

Testing process:

1) place new and modified files into /backend directory
pixma_rename.h
pixma_common.c
pixma.h
pixma.c
pixma_mp150.c
pixma_mp810.c

2) edit backend/Makefile.am to add pixma_mp810.c

3) autoconf  automake
This sets up backend/Makefile.am to contain references to the new
pixma_mp810 sub-driver

4) BACKENDS=pixma epson2 ./configure
(I did not wish to compile with all backends, just the 2 I use).
This sets up backend/Makefile to contain references to the new
pixma_mp810 sub-driver

5) make
This does the compilation

6) edit backend/Makefile to remove the -g $(LOCKPATH_GROUP) from the
install-lockpath command, which for some reason is not understood by
my 32-bit Debian system and therefore breaks make install:

install-lockpath:
#   $(mkinstalldirs) -m 775 -g $(LOCKPATH_GROUP) $(DESTDIR)$(locksanedir)
$(mkinstalldirs) -m 775 $(DESTDIR)$(locksanedir)

7) make install
This installs the new libsane libraries in /usr/local/lib/

8) modify xsane to test the new libsane
Note: for Debian, ldd `which xsane` shows that libsane is linked from
an entry in /usr/lib/i386-linux-gnu/:
libsane.so.1 = /usr/lib/i386-linux-gnu/libsane.so.1 (0xb76bf000)

So create links to the new libsane:
cd /usr/lib/i386-linux-gnu
ln -s /usr/local/lib/libsane.so.1.0.23 .
ln -sf libsane.so.1.0.23 libsane.so.1

Now xsane will see libsane.so.1.0.23 when it uses the link libsane.so.1

9) run xsane from command line and test scanner operation
First, set debug mode to see what is going on (3 is fine, 4 would
include some specific pixma debug statements):
export SANE_DEBUG_PIXMA=4
xsane

Done!

 3) Lastly I need to update documentation.

 Still to do.

Regards,
Gernot Hassenpflug
-- next part --
A non-text attachment was scrubbed...
Name: pixma_mp810.rar
Type: application/rar
Size: 21733 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111219/017cf71a/attachment-0001.rar


[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-19 Thread Gernot Hassenpflug
Final update for pixma?mp810.c sub-driver (Note: the diff for the
pixma_mp150.c also added support for the 2400dpi TPU mode for the
MP800 and MP800R):

Diffs (diff -u oldfile newfile) for documentation:

Diffs for:
doc/sane-pixma.man
doc/descriptions/pixma.desc

Regards,
Gernot Hassenpflug
-- next part --
A non-text attachment was scrubbed...
Name: sane-pixma.man.diff
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111219/f20f4912/attachment.bin
-- next part --
A non-text attachment was scrubbed...
Name: pixma.desc.diff
Type: text/x-patch
Size: 1737 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111219/f20f4912/attachment-0001.bin


[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-19 Thread Gernot Hassenpflug
Al, you should read my instructions in the previous email.
Gernot

On Mon, Dec 19, 2011 at 6:26 AM, ?l ??gn?r sane at ml1104.corr.eu.org wrote:
 Am Mo, 19 Dez 2011 01:12:57 CET schrieb Gernot Hassenpflug:

 Final update for pixma?mp810.c sub-driver

 Compiling for 9000F

 Hi Gernot,

 I have the following problem to compile the driver:
/../



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-18 Thread Gernot Hassenpflug
Update:

I discovered that xsane was still linking to an old version of
libsane.so.1.0.22. After correcting that problem, I find that the split
driver performs well, with the MP960 in both flatbed and TPU modes up to
4800 dpi.

TODO:

1) I still need to test the MP810 and Canoscan 8800F.
2) Then I need to use the latest SANE code again to confirm that the
changes to the other pixma files work properly.
3) Lastly I need to update documentation.

This should take 1-2 more days. Then I will post the diffs here in this
thread.

Regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111218/ad0509e3/attachment.html


[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-18 Thread Gernot Hassenpflug
Update:

I am attaching a patch for pixma_mp750.c to implement grayscale. This
was I believe submitted quite awhile ago, not sure if it got lost, but
I am submitting it again since it is part of my customizations.

More inline.

On Sun, Dec 18, 2011 at 12:12 PM, Gernot Hassenpflug
aikishugyo at gmail.com wrote:

 TODO:

 1) I still need to test the MP810 and Canoscan 8800F.

Done.

 2) Then I need to use the latest SANE code again to confirm that the changes
 to the other pixma files work properly.

Busy with that.

 3) Lastly I need to update documentation.

Still to do.

Regards,
Gernot Hassenpflug
-- next part --
A non-text attachment was scrubbed...
Name: pixma_mp750.c.diff
Type: text/x-patch
Size: 10421 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111218/d07d7ee9/attachment.bin


[sane-devel] Problem with preview window using Kubuntu 11.10

2011-12-17 Thread Gernot Hassenpflug
On Fri, Dec 16, 2011 at 1:03 PM, rnjwatson watson99 at tpg.com.au wrote:
 Dear Sir/madam

 Since upgrading to the latest version of Kubuntu the preview window for
 Xsane does not work.? When it is opened it comes up as a blank window.? I am
 wondering if there is a simple solution.? All other windows are fine and the
 scanner works.? But without the preview window, the scan cannot be cropped.

That's interesting---same thing happens with me when I compile the CVS
version of SANE on my Debian 32-bit system.
The older system version works fine though.

In more detail: the preview window works in the sense that you can
do actions on it like selecting an area, just there is no display (it
is all grey) and you cannot see where the buttons are to press so it
is guesswork.

Regards,
Gernot Hassenpflug



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-16 Thread Gernot Hassenpflug
I am having trouble compiling the development version of SANE now,
unfortunately, straight from the repository.

System:
32-bit Debian unstable
installed version of SANE: 1.0.2

I do the following as root:

cd ~/src
git clone git://git.debian.org/sane/sane-backends.git
cd sane-backends
autoconf
automake
BACKENDS=pixma epson2 ./configure
make
make install

Everything up to and including make seems to end perfectly.
Unfortunately, make install fails. Here is the last part of the
output:

...
make  install-data-hook
make[4]: Entering directory `/home/gernot/src/sane-CVS/sane-backends/backend'
rm -f /usr/local/lib/sane/libsane.*
test -z /usr/local/etc/sane.d || /bin/mkdir -p /usr/local/etc/sane.d
test -z /usr/local/etc/sane.d/dll.d || /bin/mkdir -p
/usr/local/etc/sane.d/dll.d
NOT overwriting pixma.conf in /usr/local/etc/sane.d...
NOT overwriting epson2.conf in /usr/local/etc/sane.d...
NOT overwriting saned.conf in /usr/local/etc/sane.d...
NOT overwriting dll.conf in /usr/local/etc/sane.d...
for dir in artec_eplus48u gt68xx snapscan epjitsu ; do \
  /bin/bash ../mkinstalldirs /usr/local/share/sane/${dir} ; \
  done
/bin/bash ../mkinstalldirs -m 775 -g uucp /usr/local/var/lock/sane
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...

Create each directory DIR (with mode MODE, if specified), including all
leading file name components.

Report bugs to bug-automake at gnu.org.
make[4]: *** [install-lockpath] Error 1
make[4]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make: *** [install-recursive] Error 1


I don't see an explicit reason given (such as permissions missing).
Searching for comments regarding the actual error line yields no
recent results (an error like this apparently existed in 1.0.20 in
2009 for some gentoo users, according to search results).

Any pointers much appreciated.
Regards,
Gernot Hassenpflug

I wonder if there is



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-16 Thread Gernot Hassenpflug
On Fri, Dec 16, 2011 at 1:25 AM, Olaf Zevenboom olaf_7 at yahoo.com wrote:

 I have the same problem on the Debian Stable 64 bit. The problem is likely
 within the script:

 /bin/bash ../mkinstalldirs -m 775 -g uucp /usr/local/var/lock/sane
 Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...

 Both the help info (./mkinstalldit --help) and looking inside the script
 does not make clear that -g uucp is allowed as a parameter. Besides -m
 only directories are.


Hello Olaf,
Thank you for your response.
By removing the -g $(...) from backend/Makefile (and .in and .am
versions) I could complete make install.
I am a bit surprised since I do not remember this from maybe 1 year ago,
not sure what changed.
Now I am hoping the group does not matter too much (for now).

Thanks again.
Gernot Hassenpflug


 Regards
 Olaf

 --- On *Thu, 12/15/11, Gernot Hassenpflug aikishugyo at gmail.com* wrote:


 From: Gernot Hassenpflug aikishugyo at gmail.com
 Subject: Re: [sane-devel] Support for CanoScan 9000F and others: splitting
 pixma_mp150.c into two drivers
 To: sane-devel at lists.alioth.debian.org
 Date: Thursday, December 15, 2011, 5:11 PM

 I am having trouble compiling the development version of SANE now,
 unfortunately, straight from the repository.

 System:
 32-bit Debian unstable
 installed version of SANE: 1.0.2

 I do the following as root:

 cd ~/src
 git clone git://git.debian.org/sane/sane-backends.git
 cd sane-backends
 autoconf
 automake
 BACKENDS=pixma epson2 ./configure
 make
 make install

 Everything up to and including make seems to end perfectly.
 Unfortunately, make install fails. Here is the last part of the
 output:

 ...
 make  install-data-hook
 make[4]: Entering directory
 `/home/gernot/src/sane-CVS/sane-backends/backend'
 rm -f /usr/local/lib/sane/libsane.*
 test -z /usr/local/etc/sane.d || /bin/mkdir -p /usr/local/etc/sane.d
 test -z /usr/local/etc/sane.d/dll.d || /bin/mkdir -p
 /usr/local/etc/sane.d/dll.d
 NOT overwriting pixma.conf in /usr/local/etc/sane.d...
 NOT overwriting epson2.conf in /usr/local/etc/sane.d...
 NOT overwriting saned.conf in /usr/local/etc/sane.d...
 NOT overwriting dll.conf in /usr/local/etc/sane.d...
 for dir in artec_eplus48u gt68xx snapscan epjitsu ; do \
   /bin/bash ../mkinstalldirs /usr/local/share/sane/${dir} ; \
   done
 /bin/bash ../mkinstalldirs -m 775 -g uucp /usr/local/var/lock/sane
 Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...

 Create each directory DIR (with mode MODE, if specified), including all
 leading file name components.

 Report bugs to bug-automake at gnu.orghttp://mc/compose?to=bug-automake at 
 gnu.org
 .
 make[4]: *** [install-lockpath] Error 1
 make[4]: Leaving directory
 `/home/gernot/src/sane-CVS/sane-backends/backend'
 make[3]: *** [install-data-am] Error 2
 make[3]: Leaving directory
 `/home/gernot/src/sane-CVS/sane-backends/backend'
 make[2]: *** [install-am] Error 2
 make[2]: Leaving directory
 `/home/gernot/src/sane-CVS/sane-backends/backend'
 make[1]: *** [install] Error 2
 make[1]: Leaving directory
 `/home/gernot/src/sane-CVS/sane-backends/backend'
 make: *** [install-recursive] Error 1


 I don't see an explicit reason given (such as permissions missing).
 Searching for comments regarding the actual error line yields no
 recent results (an error like this apparently existed in 1.0.20 in
 2009 for some gentoo users, according to search results).

 Any pointers much appreciated.
 Regards,
 Gernot Hassenpflug

 I wonder if there is

 --
 sane-devel mailing list: sane-devel at 
 lists.alioth.debian.orghttp://mc/compose?to=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.orghttp://mc/compose?to=sane-devel-request at 
 lists.alioth.debian.org


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111216/ed6c459d/attachment-0001.html


[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-14 Thread Gernot Hassenpflug
On Tue, Dec 13, 2011 at 12:09 AM, Gernot Hassenpflug
aikishugyo at gmail.com wrote:
 Dear all,

 I've gotten down to the work of splitting pixma_mp150.c into two sub-drivers.

Status update:

I've split the driver very basically for now.

The new driver is called pixma_mp810.c, since that is the lowest
numbered MP device I added full (4800 dpi) support for there.

I've removed all other devices from it, save for those listed below
(MP810, MP960,970,980,990, and the Canoson 8800F and 9000F).

Added pixma_mp810.c to the following files:
1) backend/Makefile.am
2) backend/pixma_common.h
3) backend/pixma_rename.h

I haven't yet looked at adding/updating any documentation files.

Compilation works, so I will clean up the code a little, and prepare a
diff of the pixma_mp150.c over the next couple of days, since there
may be a few other changes I had made to existing supported devices
that could be not committed in git repository yet. If so I will submit
those diffs separately later.

Comments welcome.

Regards,
Gernot Hassenpflug

 The major new work in my customized pixma_mp150.c file is:

 1) support for 4800dpi scanning for existing supported printers
 (MP810, MP960, MP970, MP990 --- MP980 not explicitly supported yet)
 2) support for the Canoscan 9000F
 3) new interleaving of sub-images for the above.

 I propose that the following devices, which all have 4800dpi CCD
 capability, be removed from the original sub-driver and supported
 (fully) but the new sub-driver:

 1) MP810
 2) MP960
 3) MP970
 4) MP980 (no specific work done, assumed similar to MP970 or MP990 and
 to be added whenever testing can be carried out)
 5) MP990
 6) Canoscan 8800F
 7) Canoscan 9000F

 There are several CIS devices with 4800dpi capability, but these work
 fine with the existing sub-driver functionality.

 Furthermore, there are new devices from 2010 which I have added
 experimentally to my sub-driver which I have been distributing on an
 individual basis. The results are not known at this stage, but I
 assume that the CIS devices will work perfectly well with the existing
 sub-driver. I now added the 2011 devices as well. Of these 2010 and
 2011 modes, only the top-range models use CCDs with 4800dpi, and these
 should be added to the new sub-driver:

 8) MG8100 series
 9) MG8200 series

 To avoid breaking existing devices I would like to comment them out in
 the existing pixma_mp150 sub-driver file, and similarly comment out in
 the new sub-driver any devices which should be supported by the
 existing sub-driver.

 Please let me know any comments, in case they will be helpful for me
 to get this task done as soon as possible.
 Regards,
 Gernot Hassenpflug



[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

2011-12-13 Thread Gernot Hassenpflug
Dear all,

I've gotten down to the work of splitting pixma_mp150.c into two sub-drivers.

The major new work in my customized pixma_mp150.c file is:

1) support for 4800dpi scanning for existing supported printers
(MP810, MP960, MP970, MP990 --- MP980 not explicitly supported yet)
2) support for the Canoscan 9000F
3) new interleaving of sub-images for the above.

I propose that the following devices, which all have 4800dpi CCD
capability, be removed from the original sub-driver and supported
(fully) but the new sub-driver:

1) MP810
2) MP960
3) MP970
4) MP980 (no specific work done, assumed similar to MP970 or MP990 and
to be added whenever testing can be carried out)
5) MP990
6) Canoscan 8800F
7) Canoscan 9000F

There are several CIS devices with 4800dpi capability, but these work
fine with the existing sub-driver functionality.

Furthermore, there are new devices from 2010 which I have added
experimentally to my sub-driver which I have been distributing on an
individual basis. The results are not known at this stage, but I
assume that the CIS devices will work perfectly well with the existing
sub-driver. I now added the 2011 devices as well. Of these 2010 and
2011 modes, only the top-range models use CCDs with 4800dpi, and these
should be added to the new sub-driver:

8) MG8100 series
9) MG8200 series

To avoid breaking existing devices I would like to comment them out in
the existing pixma_mp150 sub-driver file, and similarly comment out in
the new sub-driver any devices which should be supported by the
existing sub-driver.

Please let me know any comments, in case they will be helpful for me
to get this task done as soon as possible.
Regards,
Gernot Hassenpflug



[sane-devel] Canoscan 9000F / pixma-backend status

2011-12-12 Thread Gernot Hassenpflug
On Mon, Dec 12, 2011 at 5:24 AM, Olaf Zevenboom olaf_7 at yahoo.com wrote:

 Dear List,

 What is the status of the rewritten pixma-backend-driver? Gernot
 Hassenpflug/shugyo has been quite active on the subject until 4 months ago
 or something. The driver is not yet in the GIt repository so it seems.
 Would love to give it a spin on my Debian Squeeze system, but it seems the
 Mr Hassenpflug has been a bit busy so I am looking for an alternative
 source for the code. Or is it bound to appear in Git soon? Any thoughts on
 the subject?


Status update:
I've been busy with some other drivers the last couple of months, and part
of that work was finally completed this weekend. So my plan is to start
splitting the mp150 sub-driver into two separate sub-drivers: the original
one as much untouched as possible, all the new code shifted to a new
sub-driver, and then devices that should be supported in the new sub-driver
removed from the old one. That was the brief I received from the maintainer
but did not have time to do that work in the meantime.
You are of course welcome to the code anytime, I have been sending it to
anyone that requested it.

I will keep the list updated, and send the files I am working on, as I
start to work on the splitting operation this week.

Best regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111212/bc5b3d68/attachment.html


[sane-devel] Canon CanoScan 9000F - forgotten?

2011-10-20 Thread Gernot Hassenpflug
sorry, not enough time to do this yet.
Regards,
Gernot

On Thu, Oct 20, 2011 at 4:03 AM, Einar Lygre eilygre at broadpark.no wrote:

  In February 2011 shugyo ( Gernot Hassenpflug) wrote in Debian User Forums
 :  *The Canoscan 9000F will NOT be in the next SANE minor release 1.0.22,
 for which the freeze deadline has already passed.*  And *I will submit my
 code to the maintainer to approval hopefully this weekend, and report in
 this thread on developments in regard to adding the code to CVS (probably
 only possible shortly after the release of SANE 1.0.22 in mid-February).*

 CanoScan 9000F is not in the list for supported devices in release 1.0.22,
 but nor is it in the list list for devices supported by
 sane-backends-1.0.23git. It is even not mentioned as untested. What happens?


 Einar Lygre


 --
 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

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111020/f6627921/attachment.html


[sane-devel] Canon MP250 detected by sane-find-scanner but not by scanimage

2011-07-23 Thread Gernot Hassenpflug
On Fri, Jul 22, 2011 at 11:00 PM, Noe Nieto nnieto at noenieto.com wrote:
 I have a Canon MP250 device. The manpage of the pixma backend states that
 this device is supported, but when trying to use scanimage, there's no
 scanner detected.

 Test case:

 Plug the scanner, and check lsusb and /var/log/messages:

 # dmesg

- sane-find-scanner only checks libusb can detect the scanner, not if
SANE's backends are working or not. So all is well on that front at
least.

- check if pixma_mp150.c has this scanner listed in it. At the tip f
the file the USB ID, at the bottom of the file the properties.

- check if you compiled correctly (local compiles by default go into
/usr local so your scanimage should be running from there)

- run scanimage as root to see if it might be a permissions issue

HTH as a start,
Gernot Hassenpflug



[sane-devel] backend update request: sane-pixma

2011-07-13 Thread Gernot Hassenpflug
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).

Regards, Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110712/0332c554/attachment.html


[sane-devel] backend update request: sane-pixma

2011-07-12 Thread Gernot Hassenpflug
2011/7/12 ibu ? ibu at radempa.de

 Hello,

 some hours ago I bought a Canon (0x04a9) Pixma MX360 (0x174d) MFP (USB,
 ADF, Specs:
 http://www.canon-europe.com/For_Home/Product_Finder/Multifunctionals/Inkjet/PIXMA_MX360/index.aspx?specs=1

 I have tried adding this line to pixma_mp150.c

 DEVICE (Canon PIXMA MX360, MX360, MX360_PID, 1200, 638, 1050,
 PIXMA_CAP_CIS | PIXMA_CAP_ADF),

 but without success (/usr/local/bin/sane-find-scanner won't find the


You also need to asdd the USB ID to the file, at the head.

Regards,Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110712/74655668/attachment.html


[sane-devel] support for Canon MG8150

2011-06-15 Thread Gernot Hassenpflug
On Wed, Jun 15, 2011 at 5:43 AM, Louis Lagendijk
louis at lagendijk.xs4all.nl wrote:
 On Sat, 2011-06-11 at 12:10 +0200, Louis Lagendijk wrote:

 If uou have git commit access you could do that I guess. It is probably
 better if the current maintainer of the backend (Nicolas, Gernot?) does
 that, the changes do not affect any other devices, so I can not see a
 reason not commit.

 Hello Gernot,
 could you please commit this change to git?
 If you don't have the time, I can have a look at it, but I am currently
 pretty much loaded with other obligations, so I will not be able to get
 to this until at earliest this weekend and probably not even then...
 Thanks Louis


Hello,
I am not a maintainer for SANE. Also, I am not sure what code you are
using here. I have some code I have developed which I need to submit
eventually. If you send me your modification maybe I can do something
with it.
Best regards,
Gernot



[sane-devel] dye-sub Canon ES20, ES40 help

2011-06-10 Thread Gernot Hassenpflug
Dear Michael Mraka,
This is Gernot Hassenpflug, I was told you are the person to speak to
about dye-sub printers. I hope that is OK.
I have been looking at the code in print-olympus.c and am a bit confused by:-

a) whether the ES20 support is correct, and
b) how to make changes to support the ES40

What I have done is looked at the first 20 or so bytes of printjobs
for both these printers. I did not loko further yet. So far, the first
20 bytes show some significant differences between the 2 printers, but
on the other hand, I cannot see there any specification of edgeless
or non-edgeless, or portrait vs landscape differences. Anyway,
here the comparison, mostly for the first 5 bytes (others are the same
except where noted), in hexadecimal notation.

Color:

postcard:
ES20: 40 00 01 00 02
ES40: 40 00 00 00 00

CP_L: (89mm by mm)
ES20: 40 00 02 00 02
ES40: 40 00 01 00 00

Card: (54mm by mm)
ES20: 20 00 03 00 02  and also 12th byte: 01
ES40: 40 00 02 00 00  and also 12th byte: 00

Black/white (postcard only):

ES20: same as color, but 8th byte: 01
ES40: same as color, but 4th byte: 01

Conclusions:

a) paper type numbering is 0-based for ES20, but 1-based for ES40
b) ES20 5th byte is always 02, while for ES40 it is always 00
c) for black/white, ES20 sets 8th byte to 01, while ES40 sets 4th byte to 01.

I am not sure of other differences yet, if there are any utilities
available to examine the print-jobs more easily please let me know.
Best regards,
Gernot Hassenpflug



[sane-devel] dye-sub Canon ES20, ES40 help

2011-06-10 Thread Gernot Hassenpflug
On Fri, Jun 10, 2011 at 2:29 AM, Gernot Hassenpflug
aikishugyo at gmail.com wrote:
 Dear Michael Mraka,
 This is Gernot Hassenpflug, I was told you are the person to speak to
 about dye-sub printers. I hope that is OK.

Sorry for the noise wrong list.
Sincere apologies,
Gernot Hassenpflug



[sane-devel] support for Canon MG8150

2011-06-10 Thread Gernot Hassenpflug
On Fri, Jun 10, 2011 at 12:08 PM, Wandrille Ronc? w at ndrille.fr wrote:
 Le vendredi 10 juin 2011 04:17:54, vous avez ?crit :
 On Fri, Jun 10, 2011 at 10:50 AM, VanVan vanvan at vanvan.cc wrote:
 Hello,

 I am afraid I cannot tell who you are speaking to, or what message you
 are relating to. Can you please clarify?

 Thanks for the quick response.

 It was a reply to
 
 On Tue, Nov 2, 2010 at 5:29 AM, Louis Lagendijk
 louis at lagendijk.xs4all.nl wrote:
 ?On Sun, 2010-10-31 at 19:51 +0100,
 
 I had try again with git last version.
 I just compile a sane-backends ( git clone git://anonscm.debian.org/sane/sane-
 backends.git) and modify the file pixma_mp150.c to add support for the Canon
 MG8150 printer.

OK, thanks, I got it now.

 By adding this :
  You can try adding the definitions near the end of pixma_mp150.c where
  similar definitions exist, like this:
/../
  #define MG8100_PID 0x174b

 sane-find-scanner found the scanner on USB mode
 found USB scanner (vendor=0x04a9 [Canon], product=0x174b [MG8100 series]) at
 libusb:002:004

 But after:

 Scanimage (from /usr/local/bin) has no verbose mode, with -v or no, I just has
 the msg scanimage: no SANE devices found

 Have you and id?e ?

Sorry about the -v. You should set the debug variables and try again
(see my last message).

Regards,
Gernot



[sane-devel] support for Canon MG8150

2011-06-10 Thread Gernot Hassenpflug
On Fri, Jun 10, 2011 at 12:38 PM, Wandrille Ronc? vanvan at vanvan.cc wrote:
 Le vendredi 10 juin 2011 05:11:27, vous avez ?crit :
 On Fri, Jun 10, 2011 at 12:08 PM, Wandrille Ronc? w at ndrille.fr wrote:
  Le vendredi 10 juin 2011 04:17:54, vous avez ?crit :
  On Fri, Jun 10, 2011 at 10:50 AM, VanVan vanvan at vanvan.cc wrote:

 Okay, so I compiled another time with ./configure -- enable-debug, and look at
 the pixma_mp150.c file, but there is no debug mode to activate inside.

No, not compiling. Just running.

We were talking about scanimage. And I told you to look at the man
page for sane-pixma and then set the debug env vars.

Regards,
Gernot



[sane-devel] CS9000F code

2011-06-05 Thread Gernot Hassenpflug
On Sun, Jun 5, 2011 at 5:54 AM, Al Bogner sane at ml093.pinguin.uni.cc wrote:
 Am Sa, 04 Jun 2011 08:12:06 CEST schrieb Gernot Hassenpflug:

 Hi Gernot,

 I tried hours ago and now:

 date
 Sa 4. Jun 22:52:13 CEST 2011

 ping -c3 aikishugyo.dnsdojo.org
 PING aikishugyo.dnsdojo.org (219.160.114.155) 56(84) bytes of data.
 --- aikishugyo.dnsdojo.org ping statistics ---
 3 packets transmitted, 0 received, 100% packet loss, time 2001ms

 Unfortunately it doesn't work. Could you copy the text of the howto in
 an email and send it to me?

Mail sent.

Regards,
Gernot



[sane-devel] CS9000F code

2011-06-04 Thread Gernot Hassenpflug
On Fri, Jun 3, 2011 at 10:33 PM, Al Bogner sane at ml093.pinguin.uni.ccwrote:

 Am Sa, 12 Feb 2011 09:41:19 CET schrieb Gernot Hassenpflug:

  Here is the hopefully definitive CS9000F code, with I believe the TPU
  offset in preview fixed. Please check.
 
  Instructions for downloading SANE CVS, and compiling can be found on
  my blog at
 
  aikishugyo.dnsdojo.org/blog
 
  and the attached files should replace files in sane-backends/backend.
 
  Now I can complete the work of creating a sub-driver from the
  combined code.

 I didn't hear anything about a newer code, so I want to try to compile
 the one from February myself.

 Unfortunately aikishugyo.dnsdojo.org/blog is not available anymore?

 Can someone please explain me what I need to do or point me to a link?


Hello Al,
 The blog should be available, but since I use dynamic DNS, with a variable
IP address, the site might be down sometimes. Just let me know if you cannot
access it and I will have a look.
Best regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110604/61f348ab/attachment-0001.html


[sane-devel] Canon MP280 not supported by SANE

2011-04-03 Thread Gernot Hassenpflug
Hi,
I think you might have to set some of the debug flags first to get
more information on the problem. See the man pages for the pixma
backend.
With such information, it should not be too hard to add exceptions for
this model, since it does not do very high scan resolutions.
Regards,
Gernot



[sane-devel] Canon MP280 not supported by SANE

2011-04-03 Thread Gernot Hassenpflug
On Sun, Apr 3, 2011 at 3:01 PM, Cristi Lacatus alaskanseaman at gmail.com 
wrote:
 Hi,

 Thanks for your reply.

 I set the debug level to 21 ([~] # export SANE_DEBUG_PIXMA=21) and ran this
 command:

 [~] # scanimage -d pixma:04A91746_01760E  /tmp/scanimage.pnm
 2sane.debug.log

Thanks. It is timing out without doing anything. I can think of a few
issues: either the command set is wrong, or the generation is
incorrect, or the initialization needs to be changed, among other
things.

The easiest solution would be to get some Windows USB logs, taken with
the usual tool IIRC:
http://sourceforge.net/projects/usbsnoop/

Is it possible that you take 3 simple low-res (75dpi) color,
greyscale, and B/W scan logs under a Windows 2K or Windows XP machine?

Gernot



[sane-devel] Canon MP280 not supported by SANE

2011-04-03 Thread Gernot Hassenpflug
On Sun, Apr 3, 2011 at 4:12 PM, Cristi Lacatus alaskanseaman at gmail.com 
wrote:
 Hi Gernot,

 Thanks for your quick reply.

 Please find attached the log from the USB-SNOOP tool. I chose to export it
 as XML format, hope that's okay.
 Also, because I have Win7 on all my machines, I had to use the VirtualPC
 app, with Windows XP in virtual mode.

Hi,
I can't use my parser program on the XML output. Not sure if you have
the right tool, here is another link:

http://www.pcausa.com/Utilities/UsbSnoop/

You should just have the ra log file, no particular output format
selection. After each scan, use the GUI to pause and then close the
log before copying (not moving) it to another location and renaming
it. Then use the GUI to clear the log and resume logging.

Cheers,
Gernot



[sane-devel] any sniff volunteers unsupported Canon scanners: 4200F, 5200F, 9900F, 9950F

2011-03-03 Thread Gernot Hassenpflug
On Thu, Mar 3, 2011 at 3:02 AM, Rob Hills rhills at medimorphosis.com.auwrote:

  Hi Gernot,

  --- On Sat, 3/20/10, Gernot Hassenpflug aikishugyo at gmail.com wrote:

   I've been looking at the list of unsupported Canon scanners,
 concentrating on the CanoScan and LiDE series. Seems the
  LiDE series all uses Genesys Logic chips and/or Philips CP2155BE
 front-end. But some of the CanonScan series are still
  apparently unknown, and it would be fantastci if one or more of those
 used an existing protocol.
 
  Is there anyone who would be able to sniff a Windows USB log of the
 following scanners:
 
  * CanoScan 4200F
  * CanoScan 5200F
  * CanoScan 9900F
  * CanoScan 9950F
 
  Alternatively, opening up the scanner and listing all the chip
 information :-) But a sniff will be enough to get quite
  a bit of information.
 
  I see there appears to be a driver on Sourceforge, but I have no
 knowledge of what it can do:
  http://sourceforge.net/projects/cs5200drv/

  You posted this nearly a year ago, are you still working on it?  I have
 CanoScan 9950F and I can do a sniff for you if you still want one.


Hi Rob,
No, sorry, I am not involved in this anymore, I was trying to find devices
that use a known pixma protocol, but that is not the case for the above
scanners. You'll need to check the mailing list archives for separate
threads on these scanners, if there are any, or start your own with USB
sniffing. Genesys backend development is very lively, so if your scanner has
such a chip, it is likely you will be roped in to help with support pretty
quickly.
Best regards,
Gernot Hassenpflug
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110303/79229a92/attachment-0001.htm


[sane-devel] Any news about CanoScan 9000F driver?

2011-02-08 Thread Gernot Hassenpflug
On Tue, Feb 8, 2011 at 5:50 AM, Al Bogner sane at ml093.pinguin.uni.cc wrote:
 I would like to ask politefully if there is any news about the CanoScan
 9000F driver?

Hello Al,
I am helping with the 9000F, along with 22 other testers and
contributors along with whom we've managed to sort out most of the
issues. There is still one issue with zooming and TPU offsets to
solve. After that I need to create a sub-driver for the device. And
then it may eventually go into CVS. It will not go into 1.0.22.
Regards,
Gernot Hassenpflug



[sane-devel] Any news about CanoScan 9000F driver?

2011-02-08 Thread Gernot Hassenpflug
On Tue, Feb 8, 2011 at 8:00 AM, Roger Davis rogerdavis at verizon.net wrote:
 Does this have any connection or good news for Canoscan 4200f owners who
 would like to use them?

No, the 4200F has nothing in common with the 9000F.
I think you can find more info in the archives recently.
Gernot



[sane-devel] suseLINUX 11.2

2011-02-07 Thread Gernot Hassenpflug
On Mon, Feb 7, 2011 at 10:38 PM, John Middlebrook midjh at edsl.co.za wrote:

 Hi There,

 I don't know whether this is the right place. I hope so.

 Installed a Canon Pixma MX320 about two years ago. This

Yourm essage is *most* welcome!

In SANE, the MX300 and MX310 are supported, and tested. The MX320
might be supported, but is untested. If you would like to install the
CVS version of SANE (I am not sure if 1.0.21 has it, but feel free to
try that verion first) and test the device, please do so.

You might look at my webpage aikishugyo.dsndojo.org/blog to see how to
install CVS version of SANE. But if you can already get support in the
stable version in your distro (as long as it is 1.0.21 and not
earlier) then no need to use CVS.

Regards,
Gernot Hassenpflug



[sane-devel] diffs sent to support MP810, MP960, Canoscan 9000F

2011-01-17 Thread Gernot Hassenpflug
On Sun, Jan 16, 2011 at 7:58 PM, m. allan noah kitno455 at gmail.com wrote:
 Is PRlu64 C89? If not, you will have to drop that change. Someday sane
 will use C99 :)

Hi Allan,

Nicolas already added the PRIu64 to the pixma backend, so I guess it
is okay. I think it is C90, but have not checked myself.

Regards,
Gernot



[sane-devel] diffs sent to support MP810, MP960, Canoscan 9000F

2011-01-16 Thread Gernot Hassenpflug
Hello all,
I have submitted unified diffs for the following files to the maintainer:
pixma_common.h
pixma_common.c
pixma.h (revised version sent after initial one)
pixma.c (revied version sent after initial one)
pixma_mp150.c
pixma_mp750.c (only difference was modification of debug statement to
use PRIu64)

If I should send something to the list as well, please let me know.
Best regards,
Gernot Hassenpflug



[sane-devel] Canon LiDE 210 issue - exceeds maximum scan height?

2011-01-14 Thread Gernot Hassenpflug
On Fri, Jan 14, 2011 at 6:41 AM, stef stef.dev at free.fr wrote:
 Le Thursday 13 January 2011 00:37:52 Heinz Wiesinger, vous avez ?crit :
 On Wednesday 12 January 2011 21:05:09 you wrote:
  Le Wednesday 12 January 2011 08:41:55 Heinz Wiesinger, vous avez ?crit :
   On Wednesday 12 January 2011 06:52:35 stef wrote:
Le Wednesday 12 January 2011 00:21:35 Heinz Wiesinger, vous avez ?crit
 :
 Hi!

 I got myself a Canon LiDE 210 today and immediatly tried it with
 latest git (922a22e). It was detected fine and it seems to work
 pretty good as well.

 Preview works fine, but I noticed that after the actual scanning
 run, when the scanhead is parked again, it tries to go back too
 far. It does not happen after the preview run, only after the
 scan.

 If there is anything else I can provide to help get this bug fixed,
 don't hesitate to contact me :)

 Grs,
 Heinz
   
? ? ? ? Hello,
   
? ? ? ? when you wait for the scanning head to park before each scans 
no
? ? ? ? mare
   
motor noise), do you have the same issue ?
  
   Interesting, I thought I had tested that case as well, but apparently I
   didn't.
   It's true, if I wait between each scan nothing happens, the head is
   parked correctly. If I do not wait, or specify multiple scans from the
   beginning, it has issues.
  
   Grs,
   Heinz
 
  ? ? OK,
 
  ? ? thanks for the tests. I have just pushed a fixed for this bug to the 
  git
 
  source tree.

 Thank you very much. Confirmed working now here as well :)

  ? ? BTW, do you have a windows environment where you can run your LiDE 210?
 
  Does the windows proposes a 2400 dpi resolution ? In this case I'd be
  much interested by a log recorded with
  http://www.pcausa.com/Utilities/UsbSnoop/ of a very small area scanned
  at 2400 dpi.

 Hmm, I'm not sure. The list only offered up to 1200 dpi, but it was
 editable. So I tried defining 2400 dpi and from what I can see it worked.
 At least gimp reports the scanned image with 2400 dpi. I did the same for
 4800 dpi as well, don't know if it is useful or not.

 I tried to get as small as possible scans, maybe it ended up too small. If
 so tell me and I'll run it again. I uploaded the logs to my server, they
 are available here: http://www.liwjatan.at/files/logs/

 Hope that helps! :)

 Grs,
 Heinz
 ? ? ? ?Hello,

 ? ? ? ?thanks for the logs. I see no 2400 or 4800 resolution in it. However I
 managed to get 2400 dpi work for LiDE 110 and 210. I've just pushed it in the
 git source tree.

 Regards,
 ? ? ? ?Stef

Hi,
According to Canon's webpage, the LiDE210 does have 4800x4800 optical
resolution:
http://www.canon.com.au/en-au/For-You/Faxes-Scanners/CanoScan-Scanners/LiDE210
http://www.canon.co.uk/For_Home/Product_Finder/Scanners/Flatbed/canoscan_lide_210/
http://www.usa.canon.com/cusa/consumer/products/scanners/photo_scanners/canoscan_lide210#Specifications
(The LiDE110 only has 2400dpi.)

Best regards,
Gernot



[sane-devel] still segmentation fault on MP900, MP950

2011-01-09 Thread Gernot Hassenpflug
Hi,

I did not have time to invetigate segmentation problems on the MP900,
MP950 before now. They still exist.
With SANE_DEBUG_PIXMA set to 11, I get the following output from
running xsane (sane-find-scanner finds the scanner also, no problem):

...
[pixma] scanner discovery finished...
[pixma] pixma_open(): Canon PIXMA MP900
[pixma] OUT  T=3.637 len=16
[pixma]  :f3 20 00 00 00 00 00 00  00 00 00 00 00 00 00 0c
[pixma]
[pixma] IN   T=3.641 len=2
[pixma]  :15 15
[pixma]
[pixma] WARNING: result len=2 expected 20
[pixma]  :15 15
[pixma] INTR T=3.671 len=16
[pixma]  :00 00 00 00 00 00 00 00  00 00 00 00 40 00 00 00
[pixma]
Segmentation fault

It only occurs with these two models of scanners as far as I can tell.

My OS uname details:

Linux 2.6.32-5-686-bigmem #1 SMP Fri Dec 10 16:59:53 UTC 2010 i686 GNU/Linux

Using SANE CVS

Best regards,
Gernot



[sane-devel] still segmentation fault on MP900, MP950

2011-01-09 Thread Gernot Hassenpflug
On Sun, Jan 9, 2011 at 7:04 PM, Nicolas Martin nicolas0martin at gmail.com 
wrote:
 Hopefully, code and declarations for those 2 old models, MP900 and
 MP950, is not part of the git version, probably this is from a test
 version you're currently using for debugging.

Yes, correct, a test version, not the exact git version.

 Those 2 Pixma models are more than 5 years old, so probably not
 strategic to have them supported for the next Sane release, as nobody
 asked for support to these models, since I'm working on the pixma
 backend.
 Let us know anyway when this issue will be fixed, and when these models
 will be ready for support.

OK, I will start investigating the USB problems during the week.

Regards,
Gernot



[sane-devel] Schedule for release of sane-backends 1.0.22

2011-01-07 Thread Gernot Hassenpflug
On Fri, Jan 7, 2011 at 5:03 AM, Tomas Pospisek tpo_deb at sourcepole.ch wrote:
 On Wed, 5 Jan 2011, Julien BLACHE wrote:

 m. allan noah kitno455 at gmail.com wrote:

 I also have a report for the AV120 (#548731).

 I've not heard from Nicholas.

 The pixma fix is still in work, IIRC we should hear back from Gernot in
 the coming weeks.

 I think Gernot has confirmed that the one-line fix does fix the machines he
 has access to. It does also fix my own pixma mp600. We do not know though
 about generation 1 machines.

I can also confirm that the MP450 still works, and that I believe is a
generation 1 machine.

Gernot
-- 
ISP Asahi-Net: http://asahi-net.jp/en/
No.1 in Japan by customer satisfaction
(Nikkei News, 7 July 2010)



[sane-devel] maximum image size for a scan for Canon pixma backend

2011-01-01 Thread Gernot Hassenpflug
On Fri, Dec 31, 2010 at 10:32 PM, Nicolas Martin
nicolas0martin at gmail.com wrote:
 Le vendredi 31 d?cembre 2010 ? 14:11 +0900, Gernot Hassenpflug a ?crit :
 On Fri, Dec 31, 2010 at 8:11 AM, Gernot Hassenpflug
 aikishugyo at gmail.com wrote:
  On Fri, Dec 31, 2010 at 8:05 AM, Nicolas Martin
  nicolas0martin at gmail.com wrote:
  Le vendredi 31 d?cembre 2010 ? 02:55 +0900, Gernot Hassenpflug a ?crit :
  On Fri, Dec 31, 2010 at 2:50 AM, Robert Krawitz rlk at alum.mit.edu 
  wrote:
   On Fri, 31 Dec 2010 02:41:10 +0900, Gernot Hassenpflug wrote:
   On Fri, Dec 31, 2010 at 2:19 AM, Gerard Klaver gerard.klaver at 
   xs4all.nl wrote:
   On Fri, 2010-12-31 at 01:29 +0900, Gernot Hassenpflug wrote:
   Dear all,
   I have been involved in trying to support the Canoscan 9000F, and 
   the
   testing community has grown to about 15 individuals. A few of them
   have programming knowledge and tonight one individual send in
   corrected code to handle the final hurdle: correctly aligning the
   sub-images in the 9600dpi TPU mode. So the scanner is now supported
   for all modes.
  
   However, for large images at both 4800dpi and 9600dpi modes, it 
   seems
   the max size of the image is limited in some way, so that only a
   section of the desired image is delivered. Is this something that 
   can
   be set in the individual driver files (like pixma_mp150.c) or in 
   some
   of the generic pixma driver .c or .h files (which I do not want to
   touch if possible)? I don't see a problem in the linesize or
   dimensions, only in the image_size value seen by [pixma] debugging
   output.
  
   Best regards,
   Gernot Hassenpflug
  
   --
   sane-devel mailing list: sane-devel at lists.alioth.debian.org
   http://lists.alioth.debian.org/mailman/listinfo/sane-devel
   Unsubscribe: Send mail with subject unsubscribe your_password
   ? ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org
  
   One possible solution (if not yet done), is to check the declaration 
   of
   the ?image_size parameter, for a 9600 dpi A4 scan (color) size is 
   about
   550 000 000 000 bytes. (long long is needed)
  
   Hi, thank you for that. I see that image_size is currently declared as
   unsigned. I imagine that changing the declaration will need to be
   checked in all places where the calculations using image_size are
   done, or not?
  
   Currently, from the report I obtain from a test user, a 4800x4800dpi 
   image with
  
   dimensions: 32824 px (width) * 47248 px (height)
  
   should have a image_size of 4652605056 bytes (W*H*3 for channel 
   number)
  
   whereas the actual image_size used is 357637760 bytes (approximately
   341.1 MiB). I am still trying to ascertain whether for some reason the
   wrong calculation for image_size might have been made, but certainly
   the width and height are correctly there.
  
   32824 * 47248 * 3 - 357637760 = 4294967296
  
   which is exactly 2^32. ?So that suggests exactly the problem described
   above.
 
  Ah! I suspected it was that, but forgot I had to take the difference
  to get this number. Fantastic! Well, that sounds like somewhat of a
  issue then for the SANE Canon maintainer to comment on. I guess this
  issue had to come up eventually.
 
  Should be possible to extend the image size in pixma backend by
  declaring uint64_t instead of unsigned the following variables:
 
  image_byte_read (in pixma.c),
  image_size (in pixma.h)
  cur_image_size (in pixma_common.h)
 
  Debug statements should also to be adjusted, %llu instead of %u in the
  different format strings, although this gives a compilation warning
  anyway, as the gcc compile statement uses the -pedantic flag.
 
  Unless someone has a better solution for sprintf 64 bits integers ?
 
  Anyway, could you give a try on 9000F with those changes ?

Happy new year to you all!

More changes were needed in pixma.c, pixma.h, pixma_common.c (as well
as those in pixma_common.h), and in pixma_mp150.c to handle the
calculations with uint64_t. Some more variables needed to be declared
as either uint64_t, or in one case as long instead of int.

I still need to follow through on those changes in pixma_mp750.c also.

I had a report that %lu might be better than %llu for the debug
statements, so I would like to confirm that %llu was not a typing
error? Should I use %llu or %lu for the debug statements when uint64_t
is the declared type?

 It seems that fix has not broken anything yet (stil awaiting results
 from testers on how large images go). However, I have a report from a
 tester that might be of interest:

 I also replaced a memcpy() by a memmove() because the areas are
 overlapping. The spec says that memcpy should not be used for
 overlapping regions, and in recent glibc versions code relying on this
 behaviour doesn't work any more. (Valgrind reported this.)

 This is the line near the end of ?the post_process_image_data funtion
 in pixma_mp150.c:

 ? ? ? ? /* Crop line to selected borders */
 ? ? ? ? memmove(cptr, sptr

[sane-devel] maximum image size for a scan for Canon pixma backend

2010-12-31 Thread Gernot Hassenpflug
Dear all,
I have been involved in trying to support the Canoscan 9000F, and the
testing community has grown to about 15 individuals. A few of them
have programming knowledge and tonight one individual send in
corrected code to handle the final hurdle: correctly aligning the
sub-images in the 9600dpi TPU mode. So the scanner is now supported
for all modes.

However, for large images at both 4800dpi and 9600dpi modes, it seems
the max size of the image is limited in some way, so that only a
section of the desired image is delivered. Is this something that can
be set in the individual driver files (like pixma_mp150.c) or in some
of the generic pixma driver .c or .h files (which I do not want to
touch if possible)? I don't see a problem in the linesize or
dimensions, only in the image_size value seen by [pixma] debugging
output.

Best regards,
Gernot Hassenpflug



[sane-devel] maximum image size for a scan for Canon pixma backend

2010-12-31 Thread Gernot Hassenpflug
On Fri, Dec 31, 2010 at 2:19 AM, Gerard Klaver gerard.klaver at xs4all.nl 
wrote:
 On Fri, 2010-12-31 at 01:29 +0900, Gernot Hassenpflug wrote:
 Dear all,
 I have been involved in trying to support the Canoscan 9000F, and the
 testing community has grown to about 15 individuals. A few of them
 have programming knowledge and tonight one individual send in
 corrected code to handle the final hurdle: correctly aligning the
 sub-images in the 9600dpi TPU mode. So the scanner is now supported
 for all modes.

 However, for large images at both 4800dpi and 9600dpi modes, it seems
 the max size of the image is limited in some way, so that only a
 section of the desired image is delivered. Is this something that can
 be set in the individual driver files (like pixma_mp150.c) or in some
 of the generic pixma driver .c or .h files (which I do not want to
 touch if possible)? I don't see a problem in the linesize or
 dimensions, only in the image_size value seen by [pixma] debugging
 output.

 Best regards,
 Gernot Hassenpflug

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 ? ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org

 One possible solution (if not yet done), is to check the declaration of
 the ?image_size parameter, for a 9600 dpi A4 scan (color) size is about
 550 000 000 000 bytes. (long long is needed)

Hi, thank you for that. I see that image_size is currently declared as
unsigned. I imagine that changing the declaration will need to be
checked in all places where the calculations using image_size are
done, or not?

Currently, from the report I obtain from a test user, a 4800x4800dpi image with

dimensions: 32824 px (width) * 47248 px (height)

should have a image_size of 4652605056 bytes (W*H*3 for channel number)

whereas the actual image_size used is 357637760 bytes (approximately
341.1 MiB). I am still trying to ascertain whether for some reason the
wrong calculation for image_size might have been made, but certainly
the width and height are correctly there.

Regards,
Gernot



[sane-devel] maximum image size for a scan for Canon pixma backend

2010-12-31 Thread Gernot Hassenpflug
On Fri, Dec 31, 2010 at 2:50 AM, Robert Krawitz rlk at alum.mit.edu wrote:
 On Fri, 31 Dec 2010 02:41:10 +0900, Gernot Hassenpflug wrote:
 On Fri, Dec 31, 2010 at 2:19 AM, Gerard Klaver gerard.klaver at xs4all.nl 
 wrote:
 On Fri, 2010-12-31 at 01:29 +0900, Gernot Hassenpflug wrote:
 Dear all,
 I have been involved in trying to support the Canoscan 9000F, and the
 testing community has grown to about 15 individuals. A few of them
 have programming knowledge and tonight one individual send in
 corrected code to handle the final hurdle: correctly aligning the
 sub-images in the 9600dpi TPU mode. So the scanner is now supported
 for all modes.

 However, for large images at both 4800dpi and 9600dpi modes, it seems
 the max size of the image is limited in some way, so that only a
 section of the desired image is delivered. Is this something that can
 be set in the individual driver files (like pixma_mp150.c) or in some
 of the generic pixma driver .c or .h files (which I do not want to
 touch if possible)? I don't see a problem in the linesize or
 dimensions, only in the image_size value seen by [pixma] debugging
 output.

 Best regards,
 Gernot Hassenpflug

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 ? ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org

 One possible solution (if not yet done), is to check the declaration of
 the ?image_size parameter, for a 9600 dpi A4 scan (color) size is about
 550 000 000 000 bytes. (long long is needed)

 Hi, thank you for that. I see that image_size is currently declared as
 unsigned. I imagine that changing the declaration will need to be
 checked in all places where the calculations using image_size are
 done, or not?

 Currently, from the report I obtain from a test user, a 4800x4800dpi image 
 with

 dimensions: 32824 px (width) * 47248 px (height)

 should have a image_size of 4652605056 bytes (W*H*3 for channel number)

 whereas the actual image_size used is 357637760 bytes (approximately
 341.1 MiB). I am still trying to ascertain whether for some reason the
 wrong calculation for image_size might have been made, but certainly
 the width and height are correctly there.

 32824 * 47248 * 3 - 357637760 = 4294967296

 which is exactly 2^32. ?So that suggests exactly the problem described
 above.

Ah! I suspected it was that, but forgot I had to take the difference
to get this number. Fantastic! Well, that sounds like somewhat of a
issue then for the SANE Canon maintainer to comment on. I guess this
issue had to come up eventually.

Thanks,
Gernot Hassenpflug



  1   2   3   >