LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   parralell prot scanner using SCSI-2 commands and ppSCSI kernel patch (https://www.linuxquestions.org/questions/linux-hardware-18/parralell-prot-scanner-using-scsi-2-commands-and-ppscsi-kernel-patch-261222/)

mathman0 12-01-2004 03:32 AM

parralell prot scanner using SCSI-2 commands and ppSCSI kernel patch
 
well i have an old microtek2 slimscan C3 paralell scanner which has a SCSI controller, so to use this as a SCSI device i needed the ppscsi and onscsi modules in the ppSCSI kernel patch. i got this from http://packages.debian.org/testing/d...ch-ppscsi-2.6.
Switching to /usr/src and running patch -p0 with this file generated an error. When reading through the file i found the source files to be changed being in the source directory linux-2.6.2, however mine was named linux-2.6.5-1.358, i made a backup and changed each occurence of that. Now when i believe all the files to be properly patched(i've looked at the files to be patched in /usr/src/linux-2.6.5-1.358/drivers/scsi) however when i try to run make to
build the modulesi get the error

make: *** No rule to make target `/53c7xx_d.h', needed by `/53c7xx.o'. Stop.

and i cannot find such a file, nor does the patch modify any file like that

before i tried running make theire to build the modules, i ran make config off the kernel source

but im very unsure of how to patch a kernel, or ot rebuild or generate the modules once that is done, if anyone could help me it would be greatly appreciated im completeley lost and have no idea where to go from here

once i have those modules i should be able to use that SCSI device with the microtek2 backend to SANE to scan

mathman0 12-01-2004 06:43 PM

well after a little work patched the files, however when i tired to make got an error with vpi2 , its still in testing so i commented it out in the makefile...after doing that i ran
make config
make dep
make clean
make bzImage
make modules
make install_modules

and replaced my old kernel image...looking back im thinking i could've just build the modules, but im not sure...regardless i can now load the ppscsi module, however when i try to load the onscsi module for the scsi controller inside the scanner, i get an error that no device was found.....this scanner may be bad, if anyone has any experience id be very thankful....im going to look around for an older iomega zip drive i had and try this with onscsi to, if i have any positive results i'll post them


All times are GMT -5. The time now is 12:36 AM.