ďťż
 
 
   skaner lpt
 
 

Tematy

 
    
 

 

 

 

skaner lpt





Tofik z - 10-04-2007 21:52
Witam.
Mam skaner Plustek OpticPro P12 (port LPT) i poszukuję sposobu podłączenia go pod Etch. Czy ma ktoś jakiś sprawdzony sposób podłączania skanera na LPT?



tanatos - 11-04-2007 16:22
ten skaner musi być naprawdę stary.
nie wiem czy to działa z lpt, ale ja mam skaner Canon'a pod USB i jedyne co trzeba zrobić to:
aptitude install sane xsane potem jeszcze
adduser <nazwa_usera> scanner # -> dodanie usera do grupy scanner i odpalić program do skanowania np bardzo fajny program dołączony do KDE - 'Kooka' - nie mylić z Kaka :-P



el_carles - 11-04-2007 16:32
Google mi powiedziało:

---> klik! <---

Pozdrawiam



Tofik z - 11-04-2007 17:20
Mi Google też to powiedziało, ale stanąłem w połowie tej instalacji.



el_carles - 11-04-2007 17:46

stanąłem w połowie tej instalacji to znaczy w którym momencie?

Opisz co zrobiłeś i dokładnie na czym stanęło..



Tofik z - 11-04-2007 21:40
Wcześniej próbowałem konfigurować wyższe wersje sane-backends i frontends, ale wyrzucało mi jakieś błędy, niestety skopiowałem tego. Potem ściągnąłem te wersje pakietów sane, które podał autor artykułu. Oto wynik kompilacji:

host-81-190-51-150:/home/piotr/Desktop# cd sane-backends-1.0.7
host-81-190-51-150:/home/piotr/Desktop/sane-backends-1.0.7# ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for AIX... no
checking for minix/config.h... (cached) no
checking for strerror in -lcposix... (cached) no
checking for gcc option to accept ANSI C... (cached) none needed
checking for os2.h... (cached) no
using CFLAGS=-g -O2 -W -Wall
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for libc.h... (cached) no
checking for sys/dsreq.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/shm.h... (cached) yes
checking for sys/scanio.h... (cached) no
checking for scsi.h... (cached) no
checking for sys/scsi.h... (cached) no
checking for sys/scsicmd.h... (cached) no
checking for sys/scsiio.h... (cached) no
checking for bsd/dev/scsireg.h... (cached) no
checking for scsi/sg.h... (cached) yes
checking for /usr/src/linux/include/scsi/sg.h... (cached) no
checking for io/cam/cam.h... (cached) no
checking for camlib.h... (cached) no
checking for os2.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for sys/io.h... (cached) yes
checking for asm/io.h... (cached) yes
checking for gscdds.h... (cached) no
checking for sys/hw.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/scsi/scsi.h... (cached) no
checking for sys/scsi/sgdefs.h... (cached) no
checking for sys/scsi/targets/scgio.h... (cached) no
checking for apollo/scsi.h... (cached) no
checking for sys/sdi_comm.h... (cached) no
checking for sys/passthrudef.h... (cached) no
checking for linux/ppdev.h... (cached) yes
checking for usb.h... (cached) yes
checking for sys/bitypes.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking return type of signal handlers... (cached) void
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking for ssize_t... (cached) yes
checking for u_int8_t only in sys/bitypes.h... no, also in standard headers
checking for u_int8_t... (cached) yes
checking for u_int16_t... (cached) yes
checking for u_int32_t... (cached) yes
checking for u_char... (cached) yes
checking for u_int... (cached) yes
checking for u_long... (cached) yes
checking for struct flock in fcntl.h... yes
checking for socklen_t in <sys/socket.h>... yes
checking for union semun in <sys/sem.h>... no
checking for linux/videodev.h... (cached) yes
checking Video4Linux version 1 or 2... v4l
checking for dlfcn.h... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for dlopen... (cached) yes
checking for dl.h... (cached) no
checking for sqrt in -lm... (cached) yes
checking for scsireq_enter in -lscsi... (cached) no
checking for cam_open_device in -lcam... (cached) no
checking for usb_open in -lusb... (cached) yes
checking for jpeg_start_decompress in -ljpeg... (cached) yes
checking for jconfig.h... (cached) yes
checking for jpeglib - version >= 61 (6a)... yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking for syslog in -lsyslog... (cached) no
checking for ptal.h... (cached) no
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for atexit... (cached) yes
checking for ioperm... (cached) yes
checking for mkdir... (cached) yes
checking for scsireq_enter... (cached) no
checking for sigprocmask... (cached) yes
checking for strdup... (cached) yes
checking for strndup... (cached) yes
checking for strftime... (cached) yes
checking for strstr... (cached) yes
checking for strsep... (cached) yes
checking for strtod... (cached) yes
checking for snprintf... (cached) yes
checking for cfmakeraw... (cached) yes
checking for tcsendbreak... (cached) yes
checking for usleep... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for _portaccess... (cached) no
checking for getenv... (cached) yes
checking for isfdtype... (cached) yes
checking for vsyslog... (cached) yes
checking for inet_ntop... (cached) yes
checking linker parameter to set runtime link path... -Wl,-rpath,
checking for ranlib... (cached) ranlib
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
enabling DC210/DC240 backends
disabling GPHOTO2 backend (not requested, or failed to find gphoto2-config or JPEG lib)
disabling PINT backend
enabling QuickCam backend
enabling Video4Linux backend
enabling NET backend
enabling SM3600 backend
enabling SnapScan backend
scsi buffersize: 131072
checking for sane-config... (cached) no
checking for sane_init in -lsane... (cached) no
creating ./config.status
creating Makefile
creating lib/Makefile
creating sanei/Makefile
creating frontend/Makefile
creating japi/Makefile
creating backend/Makefile
creating include/Makefile
creating doc/Makefile
creating po/Makefile
creating testsuite/Makefile
creating tools/Makefile
creating tools/sane-config
creating include/sane/config.h
include/sane/config.h is unchanged
****************************************************************
* Please be sure to read file PROBLEMS in this directory      *
* BEFORE running any of the SANE applications.  Some devices  *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************
host-81-190-51-150:/home/piotr/Desktop/sane-backends-1.0.7# make
making all in include
make[1]: Wejście do katalogu `/home/piotr/Desktop/sane-backends-1.0.7/include'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/piotr/Desktop/sane-backends-1.0.7/include'
making all in lib
make[1]: Wejście do katalogu `/home/piotr/Desktop/sane-backends-1.0.7/lib'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/piotr/Desktop/sane-backends-1.0.7/lib'
making all in sanei
make[1]: Wejście do katalogu `/home/piotr/Desktop/sane-backends-1.0.7/sanei'
rm -f .libs/sanei_scsi.lo
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall sanei_scsi.c  -fPIC -DPIC -o .libs/sanei_scsi.lo
sanei_scsi.c: In function 'sanei_scsi_req_enter2':
sanei_scsi.c:1919: error: invalid lvalue in assignment
sanei_scsi.c:1933: error: invalid lvalue in assignment
sanei_scsi.c: In function 'sanei_scsi_find_devices':
sanei_scsi.c:2497: warning: assignment discards qualifiers from pointer target type
make[1]: *** [sanei_scsi.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/piotr/Desktop/sane-backends-1.0.7/sanei'
make: *** [all-recursive] Błąd 1
host-81-190-51-150:/home/piotr/Desktop/sane-backends-1.0.7#



el_carles - 11-04-2007 21:57
Przecież w repo debiana są odpowiednio przygotowane pakiety więc po co męczyć się ze źródełkami...

$ aptitude search sane
p  gimp2.0-quiteinsane                                                    - A Qt based SANE plugin for GIMP 2.0
p  libsane                                                                - API library for scanners
p  libsane-dbg                                                            - API development library for scanners [debug symbols]
p  libsane-dev                                                            - API development library for scanners [development files]
p  libsane-extras                                                        - API library for scanners -- extra backends
p  libsane-extras-dbg                                                    - API library for scanners -- extra backends [debug symbols]
p  libsane-extras-dev                                                    - API development library for scanners [development files]
p  libwine-sane                                                          - Windows API Implementation (Scanner Module)
p  pike7.6-sane                                                          - SANE module for Pike
p  python-imaging-sane                                                    - Python Imaging Library SANE interface
v  python2.3-imaging-sane                                                -
v  python2.4-imaging-sane                                                -
p  quiteinsane                                                            - A Qt based X11 frontend for SANE (Scanner Access Now Easy)
p  sane                                                                  - scanner graphical frontends
p  sane-utils                                                            - API library for scanners -- utilities
p  xsane                                                                  - GTK+-based X11 frontend for SANE (Scanner Access Now Easy)
p  xsane-common                                                          - GTK+-based X11 frontend for SANE (Scanner Access Now Easy) Na moje oko będą Ci potrzebne sane, libsane i xsane (ewentrualnie + extra backendy i xsanne-common)



lays - 13-04-2007 15:58
Rowniez posiadam skaner Plustek OpticPro P12. Zupelnie bezproblemowo udalo mi sie go zainstalowac przy uzyciu tego poradnika. Jednak pominac nalezy krok z dodaniem usera do grupy lp - u mnie nie dziala wtedy skaner. Tak, musicie odkomentowac takze wpis plustek_pp, orpocz mustek_pp. Wszystko co tam jest opisane wykonujcie analogicznie do plusteka, oczywiscie tam gdzie sie da.

voila.
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis