[sane-devel] Canon DR-C125 option duplex-offset ist not recognized

Christof Spitz cs at lotsawa.de
Tue Aug 25 09:02:57 UTC 2015


Hi Allan,

that seems to work fine! I installed the update 1.0.25-20150825, set 
"option duplex-offset 400" in canon_dr.conf and now the backpage of the 
duplex scan is rendered as it should.

Thanks very much. I often thought to trade the Dr-C125 for some sane 
compatible scanner; even had an old windows notebook running just for 
the scanning. So this really helps a lot!

cheers
Christof


Am 25.08.2015 um 02:20 schrieb m. allan noah:
> I committed an updated version of the canon_dr backend to our git repo
> yesterday. It should be in either a current snapshot, or a git pull.
>
> allan
>
> On Sun, Aug 23, 2015 at 3:00 PM, Christof Spitz <cs at lotsawa.de> wrote:
>> Hi Allan,
>>
>> sorry, my last response was not really exact. I scanned again with
>>
>> scanimage --batch --source "ADF Duplex" --page-width 210 --page-height=297
>> -l 0 -t 0 -x 210 -y 297
>>
>> both 1) without the option duplex-offset and 2) with duplex-offset 400.
>>
>> You can see the effect on the *first* (=front) page of the duplex scan, but
>> no effect on the second/backpage (that's why I sent just one scan of the
>> backpage, it looks exactly the same with and w/o the option).
>>
>> Ok, one idea, let me try a negative offset ...
>> option duplex-offset -400
>>
>> result: no effect ... first page looks like w/o offset, second the same as
>> always.
>>
>> cheers,
>> Christof
>>
>>
>>
>> Am 21.08.2015 um 15:05 schrieb m. allan noah:
>>>
>>> Well, since you are using Rolf's ppa, I will just commit the change to
>>> the repo, and you can update from his PPA in a few days. If it does
>>> not work, we will try again.
>>>
>>> allan
>>>
>>> On Fri, Aug 21, 2015 at 8:27 AM, Christof Spitz <cs at lotsawa.de> wrote:
>>>>
>>>> If you tell me what to do I would very much like to help.
>>>> Christof
>>>>
>>>>
>>>> Am 21.08.2015 um 14:04 schrieb m. allan noah:
>>>>>
>>>>>
>>>>> we are preparing for a sane release next month. it would be good to
>>>>> verify the fix before then, which I cannot do, since I don't own the
>>>>> scanner.
>>>>>
>>>>> allan
>>>>>
>>>>> On Fri, Aug 21, 2015 at 6:09 AM, Christof Spitz <cs at lotsawa.de> wrote:
>>>>>>
>>>>>>
>>>>>> Dear Allan, that would be great! Unfortunately I am to ignorant to do
>>>>>> that
>>>>>> myself... Is there a possibility that it makes its way into the
>>>>>> package?
>>>>>>
>>>>>> Thanks, Christof
>>>>>>
>>>>>>
>>>>>> Am 20.08.2015 um 02:19 schrieb m. allan noah:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hmm, looks like we might need to rebuild from source with a small
>>>>>>> patch which sets s->duplex_offset_side = SIDE_BACK
>>>>>>>
>>>>>>> allan
>>>>>>>
>>>>>>> On Wed, Aug 19, 2015 at 8:06 PM, Christof Spitz <cs at lotsawa.de> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi Allan,
>>>>>>>>
>>>>>>>> thank you.
>>>>>>>>
>>>>>>>> Am 20.08.2015 um 01:37 schrieb m. allan noah:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> SANE_DEBUG_CANON_DR=15 scanimage -L 2>drc125.log
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------
>>>>>>>>
>>>>>>>> [sanei_debug] Setting debug level of canon_dr to 15.
>>>>>>>>
>>>>>>>> [canon_dr] sane_init: start
>>>>>>>>
>>>>>>>> [canon_dr] sane_init: canon_dr backend 1.0.49, from sane-backends
>>>>>>>> 1.0.25git
>>>>>>>> [canon_dr] sane_init: finish
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: start
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: reading config file canon_dr.conf
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: looking for 'scsi CANON CR'
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: looking for 'scsi CANON DR'
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1601'
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: setting "duplex-offset" to 400
>>>>>>>>
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1640'
>>>>>>>>
>>>>>>>> [canon_dr] attach_one: start
>>>>>>>>
>>>>>>>> [canon_dr] attach_one: looking for 'libusb:002:004'
>>>>>>>> [canon_dr] connect_fd: start
>>>>>>>> [canon_dr] connect_fd: opening USB device (libusb:002:004)
>>>>>>>> [canon_dr] wait_scanner: start
>>>>>>>> [canon_dr] do_usb_cmd: start 1440028701 735780
>>>>>>>> [canon_dr] do_usb_cmd: finish 1440028701 736836
>>>>>>>> [canon_dr] wait_scanner: finish
>>>>>>>> [canon_dr] connect_fd: finish
>>>>>>>> [canon_dr] init_inquire: start
>>>>>>>> [canon_dr] do_usb_cmd: start 1440028701 736938
>>>>>>>> [canon_dr] do_usb_cmd: finish 1440028701 738744
>>>>>>>> [canon_dr] init_inquire: Found CANON scanner DR-C125 version 1.08 at
>>>>>>>> libusb:002:004
>>>>>>>> [canon_dr] init_inquire: finish
>>>>>>>> [canon_dr] init_vpd: start
>>>>>>>> [canon_dr] do_usb_cmd: start 1440028701 738847
>>>>>>>> [canon_dr] do_usb_cmd: finish 1440028701 740584
>>>>>>>> [canon_dr] init_vpd: length=2b
>>>>>>>> [canon_dr] standard options
>>>>>>>> [canon_dr]   basic x res: 600 dpi
>>>>>>>> [canon_dr]   basic y res: 600 dpi
>>>>>>>> [canon_dr]   step x res: 0 dpi
>>>>>>>> [canon_dr]   step y res: 0 dpi
>>>>>>>> [canon_dr]   max x res: 600 dpi
>>>>>>>> [canon_dr]   max y res: 600 dpi
>>>>>>>> [canon_dr]   min x res: 100 dpi
>>>>>>>> [canon_dr]   min y res: 100 dpi
>>>>>>>> [canon_dr]   60 dpi: 0
>>>>>>>> [canon_dr]   75 dpi: 0
>>>>>>>> [canon_dr]   100 dpi: 1
>>>>>>>> [canon_dr]   120 dpi: 0
>>>>>>>> [canon_dr]   150 dpi: 1
>>>>>>>> [canon_dr]   160 dpi: 0
>>>>>>>> [canon_dr]   180 dpi: 0
>>>>>>>> [canon_dr]   200 dpi: 1
>>>>>>>> [canon_dr]   240 dpi: 1
>>>>>>>> [canon_dr]   300 dpi: 1
>>>>>>>> [canon_dr]   320 dpi: 0
>>>>>>>> [canon_dr]   400 dpi: 1
>>>>>>>> [canon_dr]   480 dpi: 0
>>>>>>>> [canon_dr]   600 dpi: 1
>>>>>>>> [canon_dr]   800 dpi: 0
>>>>>>>> [canon_dr]   1200 dpi: 0
>>>>>>>> [canon_dr]   max width: 11232 (9.36 in)
>>>>>>>> [canon_dr]   max length: 16968 (14.14 in)
>>>>>>>> [canon_dr]   AWD: 0
>>>>>>>> [canon_dr]   CE Emphasis: 0
>>>>>>>> [canon_dr]   C Emphasis: 0
>>>>>>>> [canon_dr]   High quality: 1
>>>>>>>> [canon_dr]   grayscale: 1
>>>>>>>> [canon_dr]   halftone: 0
>>>>>>>> [canon_dr]   monochrome: 0
>>>>>>>> [canon_dr]   overflow: 0
>>>>>>>> [canon_dr] init_vpd: finish
>>>>>>>> [canon_dr] init_model: start
>>>>>>>> [canon_dr] init_model: finish
>>>>>>>> [canon_dr] init_panel: start
>>>>>>>> [canon_dr] read_panel: start 0
>>>>>>>> [canon_dr] read_panel: running
>>>>>>>> [canon_dr] do_usb_cmd: start 1440028701 741324
>>>>>>>> [canon_dr] do_usb_cmd: finish 1440028701 742931
>>>>>>>> [canon_dr] read_panel: finish 0
>>>>>>>> [canon_dr] send_panel: start
>>>>>>>> [canon_dr] do_usb_cmd: start 1440028701 743029
>>>>>>>> [canon_dr] do_usb_cmd: finish 1440028701 744640
>>>>>>>> [canon_dr] send_panel: finish 0
>>>>>>>> [canon_dr] init_panel: finish
>>>>>>>> [canon_dr] init_user: start
>>>>>>>> [canon_dr] init_user: finish
>>>>>>>> [canon_dr] init_options: start
>>>>>>>> [canon_dr] init_options: finish
>>>>>>>> [canon_dr] disconnect_fd: start
>>>>>>>> [canon_dr] disconnecting usb device
>>>>>>>> [canon_dr] disconnect_fd: finish
>>>>>>>> [canon_dr] attach_one: finish
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1602'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1603'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1604'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1606'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1607'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1608'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x1609'
>>>>>>>> [canon_dr] sane_get_devices: setting "vendor-name" to CANON
>>>>>>>> [canon_dr] sane_get_devices: setting "model-name" to DR-2050C
>>>>>>>> [canon_dr] sane_get_devices: setting "version-name" to XXXX
>>>>>>>> [canon_dr] sane_get_devices: setting "padded-read" to 1
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x160a'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x160b'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x160c'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x160f'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x04a9 0x2222'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1614'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1617'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1618'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161a'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161b'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x161d'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1620'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1622'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1623'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1624'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1626'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x162b'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1638'
>>>>>>>> [canon_dr] sane_get_devices: looking for 'usb 0x1083 0x1639'
>>>>>>>> [canon_dr] sane_get_devices: found scanner libusb:002:004
>>>>>>>> [canon_dr] sane_get_devices: found 1 scanner(s)
>>>>>>>> [canon_dr] sane_get_devices: finish
>>>>>>>> [canon_dr] sane_exit: start
>>>>>>>> [canon_dr] disconnect_fd: start
>>>>>>>> [canon_dr] disconnect_fd: finish
>>>>>>>> [canon_dr] sane_exit: finish
>>>>>>>>
>>>>>>>> -------------------------------
>>>>>>>>
>>>>>>>> cheers,
>>>>>>>> Christof
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> then send me that log.
>>>>>>>>>
>>>>>>>>> allan
>>>>>>>>>
>>>>>>>>> On Wed, Aug 19, 2015 at 6:53 PM, Christof Spitz <cs at lotsawa.de>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> No effect, whatever number - either positive, negative, or no
>>>>>>>>>> option.
>>>>>>>>>>
>>>>>>>>>>> "m. allan noah" <kitno455 at gmail.com> hat am 19. August 2015 um
>>>>>>>>>>> 21:31
>>>>>>>>>>> geschrieben:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> hmm- what if you make the number negative?
>>>>>>>>>>>
>>>>>>>>>>> allan
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Aug 19, 2015 at 3:00 PM, Christof Spitz <cs at lotsawa.de>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Hello,
>>>>>>>>>>>>
>>>>>>>>>>>> I installed the latest sane backend from
>>>>>>>>>>>> http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu in Ubuntu
>>>>>>>>>>>> 14.04
>>>>>>>>>>>> LTS
>>>>>>>>>>>>
>>>>>>>>>>>> It made my Canon DR-C125 run finally. Great, I was hoping for it
>>>>>>>>>>>> for
>>>>>>>>>>>> years!
>>>>>>>>>>>> But: Every backpage from a duplex scan is cut at the bottom.
>>>>>>>>>>>>
>>>>>>>>>>>> There is an option in the canon_dr.conf for the DR-C125:
>>>>>>>>>>>>
>>>>>>>>>>>> option duplex-offset 400
>>>>>>>>>>>>
>>>>>>>>>>>> But I don't notice any effect of this option, whatever number I
>>>>>>>>>>>> try.
>>>>>>>>>>>> Every
>>>>>>>>>>>> backpage remains cut.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks for any hints,
>>>>>>>>>>>> Christof
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> "well, I stand up next to a mountain- and I chop it down with the
>>>>>>>>>>> edge
>>>>>>>>>>> of my hand"
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Christof Spitz
>>>>>>>>>> Opitzstr. 6a
>>>>>>>>>> 22301 Hamburg
>>>>>>>>>> phone +49 40 38636135
>>>>>>>>>> mobile +49 172 9008988
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Christof Spitz
>>>>>>>> Opitzstr. 6a
>>>>>>>> 22301 Hamburg
>>>>>>>> phone: +49 40 38636135
>>>>>>>> mobile: +49 172 9008988
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Christof Spitz
>>>>>> Opitzstr. 6a
>>>>>> 22301 Hamburg
>>>>>> phone: +49 40 38636135
>>>>>> mobile: +49 172 9008988
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>> Christof Spitz
>>>> Opitzstr. 6a
>>>> 22301 Hamburg
>>>> phone: +49 40 38636135
>>>> mobile: +49 172 9008988
>>>
>>>
>>>
>>>
>>
>> --
>>
>> Christof Spitz
>> Opitzstr. 6a
>> 22301 Hamburg
>> phone: +49 40 38636135
>> mobile: +49 172 9008988
>
>
>

-- 

Christof Spitz
Opitzstr. 6a
22301 Hamburg
phone: +49 40 38636135
mobile: +49 172 9008988




More information about the sane-devel mailing list