[sane-devel] HP Scanjet 2400 support for genesys backend

Julien TIERNY julien.tierny at wanadoo.fr
Sat Apr 17 11:52:57 BST 2004


hi all,

	Henning : sorry for my two weeks of silence but I had to work for my studies. 
You will find attached a basic patch for hp2400 scanjet's support in genesys 
backend.
	Except adding IDs of the scanner in the 'genesys_usb_device_list' array and 
adding a specific 'Genesys_Model' data structure, I don't know what to do.



	I compiled the sane distribution (1.0.13) patched with the genesys backend 
and here are various outputs:



"
# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure 
that
  # you have loaded a SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet 
scanner]) at libusb:005:002
found USB scanner (vendor=0x06b9 [ALCATEL], product=0x4061 [Speed Touch USB ]) 
at libusb:003:002
  # Your USB scanner was (probably) detected. It may or may not be supported 
by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Scanners connected to the parallel port or other proprietary ports can't 
be
  # detected by this program.
"



"
# scanimage genesys:libusb:005:002
scanimage: no SANE devices found
"


"
# xscanimage genesys:libusb:005:002
xscanimage: relocation error: /usr/lib/sane/libsane-genesys.so.1: undefined 
symbol: sanei_usb_init
"



	- Could someone explain me why the 'chip' field doesn't appear in 
sane-find-scanner's output ?
	- Why the scanimage frontend can't find the device while sane-find-scanner 
could ?
	- What's the deal with /usr/lib/sane/libsane-genesys.so.1's symbols ? Would I 
have too agressive CFLAGS ?


	thanx for your help, julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_HPscanjet2400
Type: text/x-diff
Size: 2393 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040417/b52fc6eb/attachment.diff>


More information about the sane-devel mailing list