[sane-devel] HP 7450C ... Try hpusbscsi
Rene Rebe
rene.rebe@gmx.net
Fri, 04 Jul 2003 01:24:07 +0200 (CEST)
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@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@localhost root]# rmmod scanner
> rmmod: module scanner is not loaded
> [root@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@localhost root]# mv /lib/modules/2.4.20-8/kernel/drivers/usb/hp=
usbscsi.o /lib/modules/2.4.20-8/kernel/drivers/usb/hpusbscsi.obk
> [root@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@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@localhost root]# umount /proc/bus/usb
> [root@localhost root]#
> =
> 10:21
> rebooted because of SBC technician testing my DSL connection.
> scanner added to hardware recognized by Linux
> =
> [root@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@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 on=
e
in the avisino.conf. Only one needs to be used.
[...]
> [root@localhost root]# scanimage -L
> device `avision:/dev/sg5' is a Hewlett-Packard ScanJet 7400c flatbed =
scanner
> [root@localhost root]#
> =
> [root@localhost root]# ls -l /dev/sg5
> crw------- 1 tom root 21, 5 Jan 30 02:24 /dev/sg5
> [root@localhost root]#
> =
> 11:35
> xsane, scan Failed to start scanner, error during device I/O.
> replug
Hm - a "SANE_DEBUG_AVISION=3D7 xsane 2> log" would be interesting ...
> [root@localhost root]# SANE_DEBUG_AVISION=3D255 scanimage >~/image.pn=
m 2>~/scanlog
> [root@localhost root]
> =
> Failed after a long time. Made noises, so I unplugged.
> =
> [root@localhost root]# umount /proc/bus/usb
> [root@localhost root]# SANE_DEBUG_AVISION=3D255 scanimage >~/image.pn=
m 2>>~/scanlo
> g
> =
> Failed immediately. I had forgotten to plug in the scanner.
> =
> [root@localhost root]# SANE_DEBUG_AVISION=3D255 scanimage >~/image.pn=
m 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=E9 Rebe
- ROCK Linux stable release maintainer
-- =
Ren=E9 Rebe - Europe/Germany/Berlin
rene@rocklinux.org rene.rebe@gmx.net
http://www.rocklinux.org http://www.rocklinux.org/people/rene =
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene