[sane-devel] Formulardaten

2007-07-10 Thread Hugh McMaster
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

[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-10 Thread Hugh McMaster
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

[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-05 Thread Hugh McMaster
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

[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-05 Thread Hugh McMaster
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

[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-04 Thread Hugh McMaster
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,

[sane-devel] [ANNOUNCE] Native Wine32 SANE available for testing

2007-07-03 Thread Hugh McMaster
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.

[sane-devel] parallel make fix causes problems- was: CVS snapshots | md5_buffer undefined errors in auth_callback function

2007-06-29 Thread Hugh McMaster
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

[sane-devel] md5 Buffer Error

2007-06-22 Thread Hugh McMaster
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':

[sane-devel] md5 Buffer Error

2007-06-21 Thread Hugh McMaster
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

[sane-devel] md5 Buffer Error

2007-06-21 Thread Hugh McMaster
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

[sane-devel] md5 Buffer Error

2007-06-20 Thread Hugh McMaster
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

[sane-devel] Canon Canoscan 3000ex

2007-06-18 Thread Hugh McMaster
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

[sane-devel] Fnctl Functions

2007-06-17 Thread Hugh McMaster
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

[sane-devel] Fnctl Functions

2007-06-17 Thread Hugh McMaster
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

[sane-devel] Sane Compile - Parse Error

2007-06-12 Thread Hugh McMaster
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

[sane-devel] Fnctl Functions

2007-06-12 Thread Hugh McMaster
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'

[sane-devel] Sane Compile - Parse Error

2007-06-09 Thread Hugh McMaster
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

[sane-devel] Sane Compile - Parse Error

2007-06-08 Thread Hugh McMaster
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...

[sane-devel] U_Short Declaration

2007-06-08 Thread Hugh McMaster
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

[sane-devel] Sane Compile - Parse Error

2007-06-08 Thread Hugh McMaster
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

[sane-devel] Sane Compile - Parse Error

2007-06-07 Thread Hugh McMaster
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))

[sane-devel] Sane Compile - Parse Error

2007-06-05 Thread Hugh McMaster
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

[sane-devel] Sane Compile - Parse Error

2007-06-04 Thread Hugh McMaster
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

[sane-devel] Sane-Find-Scanner Detects Mouse

2007-05-21 Thread Hugh McMaster
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

[sane-devel] Adding Scanner to Backend Configuration

2007-05-21 Thread Hugh McMaster
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

[sane-devel] Sane-Find-Scanner Detects Mouse

2007-05-20 Thread 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 of libusb, since it detects most USB devices. Is that correct? Libusb detected my scanner (Canon 3000F)

[sane-devel] Sane-Find-Scanner Detects Mouse

2007-05-20 Thread Hugh McMaster
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

[sane-devel] Adding Scanner to Backend Configuration

2007-05-15 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.

[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.

[sane-devel] Adding Scanner to Backend Configuration

2007-05-11 Thread Hugh McMaster
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

[sane-devel] Saned Service

2007-05-01 Thread Hugh McMaster
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

[sane-devel] Pixma Backend Compile Error

2007-05-01 Thread Hugh McMaster
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

[sane-devel] Sanei Tcp Compile Error

2007-05-01 Thread Hugh McMaster
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

[sane-devel] Pixma Backend Compile Error

2007-04-30 Thread Hugh McMaster
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:

[sane-devel] Saned Service

2007-04-30 Thread Hugh McMaster
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

[sane-devel] Saned Service

2007-04-30 Thread Hugh McMaster
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

[sane-devel] Canon FB630u Scanner

2007-04-30 Thread Hugh McMaster
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

[sane-devel] Canon FB630u Scanner

2007-04-30 Thread Hugh McMaster
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

[sane-devel] Re: Various Headers Not Found

2007-04-28 Thread Hugh McMaster
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

[sane-devel] Compiling Sane for Win32

2007-04-27 Thread Hugh McMaster
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

[sane-devel] Compiling Sane for Win32

2007-04-25 Thread Hugh McMaster
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:

[sane-devel] Compiling Sane for Win32

2007-04-25 Thread Hugh McMaster
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

[sane-devel] Compiling Sane for Win32

2007-04-22 Thread Hugh McMaster
Hi everyone, Is it possible to compile Sane for Windows, say, by using Cygwin or MinGW? Thankyou. Hugh (Resubmitted in Plain Text)

[sane-devel] Various Headers Not Found

2007-04-22 Thread Hugh McMaster
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

[sane-devel] Various Headers Not Found

2007-04-22 Thread Hugh McMaster
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

[sane-devel] Compiling Sane for Win32

2007-04-21 Thread Hugh McMaster
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