From: Julien T. <jul...@wa...> - 2004-03-08 18:31:04
|
Le lundi 8 Mars 2004 18:28, vous avez =E9crit : > Running the testtool with option -v should give you much more info. > Probably you just forgot to add your scanners' USB id to the > ScannerModels list (in hp3300c_xfer.c) > stupid me... but I wouldn't have assumed the test tool utilities checked the product's= =20 IDs. any way, here's now my output: "=09 # ./testtool -v Initializing scanner Registering transfer method 0: LibUSB Matching USB device 0x0000-0x0000 ... nothing found Matching USB device 0x0000-0x0000 ... nothing found Matching USB device 0x0472-0x0065 ... nothing found Matching USB device 0x0472-0x0065 ... nothing found Matching USB device 0x03F0-0x0A01 ... found Hewlett-Packard ScanJet 2400 _ReportDevice 'libusb(004,004)' Matching USB device 0x0000-0x0000 ... nothing found Matching USB device 0x06B9-0x4061 ... nothing found Matching USB device 0x0000-0x0000 ... nothing found Matching USB device 0x0000-0x0000 ... nothing found Hp3300cXferOpen 'libusb(004,004)' probing LibUSB Matching USB device 0x03F0-0x0A01 ... found Hewlett-Packard ScanJet 2400 ERROR: internal error! (5) Hp3300cOpen failed " are there any additionnal parts of the source I shall tune ? does my testtool binary seem well linked to libusb ? (I guess yes) thanx for your answers regards, julien > Bertrik > > Julien TIERNY wrote: > > Hi Bertrik, > > > > Sorry for bothering you once again, but here's my point: > >>Try the 'testtool' package, this has a functional testtool, > >>the 'backend' package does not as this has most experimental > >>stuff stripped off and is more geared toward sane. > >>Link: > >>http://sourceforge.net/project/shownotes.php?release_id=3D150272 > > > > I compiled the latest release of the testtool package (20030401_1) with > > the following supports: > > > > * libusb support (tunings in Makefile) > > * sanei_usb support (tunings in hp3300c_xfer_cfg.h file), I also tried > > libusb support. > > > > The synopsis of the tool gives: > > " > > ./testtool [OPTIONS]... [FILENAME] > > " > > What does [FILENAME] field refer to ? > > (a node in the /dev fs ? --> I don't use kernel access method) > > > > For info, any testtool option (let's say "-p") returns the following > > result: > > > > " > > Hp3300cXferOpen failed for '' > > Hp3300cOpen failed > > " > > > > Did I forgot any command line argument ? > > Didn't I compile it properly ? > > > > Thank you, julien > > > > Le jeudi 4 Mars 2004 20:10, vous avez =E9crit : > >>Julien TIERNY wrote: > >>>I'm trying to install the hp3300-backend package set in order to see if > >>>it supports my scanner (hp scanjet2400). > >>> > >>>But I can't compile it :( > >>> > >>>" > >>># make all > >>>gcc -Wall -g -I/usr/local/include -DLIBUSB_SUPPORT -c -o main.o main= =2Ec > >>>main.c:28:21: mytypes.h: No such file or directory > >>>main.c: In function `main': > >>>main.c:277: warning: implicit declaration of function > >>>`Hp3300cXferRegisterModule' > >>>main.c:277: error: `LibUsbDev' undeclared (first use in this function) > >>>main.c:277: error: (Each undeclared identifier is reported only once > >>>main.c:277: error: for each function it appears in.) > >>>main.c:420: warning: implicit declaration of function `Hp3300cBulkRead' > >>>make: *** [main.o] Error 1 > >>>" > >>> > >>>Libusb is functionnal on my system. What does LibUsbDev refer to ? > >>> > >>>Any help appreciated, > >>> > >>>thanx, julien > >> > >>Kind regards, > >>Bertrik |