[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread abel deuring
Heiko Freundel wrote:
 Hi,
 
 for the above mentioned MultiFunktionPrinter Samsung provides an Linux
 driver which should work with sane. This was a main reason for deciding
 for that MFP. I tried to use it with Ubuntu 10.0, but without success.
 
 Samsung just wrote me, that the driver was not testet with Ubuntu :-(
 
  At http://www.sane-project.org I just found the information, that there
 is an untested version of the driver.

Where did you find this information? I just checked the page with
the list of scanners supported by the sane-backends package, and
could not find the word Samsung. Only on the list of external
backends mentions Samsung. Additionally, I searched the current
source code from the CVS -- and found the SCX-4521F only in the
files describing external backends.

 
 1. How can Samsung have an driver and the sane-project has not?

well, anybody, individuals as well as companies and other
organizations, are free to write Sane backends as they want to do
so. And nobody is forced to contribute a Sane backend to the
backend collection from the Sane project. Moreover, a manufacturer
like Samsung has the advantage to have easy access to relevant
programming information for the scanners (I don't know, if Samsung
provides this kind of information to independent developers).

The Sane project will have direct support for Samsung devices only
if somebody starts the work on a special backend, or if some
scanner/MFP device turns out to be easily supportable by an existing
backend.

 2. How can I get the untestet driver from the sane-project?

As written above: I'm afraid that there is no such driver/backend...

Abel


[sane-devel] Flatbed scanner that can scan to the edge?

2007-03-02 Thread Olaf Meeuwissen
Felix E. Klee felix.k...@inka.de writes:

 At Thu, 01 Mar 2007 08:34:56 +0900,
 Olaf Meeuwissen wrote:

 That's the idea.  But unfortunately, it doesn't work - the document gets
 cropped.

 To the best of my knowledge, all EPSON scanners supported by the epson
 backend scan from the edge of the glass plate.  

You conveniently snipped this:

 |  Same for the epkowa backend provided the scanner does NOT require
 |  a plug-in.

 Really? Then that would be an improvement as compared to the Windows
 driver.  My scanner is well supported by the Epson backend.  In fact
 that was the reason for me to buy it.

The Perfection 3490 is supported by the snapscan backend.  The epkowa
backend supports it if, and only if, you install a plug-in.

 Perhaps you have access to an Epson Perfection 3490 Photo or a scanner
 from the same series (it's the series that just went out of production)?
 It would be great if you could try scanning to the edge and let us know
 your experiences.  I doubt that it works.

I had access to such a scanner when adding support for it to the
epkowa backend.  And IIRC the 3490 needs to have the document centered
horizontally.  I don't remember if it also needs to be centered
vertically, but I doubt it.

Hope this helps,
-- 
Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
FSF Associate Member #1962   sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!   -- I hack, therefore I am --   LPIC-2


[sane-devel] Flatbed scanner that can scan to the edge?

2007-03-02 Thread Felix E. Klee
At Fri, 02 Mar 2007 08:39:55 +0900,
Olaf Meeuwissen wrote:
  That's the idea.  But unfortunately, it doesn't work - the document
  gets cropped.
 
  To the best of my knowledge, all EPSON scanners supported by the
  epson backend scan from the edge of the glass plate.
 
 You conveniently snipped this:
 
  |  Same for the epkowa backend provided the scanner does NOT require
  |  a plug-in.

I don't use the Epkowa backend, that's why I snipped it.  I use the
snapscan backend, and - without much thinking - I assumed that you count
this backed as an EPSON backend (though I know that Snapscan scanners
used to be sold by Agfa not EPSON).

 I had access to such a scanner when adding support for it to the
 epkowa backend.  And IIRC the 3490 needs to have the document centered
 horizontally.  

No, the problem exists in all directions.  I.e. the document needs to be
more or less centered both vertically and horizontally.

According to EPSON telephone support in Germany, the lowest priced EPSON
scanner that can scan to the edge is the V700.  However, this scanner is
overkill for my usage scenario.  While I want to make good quality scans
of colored documents, I need only a resolution of up to around 600 dpi,
and I rarely scan photos.  If I ever want to have my collection of
photos and films digitized, then I'd probably consult a service provider
and not do it myself.

BTW, when doing test scans I also found out that the scanned area is not
evenly lit.  This adds to the disappointment with the scanner.  Perhaps
I'm expecting too much from a 100 EUR scanner.

-- 
Felix E. Klee


[sane-devel] Re: Flatbed scanner that can scan to the edge?

2007-03-02 Thread Eur Ing Chris Green
On Fri, Mar 02, 2007 at 02:01:30PM +0100, Felix E. Klee wrote:
 
  I had access to such a scanner when adding support for it to the
  epkowa backend.  And IIRC the 3490 needs to have the document centered
  horizontally.  
 
 No, the problem exists in all directions.  I.e. the document needs to be
 more or less centered both vertically and horizontally.
 
 According to EPSON telephone support in Germany, the lowest priced EPSON
 scanner that can scan to the edge is the V700.  However, this scanner is
 overkill for my usage scenario.  While I want to make good quality scans
 of colored documents, I need only a resolution of up to around 600 dpi,
 and I rarely scan photos.  If I ever want to have my collection of
 photos and films digitized, then I'd probably consult a service provider
 and not do it myself.
 
My (oldish) Epson Perfection 1650 Photo certainly scanned to the edge,
but that's a discontinued model.  I have a V700 now.

 BTW, when doing test scans I also found out that the scanned area is not
 evenly lit.  This adds to the disappointment with the scanner.  Perhaps
 I'm expecting too much from a 100 EUR scanner.
 
No, I don't think so, *all* the scanners I have ever owned (an ancient
HP, a microtek, the Epson 1650 and now the V700) have scanned to the
edge of the glass.  They all have a pair of arrows pointing at the
corner where you should place a sheet of paper, hard against the
edges.  None, except the V700, was particularly expensive.

-- 
Chris Green


[sane-devel] Flatbed scanner that can scan to the edge?

2007-03-02 Thread Daniel Glöckner
On Fri, Mar 02, 2007 at 02:01:30PM +0100, Felix E. Klee wrote:
 BTW, when doing test scans I also found out that the scanned area is not
 evenly lit.  This adds to the disappointment with the scanner.  Perhaps
 I'm expecting too much from a 100 EUR scanner.

Another thing to watch out for is that some scanners shear the picture a
little bit. I think this is caused by pulling the head on one side only.
So even if the scanner is able to scan to the edge, it may not scan the
edge as perfect horizontal and vertical lines. But an affine transformation
should be able to fix this.

  Daniel


[sane-devel] Formulardaten

2007-03-02 Thread cgi-mai...@kundenserver.de


===
== Neuer Eintrag
===

  
---
-- Formular: 'adddev'
---

1. Your email address:
   'williamjfar...@tiscali.co.uk'
2. Manufacturer (e.g. Mustek):
   'HP'
3. Model name (e.g. ScanExpress 1200UB):
   'Photosmart C3180'
4. Bus type:
   'USB'
5. Vendor id (e.g. 0x001):
   '0x03F0'
6. Product id (e.g. 0x0002):
   '0x5611'
7. Chipset (e.g. lm9831):
   ''
8. Comments (e.g. similar to Mustek 1234):
   'Probably similar to Hp Photosmart 5100 series.'
9. Data (e.g. sane-find-scanner -v -v):
   'device descriptor of 0x03f0/0x5611 at 001:003 (HP Photosmart C3100 series)
bLength   18
bDescriptorType   1
bcdUSB2.00
bDeviceClass  0
bDeviceSubClass   0
bDeviceProtocol   0
bMaxPacketSize0   8
idVendor  0x03F0
idProduct 0x5611
bcdDevice 1.00
iManufacturer 1 (HP)
iProduct  2 (Photosmart C3100 series)
iSerialNumber 3 (MY6A6C34FF04P9)
bNumConfigurations1
 configuration 0
 bLength  9
 bDescriptorType  2
 wTotalLength 131
 bNumInterfaces   4
 bConfigurationValue  1
 iConfiguration   0 ()
 bmAttributes 192 (Self-powered)
 MaxPower 2 mA
  interface 0
   altsetting 0
   bLength9
   bDescriptorType4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints  3
   bInterfaceClass255
   bInterfaceSubClass 204
   bInterfaceProtocol 0
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x01 (out 0x01)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
bEndpointAddress  0x82 (in 0x02)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 2
bLength   7
bDescriptorType   5
bEndpointAddress  0x83 (in 0x03)
bmAttributes  3 (interrupt)
wMaxPacketSize8
bInterval 10 ms
bRefresh  0
bSynchAddress 0
  interface 1
   altsetting 0
   bLength9
   bDescriptorType4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints  2
   bInterfaceClass7
   bInterfaceSubClass 1
   bInterfaceProtocol 2
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x0A (out 0x0A)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
bEndpointAddress  0x8B (in 0x0B)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
  interface 2
   altsetting 0
   bLength9
   bDescriptorType4
   bInterfaceNumber   2
   bAlternateSetting  0
   bNumEndpoints  2
   bInterfaceClass255
   bInterfaceSubClass 255
   bInterfaceProtocol 255
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x07 (out 0x07)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
bEndpointAddress  0x88 (in 0x08)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
   altsetting 1
   bLength9
   bDescriptorType4
   bInterfaceNumber   2
   bAlternateSetting  1
   bNumEndpoints  2
   bInterfaceClass255
   bInterfaceSubClass 212
   bInterfaceProtocol 0
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x07 (out 0x07)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
bEndpointAddress  0x88 (in 0x08)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
  interface 3
   altsetting 0
   bLength9
   bDescriptorType4
   bInterfaceNumber   3
   bAlternateSetting  0
   bNumEndpoints  2
   bInterfaceClass8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x04 (out 0x04)
bmAttributes  2 (bulk)
wMaxPacketSize64
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
  

[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread Heiko Freundel
abel deuring schrieb:
 Heiko Freundel wrote:
   
 Hi,

 for the above mentioned MultiFunktionPrinter Samsung provides an Linux
 driver which should work with sane. This was a main reason for deciding
 for that MFP. I tried to use it with Ubuntu 10.0, but without success.

 Samsung just wrote me, that the driver was not testet with Ubuntu :-(

  At http://www.sane-project.org I just found the information, that there
 is an untested version of the driver.
 

 Where did you find this information? I just checked the page with
 the list of scanners supported by the sane-backends package, and
 could not find the word Samsung. Only on the list of external
 backends mentions Samsung. Additionally, I searched the current
 source code from the CVS -- and found the SCX-4521F only in the
 files describing external backends.
   
Yes, you are right:
http://www.sane-project.org/lists/sane-backends-external.html#S-SAMSUNG
   
 1. How can Samsung have an driver and the sane-project has not?
 

 well, anybody, individuals as well as companies and other
 organizations, are free to write Sane backends as they want to do
 so. And nobody is forced to contribute a Sane backend to the
 backend collection from the Sane project. Moreover, a manufacturer
 like Samsung has the advantage to have easy access to relevant
 programming information for the scanners (I don't know, if Samsung
 provides this kind of information to independent developers).

 The Sane project will have direct support for Samsung devices only
 if somebody starts the work on a special backend, or if some
 scanner/MFP device turns out to be easily supportable by an existing
 backend.
   
I know, that Samsung can do that. But the driver doesn't work with
Ubuntu 10.0. Samsung told me, that it wasn't tested with Ubuntu. Two
days ago I asked with which distributions it was test. I'm still waiting
for an answer.

I don't have the knowledge for writting printer drivers, but if the
driver works with other distributions, it shouldn't be that much change?
Is there an for an beginner understandable howto which I can use do the
changes by myself?

Thanks
Heiko


[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread Heiko Freundel
  for the above mentioned MultiFunktionPrinter Samsung provides an
  Linux
  driver which should work with sane. This was a main reason for
  deciding
  for that MFP. I tried to use it with Ubuntu 10.0, but without
  success.
 
  Samsung just wrote me, that the driver was not testet with Ubuntu
  :-(
 
   At http://www.sane-project.org I just found the information, that
  there
  is an untested version of the driver.
 
  1. How can Samsung have an driver and the sane-project has not?
  2. How can I get the untestet driver from the sane-project?

 Hi Heiko.

 I've just installed a HP F380 MFP in my wife's pharmacy, and I used
 the HP driver. It has to be downloaded from the hplip project site at
 sourceforge. It installs itself in such a way that Sane automatically
 detects it (without changing anything in sane), and also, it's
 recognized
 by CUPS. I suspect a similar procedure is valid for Samsung. On their
 website is a unified driver for Linux.

It should work like this and the printer does.

Ubuntu already installed Sane 1.0.14-1.

I tried different things I found, like:
http://www.elijahlofgren.com/ubuntu/#scx-4521f
with no success.

Trying to start xsane from shell shows the following message:
insmod: can't read
'/lib/modules/2.6.17-10-generic/kernel/drivers/mfpportctrl/mfpport.ko':
No such file or directory
Segmentation fault (core dumped)


When I start the Samsung Unified Driver Configurator (which installs
itself) and then click the scanner button, it closes, with the messages
below.

~$ /opt/Samsung/mfp/bin/Configurator
insmod: can't read
'/lib/modules/2.6.17-10-generic/kernel/drivers/mfpportctrl/mfpport.ko':
No such file or directory
*** glibc detected *** /opt/Samsung/mfp/bin/Configurator: double free or
corruption (!prev): 0x081c1258 ***
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6[0xb74ad8bd]
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0xb74ada44]
/usr/lib/libstdc++-libc6.2-2.so.3(__builtin_vec_delete+0x24)[0xb6baa464]
/usr/lib/sane/libsane-samsung_scx4x21.so.1(init_mfp_port_control__4port+0x7f)[0xb6a6c62b]
/usr/lib/sane/libsane-samsung_scx4x21.so.1(init_mfp_port_control__6device+0x16)[0xb6a6d11e]
...

But I don't know, whether I need mfpport.ko or where I get it from.

Samsung told me, the driver was not testet with Ubuntu.

Heiko




[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread Heiko Freundel
abel deuring schrieb:
 Heiko Freundel wrote:
   
 Hi,

 for the above mentioned MultiFunktionPrinter Samsung provides an Linux
 driver which should work with sane. This was a main reason for deciding
 for that MFP. I tried to use it with Ubuntu 10.0, but without success.

 Samsung just wrote me, that the driver was not testet with Ubuntu :-(

  At http://www.sane-project.org I just found the information, that there
 is an untested version of the driver.
 

 Where did you find this information? I just checked the page with
 the list of scanners supported by the sane-backends package, and
 could not find the word Samsung. Only on the list of external
 backends mentions Samsung. Additionally, I searched the current
 source code from the CVS -- and found the SCX-4521F only in the
 files describing external backends.
   
Yes, you are right:
http://www.sane-project.org/lists/sane-backends-external.html#S-SAMSUNG
   
 1. How can Samsung have an driver and the sane-project has not?
 

 well, anybody, individuals as well as companies and other
 organizations, are free to write Sane backends as they want to do
 so. And nobody is forced to contribute a Sane backend to the
 backend collection from the Sane project. Moreover, a manufacturer
 like Samsung has the advantage to have easy access to relevant
 programming information for the scanners (I don't know, if Samsung
 provides this kind of information to independent developers).

 The Sane project will have direct support for Samsung devices only
 if somebody starts the work on a special backend, or if some
 scanner/MFP device turns out to be easily supportable by an existing
 backend.
   
I know, that Samsung can do that. But the driver doesn't work with
Ubuntu 10.0. Samsung told me, that it wasn't tested with Ubuntu. Two
days ago I asked with which distributions it was test. I'm still waiting
for an answer.

I don't have the knowledge for writting printer drivers, but if the
driver works with other distributions, it shouldn't be that much change?
Is there an for an beginner understandable howto which I can use do the
changes by myself?

Thanks
Heiko



[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread abel deuring
Heiko Freundel wrote:

 The Sane project will have direct support for Samsung devices only
 if somebody starts the work on a special backend, or if some
 scanner/MFP device turns out to be easily supportable by an existing
 backend.
   
 I know, that Samsung can do that. But the driver doesn't work with
 Ubuntu 10.0. Samsung told me, that it wasn't tested with Ubuntu. Two
 days ago I asked with which distributions it was test. I'm still waiting
 for an answer.

Good luck...

 I don't have the knowledge for writting printer drivers, but if the
 driver works with other distributions, it shouldn't be that much change?
 Is there an for an beginner understandable howto which I can use do the
 changes by myself?

I found a binary-only package with Linux drivers on the Samsung
website. With such binary files, you can't do very much. Though your
problem might indeed be a minor one: most bugfix methods for Linux
assume that you can modify one or the other source file.

But if you tell a bit more about the problem, somebody on this list
might have a suggestion. (But keep in mind that most people reading
the mailing list do not feel responsible for other software
packages, especially those for which no source code is available...)

Abel


[sane-devel] MFP - Samsung SCX-4521F

2007-03-02 Thread abel deuring
Heiko Freundel wrote:

 It should work like this and the printer does.
 
 Ubuntu already installed Sane 1.0.14-1.
 
 I tried different things I found, like:
 http://www.elijahlofgren.com/ubuntu/#scx-4521f
 with no success.
 
 Trying to start xsane from shell shows the following message:
 insmod: can't read
 '/lib/modules/2.6.17-10-generic/kernel/drivers/mfpportctrl/mfpport.ko':
 No such file or directory
 Segmentation fault (core dumped)
 
 
 When I start the Samsung Unified Driver Configurator (which installs
 itself) and then click the scanner button, it closes, with the messages
 below.
 
 ~$ /opt/Samsung/mfp/bin/Configurator
 insmod: can't read
 '/lib/modules/2.6.17-10-generic/kernel/drivers/mfpportctrl/mfpport.ko':
 No such file or directory
 *** glibc detected *** /opt/Samsung/mfp/bin/Configurator: double free or
 corruption (!prev): 0x081c1258 ***
 === Backtrace: =
 /lib/tls/i686/cmov/libc.so.6[0xb74ad8bd]
 /lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0xb74ada44]
 /usr/lib/libstdc++-libc6.2-2.so.3(__builtin_vec_delete+0x24)[0xb6baa464]
 /usr/lib/sane/libsane-samsung_scx4x21.so.1(init_mfp_port_control__4port+0x7f)[0xb6a6c62b]
 /usr/lib/sane/libsane-samsung_scx4x21.so.1(init_mfp_port_control__6device+0x16)[0xb6a6d11e]
 ...
 
 But I don't know, whether I need mfpport.ko or where I get it from.

grepping through the kernel sources for the word mfpport gives no
result. Neither are there any files with a name that matches
*mfpport*. But if you ask google for mfpport.ko, you'll get a lot
of error reports, often in conjunction with Samsung devices, but no
hint for useful patches, at least on the first 5 result pages. This
is an indication that mfpport.ko is a Samsung-specific kernel
module, for which no source code is available. You could try to find
this file somewhere in the Samsung driver package, and try to load
it manually, but if there is any incompatibility with the Ubuntu
kernel, this will not work.

 Samsung told me, the driver was not testet with Ubuntu.

...which they should state clearly on their website, in README files
and in other places where people might check, if a device is
supported under a specific operating system. Binary-only kernel
modules are a really bad idea.

And we (the Sane project) should tell more clearly in the *desc
files for external backends, if source code is available (at least
partially), if the backend works only under Linux, or even only with
very specific kernel versions...

Abel