[sane-devel] HP Scanjet 5500c

2007-01-19 Thread Gerhard Jaeger
On Thursday 18 January 2007 03:50, Terry Cutler wrote:
 Hey there. I was wondering if anyone knew if the HP Scanjet 5500c will be
 supported by SANE ? This is the only piece left for me to get working
 before I can migrate from Windows to Suse Linux. Any help in getting it to
 work would be greatly appreciated.

 Thanks in advance !

Please check this URL
http://www.sane-project.org/unsupported/hp-scanjet-5500c.html

Youg might be able to report the missing informations
on that device.

Gerhard


[sane-devel] HP Scanjet 5500c

2007-01-18 Thread Terry Cutler
Hey there. I was wondering if anyone knew if the HP Scanjet 5500c will be
supported by SANE ? This is the only piece left for me to get working before
I can migrate from Windows to Suse Linux. Any help in getting it to work
would be greatly appreciated.

Thanks in advance !

-- 
./Terry Cutler
Master CNE , CDE, CLP, Certified Ethical Hacker
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070117/cc7711aa/attachment.htm
From gerh...@gjaeger.de  Thu Jan 18 08:45:09 2007
From: gerh...@gjaeger.de (Gerhard Jaeger)
Date: Thu Jan 18 08:45:56 2007
Subject: [sane-devel] failing make sane-backends-1.0.18;
sanei_scsi question
In-Reply-To: 45ae5a0a.4030...@gmx.net
References: 45a92a5f.4060...@michkloo.xs4all.nl
200701170851.07090.gerh...@gjaeger.de 45ae5a0a.4030...@gmx.net
Message-ID: 200701180845.10123.gerh...@gjaeger.de

On Wednesday 17 January 2007 18:16, abel deuring wrote:
[SNIPSNAP]
  Hmmm, while checking the kernel-headers (2.6.18 and 19) I've seen
  that  linux/include/scsi/sg.h already will include linux/compiler.h
 
 Right, the second addition of the #include  line is nonsense. It
 was obviously too late when I wrote my mail ;)

:)

  So my guess is, that the (HAVE_SCSI_SG_H) path is used and the glibc
  headers have changed somehow. What's the glibc version on SuSE 10.2?
  Please call /lib/libc.so.6
 
 What do you mean with call? Anyway, HZ is defined somewhere in the
 kernel header files, and I don't think it is related to libc.

callit means, do simply a /lib/libc.so.6 - call it from your shell
like a real program to see, what's inside. I.e. on my SuSE10 it looks
like:
#~ /lib/libc.so.6
GNU C Library stable release version 2.3.5 (20050802), by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i586-suse-linux.
Compiled by GNU CC version 4.0.2 20050901 (prerelease) (SUSE Linux).
Compiled on a Linux 2.6.12 system on 2005-09-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
GNU Libidn by Simon Josefsson
NoVersion patch for broken glibc 2.0 binaries
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.

...

  Anyway could you guys please try and add the compiler.h only to the 
  HAVE_SCSI_SG_H path?
 
 Well, before making any real patch, the first thing I'd like to
 know is, if we have a special Suse 10.2 bug, or if something changed
 in the kernel headers...

Hmmm - seems we need to check how they compile their glibc and which
kernel-headers they use - I think Johannes is around and might could
shade some light on that - maybe also on that resmgr stuff.

Gerhard


BTW: they use the following patch:
--- sanei/sanei_scsi.c.orig 2005-04-22 10:36:17.0 +0200
+++ sanei/sanei_scsi.c  2006-07-04 10:16:49.0 +0200
@@ -1273,7 +1273,7 @@
  disconnect... ;-( */
   {
 int timeout;
-timeout = sane_scsicmd_timeout * HZ;
+timeout = sane_scsicmd_timeout * sysconf(_SC_CLK_TCK);
 ioctl (fd, SG_SET_TIMEOUT, timeout);
   }
 #endif