[sane-devel] epson scanner 4180 Photo

2006-12-05 Thread Olaf Meeuwissen
Keith Cheong keith.che...@wanadoo.fr writes:

 Dear sirs,
hope you can help me! I'm new to Linux systems. So I'm very
 confused as to how to set up and use my Epson Perfection 4180 Photo
 scanner. I've tried downloading the driver from epson and have the
 iscan-2.4.0-0.c2.tar.gz file on my desktop and followed the
 instructions to install. But it falters after ./configure, so I can
 not 'make' or 'make install'. I'm using Ubuntu-Linux 6.10.
If you can offer any assistance I would be extremely grateful.
Yours sincerely Keith Cheong.

Hi Keith,

If you're new to Linux, take the easy route.  EPSON AVASYS doesn't
provide binary packages in Debian format, but you can convert and
install them quite easily with the alien utility.

With root (system administrator) privileges do:

  alien --install --scripts iscan-2.4.0-0.c2.i386.rpm

and you should be ready to go (keeping fingers crossed ;-)

Oh, I'm assuming you are on a i386 compatible architecture.  If you
aren't, you have no choice but go the route you are trying to take
now, via `./configure; make; make install`, is a bit longer and
requires the presence of a number of development utilities.

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] Does Epson Expression 10000XL support auto cropping

2006-12-05 Thread Chittananda Kulatilake
Thank you very much.
Chitta

On 12/1/06, Karl Heinz Kremer k...@khk.net wrote:

 The scanner does not support auto cropping. This feature would have to be
 implemented in a frontend.

 You can see all features offered by a scanner/backend by using the
 scanimage application with the --help parameter (see the man page
 http://www.sane-project.org/man/scanimage.1.html for more information).


 On 12/1/06, Chittananda Kulatilake chittana...@gmail.com wrote:

  Hi All,
 
  I want to do auto cropping using Epson Expression 1XL scanner. Does
  this
  scanner support for that? If so can pl send me C++ code snippets?
 
  Is there any software aviable to see the list fucntions supported by a
  printer?
 
  Thank you in advance.
 
  Chitta
  --
  sane-devel mailing list: sane-devel@lists.alioth.debian.org
  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
  Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-requ...@lists.alioth.debian.org
 
 



-- 
Chitta
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061205/fc5e51be/attachment.htm
From gerh...@gjaeger.de  Tue Dec  5 08:44:32 2006
From: gerh...@gjaeger.de (Gerhard Jaeger)
Date: Tue Dec  5 09:09:57 2006
Subject: [sane-devel] 3 minor problems with current (20061202) CVS code on
OS/2
In-Reply-To: 20061204215935.00f27040@inspiron
References: 20061202203106.48b3d8f4@inspiron
200612041929.59347.gerh...@gjaeger.de
20061204215935.00f27040@inspiron
Message-ID: 200612050844.32692.gerh...@gjaeger.de

On Monday 04 December 2006 21:59, Alessandro Zummo wrote:
 On Mon, 4 Dec 2006 19:28:43 +0100 (MET)
 Gerhard Jaeger gerh...@gjaeger.de wrote:
 
   
__le16_to_cpup(), __u16,, __le32_to_cpup(),
__u32,  __le32 or __cpu_to_le32()
   
are defined on OS/2. What do you suggest?
  
mmm.. you should try to find similar macros we
can use/adapt in some OS/2 include file... I guess
endianness conversion is performed even on OS/2 ;)
  
  Hmmm, I think you should not use these macros in userspace anyway!
  They are not portable an I'm pretty sure building SANE on any
  platform but Linux will fail.
 
  mm. right. So I need to find some portable macros or include
  appropriate one in sane.
 
  any suggestion?

Well, __u16 and __u32 are not necessary anyway ;)
Before finding somw suitable macros, you should also think about 
handling such stuff on other platforms like PPC, where you won't
need the swapping stuff. Maybe some kind of online-detection
is necessary.
As there are only two places, where swapping is needed, you should
provide your own functions.

Gerhard

BTW: In the Plustek backend, I use this macro 
#define _SWAP(x,y)   { (x)^=(y); (x)^=((y)^=(x));}

with a run-time detection.




[sane-devel] 3 minor problems with current (20061202) CVS code on OS/2

2006-12-05 Thread Jon Chambers

Hi,

On Tue, 5 Dec 2006, Gerhard Jaeger wrote:
 On Monday 04 December 2006 21:59, Alessandro Zummo wrote:
 BTW: In the Plustek backend, I use this macro
 #define _SWAP(x,y)   { (x)^=(y); (x)^=((y)^=(x));}

If they are suitable for you then htons, htonl, etc should be pretty 
ubiquitous across OS's.

cheers,
Jon

== Jon Chambers =
  http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669
=



[sane-devel] Which scanner for Linux

2006-12-05 Thread Dennis Meulensteen
Hi all,

I tried an Epson perfection V350 Photo last week, but it is only partially 
supported and the driver requires a closed source library. I returned it for 
a refund.

I've checked the sane list of supported units, but I can't see the forest for 
the trees. Also, lots of web sites appear to carry outdated reccommendations 
as far as scanning is concerned. Types that are no longer available in shops 
and such.

Can anyone please recommend a scanner that answers to the following criteria, 
in descending order of importance:

- less than +/-160 EUR ($200)
- no closed-source bits needed for basic operation. 
- 4800 optical dpi max, in full-color.
- A4 (letter) size flatbed.
- decent for occasional transparency and film scans.
- not a 'multifunctional'
- in (web) shops now

Thanks,
Dennis


[sane-devel] sanei_usb_open() and multifuntion devices

2006-12-05 Thread Gerard Klaver
On Wed, 2006-09-13 at 13:29 +0200, Wittawat Yamwong wrote:
 Hello,
 
 I think that how sanei_usb_open() collects endponts is not correct. It loops 
 through all configurations, interfaces and alternate settings and takes the 
 first bulk in, bulk out and interrupt endpoint it found. This works only for 
 some special cases and it is likely to fail for multifunction devices, e.g. 
 Smartbase MP360 which has endpoints for the scanner function in the interface 
 #1. 
 
 I would propose that sanei_usb_open() accepts two additional parameters 
 specifying an interface number and an alternate setting. These parameters can 
 be omitted (e.g. set to -1). In this case the behaviour described above is 
 valid. If the parameters are given, sanei_usb_open() must use only the 
 endpoints belonging to the specified interface.
 
 There is also an issue with sanei_usb_set_configuration(), it simply doesn't 
 work this way because setting new configuration will succeed if and only if 
 there is no interfaces claimed by any driver. But the function takes the 
 device number returned by sanei_usb_open() as a parameter and, unfortunely, 
 sanei_usb_open() implicitly claims one interface. We have chicken and egg 
 problem here. Solution: sanei_usb_set_configuration() have to take the device 
 name instead of the device number as the first parameter.
 
 If I understand correctly, sanei_usb_claim_interface(), 
 sanei_usb_release_interface() and sanei_usb_set_altinterface() are useless 
 because sanei_usb_open() already claims an interface for you and 
 sanei_usb_close() will release it afterward. Why does one want to claim 
 another interface while he cannot use its endpoints through sanei_usb 
 functions?
 
 Regards
 -- 
 Wittawat Yamwong
 Hannover, Germany
 
I use them for my stv680 backend, one problem i had after some updates
(sane, libusb,kernel)  was that setting the configuration didn't work
anymore. Disable of the set_configuration solved it for me at that
moment. If setting the configuration is needed for other devices, i
don't know at the moment if some of the webcams i have need that.

The above lines from some earlier email this year.

I think a table generation with the selectable values for the
configuration, interface and altsetting and then choice which values are
needed will probaly solve some of the present problems when selecting a
device and perform a bulk read. 

Depending on the function of a (for example) webcam (image size etc)
selecting a different altsetting for reading (packet size) data should
be possible (or an option which will be implemented later)

Some usb devices have also for one altsetting 2 bulk read in endpoints
to make it more complex.

I don't know if somebody already made some code for these proposals and
did some testing or has some other comment but i think a update for
these 2 functions is an improvement (sanei_usb_open and
sanei_usb_set_configuration)


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Re: Plustec OpticSlim 12M - calibration

2006-12-05 Thread Gerard Klaver
On Sat, 2006-12-02 at 19:10 +0100, Maciej Piechotka wrote:
 On Sat, 02 Dec 2006 16:11:34 +0100, Gerard Klaver wrote:
 
  On Sat, 2006-12-02 at 00:41 +0100, Maciej Piechotka wrote:
  On Fri, 01 Dec 2006 07:11:35 +0100, Gerhard Jaeger wrote:
  
   On Friday 01 December 2006 00:21, Maciej Piechotka wrote:
   I have probably not calibrated scanner (If I scan something it returns
   blue sheet). How can I do it?
   
   
   RTFM - SCNR ;)
   The status of this device says: Scans, but no calibration is performed 
   and 
   the area selection is limited.
   
   There's no way for you to do the calibration, as the backend itself is 
   not
   able to handle this - sorry
   
   Gerhard
   
  
  
  Sorry I asked in such way - is it possible to make it working (after give
  some values from hand)?
  
  If I understand you it's also[1] impossible by operating in such values as
  R/G/B Brightness and so on in xsane or any other front-end) - am I correct?
  
  Regards
  
  [1] As I said I thought I could give some values to make it working and
  it's just automatized process.
  
  -- 
  I've probably left my head... somewhere. Please wait untill I find it.
  Homepage (pl_PL): http://uzytkownik.jogger.pl/
  (GNU/)Linux User: #425935 (see http://counter.li.org/)
  
  
  If you see the frontend menu for this scanner (xscanimage or xsane) the
  only fields for some color correction are maybe the gamma value and/or
  selecting the red, green or blue (gray mode color).
  
 
 Ok. I'll try to use it.
 
  To get the calibration into the backend some usb sniff or usb log is
  needed using the calibration sheet and then writing program code for it.
  I don't know if somebody already made some usb sniff/log file?
  
 
 What's a name of open usb sniffer?
 Should I send a sniff from GNU/Linux or from Windows?
 
  I have placed on my page some info and a sample of the calibration card
  for this scanner see http://gkall.hobby.nl/gt6816-07b3-0412.html
  
 
 I've been there searching informations.
 I have the same calibration sheet.
 
 Regards
 -- 
USB sniff from windows, see
http://benoit.papillault.free.fr/usbsnoop/doc.php.en

-- 

m.vr.gr.
Gerard Klaver