[sane-devel] HP 7450C ... Try hpusbscsi
Rene Rebe
rene.rebe at gmx.net
Fri Jul 4 00:24:07 BST 2003
Hi,
please do send debug logs for SANE/Avision with a log higher then 7
only on request. Those contains many thousand lines with calibration
data values ... - And you also should not send such big mails to the
list (I guess the list software rejected it anyway?)
On: 30 Jun 2003 13:06:39 -0700,
Thomas Frayne <tomf at sjpc.org> wrote:
> The procedure to switch to hpusbscsi, as I currently understand it is:
>
> Turn off the scanner to clear the "initializing" state
> Rename back to hpusbscsi.o
> Reboot to get Linux to recognize SCSI scanner
> Don't do a modprobe; do an rmmod scanner to make sure.
> Modify /etc/rc.d/rc.local to remove the modprobe at the next boot
> Modify /usr/local/etc/sane.d/avision.conf to remove the usb lines and
> insert:
not needed for you - but uncritical:
> scsi AVISION
> scsi HP
> scsi hp
> scsi /dev/scanner
erhm /dev/usb/scanner0 is not a SCSI device - but this should just
error without any bad side-effects ...
> scsi /dev/usb/scanner0
>
> umount /proc
>
> Anything wrong, redundant, or missing?
>
> Here is what happened this morning:
>
>
> 9:32
> [root at localhost root]# rmmod scanner
> rmmod: module scanner is not loaded
> [root at localhost root]# locate /*/hpusbscsi.*
> /hda/9/lib/modules/2.4.18-14/kernel/drivers/usb/hpusbscsi.o
> /lib/modules/2.4.20-8/kernel/drivers/usb/hpusbscsi.o
> /lib/modules/2.4.20-18.9/kernel/drivers/usb/hpusbscsi.obk
Is this a mv A B ; mv B A ???
> [root at localhost root]# mv /lib/modules/2.4.20-8/kernel/drivers/usb/hpusbscsi.o /lib/modules/2.4.20-8/kernel/drivers/usb/hpusbscsi.obk
> [root at localhost root]# mv /lib/modules/2.4.20-18.9/kernel/drivers/usb/hpusbscsi.obk /lib/modules/2.4.20-18.9/kernel/drivers/usb/hpusbscsi.o
> [root at localhost root]#
> Modified /etc/rc.d/rc.local to remove the modprobe at the next boot
> Modified /usr/local/etc/sane.d/avision.conf
/proc/bus/usb can just be mounted (and must be for other usb devices
you may want to use (digital camera ...)
> [root at localhost root]# umount /proc/bus/usb
> [root at localhost root]#
>
> 10:21
> rebooted because of SBC technician testing my DSL connection.
> scanner added to hardware recognized by Linux
>
> [root at localhost root]# scanimage -L
> device `avision:/dev/sg5' is a Hewlett-Packard ScanJet 7400c flatbed scanner
Good - your scanner is recognized on a SCSI device!
> [root at localhost root]# sane-find-scanner
>
> found SCSI scanner "hp scanjet 7400c 0.8M" at /dev/scanner
> found SCSI scanner "hp scanjet 7400c 0.8M" at /dev/sg5
> found SCSI scanner "hp scanjet 7400c 0.8M" at /dev/sgf
sgf and scanner are just links to sg5. I is ok that you only specify one
in the avisino.conf. Only one needs to be used.
[...]
> [root at localhost root]# scanimage -L
> device `avision:/dev/sg5' is a Hewlett-Packard ScanJet 7400c flatbed scanner
> [root at localhost root]#
>
> [root at localhost root]# ls -l /dev/sg5
> crw------- 1 tom root 21, 5 Jan 30 02:24 /dev/sg5
> [root at localhost root]#
>
> 11:35
> xsane, scan Failed to start scanner, error during device I/O.
> replug
Hm - a "SANE_DEBUG_AVISION=7 xsane 2> log" would be interesting ...
> [root at localhost root]# SANE_DEBUG_AVISION=255 scanimage >~/image.pnm 2>~/scanlog
> [root at localhost root]
>
> Failed after a long time. Made noises, so I unplugged.
>
> [root at localhost root]# umount /proc/bus/usb
> [root at localhost root]# SANE_DEBUG_AVISION=255 scanimage >~/image.pnm 2>>~/scanlo
> g
>
> Failed immediately. I had forgotten to plug in the scanner.
>
> [root at localhost root]# SANE_DEBUG_AVISION=255 scanimage >~/image.pnm 2>>~/scanlo
> g
>
> Made noises. Not as loud. Unplugged.
>
> I am attaching scanlog.
The log look mostly ok. Could you try to only scan a smal region of
the top of the page and using xscanimage or xsane and see if small
scans work - and mail be the log of such a tiny scan or for the error
if you get one?
Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer
--
René Rebe - Europe/Germany/Berlin
rene at rocklinux.org rene.rebe at gmx.net
http://www.rocklinux.org http://www.rocklinux.org/people/rene
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene
More information about the sane-devel
mailing list