CanoScan 9000F support in SANE

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Re: CanoScan 9000F support added in SANE: need test volunteers

Postby stevey » 2010-11-04 22:48

Hi!

Many thanks for working on this driver.
Shamefully tossing the last shred of restraint and self respect out the window I say: me to!
If a patched file might be available for testing on my trusty 9000F I'd be most grateful ;)

-Steve
stevey
 
Posts: 2
Joined: 2010-11-04 22:38

Re: CanoScan 9000F support in SANE

Postby shugyo » 2010-11-10 05:59

Hi, just saw your post, PM me and I'll send you my working file.
Cheers,
Gernot
Last edited by shugyo on 2011-02-01 02:45, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support added in SANE: need test volunteers

Postby stevey » 2010-11-19 05:26

Hi Gernot,

Today I finally got to testing the hi-res TPU scans. Seems that the 9600 code might need a tweak, and (hopefully I'm wrong), but the 4800 too.

First, the 4800dpi scan:
I have compared our result to a 4800 scan done on W7
The W7 scan appears to be a true 4800 dpi with no y-axis pixel doubling. Yet the Sane result shows the duplicated pixel horizontally.
If I'm right, then we're not getting true 4800dpi yet (I'm new at this, so kindly bear with me if I'm wrong ;)

Re: 9600dpi
File size is 4x the 4800dpi scan...
Vertical "lines" appear in the image indicating the "last byte reordering of 8 lines" is still buggered.
I see the adjacent y-axis doubling - though this time it's expected (I haven't got a 9600 W7 scan to compare though).

Is there more helpful information I can provide you?

Best regards,
Steve
stevey
 
Posts: 2
Joined: 2010-11-04 22:38

Re: CanoScan 9000F support in SANE

Postby shugyo » 2010-11-22 05:34

Hi Steve,
Thanks (and I got the PM too---replied to that) for the report.
Yes, in TPU mode 9600dpi needs work. 4800dpi seems to be that way, as far as I can tell, so maybe the Windows driver does some interpolation. I will double-check though, to be certain.
Last edited by shugyo on 2011-02-01 02:45, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support added in SANE: need test voluntee

Postby ekb802 » 2010-12-05 14:34

For your information (I hope it can be to any help)
I'm not a programer guy but like to tamper with hardware, so I just deassemled my Canon 9000F to reveal its internals parts :0)
Photo of the circuitboard and the chip set can be found here http://www.stockholmviews.com/canon_900 ... aning.html
Look at the botom of the page
I'm looking forward to the official backen release :0)
Regards/ Stefan
Image

http://www.stockholmviews.com
ekb802
 
Posts: 1
Joined: 2010-12-05 14:19
Location: Stockholm Sweden

Re: CanoScan 9000F support added in SANE: need test voluntee

Postby dpic » 2010-12-29 07:08

Great to see work being done on this! What's the progress so far? Is there a bug report i can subscribe to? Someone files this on launchpad:
https://bugs.launchpad.net/ubuntu/+sour ... bug/601652
dpic
 
Posts: 1
Joined: 2010-12-29 07:07

Re: CanoScan 9000F support in SANE

Postby shugyo » 2010-12-30 16:12

Hello dpic,
If you want the latest patch, contact me by PM. I am happy to announce that after the last 3 days of testing, one of the wonderful test gentlemen, Eddy De Greef, sent a corrected code patch for the 9600dpi mode (TPU-only, flatbed does not have 9600dpi mode) and the scanner now works for all modes.

There is a problem with the maximum buffer size that the driver can handle, so large color scans at 4800 or 9600 dpi may only result in a portion of the image being delivered. We are working on isolating this problem.

The issue of getting the code to support this scanner into SANE is one we need to tackle after this, as there are quite a few big changes that need to be vetted, and perhaps alternatives to the current implementations written and tested if they do not meet the requirements of the SANE development team. That is why in the meantime I am happy to send the patched code (which also contains many other patches not yet in SANE, such as the 4800dpi mode for the MP960, etc.)

Best regards,
Gernot Hassenpflug
Last edited by shugyo on 2011-02-01 02:46, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2010-12-31 11:11

Dear all,

I am delighted to notify the readers of this thread that the 9600dpi mode for the CS9000F works perfectly now, as do other modes.

Also, the problem with limited image size (2^32 byte limit) has been solved. The changes should go into SANE CVS in the next few months, but as there are many many changes, users wishing to make use of the CS9000F, MP960, MP810 and others with 4800 or 9600dpi resolution modes, please contact me directly for patched code files.

Best regards,
Gernot Hassenpflug
Last edited by shugyo on 2011-02-01 02:46, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2011-01-12 08:52

This is a short update on development, basically sorting out minor problems that get reported.

