[sane-devel] Troubles with PIXMA MX870 and USB

2011-01-31 Thread Nicolas Martin
To scan in Duplex ADF mode, you need to set 2 pages to scan in Xsane. Otherwise, it will stop at the first page. Did you try that ? Nicolas Le lundi 31 janvier 2011 ? 12:08 +0100, Stephan Ritscher a ?crit : > Hi folks, > > I just got a new Canon Pixma MX870, but it doesn't work completely, > ye

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

2011-01-16 Thread Nicolas Martin
I checked that it currently compiles with gcc 4.4.3, but this statement gies a warning message telling %llu is not supported. If this is not advisable to leave PRIu64 here, for compatibility with all systems, then we will need to remove it. Nicolas Le lundi 17 janvier 2011 ? 02:17 +0900, Gerno

[sane-devel] Canon Image Class MF4150 scanner with Automatic Docment Feeder as Source

2011-01-09 Thread Nicolas Martin
Well, for all "ImageClass" MFPs, the maximum width and height scan is currently set to 640 x 877 pixels at 75 dpi, this corresponds to: 640 / 75 * 2.54 cm = 21,67 cm in width 877 / 75 * 2.54 cm = 29,70 cm in height Those values are set in the backend, file pixma_imageclass.c, at the end of the fi

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

2011-01-09 Thread Nicolas Martin
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. Those 2 Pixma models are more than 5 years old, so probably not strategic to have them supported for the next Sane r

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

2011-01-08 Thread Nicolas Martin
Hi, Thanks for this pointer, very interesting and commented So we have to be double careful when using memcpy though, even if it acts faster than its cousin memmove ! Nicolas Le samedi 08 janvier 2011 ? 09:43 +0100, Julien BLACHE a ?crit : > Nicolas Martin wrote: > > Hi, > >

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

2011-01-07 Thread Nicolas Martin
a ?crit : > After pulling commit e72c0f548eebfae0171ab8a2e2a74174c1bd96ae, the pixma > backend works correctly with my MX850; there is no corruption, even on > widths indivisible by 32. > > Thanks! > > - Dustin DeWeese > > On 01/06/2011 04:19 PM, Nicolas Martin wrote

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

2011-01-06 Thread Nicolas Martin
AFAIK, I've currently only heard about this pending issue for the pixma backend, reported by Dustin DeWeese: https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=312874&group_id=30186 Maybe Dustin could give us more info about his current test status, using the latest git ? Nicolas

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

2010-12-31 Thread Nicolas Martin
Le vendredi 31 d?cembre 2010 ? 14:11 +0900, Gernot Hassenpflug a ?crit : > On Fri, Dec 31, 2010 at 8:11 AM, Gernot Hassenpflug > wrote: > > On Fri, Dec 31, 2010 at 8:05 AM, Nicolas Martin > > wrote: > >> Le vendredi 31 d?cembre 2010 ? 02:55 +0900, Gernot Hassenpflug

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

2010-12-31 Thread Nicolas Martin
Le vendredi 31 d?cembre 2010 ? 02:55 +0900, Gernot Hassenpflug a ?crit : > On Fri, Dec 31, 2010 at 2:50 AM, Robert Krawitz wrote: > > On Fri, 31 Dec 2010 02:41:10 +0900, Gernot Hassenpflug wrote: > >> On Fri, Dec 31, 2010 at 2:19 AM, Gerard Klaver >> xs4all.nl> wrote: > >>> On Fri, 2010-12-31 at

