[sane-devel] FW: Sus3 7.3, Sane 1.05, HP5300C
Douglas Gilbert
dgilbert at interlog.com
Tue Feb 19 03:20:33 GMT 2002
Art Fore wrote:
> On http://www.neatech.nl/oss/HP5300C/ they talk about a usb-scsi module.
This sounds like an old module name. Two usb module names I
can see are "usb-storage" and "scanner".
> This does not show up in my kernel config, however, I have an hp53xx module.
> There is also mention of a patch for the avision driver. Is this patch still
> applicable or is it by this time already built in?
>
> Should the scsi generic be as a module or compiled into the kernel?
It doesn't matter.
> Should the hp53xx module be compiled into the kernel or as a module?
Don't know.
> Right now I have both compiled into the kernel and the cat /proc/scsi/scsi
> does not work where it worked before and I would like to know what is the
> right way. On one of the web articles, it said the scsi generic should be
> compiled into the kernel, not as a module and the hp53xx should be as a
> module, but that did not work either?
With regard to SANE_SG_BUFFERSIZE, you can see it
in the lk 2.4 series by doing 'cat /proc/scsi/sg/debug'
while SANE has your scanner's attention. The "bufflen"
and "blen" values are of interest. 32768 is the default
value for the sg driver so setting that size shouldn't
have much impact.Anyway, that value is only fine tuning;
it sounds like you have more serious problems, in which
case SANE_SG_BUFFERSIZE is irrelevant.
Doug Gilbert
> -----Original Message-----
> From: Jeremy Hall [mailto:jhall at UU.NET]
> Sent: Monday, February 18, 2002 2:29 PM
> To: art_fore at 3mts.com
> Cc: Jeremy Hall; sane-devel at mostang.com
> Subject: Re: [sane-devel] FW: Sus3 7.3, Sane 1.05, HP5300C
>
>
> I don't know how to tell it to use hp5300.o, I just modprobe'd it and it
> found it.
>
> If you're using bash for a shell
>
> export SANE_SG_BUFFERSIZE=32768
>
> or if csh or tcsh
>
> setenv SANE_SG_BUFFERSIZE 32768
>
> _J
>
> In the new year, Art Fore wrote:
>
>>How do you set SANE_SG_BUFFERSIZE? I done a SANE_SG_BUFFERSIZE=32768, but
>>this does not seem to do anything? Also, how do you tell which it is
>>
> using,
>
>>scanner.o or hp5300.o? Is this in a config file somewhere?
>>
>>Art
>>
>>-----Original Message-----
>>From: Jeremy Hall [mailto:jhall at UU.NET]
>>Sent: Monday, February 18, 2002 2:16 PM
>>To: art_fore at 3mts.com
>>Cc: sane-devel at mostang.com
>>Subject: Re: [sane-devel] FW: Sus3 7.3, Sane 1.05, HP5300C
>>
>>
>>THe 5300 doesn't use scanner.o, it uses hp5300.o (or whatever it was
>>called) It's basically a modified microtek driver.
>>
>>Make sure your SANE_SG_BUFFERSIZE is set correctly, if memory serves, this
>>should be 32768 (this is an environment variable) then somewhere in sane's
>>configuration options is a directive that tells sane to use a driver, make
>>sure it is using the avision driver.
>>
>>This was with sane 1.0.3, but things still should work?
>>
>>_J
>>
>>In the new year, Art Fore wrote:
>>
>>>I have gone through the whole exercise again, still no results except
>>>
> that
>
>>>now the cat /dev/scsi/scsi does not work. When from bad to worse.
>>>
>>>Does anyone have a howto to install this scanner in Suse 7.3, 2.4.17
>>>
>>kernel,
>>
>>>1.05 sane drivers?
>>>
>>>Or, what about the 1.06 sane drivers, I installed them but then
>>>sane-find-scanner and scanimage don't work at all, command not found, so
>>>went back to 1.05.
>>>
>>>Scanner shows up under scsi in yast2 hardware, lsmod shows scanner
>>>
> unused,
>
>>>so I am confused.
>>>
>>>Art
>>>
>>>-----Original Message-----
>>>From: Art Fore [mailto:art_fore at 3mts.com]
>>>Sent: Sunday, February 17, 2002 10:45 AM
>>>To: sane-devel at www.mostang.com
>>>Subject: Sus3 7.3, Sane 1.05, HP5300C
>>>
>>>
>>>I have tried everthing that I could find but have no success. Have
>>>configured scanner in Yast2 with Avision. Here is what I get
>>>
>>>sane-find-scanner
>>>found scanner "HP ScanJet 5300C 4.00" at /dev/sg1
>>>
>>>scanimage -L results in no scanners were identified.
>>>
>>>I edited the dll.conf and removed the # from the avision.
>>>
>>>Still nothing.
>>>
>>>I unistalled sane 1.05 and installed 1.06 backend and frontend, but then
>>>sane-find-scanner and scanimage comes up with command not found, so I
>>>uninstalled and reinstalled the 1.05 from the Suse CD.
>>>
>>>Still nothing, other than the /dev/sg0 changed to /dev/sg1. Generic scsi
>>>
>>is
>>
>>>compiled in kernel, HP53xx USB is compled as module. Had it the other
>>>
> way
>
>>>around, but there was no change.
>>>
>>>Did not try the patch as it seemed to be for 1.04 and I am running 1.05
>>>
>>and
>>
>>>figured it would screw something up more than it already is.
>>>
>>>Would appreciate any help.
>>>
>>>Art
>>>
>>>
>>>_______________________________________________
>>>Sane-devel mailing list
>>>Sane-devel at www.mostang.com
>>>http://www.mostang.com/mailman/listinfo/sane-devel
>>>
>>>
>>
>
>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
>
>
>
More information about the sane-devel
mailing list