Fedora και πολυμηχάνημα Lexmark x7170

cacofonix | Πέμ, 12/04/2008 - 17:16 | 1' | 9

Έχω 3 χρόνια τώρα ένα πολυμηχάνημα Lexmark x7170. Δοκίμασα στο Ubuntu να το κάνω να δουλέψει και δεν τα κατάφερα. Βγήκε η Fedora 10, μ' αρεσε και αντικατέστησα το Ubuntu 8.10.

Στο ubuntu-gr και στο adslgr έχω ρωτήσει τους παλιότερους μήπως έχουν καμμιά ιδέα για το πως θα κάνουμε το πολυμηχάνημα να δουλέψει.

http://ubuntu.opengr.net/viewtopic.php?f=16&t=1767&st=0&sk=t&sd=a&sid=c2043d4f81d3362696708659fe592252

http://www.adslgr.com/forum/showthread.php?t=251705

Μου χουν προινει κάποιες λύσειες, αλλά είμαι πολύ newbie στο χώρο + ότι δεν έχω την πολυτέλεια να αφιερώσω αρκετό χρόνο (και δεν αντέχω άλλο τα Παράθυρα, ούτε έχω την οικονομική ευχέρεια αυτή την εποχή για καινούριο πολυμηχάνημα).

Any ideas?

Φόρουμ
Δώσε αστέρια!

MO: (ψήφοι: 0)

Σχόλια

Μαύρα τα μαντάτα.. Η Lexmark είναι η εταιρία που οφείλουμε όλοι να την έχουμε μαύρη λίστα αφού δεν υποστηρίζει καθόλου λίνουξ. Αν είναι δε πολυμηχάνημα θα έχεις είτε printer είτε scanner. Και τα δύο μαζί το βλέπω χλωμό, είχα ένα lexmark πολυμηχάνημα και το μόνο που κατάφερα ήταν να το κάνω να τυπώνει.
Όπως και να έχει, από τα λινκς που έδωσες βλέπω ότι σου προτείνανε κάποιες λύσεις αν και αυτές είναι μόνο για να εκτυπώνεις. Τις δοκίμασες; Αναφέρομαι σε αυτό το λινκ το οποίο τα γράφει και πολύ αναλυτικά μάλιστα.

http://www.adslgr.com/forum/showpost.php?p=2481861&postcount=36

Βασικά δεν καταλαβαίνω τι πρέπει να κάνω...Αυτό περί vmware αξίζει σαν λύση; Μπορείτε να μου το δώσετε λίγο πιο απλοϊκά να το καταλάβω, πολύ newbie είμαι και δεν έχω το χρόνο να ασχοληθώ όσο χρειάζεται...

Τώρα θα σου πω ότι δεν νομίζω ότι ασχολήθηκες να το διαβάσεις αυτό που σου έγραψε το παιδί στο adslgr γιατί τα λέει πολύ αναλυτικά και δεν βλέπω γιατί να σε δυσκολεύει.
Όπως και να έχει θα σου πω και εγώ εδώ τα ίδια πράγματα που σου λέει το link ..

Καταρχάς σου λέει να πας εδώ και να κατεβάσεις το πακέτο για να δεις αν υπάρχουν οι drivers για το μηχάνημα σου.

http://www.opendrivers.com/freedownload/231844/lexmark-x7170-all-in-one-printer-driver-v1.0-1-linux-download.html

Δίνεις τον κωδικό στο κάτω μέρος στο κουτάκι για να στο φέρει κάτω.

Αν αυτό δεν δουλεύει τότε πας στο δεύτερο option που σου έδωσε το παιδί.

http://downloads.lexmark.com/perl/downloads/downloads.cgi?ccs=229:1:0:389:0:0

εδώ δίνεις μοντέλο και κατεβάζεις τους drivers για Lexmark Z605 και red-hat αυτό σημαίνει οτι το πακέτο είναι rpm και πρέπει να το μετατρέψεις με το alien.

