[sane-devel] Canon MF8200C Series
Troels Thomsen
troels.pil.thomsen at gmail.com
Fri Aug 1 15:40:07 UTC 2014
I'm posting this to let you know of my progress with the Canon MF8230
(Mf8200 series):
Scanning from Simple Scan, XSane, Picasa works!
In case of XSane it is especially sweet, since it only scans/enumerates
devices once, (which for some reason takes ~20 sec on my box right now.)
I'm still suffering from the phenomenen, that the scanner hangs in
"Scanning ..." state after scanning has ended.
Has anybody any ideas on why?
I have therefore made two tcpdump's. One from scanning with sane and one
from scanning with windows(in VirtualBox).
My thought is that I eventually can track the differences in the traces,
and find out what command the sane backend must send.
Any pointers on tools or the like is most welcome.
(Right now I have the hex dump from tcpdump)
/Troels
>
> 2014-07-30 0:18 GMT+02:00 Troels Thomsen <troels.pil.thomsen at gmail.com>:
>
>
>> Thx Rolf
>>
>> -patch and scanner really works!
>>
>> I'm pulling code from git, and have followed the install guide, and am
>> observing the following:
>>
>> - Scan --mode=grey/color works
>>
>> - Scan --resolution=600 works (and 75)
>>
>> - Buttons ... could not make it work
>>
>> - "scanimage -x 55 -y 55" works but "scanimage -x auto -y auto" does not
>>
>> - after scanning completes, the scanner is still printing "scanning ..."
>> in the display, and can not print another page until it is forced out of
>> this state (red 'clear' button, - are you sure? - yes)
>>
>> - There is a pause of 10 seconds before everything. It must have
>> something to do with the backend, because it is even there when doing
>> scanimage --help
>> The first page of options is printed immediately, then the 10 sec pause,
>> then the rest is printed, starting with:
>> Options specific to device `pixma:04A92779_2c9efc4f5de2':
>>
>> I'm running linux mint 16. Connection is USB at the moment.
>>
>> All in all ... I'm Scanning !!!!!
>>
>> /Troels
>>
>>
>>
>>
>> 2014-07-29 21:50 GMT+02:00 Rolf Bensch <rolf at bensch-online.de>:
>>
>> Hi Troels,
>>>
>>> I prepared a quick patch for your scanner in
>>> 'backend/pixma_imageclass.c'. The patch is based on recent development
>>> version 1.0.25.
>>>
>>> You also need to copy the attached udev rules file to
>>> '/etc/udev/rules.d'.
>>>
>>> I also added MF8500C Series. Both scanners should work with this patch,
>>> if they are similar to running MF4700 Series.
>>>
>>> Please read README.linux for installing Sane and basic testing.
>>>
>>> If you want to see some debug messages in a terminal or if you want to
>>> use ethernet, please read sane-pixma man page.
>>>
>>> Cheers,
>>> Rolf
>>>
>>>
>>> Am 28.07.2014 um 15:47 schrieb Troels Thomsen:
>>>
>>>
>>> Hi,
>>>
>>> I'm trying to figure out if I can get Canon iSENSYS MF8230c to work
>>> with sane-pixma back-end.
>>> I've been reading a bit and experimenting a bit.
>>>
>>> On the positive side, there is already support for "i-SENSYS MF3010,
>>> MF4320d, MF4330d, MF4550d".
>>> What worries me is that I saw that there was committed new .c files
>>> only 3 days ago, to support a few new canon models, so I suspect I need to
>>> work a bit for it ;-)
>>>
>>> Can I convince the driver to treat my usb vid/pid as eg the iSENSYS
>>> mf4330d, and then see where that leaves me? (ohh ... nasty thought: is
>>> there a vid/pid cheat option in linux usb driver stack, so I could do it
>>> that way around?)
>>> Or do I need to take a copy of the .c file, change the VID/PID, and
>>> then see where that leaves me?
>>>
>>> IN GENERAL, a few pointers to where I should go next would be greatly
>>> appreciated!
>>> /Troels
>>>
>>> misc traces below
>>>
>>> $ sudo lsusb
>>> <cut>
>>> Bus 002 Device 009: ID 04a9:2779 Canon, Inc.
>>> <cut>
>>>
>>> $ sudo scanimage -L
>>> No scanners were identified.
>>>
>>> sudo sane-find-scanner -v -v -v
>>> <cut>
>>> <device descriptor of 0x04a9/0x2779 at 002:009 (Canon,Inc. MF8200C
>>> Series)>
>>> bLength 18
>>> bDescriptorType 1
>>> bcdUSB 2.00
>>> bDeviceClass 0
>>> bDeviceSubClass 0
>>> bDeviceProtocol 0
>>> bMaxPacketSize0 64
>>> idVendor 0x04A9
>>> idProduct 0x2779
>>> bcdDevice 0.00
>>> iManufacturer 1 (Canon,Inc.)
>>> iProduct 2 (MF8200C Series)
>>> iSerialNumber 3 (2c9efc4f5de2)
>>> bNumConfigurations 1
>>> <configuration 0>
>>> bLength 9
>>> bDescriptorType 2
>>> wTotalLength 62
>>> bNumInterfaces 2
>>> bConfigurationValue 1
>>> iConfiguration 0 ()
>>> bmAttributes 192 (Self-powered)
>>> MaxPower 2 mA
>>> <interface 0>
>>> <altsetting 0>
>>> bLength 9
>>> bDescriptorType 4
>>> bInterfaceNumber 0
>>> bAlternateSetting 0
>>> bNumEndpoints 3
>>> bInterfaceClass 255
>>> bInterfaceSubClass 0
>>> bInterfaceProtocol 255
>>> iInterface 0 ()
>>> <endpoint 0>
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x03 (out 0x03)
>>> bmAttributes 2 (bulk)
>>> wMaxPacketSize 512
>>> bInterval 0 ms
>>> bRefresh 0
>>> bSynchAddress 0
>>> <endpoint 1>
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x84 (in 0x04)
>>> bmAttributes 2 (bulk)
>>> wMaxPacketSize 512
>>> bInterval 0 ms
>>> bRefresh 0
>>> bSynchAddress 0
>>> <endpoint 2>
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x85 (in 0x05)
>>> bmAttributes 3 (interrupt)
>>> wMaxPacketSize 64
>>> bInterval 11 ms
>>> bRefresh 0
>>> bSynchAddress 0
>>> <interface 1>
>>> <altsetting 0>
>>> bLength 9
>>> bDescriptorType 4
>>> bInterfaceNumber 1
>>> bAlternateSetting 0
>>> bNumEndpoints 2
>>> bInterfaceClass 7
>>> bInterfaceSubClass 1
>>> bInterfaceProtocol 2
>>> iInterface 0 ()
>>> <endpoint 0>
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x01 (out 0x01)
>>> bmAttributes 2 (bulk)
>>> wMaxPacketSize 512
>>> bInterval 0 ms
>>> bRefresh 0
>>> bSynchAddress 0
>>> <endpoint 1>
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x82 (in 0x02)
>>> bmAttributes 2 (bulk)
>>> wMaxPacketSize 512
>>> bInterval 0 ms
>>> bRefresh 0
>>> bSynchAddress 0
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140801/6fbbdc5d/attachment.html>
More information about the sane-devel
mailing list