1) latest code (not yet sent out) is independent of whether 32-bit or 64-bit architecture is used.
2) cleaned up and added many comments (thanks to all the gentlemen who added these, and developed the code).
3) one minor issue on TPU area y-offset is being sorted out.

There are now a total of 20 other persons who have received the code, and many of them have either sent in code changes, bug reports, or tested functionality in depth. I am deeply indebted to them all, as I myself do not have the scanner and would have been unable to develop so quickly as has transpired. The progress in the past 2 weeks has been phenomenal.

I have already begun the process of applying for the code to be included in SANE CVS, beginning with the infrastructure changes in the pixma backend generally, before moving on to the diff of the sub-driver (which includes also MP960 and MP810 support).

Best regards,
Gernot Hassenpflug
Last edited by shugyo on 2011-02-01 02:46, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2011-01-15 17:02

Hi all,
Short update: all minor bugs seem to be sorted out in the code for the CS9000F (and MP810, and MP960).

I am distributing this code myself for now, so please PM me if you want it.

I also started the process of submitting diffs to the maintainer for inclusion of the code into CVS. After massaging the code to not clash with the CVS code too much, the diff is 740 lines long.

Hopefully the next 1-2 weeks will see it reviewed & included in CVS.
Last edited by shugyo on 2011-02-01 02:46, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2011-01-18 07:29

Hi all,
An update on the SANE CVS inclusion.
I will create a sub-driver which will include the following devices:
MP810
MP960
Canoscan 8800F
Canoscan 9000F
and any others that I find in the intervening period requiring similar programming (I have an MP610 to test right now).
When the sub-driver is completed I will submit the files to the maintainer for review. I expect to complete this by 21 January.

In the meanwhile, I will continue to distribute the combined driver that I currently have.

Best regards,
Gernot Hassenpflug
Last edited by shugyo on 2011-02-01 02:47, edited 1 time in total.
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2011-02-01 02:40

Dear all,
I have some more news, some good, some not so good.

First, the bad news: the Canoscan 9000F will NOT be in the next SANE minor release 1.0.22, for which the freeze deadline has already passed. This means that the code for supporting this scanner will be distributed by myself until such time as it is in CVS (see below), after which it will be available in the SANE CVS version.

The simple reason for non-inclusion is that the existing sub-driver code is too complex, and a new sub-driver should be written (extracted from the current sub-driver in which the code is now located) which can be maintained independently from all the other scanners in the existing sub-driver. For those who are unfamiliar with the pixma backend, there are several sub-drivers, and the pixma_mp150.c one to which we added the CS9000F support also needs to support about two dozen other scanners from at least 4 different generations of Canon's pixma protocol.

And the reason I could not yet write a sub-driver is a combination of time constraints, and the recent discovery of still one remaining issue in TPU mode, regarding the preview scan.

Second, the good news. the above problem in TPU mode was fixed today, and after some tests this week I can get down to writing a proper sub-driver for the CS9000F, which will also support the CS8800F, the MP810, and the MP960. These devices will then be removed from the existing sub-driver. 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).

If you are interested in the code, or want to help with testing & development in any way, please contact me. Also, if you have any scanners with TPU mode (that is, CCD scanners that can handle negative and positive film scanning) please feel free to contact me, as I am keen to find out whether there are other devices with TPU capability that need the code written to support the CS8800F, CS9000F, MP810 and MP960.

Best regards,
Gernot Hassenpflug

Edit: cleaned up thread to reflect current status
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby shugyo » 2011-02-14 06:24

Short update:

A bug with TPU preview mode offset fixed over the weekend. Also, SANE 1.0.22 is ready to be released, so the git repository for 1.0.23 should soon be ready. Then we can start the process of sending diffs for the new sub-driver incorporating the support for the 9000F, 8800F, MP960 and MP810.

Best regards,
Gernot Hassenpflug
shugyo
 
Posts: 92
Joined: 2009-08-24 08:56

Re: CanoScan 9000F support in SANE

Postby ziemlich » 2011-03-04 12:37

I just found this thread about the great effort has been expended to make the 9000F in SANE usable. It makes me happy, because I've been hunting the 8800F since a month because of its Complete support, but it's no more available in Europe. So, I'm about to buy the 9000F. I would ask about the driver, does it support all features which are available in W7? For example I want to scan my long-ago made negative films. Does the scanner uses the FARE correction in TPU mode automatically?
ziemlich
 
Posts: 1
Joined: 2011-03-04 10:55

Re: CanoScan 9000F support in SANE

Postby samfreed » 2011-06-09 13:37

Just got one of these scanners, and can't find the stuff in GIT. HELP!
samfreed
 
Posts: 1
Joined: 2011-06-09 12:56

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable