If anyone is interested, here is a translation.
Peter Rossmann (via cgi-mailer) wrote:
Hier mein Problem ich brauche f?r meinen Flachbett Scanner canon 5000F den
Treiber f?r Linux Open Suse 10.2
Here is my problem. I need Linux OpenSuse 10.2 drivers for my flatbed
Canon 5000F scanner.
Der
On 06/07/07, Ilia Sotnikov wrote:
Also, you need to use winsock2.h header (and, of course -lws2_32
during link stage) because of Windows specific declarations (eg.
WSAStartup(), the call without which any Winsock call would fail).
That is: ./configure LIBS=-lws2_32, right?
I cannot seem to
Hi Ilia,
On 03/07/07, Ilia Sotnikov wrote:
Feel free to ask any questions regarding this SANE backends modification.
How did you get around the dependence on Unix sockets? I looked
through some of sources, but couldn't find any dependence on winsock
either.
Hugh
On 05/07/07, Hugh McMaster wrote:
How did you get around the dependence on Unix sockets? I looked
through some of sources, but couldn't find any dependence on winsock
either.
Hmmm. I included winsock2.h (renamed to socket.h).
Another issue. MSG_WAITALL is not defined (according to my
Msys
Hi Ilia,
On 04/07/07, Ilia Sotnikov wrote:
The whole picture isn't so bright - as for now, this native Win32
version is limited only to dll, net backends and scanimage binary.
During porting I've also tried libusb-win32 (this way device names
would be similar, I think), but it looks little,
Hi Ilia,
On 03/07/07, Ilia Sotnikov wrote:
Last week I've committed native Win32 version of SANE. It's available
for checkout at cvs.alioth.debian.org:/cvsroot/sane checkout
experimental/sane-backends-win32.
Any feedback will be greatly appreciated.
The code certainly looks good.
Hi Allan, Ilia,
On 28/06/07, Ilia Sotnikov wrote:
On 6/28/07, m. allan noah wrote:
i have traced this down to a change by isotnikov-guest (cc'd) on jun
12 to use libtool instead of ar and ranlib in lib/ and sanei/. it
seems that our included version of libtool does not work properly in
Allan,
On 22/06/07, m. allan noah wrote:
grep thru the mingw header files, and see if there is something like:
#define md5_buffer _md5_buffer
The problem also occurs on Linux (Ubuntu 7.04). It ends with the output:
scanimage.o: In function `auth_callback':
Hi Allan,
On 21/06/07, m. allan noah wrote:
check line 291 of scanimage.c, does it look like mine:
md5_buffer (tmp, strlen (tmp), md5digest);
Thankyou for reply. I have checked that line, and it looks just like
the one that you posted.
Hugh
Hi Gerald,
On 21/06/07, Gerald Murray wrote:
/home/User/sane-backends/frontend/scanimage.c:291: undefined reference
to `_md5_buffer'
There should be two leading underscores before md5_buffer.
This is resolved in the frontend/Makefile by $(LIBLIB)
which links lib/liblib.a Header is
Hi everyone,
I am attempting to compile Sane-Backends-CVS under Cygwin, and the
process is just about complete - I hope.
This is the only issue that I have encountered during the compile
process so far. It appears when scanimage.o is invoked. The only
backends I am compiling are 'net', and
Hi,
On 12/06/07, D?rvanger Zsolt wrote:
I have a Canon Canoscan 3000ex scanner. There aren't any driver for Linux,
so I want to write a SANE backend for it. Where can I get help or
documentation or any information about how to write a backend?
You need to look at the documentation on the Sane
Hi Gerald,
On 13/06/07, Gerald Murray wrote:
Be sure that your Makefile includes -I/usr/include in its flags
(check your platform ( MinGW?) for similar dependencies)
On linux all are included in normal Makefile. Mine are:
sanei_usb.c:
#include fcntl.h
/usr/include/fcntl.h:
#include
Hi Ilia,
On 13/06/07, Ilia Sotnikov wrote:
As far as I know Win32 API doesn't have such definitions due to its
difference from Unix. Thus it's impossible to have them defined (and
the functionality they control implemented) using MinGW header files.
I had done limited porting of SANE under
Hi Allan,
On 09/06/07, m. allan noah wrote:
but i though there was one in /mingw/include? if you remove that one,
does it find the compiler one? you are getting out of my league here,
can you tell? :)
No, stddef.h is not included in /mingw/include. But, by adding
#include stddef.h
to the
Hi everyone,
I am attempting to compile Sane on MinGW, and so far, it has been
going well. Unfortunately, I have now encountered these errors, which
I cannot seem to fix myself.
sanei_usb.c: In function `sanei_usb_open':
sanei_usb.c:1049: warning: implicit declaration of function `fcntl'
Hi Allan,
On 08/06/07, m. wrote:
On 6/8/07, Hugh McMaster wrote:
I have heard from the MinGW lists. The macro is not in the general
stddef.h header, but in the header from the GCC package. It is
located in /mingw/lib/gcc/mingw32/3.4.5/include/stddef.h, not in
/mingw/include.
ask them
I'll find out.
Hugh
On 07/06/07, m. allan noah wrote:
weird. can you ask around on the mingw lists and see where they put
offsetof? we should get it from them instead of defining it
ourselves...
Hi,
While compiling Sane (CVS version), I encountered another compile time
error. This time, it would seem that 'u_short' has not been declared.
I am using MinGW, and GCC
In an effort to fix this, I included this typedef before the error
line displayed in the output:
typedef unsigned short
Hi Allan,
On 07/06/07, m. allan noah wrote:
weird. can you ask around on the mingw lists and see where they put
offsetof? we should get it from them instead of defining it ourselves...
I have heard from the MinGW lists. The macro is not in the general
stddef.h header, but in the header from
Hi Allan,
On 05/06/07, m. allan noah wrote:
hmm, no offsetof macro in mingw's c lib? or maybe the correct header
is not included on mingw build (usually stddef.h)?
if you cant find it, you could try adding this to sanei-scsi.h
#define offsetof(TYPE, MEMBER) ((size_t) (((TYPE*) 0)-MEMBER))
Hi Allan,
On 04/06/07, m. allan noah wrote:
platform/compiler/clibrary version info?
Platform: MinGW (from Cygwin)
Compiler: GCC 3.4.4
I'm not sure what you mean by C library version.
Hugh
On 6/4/07, Hugh McMaster wrote:
Hi everyone,
I am trying to compile Sane, and everything
Hi everyone,
I am trying to compile Sane, and everything is working, until the
compiler exits during the 'make' process with:
sanei_scsi.c: In function `sanei_scsi_open':
sanei_scsi.c:1220: warning: assignment makes integer from pointer without a cast
sanei_scsi.c:1222: warning: comparison
On 20/05/07, Julien BLACHE wrote:
Hugh McMaster wrote:
This is the best explanation, since libusb can communicate with the
mouse, so it would get displayed wouldn't it? Although I thought
sane-find-scanner was programmed to display scanners only?
There's no way to reliably identify
Hi everyone,
After obtaining the log, and having it looked at by Gerald and
St?phane, the Canon Lide 70 appears that it could be related to the
Canon 600F (not confirmed yet). Anyway, we have filtered the USB
logs, and I wanted to know if anyone would like to look at them.
I have no idea what
Hi everyone,
I just ran the sane-find-scanner command on my computer, and I noticed
that in the verbose output, the programme detected my USB mouse.
I assume that is would be the behaviour of libusb, since it detects
most USB devices. Is that correct? Libusb detected my scanner (Canon
3000F)
Hi Gerald,
Thankyou for your reply.
On 20/05/07, Gerald Murray wrote:
Quoting Hugh McMaster:
Hi everyone,
I just ran the sane-find-scanner command on my computer, and I noticed
that in the verbose output, the programme detected my USB mouse.
I assume that is would be the behaviour
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.
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.
Hi everyone,
My scanner (Canon Lide 70) is not supported currently, but (I hope)
will be supported by the Genesys backend sometime soon. Anyway, if I
added the Scanner IDs to the Genesys backend Conf.in and recompiled,
would that allow any usage of the scanner at all?
Thankyou.
Hugh
Hi Julien
On 30/04/07, Julien BLACHE wrote:
Hugh McMaster wrote:
I am running saned via inetd. When you say that Saned uses the
Standard Input/Standard Output, what do you mean?
When run through inetd, inetd will pass the TCP connection over to
saned on stdout (fd 1).
Does that mean
Hi Wittawat,
On 01/05/07, Wittawat Yamwong wrote:
On Monday 30 April 2007 08:08, Hugh McMaster wrote:
pixma.c: In function 'map_error':
pixma.c:132: error: 'ECANCELED' undeclared (first use in this function)
[...]
Please grasp the CVS version. It's already fixed there. If you don't want
Hi everyone,
When trying to compile the 20th April CVS snapshot of Sane, I am
receiving the following error during the 'make' process:
sanei_tcp.c: In function `sanei_tcp_read':
sanei_tcp.c:109: error: `MSG_WAITALL' undeclared (first use in this function)
sanei_tcp.c:109: error: (Each undeclared
Hi everyone,
I have managed to compile Sane 1.0.18 on Cygwin successfully. The
only backend that does not compile is the Pixma backend. I have
attached the output of the compile error.
If anyone has any ideas on this...
Hugh
Output:
pixma.c: In function 'map_error':
pixma.c:132: error:
Hi Julien,
On 29/04/07, Julien BLACHE wrote:
Hugh McMaster wrote:
Here is some output from 'saned -d':
[saned] main: starting debug mode (level 2)
[saned] main: could not find `sane' service (Operation not permitted)
[saned] main: using default port 6566
[saned] saned from sane
Hi Julien,
On 30/04/07, Julien BLACHE wrote:
Hugh McMaster wrote:
I have fixed this issue, by adding the sane-port to /etc/services.
Now 'saned -d128' shows the port and allows remote access, but normal
'saned' just closes down as before.
Are you running saned via inetd (or xinetd
Hi Ralf,
On 29/04/07, Dr. Ralf Wepler wrote:
I try to get to work a Canon FB630u Scanner.
ERROR: I tried to call sane_start but it returned the following
error message: Device busy. I think that's a bug in the canon630u
backend.
Have you tried running the test backend/programme as the
Hi Ralf,
On 30/04/07, Dr. Ralf Wepler wrote:
I just tried to run the test-programm and xsane as root user. Both
worked. Running the same as user xx fails. Is it a problem of rights?
And, if so, in which files?
This is a result of user rights not being allowed. I am not sure how
to change
I have solved this issue. It would seem to be caused by invoking
-mno-cygwin flags to CFLAGS and LDFLAGS. Using host=HOST or
build=BUILD gets around this.
Hugh
On 22/04/07, Hugh McMaster wrote:
It would seem that sys/socket.h is not found, when it is in the
correct system folder. This also
Hi Ilia,
On 26/04/07, Ilia Sotnikov wrote:
On 4/26/07, Hugh McMaster wrote:
I would need something like that. Just one thing though, will that
include saned, or some other network capable system?
Sure ;) I plan to finish saned porting in a few days. Although,
backends list
Hi everyone,
I have tried to compile Sane under Cygwin for Win32, but have received
the following error during the 'make' process. I have libieee1284
installed as well. I attempted to compile and install libgphoto2 as
well, but received errors during the Configure process.
inet_ntop.c:7:24:
Hi Ilia,
On 26/04/07, Ilia Sotnikov wrote:
On 4/25/07, Hugh McMaster wrote:
Hi everyone,
I have tried to compile Sane under Cygwin for Win32, but have received
the following error during the 'make' process. I have libieee1284
installed as well. I attempted to compile and install
Hi everyone,
Is it possible to compile Sane for Windows, say, by using Cygwin or MinGW?
Thankyou.
Hugh
(Resubmitted in Plain Text)
Hi everyone,
I am trying to compile Sane in Ubuntu 7.04, and am encountering issues
shortly after commencing the 'make' process.
It would seem that sys/socket.h is not found, when it is in the
correct system folder. This also occurs with arpa/inet.h and another
header which I cannot remember
813e5f920704220110w369bd001vbfd8ecf39e9c3...@mail.gmail.com
Message-ID: 97246d0e0704220512s52c91606r773568b9bcc67...@mail.gmail.com
On 4/22/07, Hugh McMaster dasjour...@gmail.com wrote:
Hi everyone,
Is it possible to compile Sane for Windows, say, by using Cygwin or MinGW?
Thankyou.
Hugh
download
Hi everyone,
Is it possible to compile Sane for Windows, say, by using Cygwin or MinGW?
Thankyou.
Hugh
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070421/46aba8a7/attachment.html
From
46 matches
Mail list logo