Το παλικάρι σου δίνει οδηγίες για το πως γίνεται η μετατροπή από rpm σε deb αλλά αφού βαριέσαι να τις διαβάσεις τότε κατέβασε το alien με sudo apt-get install alien βάλε αυτό που κατέβασες μέσα στο home σου και δώσε μετά στην κονσόλα σου

sudo alien όνομα του πακέτου για να σου κάνει την μετατροπή.

Από κάτω το παιδί σου δίνει όλες τις εντολές για να το κάνεις αυτό με το χέρι. Αν τις αντιγράψεις μία μία στο τερματικό τότε θα σου κάνει πάλι την μετατροπή και την εγκατάσταση. ( δεν θα τις μεταφέρω εδώ όμως γιατί θα ήταν περιττό αφού υπάρχουν εκεί).

Σου δίνει και τα υπόλοιπα tips για να σου δουλέψει ο driver αφού τον εγκαταστήσεις.

Τώρα αυτό που σου λέει για root είναι απλά ότι πρέπει να είσαι στο σύστημα σου ως διαχειριστής.
Αυτό γίνεται δίνοντας από κονσόλα sudo su και μετά το password σου. Μετά στην ίδια κονσόλα συνεχίζεις κανονικα με τις οδηγίες που σου έδωσαν χωρίς να δίνεις στην αρχή sudo.

marlene, σκεφτόμουν μήπως υπήρχε συμβαοτητα καθώς οι drivers είναι για Suse και RedHat, και μιας και το Fedora είναι προϊόν της RedHat, ε λογικα θα δουλεύει...
Τον driver (x7170) τον έχω κατεβάσει, δεν καταλαβαίνω όμως πώς τον σετάρω...Η Lexmark λέει συμβατός με Suse 8.1 - 8.2 - 9, RedHat 8-9.
Κάνω το tar.gz extract σε ένα φάκελο. Μετά; Δεν καταλαβαίνω...

Αν εννοείς για το X7170SampleSANE-1.0-1.tar.gz, πρέπει να το κάνεις compile και εγκατάσταση με το κλασικό ./configure, make & make install
δες αυτό:
Πως κάνω compile μια εφαρμογή από τον κώδικά της;

Αν εννοείς το CJLZ600LE-CUPS-1.0-1.TAR.gz, αφού το κάνεις extract και ξανακάνεις exctract το αρχείο "CJLZ600LE-CUPS-1.0-1.TAR" που δημιουργείται, θα έχεις το z600cups-1.0-1.gz.sh
αυτό είναι ένα script.
για να το τρέξεις πας στον υποκατάλογο που το'χεις και δίνεις την εντολή (προσοχή, έχει ένα ./ μπροστά)

./z600cups-1.0-1.gz.sh

μπορεί πριν να χρειαστεί να του δώσεις ιδιότητες εκτελέσιμου με

chmod +x z600cups-1.0-1.gz.sh

Thanks luckyb.

