Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
twipley
Well, I guess I could contribute to that. At least, if the person would not mind lending me their scanner for a week or two./../
I will post back in the two following weeks to either output that I cannot do this, or that I can and want the instructions to perform some (much-needed) USB sniffing.
OK, if that will be possible then wonderful. Note that Scangear under Windows has some quirks, you need to go to the advanced settings selection in order to choose resolution settings, and possibly you may even have to enter the number (1200) yourself, if it is not available in the drop-down selection.
For a scan, prepare a small area (top left on a sheet of white paper), perhaps 2cm high and 6cm wide, and write in block leters the letters RGB, each in their respective colors, as neatly as possible (these will be used to collate the colors in the scan data, under 400x or 800x magnification to figure out needed values of de-striping or other kinds of data manipulation).
I will then need color (most important), grayscale and monochrome scans of this, each sniffed with SniffUSB v2.0, the program you can find here:
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).
Please read the above page for clear instructions with screenshots. Below my interpretation for posterity...
The installation is simply to copy the SniffUSB.exe program to the Windows Desktop, and execute it. It puts a library into the system folder, and then displays a list of known USB devices, and under the display screen is a series of control buttons. When you attach a new USB device, and press "refresh", it should appear in the list.
You select the device in the list with the mouse, and press the "install" button (in the Filter Control column on the right).
It is crucial usually to "replug" the scanner from inside the program after attaching it to the program (obviously it has already initialized itself on connection to the OS and therefore sniffusb can see it and select it for sniffing.... so now a "replug" action reinitializes the scanner and the sniffer can record the initialization packets). Feel free to replug as many times as you need (a look at the log file should show that the USB packet count gets reset to 1).
Now, on to the log file (leftmost column of buttons). By default, a log is already in progress. This is usually fine, so go ahead with a scan.
After each scan, stop the recording with "pause log", write remaining buffer information to the logfile with "close log", then copy (not move!) the logfile to the Desktop (rename it to something meaningful like mp280-color-1200dpi.log), and then re-initialize the log file to zero with "delete log", and start logging again with "resume log".
Now, before doing another scan, do a "replug" to initialize the scanner again and reset the USB packet count to 1. Then perform the scan of interest, "pause log", "close log", copy the actual log file to the Desktop and rename it, and then "delete log", "resume log", "replug", and then scan again.... do you follow the sequence?
Hope that helps anyone that wants to do some USB sniffing for the SANE project.
Note: Canon scanners generally start at 150dpi for flatbed, and have physical resolutions in multiples after this: 300, 600, 1200, 2400, 4800, 9600. There is no need to try in-between values (which Windows offers in the selection I believe).
Cheers,
Gernot Hassenpflug
Re: driver for canon pixma mp280 printer
Okay. So I would install the driver, reboot, then follow the instructions you have just posted, scanning using Scangear?
Furthermore, the sheet of white paper does not need to have anything written on it, besides the three letters?
In the same line of thought, do the letters need to be written thick, for example using felt-tip (marker) pens?
Finally, I will need to manually select either 400x or 800x magnification in the Scangear program, right?
twipley
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
twipley
Okay. So I would install the driver, reboot, then follow the instructions you have just posted, scanning using Scangear?
Yes, you use the Canon scan program. I did not check where you will get this from, usually it is sufficient to simply access the nearest Canon website and download the software driver for the device from there. I prefer the USA site as it is easiest to navigate and most sensibly organized for me.
Quote:
Originally Posted by
twipley
Furthermore, the sheet of white paper does not need to have anything written on it, besides the three letters?
In the same line of thought, do the letters need to be written thick, for example using felt-tip (marker) pens?
Thick is good, that is what block leters is suposed to signify. I use colored penciels, but feel free to use whatever you have, as long as the paper does not become soggy :-)
Quote:
Originally Posted by
twipley
Finally, I will need to manually select either 400x or 800x magnification in the Scangear program, right?
No nagnification needed (you can look at your pre-scan at whatever magnification you like of course). That is my job when looking at the re-asembled data under SANE.
Cheers,
Gernot Hassenpflug
Re: driver for canon pixma mp280 printer
Having no marker pens at all around, would not it just be easier for us to create a PDF file with RGB letters on the upper-left corner, that I could then real-size laser-print at school?
I believe their color reproduction might be adequate, and on top the PDF file could be printed back by anyone to help the SANE project USB-sniffing relevant data.
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
twipley
Having no marker pens at all around, would not it just be easier for us to create a PDF file with RGB letters on the upper-left corner, that I could then real-size laser-print at school?
I believe their color reproduction might be adequate, and on top the PDF file could be printed back by anyone to help the SANE project USB-sniffing relevant data.
Yes, you can do tha. As long as the red, green and blue are separated and recognizable shapes you can have anything you want.
1 Attachment(s)
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
aikishugyo
Yes, you can do that. As long as the red, green and blue are separated and recognizable shapes you can have anything you want.
Okay. I will be printing the attached document in the center of the sheet, at a low scaling value, so as not to waste too much ink.
source: http://www.flickr.com/photos/s2art/325135760/
By the way, I will have access to the printer in about a week or two -- I will repost here then.
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
twipley
Okay. I will be printing the attached document in the center of the sheet, at a low scaling value, so as not to waste too much ink.
source:
http://www.flickr.com/photos/s2art/325135760/
By the way, I will have access to the printer in about a week or two -- I will repost here then.
Please keep the colors separate and on one line, not joined in two dimensions like in your example. R G B will be best if it is least confusing to understand.
1 Attachment(s)
Re: driver for canon pixma mp280 printer
What about the below attachment? Should be more viable.
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
twipley
What about the below attachment? Should be more viable.
If you are making blocks, I don't need big blocks, they can be just thin horizontal lines for the same result. Instead, I need shapes like letters so it is possible to see things at different angles.
1 Attachment(s)
Re: driver for canon pixma mp280 printer
Quote:
Originally Posted by
aikishugyo
As long as the red, green and blue are separated and recognizable shapes you can have anything you want.
It is my last try at it. If it is still not correct, then you will have to create a viable file yourself for me to work with.
(Although I believe it should now be okay.)
See you in the near future, level-15 Tokyo man.