# Re: HP5300C - USB-problems?

From: j.steindlberger@gmx.de
Date: Sun Feb 18 2001 - 11:47:02 PST

- Next message: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Previous message: Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"
  - In reply to: Scott Gifford: "Re: HP5300C - USB-problems?"
  - Next in thread: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Reply: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Reply: Oliver Neukum: "Re: HP5300C - USB-problems?"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi,

  I got my scanner scanning! It does not bring me useable Images, but it works
  once between rebooting. Well, I am now at t
  he point all the others were, who wrote to the list weeks ago.

  The differeces to my previous tries are the following:
  OS: SuSE 7.0
  Kernel: 2.4.0-test11 (with usb-scsi-patch)
  Sane: 1.0.4 (with avision-patch for HP5300C)
  Epox-mainboard with VIA (different/older model)
  HP5300C (the same one)

  And here is what I did (for the non-cracks like me):

  ##############################################################

  removed all installations of sane and frontends (scanimage xscanimages
  xsane)

  downloaded sources sane-backends-1.0.4, sane-frontends-1.0.4,
  linux-2.4.0-test11 and patches sane.diff, usb-scsi.diff (s
  ources extracted to /usr/src/ and patches put to /)

  ./configure
  make
  make install
  cd /usr/src/sane-frontends-1.0.4
  ./configure
  make
  make install
  cd /usr/src/linux
  patch -p1 < /usb-scsi.diff
  make menuconfig
  --> scsi-support -> scsi generic support - set to (M)
  --> support for USB -> USBSCSI for HP5300C
  (no other SCSI-drivers, to be save; someone posted that it didn't work with
  IDE-SCSI)
  make dep bzImage modules modules_install
  (configured the boot loader and started new kernel)
  (loaded the modules - (!) old modprobe does not find the 2.4-modules)
  insmod /lib/modules/2.4.0/kernel/drivers/scsi/sg.0
  insmod /lib/modules/2.4.0/kernel/drivers/usb/usb-scsi.o
  (added the scanner to the avision-searchlist)
  echo "scsi HP" >> /usr/local/etc/sane.d/avision.conf
  (in xterm-window)
  export SANE_SG_BUFFERSIZE=32768
  export SANE_DEBUG_AVISION=10 # for more debug-output
  xscanimage # only press scan, You will only get one (!) chance
  ##############################################################
  The buffersize has to be set to 32k! Neither 4k,8k,16k,48k nor 64k did work.
  Only one scan was possible. Rescanning with the same resolution results in
  the same filesize, but the head of the scanner doesn't move properly. That's
  why the image is even more unuseable - it contains parts of the old image.
  Changing the resolution causes more trash. Here's the image I scanned:
  http://www.freeresources.de/misc/steindlberger/
  Perhaps I should try the trick with win98 - I would have to install it
  especially for the scanner. (The trick is -someone posted- to scan once under
  windows and never switch off after that. Perhaps some firmware oder bugfixing is
  uploaded)
  Hmm, did I already write, that I think it would be better to mark the
  scanner at http://www.buzzard.org.uk/jonathan/scanners-usb.html with the color
  yellow? I would not have bought it in that case. I would have been waiting for an
  Epson GT-7000.

  Have a lot of fun ;-)
  Greetings
  Jörg

      --
      Sent through GMX FreeMail - http://www.gmx.net
      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Previous message: Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"
  - In reply to: Scott Gifford: "Re: HP5300C - USB-problems?"
  - Next in thread: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Reply: Jonathan Buzzard: "Re: HP5300C - USB-problems?"
  - Reply: Oliver Neukum: "Re: HP5300C - USB-problems?"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Sun Feb 18 2001 - 11:43:28 PST