[sane-devel] Canon MP280 not supported by SANE

2011-04-02 Thread Gernot Hassenpflug
Hi,
I think you might have to set some of the debug flags first to get
more information on the problem. See the man pages for the pixma
backend.
With such information, it should not be too hard to add exceptions for
this model, since it does not do very high scan resolutions.
Regards,
Gernot



[sane-devel] network scan Canon MF4370

2011-04-02 Thread Mickael Profeta
Hi,

I used to scan with my Canon MF4370 on usb, but after I moved, the
scanner is far away from the computer and I would like to avoid a 5
meters usb cable.

Is there a reason why 4370 is not recongize and 4350 seems to be ok?

I do not know how to test network scanner, so if anyone can help, it
would be great if I can test and if I can have it work!

Thanks for advices

Regards

Mike



[sane-devel] phaser 6110MFP, no color mode

2011-04-02 Thread Boris Samorodov
Hi List,

I've got a used Xerox Phaser 6110MFP. Color mode is not functionning
as expected: color mode produces a greyscale image, Gray and Lineart
mode produces 1bit color image. 

Here are some logs:
-
% export SANE_DEBUG_XEROX_MFP=4
% scanimage --format=tiff -l 1 -t 1 -x 100 -y 100 --mode color
[sanei_debug] Setting debug level of xerox_mfp to 4.
[xerox_mfp] sane_init: Xerox backend (build 11) 0xbfbfdd08, 0x804d2e0
[xerox_mfp] sane_xerox_mfp_get_devices: 0xbfbfdd68, 0
[xerox_mfp] list_one_device: libusb:/dev/usb:/dev/ugen3.2
[xerox_mfp] dev_open: open 0x28424800
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] dev_inquiry: found Xerox/Xerox Phaser 6110MFP
[xerox_mfp] dev_close: closing dev 0x28424800
[xerox_mfp] sane_xerox_mfp_open: 'libusb:/dev/usb:/dev/ugen3.2'
[xerox_mfp] dev_open: open 0x28424800
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 0, <0>, 0xbfbfe688, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 0, <0>, 0xbfbfdd88, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 1
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 2
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 3
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 5
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 6
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 7
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 8
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 9
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 9, <0>, 0x8052ac0, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 9, <0> => 00d7e666, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 7, <0>, 0xbfbfdd84, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => , 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 10, <0>, 0x8052ac4, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 10, <0> => 01292e14, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 8, <0>, 0xbfbfdd84, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => , 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 7
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 7
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 7, <1>, 0x2845a1a0, 
0xbfbfdd48
[xerox_mfp] sane_xerox_mfp_control_option: 7, <1> => 0001, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 8
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 8
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 8, <1>, 0x2845a1a0, 
0xbfbfdd48
[xerox_mfp] sane_xerox_mfp_control_option: 8, <1> => 0001, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 3
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 3
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 3, <1>, 0x2845c1c0, 
0xbfbfdd48
[xerox_mfp] sane_xerox_mfp_control_option: 3, <1> => 6f6c6f63, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 7, <0>, 0xbfbfe680, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => 0001, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 9
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 9, <1>, 0xbfbfe67c, 
0xbfbfdd88
[xerox_mfp] sane_xerox_mfp_control_option: 9, <1> => 0065, 4
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 8, <0>, 0xbfbfe680, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => 0001, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 10, <1>, 0xbfbfe67c, 
0xbfbfdd88
[xerox_mfp] sane_xerox_mfp_control_option: 10, <1> => 0065, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x28424800, 2
[xerox_mfp] sane_xerox_mfp_control_option: 0x28424800, 2, <0>, 0xbfbfdd70, 0x0
[xerox_mfp] sane_xerox_mfp_control_option: 2, <0> => 0096, 0
[xerox_mfp] sane_xerox_mfp_start: 0x28424800
[xerox_mfp] :: dev_command(RESERVE_UNIT[0x16], 32)
[xerox_mfp] :: dev_command(SET_WINDOW[0x24], 32)
[xerox_mfp] :: dev_command(OBJECT_POSITION[0x31], 32)
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(10 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(100 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(200 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[x

[sane-devel] Canon MP280 not supported by SANE

2011-04-02 Thread Cristi Lacatus
Hello,

I just bought a canon MP280, multifunctional device and I would like to be
able to use the scanning function on my linux machine. I tried  adding the
scanner details to the the pixma_mp150.c file like this, but with no
success:

/* Generation 4 */
#define MP250_PID 0x173a
#define MP270_PID 0x173b
*#define MP280_PID 0x1746*
#define MP490_PID 0x173c
#define MP550_PID 0x173d
#define MP560_PID 0x173e
#define MP640_PID 0x173f
#define MP990_PID 0x1740

 ...


  /* Generation 4: CIS */
  DEVICE ("Canon PIXMA MP640", "MP640", MP640_PID, 4800, 638, 877,
PIXMA_CAP_CIS),
  DEVICE ("Canon PIXMA MP560", "MP560", MP560_PID, 2400, 638, 877,
PIXMA_CAP_CIS),
  DEVICE ("Canon PIXMA MP550", "MP550", MP550_PID, 2400, 638, 877,
PIXMA_CAP_CIS),
  DEVICE ("Canon PIXMA MP490", "MP490", MP490_PID, 1200, 638, 877,
PIXMA_CAP_CIS),
  DEVICE ("Canon PIXMA MP250", "MP250", MP250_PID, 600, 638, 877,
PIXMA_CAP_CIS),
  DEVICE ("Canon PIXMA MP270", "MP270", MP270_PID, 1200, 638, 877,
PIXMA_CAP_CIS),
*  DEVICE ("Canon PIXMA MP280", "MP280", MP280_PID, 1200, 638, 877,
PIXMA_CAP_CIS),*

Then I managed to successfully compile the sane-backends.
But when I try to scan something, nothing happens:
[~] # scanimage -L
device `pixma:04A91746_01760E' is a CANON Canon PIXMA MP280 multi-function
peripheral
[~] # scanimage -T
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes...
And it stays like for as long as I leave it, the multifunctional doesn't
make any sounds like it would start scanning or anything like that. So
eventually I have to kill the process.

I am attaching the output of the sane-scanner-find tool maybe someone can
help me get this working.

Thanks,
Cristian.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110402/ab1fa220/attachment.htm>
-- next part --
A non-text attachment was scrubbed...
Name: Canonmp280_sane_scanner_find_tool.log
Type: application/octet-stream
Size: 11715 bytes
Desc: not available
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110402/ab1fa220/attachment.obj>