<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2706" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>I finally got back on this
project. I downloaded and ran kanotix. Without installing anything, my scanner
worked when logged in as root. I looked at the kernel version. It was 2.6.14.
The SANE scanimage version was 1.0.17 on kanotix. I then went back to my other
trial system that runs RedHat 2.6.9-5.EL. I'm running the same version of SANE
on RedHat 2.6.9 and my 2.4.29 kernel. I can't figure out why scanimage times out
on those two kernels. Unfortunately I need get this scanner to work on the 2.4.9
kernel because we have a few thousand customers running this kernel and we want
to add scanner support. </SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>The biggest difference I
notice between these kernels is that the 2.6.9 and 2.4.29 kernels originally
tried to load the hpusbscsi module. With hpusbscsi loaded, sane-find-scanner
sees the scanner, but scanimage -L does not. I use modprobe to remove hpusbscsi
and scanimage sees the scanner, but times out when trying to
write.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>The avision library seems
to time out the first time it tries to send an INQUIRY. I'm thinking it can open
the connection to the device, but can not write to it. I just don't know enough
about USB or scanners to know why. I am running as root.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>[avision] attach: sending
standard INQUIRY<BR>[avision] filling command to have a length of 10, was:
6<BR>[avision] try to write cmd, count: 10.<BR>[avision] wrote 0
bytes<BR>[avision] === Got error 9 trying to write, wrote: 0.
===<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>Any ideas on how to proceed
would be very much appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>Kerry</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006><FONT
size=2></FONT> </DIV></SPAN></FONT>
<DIV><FONT face=Arial><SPAN class=301504612-14072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>[dll] load: dlopen()ing
`/usr/local/lib/sane/libsane-avision.so.1'<BR>[dll] init: initializing backend
`avision'<BR>[sanei_debug] Setting debug level of avision to 128.<BR>[avision]
sane_init:(Version: 1.0 Build: 182)<BR>[avision] sane_init: parsing config line
""<BR>[avision] sane_init: config file line 1: ignoring empty line<BR>[avision]
sane_init: parsing config line "# This are the possible options. Normally any
scanner"<BR>[avision] sane_init: config file line 2: ignoring comment
line<BR>[avision] sane_init: parsing config line "# should work just fine
without them - and they are only"<BR>[avision] sane_init: config file line 3:
ignoring comment line<BR>[avision] sane_init: parsing config line "# needed for
test and debugging. So if you experience problems"<BR>[avision] sane_init:
config file line 4: ignoring comment line<BR>[avision] sane_init: parsing config
line "# and you solve them with enabling options here, please
notify"<BR>[avision] sane_init: config file line 5: ignoring comment
line<BR>[avision] sane_init: parsing config line "# the SANE/Avision maintainer:
Rene Rebe <<A
href="mailto:rene@exactcode.de">rene@exactcode.de</A>>"<BR>[avision]
sane_init: config file line 6: ignoring comment line<BR>[avision] sane_init:
parsing config line ""<BR>[avision] sane_init: config file line 7: ignoring
empty line<BR>[avision] sane_init: parsing config line "#option
disable-gamma-table"<BR>[avision] sane_init: config file line 8: ignoring
comment line<BR>[avision] sane_init: parsing config line "#option
disable-calibration"<BR>[avision] sane_init: config file line 9: ignoring
comment line<BR>[avision] sane_init: parsing config line "#option
force-a4"<BR>[avision] sane_init: config file line 10: ignoring comment
line<BR>[avision] sane_init: parsing config line ""<BR>[avision] sane_init:
config file line 11: ignoring empty line<BR>[avision] sane_init: parsing config
line "scsi AVISION"<BR>[avision] sane_init: config file line 12: trying to
attach SCSI: scsi AVISION'<BR>[avision] sane_init: parsing config line "scsi
FCPA"<BR>[avision] sane_init: config file line 13: trying to attach SCSI: scsi
FCPA'<BR>[avision] sane_init: parsing config line "scsi MINOLTA"<BR>[avision]
sane_init: config file line 14: trying to attach SCSI: scsi
MINOLTA'<BR>[avision] sane_init: parsing config line "scsi MITSBISH
MCA-S600C"<BR>[avision] sane_init: config file line 15: trying to attach SCSI:
scsi MITSBISH MCA-S600C'<BR>[avision] sane_init: parsing config line "scsi
MITSBISH MCA-SS600"<BR>[avision] sane_init: config file line 16: trying to
attach SCSI: scsi MITSBISH MCA-SS600'<BR>[avision] sane_init: parsing config
line "scsi HP"<BR>[avision] sane_init: config file line 17: trying to attach
SCSI: scsi HP'<BR>[avision] sane_init: parsing config line "scsi
hp"<BR>[avision] sane_init: config file line 18: trying to attach SCSI: scsi
hp'<BR>[avision] sane_init: parsing config line ""<BR>[avision] sane_init:
config file line 19: ignoring empty line<BR>[avision] sane_init: parsing config
line "scsi /dev/scanner"<BR>[avision] sane_init: config file line 20: trying to
attach SCSI: scsi /dev/scanner'<BR>[avision] sane_init: parsing config line
"#usb libusb:002:003"<BR>[avision] sane_init: config file line 21: ignoring
comment line<BR>[avision] sane_init: parsing config line "# usb 0x03f0
0x0701"<BR>[avision] sane_init: config file line 22: ignoring comment
line<BR>[avision] sane_init: parsing config line "usb 0x0638
0x0a23"<BR>[avision] sane_init: config file line 23: trying to attach USB:`usb
0x0638 0x0a23'<BR>[avision] attach:<BR>[avision] attach: opening
libusb:002:004<BR>[avision] attach: sending standard INQUIRY<BR>[avision]
filling command to have a length of 10, was: 6<BR>[avision] try to write cmd,
count: 10.<BR>[avision] wrote 0 bytes<BR>[avision] === Got error 9 trying to
write, wrote: 0. ===<BR>[avision] try to read status to clear the
FIFO<BR>[avision] avision_usb_status: timeout 500, 1 retries<BR>[avision] ==>
(bulk read) going down ...<BR>[avision] <== (bulk read) got: 0, status:
0<BR>[avision] ==> (interrupt read) going down ...<BR>[avision] <==
(interrupt read) got: 0, status: 0<BR>[avision] === Got error 9 trying to read
status. ===<BR>[avision] attach: standard inquiry failed (Error during device
I/O)<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=301504612-14072006> </DIV></SPAN></FONT>
<DIV><FONT face=Arial><SPAN class=301504612-14072006>>On Thursday 06 July
2006 16:42, Kerry Menzel wrote:<BR>>><I> I'm stuck. I'd really like to get
this Avision AV220 scanner to work, but<BR></I>>><I> not able to. I
discovered that I could put the hpusbscsi module in the<BR></I>>><I>
hotplug blacklist. Now it does not load when I plug in the scanner. But
I<BR></I>>><I> still timeout when I try to do a scanimage -L. I have tried
RedHat AS 4.<BR></I>>><I> Same results. I really need to get it to work
with 2.4.29-abi. Anything I<BR></I>>><I> should look at. Any help would be
much appreciated.<BR></I>><BR>>So which module loads now? The "avision"
?<BR>><BR>>Suggestion: try any newer "live" distro (e.g. <A
href="http://kanotix.org/">http://kanotix.org</A>) - this works <BR>>for me
on my box with the AV220. That way, you can at least rule out hardware
<BR>>problems etc.<BR>><BR>>I never had much joy with USB on the old
2.4 kernels - any special reason why <BR>>you would be stuck with such an
oldie?<BR>><BR>>Horst<BR></DIV></SPAN></FONT></BODY></HTML>