[sane-devel] HP 7450C ... Try hpusbscsi - black

Thomas Frayne tomf@sjpc.org
04 Jul 2003 08:12:43 -0700

On Thu, 2003-07-03 at 16:24, Rene Rebe wrote:
> Hi,
> please do send debug logs for SANE/Avision with a log higher then 7
> only on request. 

OK.  I thought it was requested, but not by you.

> On: 30 Jun 2003 13:06:39 -0700,
>     Thomas Frayne <tomf@sjpc.org> wrote:
> > /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/hpusbscsi.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

No. Different directories.  I had just upgraded my kernel and disabled
hpusbscsi. I enabled it again just for the new kernel.

> > [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]# scanimage -L
> > device `avision:/dev/sg5' is a Hewlett-Packard ScanJet 7400c flatbed scanner
> Good - your scanner is recognized on a SCSI device!
> [...]
> Hm - a "SANE_DEBUG_AVISION=7 xsane 2> log" would be interesting ...
> 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?


I unplugged and plugged the scanner and executed
SANE_DEBUG_AVISION=7 xsane 2> ~/logscan2

xsane started for Scanjet 7400c:sg6.

I unchecked Enable ADF, set Bottom-right x [in] 3.000, Bottom-right y
[in] 2.000, and did a prescan.  The scanner behaved normally, but
produced a completely black image.  (I had gotten good images from xsane
while using Redhat 8.  One of the reasons I upgraded to Redhat 9 was to
try to get the ADF running.)

I left xsane running, deleted 3000 repeated lines from the scanlog, and
got it down to 366K.  I am not copying the mailing list.  I plan to
leave xsane up until next reboot.

What next?