[sane-devel] Adding Scanner to Backend Configuration

2007-05-13 Thread Hugh McMaster
Hi Gerald,

On 12/05/07, Gerald Murray wrote:
 The chipset in the Canon Lide 70 is not yet known, but it did not respond
 positively to gl841 or gl646, so it is will not at present work with the
 genesys backend.  It has only 2 bulk endpoints, but no isosynchronous
 endpoint, so it is different.  Some work is required to identify the chip,
 and the protocol.  Using usbsnoop on a small scan may provide helpful
 information.  In any case, quite a bit of work lies between now and a
 successful sane scan.  I suggest obtaining a usbsnoop log and/or identifying
 the chipset.  The recompile is not likely to work or provide useful
 information,
 in my humble opinion.  Someone needs to initiage and carry that project
 forward into development.

Thankyou for your reply.  I'll look into obtaining a log for the scanner.

Hugh


No subject

2007-05-13 Thread
/*
 *  Setting available resolutions and xy ranges for sane frontend.
 */

  s-hw-res_list_size =3D 0;
  s-hw-res_list =3D
(SANE_Int *) calloc (s-hw-res_list_size, sizeof (SANE_Int));

  if (NULL =3D=3D s-hw-res_list)
  {
DBG (1, out of memory (line %d)\n, __LINE__);
return SANE_STATUS_NO_MEM;
  }
...


Given the fact, that the system has only 32MB RAM, I enabled a 512MB swap.


Any idea what=B9s going wrong?

Thanks a lot!
  /bjoern




No subject

2007-05-13 Thread
  4-2  Installing a tar file

  Execute the following command to complete the installation.

# tar -zxvf iscan-${version}-${release}.tar.gz
# cd iscan-${version}
# ./configure
# make
# make install

So instead of just ./configure, you would use:

  # ./configure --prefix=/usr

Please ignore the bit about the need to install SANE from tar in that
case.

 I would appreciate it if you would give me the exact command line.

Hope this helps,

 Thank you.

 CSSJR


 Quoting Olaf Meeuwissen (olaf.meeuwissen at avasys.jp):

 Claude Sutton claudesutton at suttonmachine.com writes:
 
  I installed iscan-2.7.0-1.tar.gz
 
  So I have to install the RPM package as well?
 
 Yes, you have to install iscan-plugin-gt-x750-1.0.0-1.c2.i386.rpm.
 
  I don't think Ubuntu supports rpm's.
 
 That's easily fixed with alien.  You can use
 
sudo alien --scripts --install iscan-plugin-gt-x750-1.0.0-1.c2.i386.rpm
 
 to install.  Doing the same for the iscan RPM has been reported to
 work by several people but EPSON AVASYS doesn't test that.  Just
 make sure you use the --scripts option.  If you don't you're in for
 trouble as you'll have to do a lot manually yourself ;-)
 
 One more point, seeing you compiled from source, you probably didn't
 use --prefix=/usr at ./configure time.  This _could_ be a cause of
 trouble.  Again EPSON AVASYS doesn't test that.
 
 Finally, your machine is 32-bit Intel, right?  The plugin won't work
 on 64-bit machines (unless you run a mixed 32/64-bit setup and even
 then it gets ugly).
 
 Hope this helps,
 
  CSSJR
 
  Quoting Olaf Meeuwissen (olaf.meeuwissen at avasys.jp):
 
  Claude Sutton claudesutton at suttonmachine.com writes:
  
   I followed Olaf's instructions and after the reinstall, no contact with 
   the
   scanner.
  
   So I ran sane-find-scanner and:
  
   sane-find-scanner returns the following and I have no idea what to do
   with
   the information.
  
  
   found USB scanner (vendor=0x0c88, product=0x17da) at libusb:006:002
   found USB scanner (vendor=0x0483 [STMicroelectronics], product=0x2016
   [Biometric Coprocessor]) at libusb:004:003
  
  
   I have an Epson Photo 4490 scanner.
  
   Does anyone have a suggestion as to what to try next?
  
  Have you installed the non-free i386-only iscan-plugin-gt-x750 package?
  Without it, the scanner is not supported by the epkowa backend which
  comes as part of iscan.
  
  Hope this helps,
-- 
Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation
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