[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779

2010-11-30 Thread Nicolas Martin
2010/11/30 Gernot Hassenpflug > On Tue, Nov 30, 2010 at 5:53 AM, Nicolas Martin > wrote: > > Le lundi 29 novembre 2010 ? 19:54 +0100, Tomas Pospisek a ?crit : > >> On Mon, 29 Nov 2010, Tom?? Posp??ek wrote: > >> > >> [...] > >> > >> The

[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779

2010-11-29 Thread Nicolas Martin
Le lundi 29 novembre 2010 ? 22:08 +0100, Tomas Pospisek a ?crit : > I will, however I ask you to please bear with me until in a few days when > I'll be able to test the scanner again. Ok

[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779

2010-11-29 Thread Nicolas Martin
Le lundi 29 novembre 2010 ? 19:54 +0100, Tomas Pospisek a ?crit : > On Mon, 29 Nov 2010, Tom?? Posp??ek wrote: > > [...] > > The same patch seems also to have broken Canon Pixma MP160 [1] and Pixma > MP780 [2]. Could you try first to change, in the current git version of Sane, the following lin

[sane-devel] NO scanner is now recognized. :(

2010-09-27 Thread Nicolas Martin
Could you describe a little bit more what was the issue with grayscale scan on MX310 ? BTW, B&W is currently not supported on this model, some more details about how you were proceeding would be useful to step further. Nicolas Le lundi 27 septembre 2010 ? 14:36 -0400, m. allan noah a ?crit : > I

[sane-devel] question about SANE backend fill_buffer function

2010-09-07 Thread Nicolas Martin
Le mardi 07 septembre 2010 ? 19:47 +0900, Gernot Hassenpflug a ?crit : > Dear all, > > I am working on the pixma backend for Canon devices (variation: > pixma_mp150.c), and have a question about registration of pixels in > the y dimension. > > Each backend I believe has variations on a _fill_buff

[sane-devel] scanner is no longer recognized over network

2010-07-28 Thread Nicolas Martin
[net] sane_open: net_open [net] sane_open: remote open failed scanimage: open of device net:192.168.0.102:pixma:04A91709 failed: Access to resource has been denied [net] sane_exit: exiting What about the xinet (or inet ?) configuration you are using on the server: is the user/group used for saned a

[sane-devel] Canon MF8030c

2010-07-26 Thread Nicolas Martin
I think this one rocks. But it still shows the same new protocol used here ;-( Maybe there's not too much changes to add to the actual ImageClass protocol, but I need first to have a deeper look at the messages, then change the code for it if I can get to understand what the frames mean. So I cann

[sane-devel] Canon MF8030c

2010-07-25 Thread Nicolas Martin
Le samedi 24 juillet 2010 ? 00:00 +0200, Mickael Profeta a ?crit : > Hmm, that's funny indeed. Maybe to clarify, I do not know if it is > related or not. The scanner has two modes, "distant scan" and "connected > to a computer". Not quite sure of the translation. I attach a new log > in "computer"

[sane-devel] Canon MF8030c

2010-07-23 Thread Nicolas Martin
Le vendredi 23 juillet 2010 ? 16:45 +0200, Mickael Profeta a ?crit : > Hi, > > Thanks for these explanations. > > I received thoses log that I compress using gzip. I am surprised it is > binary files, is it ok? > > Tell me if we should do some other tests with different parameters. > > Thanks f

[sane-devel] Canon PIXMA MX870

2010-07-22 Thread Nicolas Martin
Note sure either what it means, but after some googling, it looks linked to some versions of kernel Did you try to modprobe -r the modules usblp and usb_storage ? Nicolas 2010/7/22 Nicolas Martin > Not sure either wha > > 2010/7/22 Matthias Pannek > > On Thu, 22 Jul 2010

[sane-devel] Canon PIXMA MX870

2010-07-22 Thread Nicolas Martin
Not sure either wha 2010/7/22 Matthias Pannek > On Thu, 22 Jul 2010 07:45:52 +0200 > Nicolas Martin wrote: > > > > Yeah, i can try it with via USB. Any special parameter needed for > > > that? > > > > Nothing special, test it the same way as you did wi

[sane-devel] Canon PIXMA MX870

2010-07-22 Thread Nicolas Martin
Le jeudi 22 juillet 2010 ? 00:05 +0200, Matthias Pannek a ?crit : > On Wed, 21 Jul 2010 20:23:16 +0200 > Nicolas Martin wrote: > > > Yes, there was an error in the limiting to 600 dpi formula, hopefully, > > should be fixed in the new file attached. > > Works

[sane-devel] Canon MF8030c

2010-07-21 Thread Nicolas Martin
send it back to me. Nicolas Le mercredi 21 juillet 2010 ? 21:13 +0200, Mickael Profeta a ?crit : > Le Wed, 21 Jul 2010 20:25:39 +0200, > Nicolas Martin a ?crit : > > > Do you have the possibility to get a Windows usb snoop log using > > SnoopyPro.exe, to check if the prot

[sane-devel] Canon MF8030c

2010-07-21 Thread Nicolas Martin
Do you have the possibility to get a Windows usb snoop log using SnoopyPro.exe, to check if the protocol this model uses is a Pixma one ? I can give you instructions on how to do this if needed. Nicolas Le mercredi 21 juillet 2010 ? 14:09 +0200, Mickael Profeta a ?crit : > Le Wed, 21 Jul 2010 1

[sane-devel] Canon PIXMA MX870

2010-07-21 Thread Nicolas Martin
Le mercredi 21 juillet 2010 ? 00:03 +0200, Matthias Pannek a ?crit : > 600 DPI scan works perfectly, but 1200 and 2400 crashes with "Floating > point exception". 601 DPI seems to work too. > > Logs are cash.log and strace.log Yes, there was an error in the limiting to 600 dpi formula, hopefully,

[sane-devel] Canon PIXMA MX870

2010-07-20 Thread Nicolas Martin
Ok, I try to imitate best the net traffic seen in Windows that you sent in the file traffic.txt on 18/7. But I made a mistake with the xml messages, so here is another try. The changes are to see if the scanner recovers from adf empty (again, seen from the Pixma dialog exchanged in the net logs) an

[sane-devel] Canon MP700 support (partially OK)

2010-07-19 Thread Nicolas Martin
Le lundi 19 juillet 2010 ? 23:11 +0900, Gernot Hassenpflug a ?crit : > Dear list, > > I'm currently testing a Canon PIXUS all-in-one MP700 which is similar > in structure to the MP710 I had until recently (power failed, thrown > out). > > I am using CVS, as shown by "scanimage -V": > > scanimage

[sane-devel] Canon PIXMA MX870

2010-07-19 Thread Nicolas Martin
Le dimanche 18 juillet 2010 ? 23:25 +0200, Matthias Pannek a ?crit : > On Sun, 18 Jul 2010 21:34:59 +0200 > Nicolas Martin wrote: > > > Slightly modified again file pixma_mp150.c (new attached) to add: > > > > - maximum 600 dpi for generation 4 scanners in ADF/ADF d

[sane-devel] Canon PIXMA MX870

2010-07-18 Thread Nicolas Martin
Le dimanche 18 juillet 2010 ? 16:30 +0200, Matthias Pannek a ?crit : > On Sun, 18 Jul 2010 15:44:50 +0200 > Nicolas Martin wrote: > > > I've just added some lines to force max scan when using ADF to 600 > > dpi, even if higher resolution is selected in the frontend. &

[sane-devel] Canon PIXMA MX870

2010-07-18 Thread Nicolas Martin
Le dimanche 18 juillet 2010 ? 00:04 +0200, Matthias Pannek a ?crit : > On Sat, 17 Jul 2010 21:17:44 +0200 > Nicolas Martin wrote: > > > Problem is, I don't see yet a solution to exit from this pitfall, need > > to think it over. > > Ok. > > > > >

[sane-devel] Canon PIXMA MX870

2010-07-17 Thread Nicolas Martin
Le samedi 17 juillet 2010 ? 17:36 +0200, Matthias Pannek a ?crit : > On Sat, 17 Jul 2010 14:44:00 +0200 > Nicolas Martin wrote: > > > Matthias, before I commit the changes and update the docs, did you try > > the ADF and ADF duplex features, and do they work fine ? (rememb

[sane-devel] Canon PIXMA MX870

2010-07-17 Thread Nicolas Martin
Sounds good then ;-) Matthias, before I commit the changes and update the docs, did you try the ADF and ADF duplex features, and do they work fine ? (remember to set 2 pages to scan per sheet of paper in ADF when in duplex mode) Louis, nice to read from you, hope you spent good holidays, and cong

[sane-devel] Canon PIXMA MX870

2010-07-17 Thread Nicolas Martin
Le vendredi 16 juillet 2010 ? 23:46 +0200, Matthias Pannek a ?crit : > On Fri, 16 Jul 2010 21:51:08 +0200 > Nicolas Martin wrote: > > > Ok, so ready for a test ? > > Sure :-) > > > Then, replace the file sane-backends/backend/pixma_mp150.c with the > >

[sane-devel] Canon PIXMA MX870

2010-07-16 Thread Nicolas Martin
Ok, so ready for a test ? Let's assume MX870 is a somehow a MX860, and uses the generation 4 Pixma protocol. First, download the latest Sane git version. You should get a sane-backends folder. Then, replace the file sane-backends/backend/pixma_mp150.c with the one I've attached. I've just added

[sane-devel] Testing on Canon MF6580PL

2010-07-15 Thread Nicolas Martin
I took a look at the process list you sent, but difficult for me to tell which one is involved with the usb port used by the Pixma device, as I don't know anything about 50% of them, and the names do not help too much to know what they are used for. Unfortunately, no other idea for the moment, on

[sane-devel] Testing on Canon MF6580PL

2010-07-13 Thread Nicolas Martin
The "process" here under is probably not an application, but runs in background, it may be a printing daemon or service started after boot, which locks access to the usb port. I really know nothing about Mac OS X, to help you find it, maybe stop a printing service would help. Nicolas 2010/7/13

[sane-devel] Testing on Canon MF6580PL

2010-07-12 Thread Nicolas Martin
Well, not exactly something new, the 2 logs are somehow equivalent, but one gives a little bit more details: [pixma] en1 is not a valid IPv4 interface, skipping... [pixma] en1 is IPv4 capable, sending broadcast.. [pixma] scanner discovery finished... [pixma] pixma_open(): Canon imageClass MF6500 [

[sane-devel] Testing on Canon MF6580PL

2010-07-12 Thread Nicolas Martin
> disable when NDEBUG is present. Seems pretty easy that externally > > > included header defines NDEBUG that pixma is including but not > > > sanei_debug.h. > > > > > > A quick test of that theory is to modify the file > > > backends/pixma_common.h

[sane-devel] Canon PIXMA MX350

2010-07-05 Thread Nicolas Martin
Le dimanche 04 juillet 2010 ? 23:14 +0200, Guenther Hutzl a ?crit : > On 07/04/2010 08:32 PM, Nicolas Martin wrote: > > As far as I understand, you are using your scanner with Ethernet or Wifi > > connection. And it tries to communicate with an IP address, but in > > mess

[sane-devel] Canon PIXMA MX350

2010-07-04 Thread Nicolas Martin
As far as I understand, you are using your scanner with Ethernet or Wifi connection. And it tries to communicate with an IP address, but in message, we can read both: Failed to open device 'pixma:MX350_192.167.1.88': Invalid argument. and scanimage: open of device pixma:MX350_192.168.1.88 faile

[sane-devel] Canon PIXMA MX350

2010-07-04 Thread Nicolas Martin
Le dimanche 04 juillet 2010 ? 01:33 +, John a ?crit : > Guenther Hutzl googlemail.com> writes: > > > > > On 07/02/2010 10:19 PM, John wrote: > > > If you haven't got it working yet, you might try the canon drivers for > > > the > MX350 > > > from: > > > http://software.canon-europe.com/pr

[sane-devel] Ubuntu 10.4 32 & 64 bit Platform - Canon MF6550 Scanner - sane via any frontend "Hangs" at 1st data transfer

2010-07-03 Thread Nicolas Martin
Yep, this one is perfect ;-) Thanks Nicolas Le samedi 03 juillet 2010 ? 15:13 -0500, Ron Parker a ?crit : > results after "git pull" and rebuild. Look better! > > Ron > > - Original Message - > From: "Nicolas Martin" > To: "Ron Parker

[sane-devel] Ubuntu 10.4 32 & 64 bit Platform - Canon MF6550 Scanner - sane via any frontend "Hangs" at 1st data transfer

2010-07-03 Thread Nicolas Martin
you update your git files, give another try exactly as you did this one, and catch another scanimage.log, this one should not contain this warning message anymore. Nicolas Le samedi 03 juillet 2010 ? 10:40 -0500, Ron Parker a ?crit : > scanimage.log > > - Original Message - > F

[sane-devel] Canon PIXMA MX350

2010-07-03 Thread Nicolas Martin
Could you try to recompile Sane with the attached file. Place it in sane-backends/backend to replace current git one, and recompile/reinstall Sane. Nicolas Le samedi 03 juillet 2010 ? 15:33 +0200, Guenther Hutzl a ?crit : > > If you can provide the USB pid for this model, we could try a quick >

[sane-devel] Canon PIXMA MX350

2010-07-03 Thread Nicolas Martin
Le samedi 03 juillet 2010 ? 09:05 +0200, Guenther Hutzl a ?crit : > On 07/02/2010 10:19 PM, John wrote: > > > > If you haven't got it working yet, you might try the canon drivers for the > > MX350 > > from: > > > > http://software.canon-europe.com/products/0010836.asp > > > > Using the rpms from

[sane-devel] Ubuntu 10.4 32 & 64 bit Platform - Canon MF6550 Scanner - sane via any frontend "Hangs" at 1st data transfer

2010-07-02 Thread Nicolas Martin
Goods news then, thanks Ron for your report ;-) Looks like your attachment (I suppose the scan log) has been suppressed from this email (maybe size is too big), so could you retry to get a smaller one by running these commands: $ export SANE_DEBUG_PIXMA=11 $ scanimage -x 100 -y 100 1> /dev/null

[sane-devel] Ubuntu 10.4 32 & 64 bit Platform - Canon MF6550 Scanner - sane via any frontend "Hangs" at 1st data transfer

2010-07-01 Thread Nicolas Martin
Sending here, answer posted in bug tracker, with adequate formatting. Message: The Sane lib 1.0.20 released with Ubuntu 10.04 does did have some declarations for the MF65xx series, but was untested, due to lack of testers. Until recently, some guy tried to use its MF6580 under MacOSX, he sent me

[sane-devel] [PATCH] Add support for the Canon Pixma MX340

2010-07-01 Thread Nicolas Martin
THX a lot for your feedback & tests, I'll add your patch to the pixma backend and update docs. Nicolas Le mercredi 30 juin 2010 ? 21:15 -0500, Dan McGee a ?crit : > It behaves just like the MX330, so more or less a duplication of those > references worked for this scanner. This has been tested an

[sane-devel] Testing on Canon MF6580PL

2010-06-28 Thread Nicolas Martin
DEBUG that pixma is including but not > sanei_debug.h. > > A quick test of that theory is to modify the file > backends/pixma_common.h around line 57 and change "#ifdef NDEBUG" to > "#ifdef NDEBUGBL". Also, similar change needed at > backends/pixma.c line 7

[sane-devel] Testing on Canon MF6580PL

2010-06-28 Thread Nicolas Martin
Point is, for whatever reason, Pixma debug logs do not show up even when setting SANE_DEBUG_PIXMA to a correct level, only SANE_DEBUG and SANE_DEBUG_SANEI_USB produce logs, as showed up in the logs twain43 is providing. Just trying to figure out why this happens when compiled in this environment.

[sane-devel] Testing on Canon MF6580PL

2010-06-22 Thread Nicolas Martin
I think you omitted to send the zipped logs with your previous message ? Nicolas Le mardi 22 juin 2010 ? 11:14 +, twain43 at hotmail.com a ?crit : > Took longer than usual, but I did as you recommended. > 1. Built the libusb version linked and installed it; > 2. Exported only PIXMA and scanim

[sane-devel] Canon PIXMA MX350

2010-06-22 Thread Nicolas Martin
PIXMA MX350 is not yet declared in the Sane pixma backend, so it won't be detected. Do you have the possibility to get a USB Snoop trace using Snoopypro.exe on windows (I can give you the procedure if you want, this is simple, or you can look at some other messages in the Sane-devel mailing list w

[sane-devel] Testing on Canon MF6580PL

2010-06-17 Thread Nicolas Martin
Running a bit out of ideas why it behaves like this and why logs do not come out from the backend. Probably something runs differently on MacOS, but I cannot figure out what exactly. Nicolas Le jeudi 17 juin 2010 ? 16:47 +, twain43 at hotmail.com a ?crit : > Already tried. > 100% same log (s

[sane-devel] Testing on Canon MF6580PL

2010-06-17 Thread Nicolas Martin
So complete different behaviour here than on Linux. And does the scanimage > foo.pnm with the same export statement give more information ? 2010/6/17 > Here's the pixma trace logbut I'm afraid it reports nothing more than > it did last time > > Twain28 > > --

[sane-devel] Testing on Canon MF6580PL

2010-06-17 Thread Nicolas Martin
So now, are you able to get a log trace with [pixma] statements, using only the export SANE_DEBUG_PIXMA=11 statement, and a scanimage -T or a scanimage > foo.pnm ? The purpose is to get a trace to know where an error is encountered. Without it, I'm afraid we will not be able to investigate too far

[sane-devel] Testing on Canon MF6580PL

2010-06-17 Thread Nicolas Martin
There's been no change to the git rep on 14th or 15th concerning the pixma backend, changes affect only other backends. Latest changes to pixma backend was on June 8 But to be sure, you could try to download the 14 June git image and test with it. Just go to the Web page: http://git.debian.org/?p=

[sane-devel] Testing on Canon MF6580PL

2010-06-16 Thread Nicolas Martin
Meaning, you cannot get again the log you sent on 14 June, here attached ? 2010/6/16 > SorryI had misunderstood your question: > scanimage -T > simply reports > "scanimage: open of device pixma:04A92686_1569EE8o0016 failed: Invalid > argument" > > > Twain28 > > --

[sane-devel] Testing on Canon MF6580PL

2010-06-16 Thread Nicolas Martin
010/6/16 Nicolas Martin > Failing at the very beginning of the scan here. > > At this point, do you have the > > scanimage -T > > command running correctly ? i.e., with the PASS statements ? > > -- next part -- An HTML attach

[sane-devel] Testing on Canon MF6580PL

2010-06-16 Thread Nicolas Martin
Failing at the very beginning of the scan here. At this point, do you have the scanimage -T command running correctly ? i.e., with the PASS statements ? 2010/6/16 > Done so. > Here's the log. No cuts here, I just quit terminal after a few minutes of > wait. No wheezing sounds from the scanne

[sane-devel] Testing on Canon MF6580PL

2010-06-16 Thread Nicolas Martin
So now, could you install the git version, and the patched file I sent you, and give another try ? BTW, you cut too much of the previous log trace, it shows only the very beginning of the scanning dialog Nicolas 2010/6/16 > Done. > 1: make uninstalled sane development version; > 2: reinstalled

[sane-devel] Testing on Canon MF6580PL

2010-06-16 Thread Nicolas Martin
You mean you cannot get anymore the same log that you produced and sent us 12 days ago, on June 4 ? Nicolas 2010/6/16 > Today's log. > I manually deleted the printer from both System Preferences and > /Library/Printers, then tried again. No actual change. > Is there something else I could try?

[sane-devel] Testing on Canon MF6580PL

2010-06-15 Thread Nicolas Martin
Not sure. Canon printer SW may have locked the USB port. Could you ty to disable printing at least for a test ? 2010/6/15 > Rebooted, run as root. Log reads indentical. > > regarding allan's question: do canon's printer drivers count as "software"? > If so, yesbut I really see no means of u

[sane-devel] Testing on Canon MF6580PL

2010-06-15 Thread Nicolas Martin
Sounds like you cannot get to same state as you were on June 4. Did you try to reboot the Hackintosh ? Did you try to run these commands as root ? 2010/6/15 > New log. Same result. Tried plugging/unplugging before: nothing changed. > > Twain28 > > > -- next part -- An HTM

[sane-devel] Testing on Canon MF6580PL

2010-06-15 Thread Nicolas Martin
Looks this time, your scanner is locked by some other application. Maybe you should try to unplug/replug it ? [pixma] scanner discovery finished... [pixma] pixma_open(): Canon imageClass MF6500 [sanei_usb] sanei_usb_open: trying to open device `libusb:005:002-04a9-2686-00-00' usb_os_open: 04a9:

[sane-devel] Testing on Canon MF6580PL

2010-06-15 Thread Nicolas Martin
But there's nothing in this log ! Something looks wrong with your installation, so could you try to get a scanimage log as you did formerly, like the one sent on 4 June ? Nicolas 2010/6/15 > Here's the log. I attached the pnm file too, just in case > This time, pixma statements got through

[sane-devel] Testing on Canon MF6580PL

2010-06-14 Thread Nicolas Martin
Yes ... the interesting log with [pixma] statements was send to your console ! This little image filled up with 0s is strange, to understand what's going on, could you try to get another log with the following commands: export SANE_DEBUG_PIXMA=11 scanimage 2> scanimage.log 1> foo.pnm You shou

[sane-devel] Testing on Canon MF6580PL

2010-06-11 Thread Nicolas Martin
This log looks good indeed ;-) A suggestion: did you try scanimage > foo.pnm and look what you get in foo.pnm ? PS: the previous log did not contain the [pixma] statements, meaning you may have omitted one of the 3 export commands to enter before running the scanimage -T . Could you try again,

[sane-devel] Testing on Canon MF6580PL

2010-06-10 Thread Nicolas Martin
I don't know the current status of Darwin libusb against usb interrupts, but it used to not support timeouts in older versions, which makes pixma backend unusable for some PIXMA models. Looking at the Darwin libusb 1.13 source files, comments show this may be working now, but not sure (source cod

[sane-devel] Testing on Canon MF6580PL

2010-06-09 Thread Nicolas Martin
Just looked at the logs (only the beginning is interesting for me), but it fails at the same point even after having fixed the checksums (although the scanner did not seem to care they were misplaced) But one thing surprises me: in the usb dialogs, I don't see any USB Interrupt messages like in th

[sane-devel] Testing on Canon MF6580PL

2010-06-08 Thread Nicolas Martin
Just Committed a few bunch of modifications to latest git. Could you give a try with it, and get another scanimage -T logfile as you did previously: export SANE_DEBUG_PIXMA=11 scanimage -T 2> scanimage.log We will see how it behaves from there Nicolas Le lundi 07 juin 2010 ? 09:20 +, tw

[sane-devel] [PATCH] po/fr: updates

2010-06-06 Thread Nicolas Martin
Just browsed quickly through the French sentences, and saw a small typo: courier correct writing is with 2 r courrier Le dimanche 06 juin 2010 ? 00:55 +0200, Yann E. MORIN a ?crit : > > #: ../include/sane/saneopts.h:445 > -#, fuzzy, no-c-format > +#, no-c-format > msgid "Email button"

[sane-devel] Testing on Canon MF6580PL

2010-06-05 Thread Nicolas Martin
You can use Snoopypro.exe to get a usb snoop on Windows, this is a very old program, but hopefully, still working on Vista. Download from Snoopypro from sourceforge.net here: http://sourceforge.net/projects/usbsnoop/ Read and follow exactly the instructions in SnoopyPro.exe, then try to record a

[sane-devel] Testing on Canon MF6580PL

2010-06-04 Thread Nicolas Martin
Thanks for the log. I'm wondering whether this model acts like the MF4600 series, giving the point where the scan sequence fails. Do you have the possibility to run a Windows PC with this scanner, to get a usb snoop (I can explain you how this is pretty easy) ? Nicolas Le vendredi 04 juin 2010 ?

[sane-devel] Testing on Canon MF6580PL

2010-06-03 Thread Nicolas Martin
Looks this will require some logs to be taken first. Turn debugging on this way in order to grab some additional data. Run scanimage after some export commands: export SANE_DEBUG_PIXMA=11 scanimage -T 2> scanimage.log Send back the scanimage.log file you'll get. Nicolas Le jeudi 03 juin 201

[sane-devel] Canon MF3110 Problem

2010-03-25 Thread Nicolas Martin
forum at coolpixx.de > wrote > > Ok now I hope it's right > > Perfect! I hope Nicolas Martin will give his opinion also, since he is > working on the pixma backend and I do not have experience with the > ImageCLASS devices but will take a look. > > Regards, > Ger

[sane-devel] MP210 or PIXMA MP210 under Slackware13.0 not working...

2010-03-07 Thread Nicolas Martin
Le samedi 06 mars 2010 ? 18:04 -0800, Bradley D. Thornton a ?crit : > Hi Nicolas :) > > Nicolas Martin wrote: > > AFAIK, the Pixma protocol, which MP210 uses, is different from the one > > implemented in canon630u, and I guess MP210 won't be able to work with > >

[sane-devel] MP210 or PIXMA MP210 under Slackware13.0 not working...

2010-03-06 Thread Nicolas Martin
oing to set up an old dummy box to check and see exactly where the > device will start working, by beginning immediately with the upgrade of > the backend and libs, and then take it from there so I can do a write up > for the next poor soul who finds himself in the same pickle as I was

[sane-devel] MP210 or PIXMA MP210 under Slackware13.0 not working...

2010-03-06 Thread Nicolas Martin
MP210 is well supported by Sane (should be OK with 1.0.20, but better install Sane git and recompile now that you're here), I don't know which version of Sane ships with Slackware 13.0, but the MP210 is a Pixma model, and uses the Sane pixma backend to operate. NOT canon630u. After browsing quickl

[sane-devel] Canon ImageCLASS MF4350d, Ubuntu 8.04, scanner not found

2010-02-01 Thread Nicolas Martin
Le lundi 01 f?vrier 2010 ? 00:24 -0500, Michael DeBusk a ?crit : > On 01/30/2010 05:36 AM, Nicolas Martin wrote: > The black and the white were fine. I had trouble with the gray on the > color scan because gray on an inkjet isn't really gray. I had better > luck with a DVD c

[sane-devel] Canon ImageCLASS MF4350d, Ubuntu 8.04, scanner not found

2010-01-30 Thread Nicolas Martin
Le samedi 30 janvier 2010 ? 05:22 -0500, Michael DeBusk a ?crit : > I take it that that counts as "working" now. Is there anything I can do > to add additional useful information to this thread? > Try to scan an image with Xsane. Adjust the colors using the 3 pipettes tool (white/black/gray) in t

[sane-devel] Canon ImageCLASS MF4350d, Ubuntu 8.04, scanner not found

2010-01-30 Thread Nicolas Martin
MF43x0d models, have started to be supported in the git development version of Sane a few months ago. That's why they are not supported by Sane 1.0.19 nor 1.0.20, they're only supported by Sane git for now. First, install the git Sane version, you can get help for that in the blog post below: htt

[sane-devel] cropping added to pixma_mp150 backend

2010-01-10 Thread Nicolas Martin
I've just tried the files you sent with an MP610 and Xsane, but at the moment, I could not scan completely, scanning hangs during data transfer. Don't know yet why this happens, I noticed you used some older pixma backend files, so would it be possible that you add these changes to the current git

[sane-devel] Scan from command-line

2010-01-10 Thread Nicolas Martin
man convert man ImageMagick http://www.google.com/search?q=linux+convert+image+format man mail echo . | mail -s "Document1" -a With this little stuff, you should be able to build your own script. Nicolas Le dimanche 10 janvier 2010 ? 12:07 +0100, Josu Lazkano a ?crit : > Hello, I solve it.

[sane-devel] Problem with Canon MP270

2010-01-09 Thread Nicolas Martin
Could you try first the same commands under root, so that we can check whether this is a perms issue or not: $ sudo -i # scanimage -T Nicolas Le samedi 09 janvier 2010 ? 11:08 +0100, Christian Kolhaupt a ?crit : > Hello, > > im trying to get the canon mp270 running. Printing works without > pro

[sane-devel] Canon PIXMA MX330 working, with -x auto and -y auto bug; data here

2009-12-10 Thread Nicolas Martin
Le mercredi 09 d?cembre 2009 ? 16:05 -0800, qm at sonic.net a ?crit : > > So let me know if I understand clearly: > > > > - MX330 works with the pixma backend. It was not yet declared in Sane > > 1.0.20, but is declared in Sane git for a while now, with the proper usb > > pid. If you install Sane g

[sane-devel] Canon PIXMA MX330 working, with -x auto and -y auto bug; data here

2009-12-08 Thread Nicolas Martin
L) or > > millimeters (SANE_UNIT_MM) to these options. The unit of all four > > options must be identical. > > > > I dont think 'auto' qualifies as either of those units. Try stating > > that 0 or -1 is auto. > > > > allan > > > > On Sun

[sane-devel] Canon PIXMA MX330 working, with -x auto and -y auto bug; data here

2009-12-06 Thread Nicolas Martin
Le dimanche 06 d?cembre 2009 ? 10:50 +0100, Nicolas Martin a ?crit : > - There's an error with scanimage/pixma backend when setting explicitly > -x or -y options to "auto". This is the same for all pixma devices, so > probably something the pixma backend rejects for now

[sane-devel] Canon PIXMA MX330 working, with -x auto and -y auto bug; data here

2009-12-06 Thread Nicolas Martin
So let me know if I understand clearly: - MX330 works with the pixma backend. It was not yet declared in Sane 1.0.20, but is declared in Sane git for a while now, with the proper usb pid. If you install Sane git, MX330 should work out of the box. No issue for MX330 on that side, I'll update the do

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-05 Thread Nicolas Martin
Le samedi 05 d?cembre 2009 ? 00:41 +0100, Rogier Eggers a ?crit : > Nicolas, indeed you fixed one bug earlier. And now it seems you fixed > the other one as well. Multi-page scans go smooth (see log). Great > work and thanks! Thanks Rogier, everything looks okay now in the log ;-) Nicolas

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-05 Thread Nicolas Martin
Le jeudi 03 d?cembre 2009 ? 17:02 -0600, Chris Bagwell a ?crit : > > So your saying that, for you, running "make distclean; ./configure > --enable-pthread; make" doesn't correctly have USE_PTHREAD defined? Sorry for the confusion, using --enable-pthread makes indeed compilation to have USE_PTHRE

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-04 Thread Nicolas Martin
Le vendredi 04 d?cembre 2009 ? 22:20 +0100, Nicolas Martin a ?crit : > The end sequence is now correct, but there's still something to fix in > the backend (state flag not reset to idle) > and I need to look now what's going on here. > > Will keep you posted Rogier, c

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-04 Thread Nicolas Martin
Le jeudi 03 d?cembre 2009 ? 23:39 +0100, Rogier Eggers a ?crit : > Gentlemen, > > With the help of Wade and Chris, I could successfully compile sane > with pthread. However, the behaviour is unfortunately still the same > as with the ubuntu binary (see log). Actually, not exactly. We are on the

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-04 Thread Nicolas Martin
Le jeudi 03 d?cembre 2009 ? 17:02 -0600, Chris Bagwell a ?crit : > So your saying that, for you, running "make distclean; ./configure > --enable-pthread; make" doesn't correctly have USE_PTHREAD defined? > Yes, indeed. > If so, do you mind emailing me your config.log and > include/src/config.h

[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-12-03 Thread Nicolas Martin
> > On Wed, Dec 2, 2009 at 5:37 PM, Rogier Eggers > wrote: > Hi Nicolas, > > Ok, so indeed, the git version without pthtread works > flawlessy (see attached log). However, I so far didn't manage > to build sane-backends with pthread. After exactly followi

[sane-devel] Canon PIXMA 990 sane support

2009-12-03 Thread Nicolas Martin
Le jeudi 03 d?cembre 2009 ? 13:33 +0100, Jean-Michel Pour? a ?crit : > On Sat, 2009-11-28 at 16:39 +0100, Jean-Michel Pour? wrote: > > Please leave me some time before I can turn back to you to > > garantee it works. > > I am getting back with more information. > The Canon PIXMA 990 is almost wor

[sane-devel] "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-11-28 Thread Nicolas Martin
r the beginning: [pixma] Reader task id=-xx (threaded) In both cases, hopefully, the multi-page ADF scan should work correctly now ;-) Let us know. Nicolas Le mercredi 25 novembre 2009 ? 21:44 +0100, Nicolas Martin a ?crit : > I'll take a look to the log trace and compare it to som

[sane-devel] Canon PIXMA 990 sane support

2009-11-28 Thread Nicolas Martin
ur? a ?crit : > Le samedi 28 novembre 2009 ? 08:58 +0100, Jean-Michel Pour? a ?crit : > > Le vendredi 27 novembre 2009 ? 21:26 +0100, Nicolas Martin a ?crit : > > > Hey ! you don't have Sane git installed ! > > Dear friends, > > Sane GIT works like a charms t

[sane-devel] Canon PIXMA 990 sane support

2009-11-27 Thread Nicolas Martin
... [sanei_debug] Setting debug level of pixma to 11. [pixma] pixma version 0.15.0 [sanei_debug] Setting debug level of sanei_usb to 255. [sanei_usb] sanei_usb_init: marking existing devices ... Hey ! you don't have Sane git installed ! This version of the pixma backend will not handle MP990, it

[sane-devel] Canon PIXMA 990 sane support

2009-11-26 Thread Nicolas Martin
Ok, so first turn debugging on, in order to grab some additional data. Run scanimage after some export commands: export SANE_DEBUG_SANEI_USB=255 export SANE_DEBUG=255 export SANE_DEBUG_PIXMA=11 scanimage -L 2> scanimage.log and send back the scanimage.log file you'll get. Nicolas Le jeudi 26

[sane-devel] "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-11-25 Thread Nicolas Martin
009 ? 23:55 +0100, Rogier Eggers a ?crit : > Hi Nicolas, > > Thanks for replying. Your debug instructions produced the attached log > file. I hope you can make something of it. > > Regards, > > Rogier Eggers > > > On Tue, 2009-11-24 at 08:15 +0100, Nicolas Ma

[sane-devel] "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

2009-11-24 Thread Nicolas Martin
Hi Rogier, We would need first a log trace to see what's going on here, don't know what could have changed with Karmic. Could you run the scanimage batch command like this: $ export SANE_DEBUG_PIXMA=11 $ scanimage --batch --source="Automatic Document Feeder" -v -d "pixma:04A91728_1163AA" -v 1> te

  1   2   3   >