I tried to compile Sane after succesfully patching ist. At least the
scipt patchsane says so.
So i did a configure which had no
erros.
After Starting make, it runs for a time, but then stops
because a file called usb.h ist not found ...
Perhaps you
should enhance the script, that it also changes the neccessary
lines in the Makefile of sane ...
C.U. MC Murphy
Logged In: YES
user_id=282107
The usb.h file is part of the libusb package. To be more
complete, I agree the patch script should also update the
configure script. However I don't have experience with
configure scripts and I don't know how to change the patch
script. Suggestions are welcome.
Anyway, the recommended procedure is to first try the
testtool and then to try the SANE backend and to use the
testtool you already need libusb.
Logged In: NO
The problem I have, is that I cannot use libusb because of other things in
my system, so I decided to use the kernel method.
I don't konw if I
have forgotten to add a patch parameter to the script, at least I can't
remeber having read anything about such things.
If there is any
parameter I have to add before patching, please reply.
BTW: the
testtool works fine with kernel-support (2.4.18)
Logged In: NO
After all, now I tried using libusb...
I build it and installed it, and then
tried to compile sane again.
The result was useful: Sane was
compiled with no errors. But I do not think it should be necessarry in any
kind if I use the kernel method.
Perhaps you should add at least this
workaround to your installation manual.
C.U. MC Murphy
Logged In: YES
user_id=282107
I probably won't fix this in the near future.Ther are
however plans to split up the code that provides the data
transfer mechanisms (linux usb, libusb, uscanner, etc.) That
should make it easier to select the proper transfer method.
Logged In: NO
I had the same problem.
I edited hp3300c_xfer.c and added #define NO_LIBUSB just
above the #ifndef NO_LIBUSB
Logged In: YES
user_id=567272
Another thing I found out, just by being curios:
I startet looking in
niash.c
and found an interessting entry in line 66
char *
usb_device = NULL
I changed it to /dev/usbscanner
and
compiled sane again.
Result:
scanimage -L now lists the
scanner, even if it is not there.
As I did this on my home-linux-box,
and I was not able to test it at work ... I will report further results
....
Logged In: NO
Got the same problem.