[sane-devel] scanbd with a Canon DR-2010C

Wilhelm wilhelm.meier at fh-kl.de
Wed Dec 5 10:21:08 UTC 2012


Am 05.12.2012 11:01, schrieb Rien Broekstra:
> On Wed, 5 Dec 2012 10:20:51 +0100, Wilhelm <wilhelm.meier at fh-kl.de> wrote:
>> Am 05.12.2012 09:37, schrieb Rien Broekstra:
>>> On Wed, 5 Dec 2012 06:31:11 +0100, Wilhelm <wilhelm.meier at fh-kl.de>
>>> wrote:
>>>> Hello,
>>>>
>>>> please test scanimage -L as user:group saned:lp, since you configured
>>>> scanbd to drop privileges to these.
>>>>
>>>
>>> Ah, debian uses scanner group instead of lp. That's all indeed. Thank
>>> you for your fast reply, and sorry for bothering
>>
>> np, you're welcome!
>
> One more thing.
>
> Once the scanner is recognized by scanbd, do I need to do anything else
> to make it at least detect button presses? It recognizes scanner options
> but pressing a button doesnt yield much:

please install an action for a button-option e.g. button-3

>
> -------------------------------8<--------------------------
> ...
> scanbd: Scanning for local-only devices
> scanbd: found device: canon_dr:libusb:001:004 CANON DR-2010C scanner
> scanbd: start_sane_threads
> scanbd: Starting poll thread for canon_dr:libusb:001:004
> scanbd: Thread started for device canon_dr:libusb:001:004
> scanbd: start dbus thread
> scanbd: udev init
> scanbd: get udev monitor
> scanbd: start udev thread
> scanbd: sane_poll
> scanbd: timeout: 500 ms
> scanbd: Iteration on dbus call
> scanbd: udev thread started
> scanbd: found 39 options for device canon_dr:libusb:001:004
> scanbd: sane_find_matching_options
> scanbd: found 5 actions in section (null)
> scanbd: checking action scan with filter: ^scan.*
> scanbd: found active option[2] source (type: 3) for device
> canon_dr:libusb:001:004
> scanbd: found active option[3] mode (type: 3) for device
> canon_dr:libusb:001:004
> scanbd: found active option[4] resolution (type: 1) for device
> canon_dr:libusb:001:004
> scanbd: found active option[6] tl-x (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[7] tl-y (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[8] br-x (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[9] br-y (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[10] page-width (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[11] page-height (type: 2) for device
> canon_dr:libusb:001:004
> scanbd: found active option[13] brightness (type: 1) for device
> canon_dr:libusb:001:004
> scanbd: found active option[14] contrast (type: 1) for device
> canon_dr:libusb:001:004
> scanbd: found active option[20] df-thickness (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[21] df-length (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[22] rollerdeskew (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[23] swdeskew (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[24] swdespeck (type: 1) for device
> canon_dr:libusb:001:004
> scanbd: found active option[25] swcrop (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[26] stapledetect (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[27] dropout-front (type: 3) for device
> canon_dr:libusb:001:004
> scanbd: found active option[28] dropout-back (type: 3) for device
> canon_dr:libusb:001:004
> scanbd: found active option[29] buffermode (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[30] side (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[32] start (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[33] stop (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[34] button-3 (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[35] newfile (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[36] countonly (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[37] bypassmode (type: 0) for device
> canon_dr:libusb:001:004
> scanbd: found active option[38] counter (type: 1) for device
> canon_dr:libusb:001:004
> scanbd: checking action email with filter: ^email$
> ...
> scanbd: found 4 local device sections
> scanbd: checking device section fujitsu with filter: ^fujitsu.*
> scanbd: checking device section snapscan with filter:
> (.*snapscan.*|.*Perfection.*)
> scanbd: checking device section hp with filter: ^hpaio.*
> scanbd: checking device section avision with filter: ^avision.*
> scanbd: timeout: 500 ms
> scanbd: Start the polling for device canon_dr:libusb:001:004
> scanbd: polling thread for canon_dr:libusb:001:004 cancellation point
> scanbd: polling device canon_dr:libusb:001:004
> scanbd: Iteration on dbus call
> scanbd: polling thread for canon_dr:libusb:001:004 cancellation point
> scanbd: polling device canon_dr:libusb:001:004
> scanbd: polling thread for canon_dr:libusb:001:004 cancellation point
> scanbd: polling device canon_dr:libusb:001:004
> scanbd: Iteration on dbus call
> scanbd: polling thread for canon_dr:libusb:001:004 cancellation point
> scanbd: polling device canon_dr:libusb:001:004
> scanbd: polling thread for canon_dr:libusb:001:004 cancellation point
> scanbd: polling device canon_dr:libusb:001:004
> ...continues infinitely, also if I press buttons on the scanner
> -------------------------------8<--------------------------
>
>
>


-- 
Wilhelm




More information about the sane-devel mailing list