Impresora en Sabayon amd 64 MP 250 [Solucionado]

Conversaciones generales alrededor Sabayon Linux

Moderator: Moderators

Impresora en Sabayon amd 64 MP 250 [Solucionado]

Postby Alecta » Mon Jan 23, 2012 13:26

Hola,
Me cambié de distribución y ahora uso Sabayon, todo bien, pero tengo un problema con la impresora (multifunción). Nunca tuve ningún problema ya que es una Canon Pixma MP250 series y con el driver cnijfilter proporcionado por Canon va perfecto. Pero es un driver que viene empaquetado en rpm, deb o source code, claro, yo tengo que usar source y me descargué el archivo tar.gz.

Dentro contenía un scrpit para instalar pero no tira, me saca el error de que no reconoce el sistema de paquetería de mi distro (que no tengo), un error tonto que para eso me descargo el codigo fuente. Entonces fui por todas las carpetitas ejecutando los scripts de configuración, compilando e instalando cada parte del driver en su sitio. Algunos me dieron error de que no encontraba gtk+ 2, que si lo tengo pero bueno.

Despues de esto en CUPS ya me aparecía la opción de instalar mi impresora y la añado y todo eso pero no imprime.

Ni siquiera sale el demonio que avisa de que hay un trabajo en cola de impresión y CUPS da el trabajo como completado.

Por otra parte instalé CUPS-PDF y lo añadí correctamente (con su archivo ppd) y hace lo mismo, es decir, nada. Da el trabajo como completado, pero no saca PDF en ningún sitio ni salta el demonio.

¿Me podeis ayudar?

Un saludo.
Alecta.

_______________________________________________________________________________________
Actualización:

El escaner me funciona perfecto con XSane.
Last edited by Alecta on Wed Feb 08, 2012 21:14, edited 2 times in total.
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon

Postby DHalens » Mon Jan 23, 2012 16:31

Al compilar, si cualquier parte da error, nada funcionará. No es raro que falle al detectar gtk2 porque no estaba en un directorio estándar.
Deberías comprobar si el paquete que quieres está en portage y si no, es probable que el rpm funcione (tendrás que consultar el manual de rpm para ver como se instala desde consola, pero no era difícil).

El cups-pdf creo recordar que requiere de configuración adicional. Reinstálalo desde consola y lee el mensaje que aparece mientras lo instala.
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
User avatar
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: Impresora en Sabayon

Postby Alecta » Tue Jan 24, 2012 14:27

El problema de CUPS-PDF es el siguiente;

