home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / libsane / plustek / Plustek-PARPORT.txt < prev    next >
Encoding:
Text File  |  2006-07-10  |  1.6 KB  |  50 lines

  1. Plustek-PARPRORT.txt (2004-03-28) Gerhard JΣger <gerhard@gjaeger.de>
  2. ====================================================================
  3.  
  4.  
  5. Beginning with SANE-1.0.13, there's a backend called plustek_pp.
  6. This is for controlling Plustek parallel-port scanner and compatible
  7. devices. For a full listing, see plustek_pp.desc.
  8.  
  9. This code formerly was available for creating the Linux kernelmodule
  10. pt_drv. This should no longer be necessary. You should be able to use
  11. the backend out of the box.
  12.  
  13.  
  14. The kernel module
  15. -----------------
  16.  
  17. As it might be helpful to create and use the kernel-module, this way still
  18. exists. It's possible to create this module out of the backend sources
  19. in sane-backends/backend. Simply do (as root user)
  20.  
  21. ./MakeModule.sh
  22.  
  23. Then the module should be compiled, installed and loaded.
  24.  
  25. Add the following three lines to file /etc/modules.conf 
  26.  
  27. alias char-major-40    pt_drv
  28. pre-install pt_drv modprobe -k parport
  29. options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1
  30.  
  31. See man page for sane-plustek_pp ("man sane-plustek_pp") for explanation of
  32. these options.
  33.  
  34. Now "scanimage -L" should show something like this:
  35. device `plustek:/dev/pt_drv' is a Plustek 9630P flatbed scanner
  36.  
  37.  
  38. Known Problems:
  39. ---------------
  40.  
  41. Sometimes it is necessary to change the ioctl-interface between the
  42. driver and the backend, in this case the version number of the communication
  43. protocol will be changed and newer drivers won't work with older backends
  44. and vice versa.
  45. In this case (error -9019 in the SANE debug output!!) you have to recompile SANE
  46. AND the driver (have a look at the installation procedure above).
  47.  
  48.  
  49.  
  50.