[cacofonix@Innovator Desktop]$ tar xvzf X7170SampleSANE-1.0-1.tar.gz
X7170SampleSANE-1.0-1/
X7170SampleSANE-1.0-1/Makefile.in
X7170SampleSANE-1.0-1/AUTHORS
X7170SampleSANE-1.0-1/COPYING
X7170SampleSANE-1.0-1/acinclude.m4
X7170SampleSANE-1.0-1/README
X7170SampleSANE-1.0-1/adfutil/
X7170SampleSANE-1.0-1/adfutil/Makefile.in
X7170SampleSANE-1.0-1/adfutil/lexmarkadf.conf
X7170SampleSANE-1.0-1/adfutil/x7170adfutil.c
X7170SampleSANE-1.0-1/adfutil/x7170adfutil.h
X7170SampleSANE-1.0-1/aclocal.m4
X7170SampleSANE-1.0-1/config.guess
X7170SampleSANE-1.0-1/config.sub
X7170SampleSANE-1.0-1/configure
X7170SampleSANE-1.0-1/configure.in
X7170SampleSANE-1.0-1/install-sh
X7170SampleSANE-1.0-1/ltmain.sh
X7170SampleSANE-1.0-1/mkinstalldirs
X7170SampleSANE-1.0-1/backend/
X7170SampleSANE-1.0-1/backend/Makefile.in
X7170SampleSANE-1.0-1/backend/lexmark.c
X7170SampleSANE-1.0-1/backend/lexmark.conf
X7170SampleSANE-1.0-1/backend/lexmark.h
X7170SampleSANE-1.0-1/backend/sane_strstatus.c
X7170SampleSANE-1.0-1/backend/stubs.c
X7170SampleSANE-1.0-1/daemon/
X7170SampleSANE-1.0-1/daemon/Makefile.in
X7170SampleSANE-1.0-1/daemon/configdaemon
X7170SampleSANE-1.0-1/daemon/x7170d
X7170SampleSANE-1.0-1/daemon/x7170scan.1
X7170SampleSANE-1.0-1/daemon/x7170scan.3
X7170SampleSANE-1.0-1/include/
X7170SampleSANE-1.0-1/include/sane/
X7170SampleSANE-1.0-1/include/sane/config.h.in
X7170SampleSANE-1.0-1/include/sane/sane.h
X7170SampleSANE-1.0-1/include/sane/sanei.h
X7170SampleSANE-1.0-1/include/sane/sanei_ab306.h
X7170SampleSANE-1.0-1/include/sane/sanei_auth.h
X7170SampleSANE-1.0-1/include/sane/sanei_backend.h
X7170SampleSANE-1.0-1/include/sane/sanei_cderror.h
X7170SampleSANE-1.0-1/include/sane/sanei_codec_ascii.h
X7170SampleSANE-1.0-1/include/sane/sanei_codec_bin.h
X7170SampleSANE-1.0-1/include/sane/sanei_config.h
X7170SampleSANE-1.0-1/include/sane/sanei_debug.h
X7170SampleSANE-1.0-1/include/sane/sanei_jinclude.h
X7170SampleSANE-1.0-1/include/sane/sanei_jpeg.h
X7170SampleSANE-1.0-1/include/sane/sanei_lm983x.h
X7170SampleSANE-1.0-1/include/sane/sanei_net.h
X7170SampleSANE-1.0-1/include/sane/sanei_pa4s2.h
X7170SampleSANE-1.0-1/include/sane/sanei_pio.h
X7170SampleSANE-1.0-1/include/sane/sanei_pp.h
X7170SampleSANE-1.0-1/include/sane/sanei_pv8630.h
X7170SampleSANE-1.0-1/include/sane/sanei_scsi.h
X7170SampleSANE-1.0-1/include/sane/sanei_thread.h
X7170SampleSANE-1.0-1/include/sane/sanei_usb.h
X7170SampleSANE-1.0-1/include/sane/sanei_wire.h
X7170SampleSANE-1.0-1/include/sane/saneopts.h
X7170SampleSANE-1.0-1/include/Makefile.in
X7170SampleSANE-1.0-1/include/getopt.h
X7170SampleSANE-1.0-1/include/lalloca.h
X7170SampleSANE-1.0-1/include/lassert.h
X7170SampleSANE-1.0-1/include/md5.h
X7170SampleSANE-1.0-1/lexmark/
X7170SampleSANE-1.0-1/lexmark/Makefile.in
X7170SampleSANE-1.0-1/lexmark/llpddk.cpp
X7170SampleSANE-1.0-1/lexmark/llpddk.h
X7170SampleSANE-1.0-1/lexmark/saneportmonitor.cpp
X7170SampleSANE-1.0-1/lexmark/saneportmonitor.h
X7170SampleSANE-1.0-1/lexmark/scanerrorcommunicator.cpp
X7170SampleSANE-1.0-1/lexmark/scanerrorcommunicator.h
X7170SampleSANE-1.0-1/sanei/
X7170SampleSANE-1.0-1/sanei/Makefile.in
X7170SampleSANE-1.0-1/sanei/linux_sg3_err.h
X7170SampleSANE-1.0-1/sanei/os2_srb.h
X7170SampleSANE-1.0-1/sanei/sanei_DomainOS.c
X7170SampleSANE-1.0-1/sanei/sanei_DomainOS.h
X7170SampleSANE-1.0-1/sanei/sanei_ab306.c
X7170SampleSANE-1.0-1/sanei/sanei_auth.c
X7170SampleSANE-1.0-1/sanei/sanei_codec_ascii.c
X7170SampleSANE-1.0-1/sanei/sanei_codec_bin.c
X7170SampleSANE-1.0-1/sanei/sanei_config.c
X7170SampleSANE-1.0-1/sanei/sanei_config2.c
X7170SampleSANE-1.0-1/sanei/sanei_constrain_value.c
X7170SampleSANE-1.0-1/sanei/sanei_init_debug.c
X7170SampleSANE-1.0-1/sanei/sanei_jpeg.c
X7170SampleSANE-1.0-1/sanei/sanei_lm983x.c
X7170SampleSANE-1.0-1/sanei/sanei_net.c
X7170SampleSANE-1.0-1/sanei/sanei_pa4s2.c
X7170SampleSANE-1.0-1/sanei/sanei_pio.c
X7170SampleSANE-1.0-1/sanei/sanei_pp.c
X7170SampleSANE-1.0-1/sanei/sanei_pv8630.c
X7170SampleSANE-1.0-1/sanei/sanei_scsi.c
X7170SampleSANE-1.0-1/sanei/sanei_thread.c
X7170SampleSANE-1.0-1/sanei/sanei_usb.c
X7170SampleSANE-1.0-1/sanei/sanei_wire.c
X7170SampleSANE-1.0-1/sanei/test_wire.c
X7170SampleSANE-1.0-1/setapps/
X7170SampleSANE-1.0-1/setapps/Makefile.in
X7170SampleSANE-1.0-1/setapps/main.cpp
[cacofonix@Innovator Desktop]$ cd X7170SampleSANE-1.0-1
[cacofonix@Innovator X7170SampleSANE-1.0-1]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for sane-config... no
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for latex... /usr/bin/latex
checking for dvips... /usr/bin/dvips
checking for makeindex... /usr/bin/makeindex
checking linker parameter to set runtime link path... -Wl,-rpath,
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for strerror in -lcposix... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for sqrt in -lm... yes
checking for scsireq_enter in -lscsi... no
checking for cam_open_device in -lcam... no
checking for gethostbyaddr in -lnsl... yes
checking for socket in -lsocket... no
checking for syslog in -lsyslog... no
checking for jpeg_start_decompress in -ljpeg... no
checking ieee1284.h usability... no
checking ieee1284.h presence... no
checking for ieee1284.h... no
checking whether to enable pthread support... no
checking for sane_init in -lsane... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/dsreq.h usability... no
checking sys/dsreq.h presence... no
checking for sys/dsreq.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/scanio.h usability... no
checking sys/scanio.h presence... no
checking for sys/scanio.h... no
checking scsi.h usability... no
checking scsi.h presence... no
checking for scsi.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking sys/scsicmd.h usability... no
checking sys/scsicmd.h presence... no
checking for sys/scsicmd.h... no
checking sys/scsiio.h usability... no
checking sys/scsiio.h presence... no
checking for sys/scsiio.h... no
checking bsd/dev/scsireg.h usability... no
checking bsd/dev/scsireg.h presence... no
checking for bsd/dev/scsireg.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking /usr/src/linux/include/scsi/sg.h usability... no
checking /usr/src/linux/include/scsi/sg.h presence... no
checking for /usr/src/linux/include/scsi/sg.h... no
checking io/cam/cam.h usability... no
checking io/cam/cam.h presence... no
checking for io/cam/cam.h... no
checking camlib.h usability... no
checking camlib.h presence... no
checking for camlib.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking gscdds.h usability... no
checking gscdds.h presence... no
checking for gscdds.h... no
checking sys/hw.h usability... no
checking sys/hw.h presence... no
checking for sys/hw.h... no
checking for sys/types.h... (cached) yes
checking sys/scsi/scsi.h usability... no
checking sys/scsi/scsi.h presence... no
checking for sys/scsi/scsi.h... no
checking sys/scsi/sgdefs.h usability... no
checking sys/scsi/sgdefs.h presence... no
checking for sys/scsi/sgdefs.h... no
checking sys/scsi/targets/scgio.h usability... no
checking sys/scsi/targets/scgio.h presence... no
checking for sys/scsi/targets/scgio.h... no
checking apollo/scsi.h usability... no
checking apollo/scsi.h presence... no
checking for apollo/scsi.h... no
checking sys/sdi_comm.h usability... no
checking sys/sdi_comm.h presence... no
checking for sys/sdi_comm.h... no
checking sys/passthrudef.h usability... no
checking sys/passthrudef.h presence... no
checking for sys/passthrudef.h... no
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking dev/ppbus/ppi.h usability... no
checking dev/ppbus/ppi.h presence... no
checking for dev/ppbus/ppi.h... no
checking machine/cpufunc.h usability... no
checking machine/cpufunc.h presence... no
checking for machine/cpufunc.h... no
checking usb.h usability... no
checking usb.h presence... no
checking for usb.h... no
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking IOKit/IOKitLib.h usability... no
checking IOKit/IOKitLib.h presence... no
checking for IOKit/IOKitLib.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for asm/io.h... no
checking for linux/videodev.h... no
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_int8_t only in sys/bitypes.h... no, also in standard headers
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for long long support... yes
checking for socklen_t in ... yes
checking for union semun in ... no
checking for sg_header.target_status in ... yes
checking for struct flock in fcntl.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for atexit... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for ioperm... yes
checking for i386_set_ioperm... no
checking for mkdir... yes
checking for scsireq_enter... no
checking for strftime... yes
checking for strstr... yes
checking for strtod... yes
checking for cfmakeraw... yes
checking for tcsendbreak... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for _portaccess... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for poll... yes
checking for setitimer... yes
checking for iopl... yes
checking for getenv... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isfdtype... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strdup... yes
checking for strndup... yes
checking for strsep... yes
checking for usleep... yes
checking for vsyslog... yes
checking whether to enable IPv6... yes
checking whether struct sockaddr_storage has an ss_family member... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for dlfcn.h... (cached) yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[cacofonix@Innovator X7170SampleSANE-1.0-1]$ make
make: *** No targets specified and no makefile found. Stop.
[cacofonix@Innovator X7170SampleSANE-1.0-1]$ make install
make: *** No rule to make target `install'. Stop.
[cacofonix@Innovator X7170SampleSANE-1.0-1]$

Εγκατέστησε από τον διαχειριστή πακέτων της Fedora σου τον compiler για c++
δηλ το g++
(μια που εγκαθιστάς compilers, εγκατέστησε και το gcc :-) )

και ξανακάνε configure

Αν όλα παν καλά με το ./configure θα το καταλάβεις από το μήνυμα που θα σου βγάλει
Μετά δίνεις make
...και αφού τελειώσει
δίνεις make install ως root

Δεν κατάφερα ποτέ να το σεττάρω, δεν ασχολήθηκα βέβαια όσο θα έπρεπε, όμως:
έπεσα πάνω στα εγκάινια των electroworld, και με 400 ευρώ πήρα καινούριο laptop και καινούριο πολυμηχάνημα. Θα δώσω 300 ευρώ στη θεία μου αυτό που έχω τώρα (innovator, t2130, 2gb) καθώς και το πολυμηχάνημα (3ετίας γαρ). Συνεπώς, με 100 ευρώ - το ΦΠΑ, δλδ με 50 ευρώ παίρνω καινούριο υπολογιστή και laptop. Ο εκτυπωτής τυπώνει κανονικά, οπότε no problem.