E [24/Jan/2012:14:12:10 +0100] [Job 10] Job stopped due to filter errors; please consult the error_log file for details.
D [24/Jan/2012:14:12:10 +0100] [Job 10] The following messages were recorded from 14:12:09 to 14:12:10
D [24/Jan/2012:14:12:10 +0100] [Job 10] Adding start banner page "none".
D [24/Jan/2012:14:12:10 +0100] [Job 10] Queued on "Virtual_PDF_Printer" by "aida".
D [24/Jan/2012:14:12:10 +0100] [Job 10] Auto-typing file...
D [24/Jan/2012:14:12:10 +0100] [Job 10] Request file type is application/pdf.
D [24/Jan/2012:14:12:10 +0100] [Job 10] File of type application/pdf queued by "aida".
D [24/Jan/2012:14:12:10 +0100] [Job 10] Adding end banner page "none".
D [24/Jan/2012:14:12:10 +0100] [Job 10] job-sheets=none,none
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[0]="Virtual_PDF_Printer"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[1]="10"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[2]="aida"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[3]="instalar cups-pdf.txt"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[4]="1"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[5]="media=A4 job-uuid=urn:uuid:c38c8b3b-0cd1-3c7e-4fcd-f101f1529cf2 job-originating-host-name=localhost time-at-creation=1327410729 time-at-processing=1327410729 AP_D_InputSlot= PageSize=A4"
D [24/Jan/2012:14:12:10 +0100] [Job 10] argv[6]="/var/spool/cups/d00010-001"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[8]="HOME=/var/spool/cups/tmp"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[10]="SERVER_ADMIN=root@toshi"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[11]="SOFTWARE=CUPS/1.4.8"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[13]="USER=root"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[16]="IPP_PORT=631"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[17]="CHARSET=utf-8"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[18]="LANG=es_ES.UTF-8"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[19]="PPD=/etc/cups/ppd/Virtual_PDF_Printer.ppd"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[20]="RIP_MAX_CACHE=8m"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[21]="CONTENT_TYPE=application/pdf"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[22]="DEVICE_URI=cups-pdf:/"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[23]="PRINTER_INFO=Virtual PDF Printer"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[24]="PRINTER_LOCATION=Local"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[25]="PRINTER=Virtual_PDF_Printer"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[26]="CUPS_FILETYPE=document"
D [24/Jan/2012:14:12:10 +0100] [Job 10] envp[27]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [24/Jan/2012:14:12:10 +0100] [Job 10] Started filter /usr/libexec/cups/filter/pdftops (PID 11143)
D [24/Jan/2012:14:12:10 +0100] [Job 10] Started backend /usr/libexec/cups/backend/cups-pdf (PID 11144)
D [24/Jan/2012:14:12:10 +0100] [Job 10] cups-pdf cannot be called without root privileges!
D [24/Jan/2012:14:12:10 +0100] [Job 10] Started filter pdftops (PID 11145)
D [24/Jan/2012:14:12:10 +0100] [Job 10] Started filter pstops (PID 11146)
D [24/Jan/2012:14:12:10 +0100] [Job 10] Page = 595x842; 0,0 to 595,842
D [24/Jan/2012:14:12:10 +0100] [Job 10] slow_collate=0, slow_duplex=0, slow_order=0
D [24/Jan/2012:14:12:10 +0100] [Job 10] Before copy_comments - %!PS-Adobe-3.0
D [24/Jan/2012:14:12:10 +0100] [Job 10] %!PS-Adobe-3.0
D [24/Jan/2012:14:12:10 +0100] [Job 10] %Produced by poppler pdftops version: 0.18.1 (http://poppler.freedesktop.org)
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%Creator:
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%LanguageLevel: 2
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%DocumentSuppliedResources: (atend)
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%DocumentMedia: plain 595 842 0 () ()
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%BoundingBox: 0 0 595 842
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%Pages: 1
D [24/Jan/2012:14:12:10 +0100] [Job 10] %%EndComments
D [24/Jan/2012:14:12:10 +0100] [Job 10] Before copy_prolog - %%BeginDefaults
D [24/Jan/2012:14:12:10 +0100] [Job 10] PID 11146 (pstops) crashed on signal 13!
D [24/Jan/2012:14:12:10 +0100] [Job 10] PID 11145 (pdftops) crashed on signal 13!
D [24/Jan/2012:14:12:10 +0100] [Job 10] End of messages
D [24/Jan/2012:14:12:10 +0100] [Job 10] printer-state=3(idle)
D [24/Jan/2012:14:12:10 +0100] [Job 10] printer-state-message="/usr/libexec/cups/filter/pdftops failed"
D [24/Jan/2012:14:12:10 +0100] [Job 10] printer-state-reasons=none
E [24/Jan/2012:14:17:10 +0100] [Job 10] Stopping unresponsive job!


Parece que falla el archivo pdftops y además en esa carpeta hay un enlace simbólico roto:

foomatic-gswrapper -> /usr/bin/foomatic-gswrapper

El archivo foomatic-gswrapper no existe en ningún rincón de mi sistema (hice la búsqueda como root desde /)
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon

Postby Alecta » Tue Jan 24, 2012 14:31

Añado otro error que me sacó a mayores en otra ocasión:

E [24/Jan/2012:14:28:29 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon

Postby Alecta » Tue Jan 24, 2012 14:39

Parece que se arregló solo, borré la impresora y la volví a añadir y ya funciona correctamente.

Ahora solo falta el tema de la Canon.
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon MP 250

Postby Alecta » Mon Feb 06, 2012 12:39

Encontré el paquete que necesito en un overlay, bueno, realmente no es un paquete, es un ebuild, una especie de script que facilita la instalación en Gentoo.

Pero no se muy bien como añadir el overlay con layman o ¿tal vez tengo que meter la dirección en make.conf -> GENTOO_MIRRORS?

La dirección del overlay es esta:

http://gentoo-overlays.zugaina.org/calculate/portage/
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon MP 250

Postby Fitzcarraldo » Mon Feb 06, 2012 19:39

Code: Select all
# equo install git
# emerge --sync
# layman -S
# layman -d sabayon
# layman -a sabayon
# layman -a sabayon-distro
# layman -a calculate
# layman -S
# USE="mp250" emerge -1v emul-linux-x86-bjdeps =cnijfilter-3.20-r1
# equo rescue spmsync

No es necesario instalar emul-linux-x86-bjdeps si estás usando Sabayon Linux 32-bit.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Impresora en Sabayon MP 250

Postby Alecta » Tue Feb 07, 2012 17:06

Me saca este error y no hace nada:

* ERROR: net-print/cnijfilter-3.20-r1 failed (compile phase):
* Couldn't make mp250/cnijfilter
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2599: Called src_compile_pr
* environment, line 2612: Called die
* The specific snippet of code:
* make || die "Couldn't make ${_pr}/cnijfilter";
*
* If you need support, post the output of 'emerge --info =net-print/cnijfilter-3.20-r1',
* the complete build log and the output of 'emerge -pqv =net-print/cnijfilter-3.20-r1'.
* This ebuild is from an overlay named 'calculate': '/var/lib/layman/calculate/'
* The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-3.20-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-3.20-r1/temp/environment'.
* S: '/var/tmp/portage/net-print/cnijfilter-3.20-r1/work/cnijfilter-3.20'

>>> Failed to emerge net-print/cnijfilter-3.20-r1, Log file:

>>> '/var/tmp/portage/net-print/cnijfilter-3.20-r1/temp/build.log'

* Messages for package net-print/cnijfilter-3.20-r1:

* ERROR: net-print/cnijfilter-3.20-r1 failed (compile phase):
* Couldn't make mp250/cnijfilter
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2599: Called src_compile_pr
* environment, line 2612: Called die
* The specific snippet of code:
* make || die "Couldn't make ${_pr}/cnijfilter";
*
* If you need support, post the output of 'emerge --info =net-print/cnijfilter-3.20-r1',
* the complete build log and the output of 'emerge -pqv =net-print/cnijfilter-3.20-r1'.
* This ebuild is from an overlay named 'calculate': '/var/lib/layman/calculate/'
* The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-3.20-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-3.20-r1/temp/environment'.
* S: '/var/tmp/portage/net-print/cnijfilter-3.20-r1/work/cnijfilter-3.20'


Por cierto mi instalación es Sabayon amd64.
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Re: Impresora en Sabayon MP 250

Postby Fitzcarraldo » Tue Feb 07, 2012 19:23

Intenta con cnijfilter-3.40-r7.ebuild en un overlay local:

Gentoo Bugzilla Bug Report No. 130645

Si no sabes cómo instalar un paquete usando un overlay local, ve los ejemplos en:

Re: Can I install .rpm or .deb drivers on Sabayon?

Re: Como instalar drivers de impresora Canon IP 1200?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Impresora en Sabayon MP 250

Postby Alecta » Wed Feb 08, 2012 13:05

Hay un problema, me selecciona el paquete equivocado:

toshi ~ # mkdir -p /usr/local/portage/net-print/cnijfilter/files
toshi ~ # cp /home/aida/cnijfilter-3.40-r7.ebuild /usr/local/portage/net-print/cnijfilter/
toshi ~ # ebuild /usr/local/portage/net-print/cnijfilter/cnijfilter-3.40-r7.ebuild manifest
>>> Downloading 'http://files.canon-europe.com/files/soft40245/software/cnijfilter-source-3.40-1.tar.gz'
--2012-02-08 12:52:48-- http://files.canon-europe.com/files/sof ... 0-1.tar.gz
Resolviendo files.canon-europe.com... 90.84.53.24, 90.84.53.18
Connecting to files.canon-europe.com|90.84.53.24|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 9586720 (9,1M) [application/x-gzip]
Saving to: `/usr/portage/distfiles/cnijfilter-source-3.40-1.tar.gz'

100%[=======================================================================================================================>] 9.586.720 155K/s in 1m 52s

2012-02-08 12:54:40 (83,6 KB/s) - `/usr/portage/distfiles/cnijfilter-source-3.40-1.tar.gz' saved [9586720/9586720]

>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter
toshi ~ # USE="mp250" emerge -1v cnijfilter

* IMPORTANT: config file '/etc/portage/package.use' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] net-print/cnijfilter-3.50 USE="(amd64) -ix6550 -mx360 -mx410 -mx420 -mx880 -net -nocupsdetection -servicetools" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /var/lib/layman/calculate

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.100.82.112-r2::gentoo (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- dev-java/sun-jdk-1.6.0.26::gentoo (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at 'None'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-print/cnijfilter-3.50 from calculate
* cnijfilter-source-3.50-1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
*
* USE-flags (description / probably compatible printers)
*
* amd64 (basic support for this architecture - currently without servicetools)
* servicetools (additional monitoring and maintenance software)
* nocupsdetection (this is only useful to create binary packages)
* net (this installs the cnijnet backend for network printing)
* mx360 mx360series
* mx410 mx410series
* mx420 mx420series
* mx880 mx880series
* ix6550 ix6500series
*
* You didn't specify any driver model (set it's USE-flag).
*
* As example: basic MX360 support without maintenance tools
* -> USE="mx360"
*
* Press Ctrl+C to abort

^CWaiting 10 seconds...

Exiting on signal 2

!!! select error: (4, 'Interrupted system call')
* The ebuild phase 'setup' has been killed by signal 2.

* Messages for package net-print/cnijfilter-3.50:

* The ebuild phase 'setup' has been killed by signal 2.
* You didn't specify any driver model (set it's USE-flag).


Te resalto los comandos en negrita para que sean más fáciles de ver. Como ves me selecciona cnijfilter-3.50 y no el local que me cree con el ebuild, seguramente me lo saca del overlay calculate que tengo añadido el cual incluye ese paquete.

¿Tendré que eliminar ese overlay para que no me de ese problema?

Y también edité el archivo /etc/make.conf como dicen ambos temas e instalé el emul-linux-x86...
Alecta
Baby Hen
 
Posts: 15
Joined: Mon Jan 23, 2012 13:23

Next

Return to Spanish

Who is online

Users browsing this forum: No registered users and 1 guest