[sane-devel] Benq 5150C / 5250C users: please test

2010-05-01 Thread Brendan Macmillan
Hi Oliver,

I'm replying to the below 2006 message, to confirm that the factor of
two problem is present in the latest version. Here's a link to it in
the archive: 
http://lists.alioth.debian.org/pipermail/sane-devel/2006-January/015908.html

I had a look at the source code and found the calibration code for
5150 and 5250, but I don't understand it.

It would be great to be able to use my 5250C scanner with linux -
google also turned up a few other users with the same problem, on
ubuntu and other forums.


many thanks!
Brendan

[sane-devel] Benq 5150C / 5250C users: please test
Oliver Schwartz Oliver.Schwartz at gmx.de
Mon Jan 9 23:24:13 UTC 2006

Hi,

 Ok, I did some testing with my BenQ 5150C.

 My first try was in 300dpi color mode (because this was default).
 There are no color stripes anymore. However, the scanned area was
 not very wide. Although the full available range
 ((0,0)x(216.0,297.0)mm^2) was selected in xscanimage. The resulting
 image had only 109 mm in width and approx. 145 mm in height
 (measured with millimetre graph paper)

 This is independent of selected resolution and colour mode.

Looks like the measurements are off by a factor of 2. That should be
easy to fix.



[sane-devel] Benq 5150C / 5250C users: please test

2006-01-09 Thread Oliver Schwartz
Hi,

 Ok, I did some testing with my BenQ 5150C.

 My first try was in 300dpi color mode (because this was default).
 There are no color stripes anymore. However, the scanned area was
 not very wide. Although the full available range
 ((0,0)x(216.0,297.0)mm^2) was selected in xscanimage. The resulting
 image had only 109 mm in width and approx. 145 mm in height
 (measured with millimetre graph paper)

 This is independent of selected resolution and colour mode.

Looks like the measurements are off by a factor of 2. That should be 
easy to fix.

 'Gray' doesn't work. It still results in very distorted Images.
 When doing 'gray' with xsane there is a message box saying Backend
 sends more image data than it defined in parameters, after
 scanning in preview mode.

Hm, ok. The backend currently always sends some static calibration 
data for color mode. I'll try to get some gray scale mode calibration 
data as well.

 'Halftone' sends wrong colours, and sometimes the same patterns as
 gray. In xscanimage, preview crashes in this mode.

This may be related. However, a lot of modern scanners don't support 
halftoning at all. Does the windows driver offer something similar?

  At present the calibration algorithm for the 5150 / 5250 is
  unknown. The calibration data sent to the scanner is currently
  some static data which may or may not work for all scanners.

 I'm not a hardware developer. But if you need any data, be free to
 ask. But as my attempt to sniff on the USB-bus in Windows fired up
 the whole system and I could not scan anymore until the next
 reinstall of W2K, I won't do that anymore.

I have some data samples, but the hard part is to make an educated 
guess on the used algorithm.

/Oliver


[sane-devel] Benq 5150C / 5250C users: please test

2006-01-07 Thread Benjamin Greiner
 Hi all,

 I've added some basic support for the Benq 5150C / 5250C scanner to
 the snapscan backend. Anyone owning such a scanner is encouraged to
 test it and inform me of any problems.

Ok, I did some testing with my BenQ 5150C.

My first try was in 300dpi color mode (because this was default). There are no 
color stripes anymore. However, the scanned area was not very wide. Although 
the full available range ((0,0)x(216.0,297.0)mm^2) was selected in 
xscanimage. The resulting image had only 109 mm in width and approx. 145 mm 
in height (measured with millimetre graph paper)

This is independent of selected resolution and colour mode.

'Gray' doesn't work. It still results in very distorted Images. When doing 
'gray' with xsane there is a message box saying Backend sends more image 
data than it defined in parameters, after scanning in preview mode.

'Halftone' sends wrong colours, and sometimes the same patterns as gray. In 
xscanimage, preview crashes in this mode.

Lineart however sends correct data when not selecting quality scan (at first 
glance, no further investigation done).

At the beginning, I had some hangs, which required to hard reset the scanner, 
but this is not reproducible.

 At present the calibration algorithm for the 5150 / 5250 is unknown.
 The calibration data sent to the scanner is currently some static
 data which may or may not work for all scanners.

I'm not a hardware developer. But if you need any data, be free to ask. But as 
my attempt to sniff on the USB-bus in Windows fired up the whole system and I 
could not scan anymore until the next reinstall of W2K, I won't do that 
anymore.

Regards, Ben


[sane-devel] Benq 5150C / 5250C users: please test

2006-01-06 Thread Oliver Schwartz
Hi all,

I've added some basic support for the Benq 5150C / 5250C scanner to 
the snapscan backend. Anyone owning such a scanner is encouraged to 
test it and inform me of any problems.

You can get a snapshot of the latest SANE sources from 
http://www.sane-project.org/snapshots

At present the calibration algorithm for the 5150 / 5250 is unknown. 
The calibration data sent to the scanner is currently some static 
data which may or may not work for all scanners. I hope to get this 
fixed at some point. Anyone who'd like to look into it is welcome to 
contact me.

Regards,

Oliver