[sane-devel] Where can I find ppscsi driver?

Peter Kirchgessner peter@kirchgessner.net
Sat, 18 Jan 2003 08:54:12 +0100


Hi,

I have never tried the ppsci-driver because I don't have a 5100C.
You can try to load the module with

   insmod epst verbose=4

to enable the debug logs in /var/log/messages (see source code of 
ppscsi.c). But I don't know if this will help.
Just a simple question: You have connected the scanner to the parallel 
port and switched it on when you have loaded the modules ?
And to make it easier don't have a printer connected to the parallel port.

Sincerely

Peter

Hidagus Pa schrieb:
> Hi Peter,
> The kernel version doesn't match, so I was not able to
> use your objects in my RedHat system. Then I used the
> ppscsi patch provided in Tom's message and it did
> compiled successfully. However when I did 'insmod
> epst' I got "init_module: no such device" error. And
> doing 'scanimage -d hp:/dev/sg0 --mode Color > hpscan'
> gives me "scanimage: open of device hp:/dev/sg0
> failed: Invalid argument". Have you seen this kind of
> error before?
> Thanks for your help,
> 
> Hida
> --- Peter Kirchgessner <peter@kirchgessner.net> wrote:
> 
>>Hi Hida,
>>
>>you can try it, but I don't know if it works.
>>Enclosed you will find the 
>>  objects. At my systems they are located at 
>>/lib/modules/2.4.18-4GB/kernel/drivers/scsi. I have
>>a Suse Linux 8.0. 
>>You meed ned to use insmod -f to load the modules.
>>
>>Sincerely
>>
>>Peter
>>
>>Hidagus Pa schrieb:
>>
>>>Hi Peter,
>>>I checked all the RedHat kernel related RPMs and
>>>didn't see any of them contains either ppscsi.o or
>>>epst.o. Do you know which RPM contains them? I
>>
>>also
>>
>>>wonder if I can copy your ppscsi.o and epst.o to
>>
>>my
>>
>>>system. They might just work? What do you think?
>>>Thanks,
>>>
>>>Hida 
>>>--- Peter Kirchgessner <peter@kirchgessner.net>
>>
>>wrote:
>>
>>>>Hi,
>>>>
>>>>it seems to be more easy. I have a 2.4.18-kernel
>>>>too. And this one 
>>>>already includes the ppscsi-driver suite. So you
>>>
>>may
>>
>>>>just need to follow 
>>>>the instructions on
>>>>http://www.torque.net/parport/ppscsi.html (as
>>>
>>root):
>>
>>>>        insmod scsi_mod
>>>>        insmod sg
>>>>        insmod parport
>>>>        insmod parport_pc
>>>>        insmod ppscsi
>>>>        insmod epst
>>>>
>>>>        scanimage -d hp:/dev/sg0 --mode Color >
>>>>hpscan
>>>>
>>>>Maybe some of the modules are not available
>>>>(scsi_mod) or already loaded 
>>>>(parport). Just see what happens.
>>>>
>>>>Sincerely
>>>>
>>>>Peter
>>>>
>>>>Hidagus Pa schrieb:
>>>>
>>>>
>>>>>Thanks Peter. Forgive my primitive knowledge of
>>>>
>>>>Linux,
>>>>
>>>>
>>>>>does that mean I have to apply the patch to
>>>>
>>source
>>
>>>>>code and build a custom linux image? How hard is
>>>>
>>>>it to
>>>>
>>>>
>>>>>do so?
>>>>>Thank you.
>>>>>
>>>>>Hida
>>>>>--- Peter Kirchgessner <peter@kirchgessner.net>
>>>>
>>>>wrote:
>>>>
>>>>
>>>>>>Hi,
>>>>>>
>>>>>>you can start at
>>>>>>
>>>>>>http://www.torque.net/parport/ppscsi.html
>>>>>>
>>>>>>--Peter
>>>>>>
>>>>>>Hidagus Pa schrieb:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi everyone,
>>>>>>>I just started to use scanner with Linux. I
>>>>>>
>>have
>>
>>>>a
>>>>
>>>>
>>>>>>HP
>>>>>>
>>>>>>
>>>>>>
>>>>>>>ScanJet 5100C connected to my RedHat 8.0 PC.
>>>>>>
>>When
>>
>>>>>>I
>>>>>>
>>>>>>
>>>>>>
>>>>>>>started xsane it gives error of "no device
>>>>>>
>>>>>>available".
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The man page of sane-hp states that I need a
>>>>>>
>>>>>>ppscsi
>>>>>>
>>>>>>
>>>>>>
>>>>>>>driver. Where can I find such driver? The OS I
>>>>>>
>>>>use
>>>>
>>>>
>>>>>>>is 2.4.18.
>>>>>>>Thanks in advance,
>>>>>>>
>>>>>>>Hida
>>>>>>>
>>>>>>
>>>>>__________________________________________________
>>>>>
>>>>>>>Do you Yahoo!?
>>>>>>>Yahoo! Mail Plus - Powerful. Affordable. Sign
>>>>>>
>>up
>>
>>>>>>now.
>>>>>>
>>>>>>
>>>>>>
>>>>>>>http://mailplus.yahoo.com
>>>>>>>_______________________________________________
>>>>>>>Sane-devel mailing list
>>>>>>>Sane-devel@www.mostang.com
>>>>>>
>>>>>http://www.mostang.com/mailman/listinfo/sane-devel
>>>>>
>>>>>>
>>>>>>-- 
>>>>>>Peter Kirchgessner
>>>>>>http://www.kirchgessner.net
>>>>>>mailto:peter@kirchgessner.net
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>__________________________________________________
>>>>
>>>>>Do you Yahoo!?
>>>>>Yahoo! Mail Plus - Powerful. Affordable. Sign up
>>>>
>>>>now.
>>>>
>>>>
>>>>>http://mailplus.yahoo.com
>>>>>
>>>>
>>>>
>>>>-- 
>>>>Peter Kirchgessner
>>>>http://www.kirchgessner.net
>>>>mailto:peter@kirchgessner.net
>>>>
>>>>
>>>>_______________________________________________
>>>>Sane-devel mailing list
>>>>Sane-devel@www.mostang.com
>>>>http://www.mostang.com/mailman/listinfo/sane-devel
>>>
>>>
>>>
>>>__________________________________________________
>>>Do you Yahoo!?
>>>Yahoo! Mail Plus - Powerful. Affordable. Sign up
>>
>>now.
>>
>>>http://mailplus.yahoo.com
>>>
>>
>>
>>-- 
>>Peter Kirchgessner
>>http://www.kirchgessner.net
>>mailto:peter@kirchgessner.net
>>
> 
> 
>>ATTACHMENT part 2 application/x-tar name=pp.tar
> 
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 


-- 
Peter Kirchgessner
http://www.kirchgessner.net
mailto:peter@kirchgessner.net