You are not logged in.

#1 2013-03-29 15:44:22

tenoriocalc
Member
Registered: 2013-03-29
Posts: 8

[SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

I moved to archlinux nearly a month ago. I liked it from the start. Finally a distro I could love. Back then the kernel version was 3.7.9. My old HP-PSC1315 printer worked flawless. Just installed and enabled cups, then installed hplip, ran hp-probe and hp-setup -i. But soon the kernel was updated to 3.8.3 and then to 3.8.4. Since that I keep getting the message "Filter failed" despite all my efforts. But the scanner works normally. It does not seem to be a problem caused by the updating of hplip or cups. It seems to be a compatibility problem with kernel 3.8, because when I downgrade to 3.7.9 the newest versions of hplip and cups work fine.  The only way I found out to circumvent the problem is to print from a virtualbox machine where the [core] packages were installed from an old repository with kernel 3.7--a very annoying work around.
Could anyone help me, please?

Last edited by tenoriocalc (2013-04-12 23:57:53)

Offline

#2 2013-03-30 09:12:02

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

Are you sure it is really the 3.8 kernel that cause the problem? You say that your printer works when you downgrade the kernel (and only the kernel, there have been cups upgrade at about the same time as the kernel upgrade. A cups upgrade is much more likely the cause the problem). I have no solution, but you should first try to debug the problem: enable the log in the cups interface and see what info you get from /var/log/cups. Try to launch the filter by hands and see if there are no unmet dependencies.

Offline

#3 2013-03-31 00:17:04

tenoriocalc
Member
Registered: 2013-03-29
Posts: 8

Re: [SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

Thanks for the advice. I agree it is hard to blame kernel 3.8 on that. But hplip 3.13.3, cups 1.6.2 and foomatic 1:4.0.17 have the same versions on both cases. Setting "cupsctl LogLevel=debug2" produces a very verbose /var/log/cups/error_log file. Below I have omitted most of it and select only what I think is most significant. Sorry for the long post.

...
d [30/Mar/2013:13:48:27 -0300] cupsdFinishProcess(pid=1749, name=0x7fff88f156c0, namelen=1024, job_id=0x7fff88f156bc(18)) = "/usr/lib/cups/filter/pstopdf"
D [30/Mar/2013:13:48:27 -0300] [Job 18] PID 1749 (/usr/lib/cups/filter/pstopdf) exited with no errors.
...
d [30/Mar/2013:13:48:27 -0300] cupsdFinishProcess(pid=1750, name=0x7fff88f156c0, namelen=1024, job_id=0x7fff88f156bc(18)) = "/usr/lib/cups/filter/pdftopdf"
D [30/Mar/2013:13:48:27 -0300] [Job 18] PID 1750 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
...
D [30/Mar/2013:13:48:27 -0300] [Job 18] Failed to send: org.freedesktop.ColorManager.NotFound:device id 'psc_1310' does not exists
D [30/Mar/2013:13:48:27 -0300] [Job 18] Failed to get profile filename!
I [30/Mar/2013:13:48:27 -0300] [Job 18] no profiles specified in PPD
...
D [30/Mar/2013:13:48:27 -0300] [Job 18] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsRowStep=1 -dcupsInteger0=2 -dcupsInteger1=3 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c -f -_
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
d [30/Mar/2013:13:48:27 -0300] select_timeout: JobHistoryUpdate=1364748446
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[8]="HOME=/var/spool/cups/tmp"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[10]="SERVER_ADMIN=root@ArchLinux"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[11]="SOFTWARE=CUPS/1.6.2"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[13]="USER=root"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[14]="CUPS_MAX_MESSAGE=2047"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[17]="IPP_PORT=631"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[18]="CHARSET=utf-8"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[19]="LANG=en_US.UTF-8"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[20]="PPD=/etc/cups/ppd/psc_1310.ppd"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[21]="RIP_MAX_CACHE=128m"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[22]="CONTENT_TYPE=application/postscript"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[23]="DEVICE_URI=hp:/usb/psc_1310_series?serial=BR57E3H0YGO2"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[24]="PRINTER_INFO="
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[25]="PRINTER_LOCATION="
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[26]="PRINTER=psc_1310"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[27]="PRINTER_STATE_REASONS=none"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[28]="CUPS_FILETYPE=document"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[29]="FINAL_CONTENT_TYPE=printer/psc_1310"
D [30/Mar/2013:13:48:27 -0300] [Job 18] envp[30]="AUTH_INFO_REQUIRED=none"
d [30/Mar/2013:13:48:27 -0300] select_timeout: JobHistoryUpdate=1364748446
I [30/Mar/2013:13:48:27 -0300] [Job 18] Start rendering...
...
D [30/Mar/2013:13:48:27 -0300] [Job 18] Set job-printer-state-message to "Processing page 1...", current level=INFO
...
D [30/Mar/2013:13:48:27 -0300] [Job 18] STATE: +connecting-to-device
...
D [30/Mar/2013:13:48:27 -0300] [Job 18] prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/psc_1310_series?serial=BR57E3H0YGO2
...
job_id=0x7fff88f156bc(18)) = "/usr/lib/cups/backend/hp"
D [30/Mar/2013:13:48:27 -0300] [Job 18] PID 1753 (/usr/lib/cups/backend/hp) stopped with status 1.
...
job_id=0x7fff88f156bc(18)) = "/usr/lib/cups/filter/hpcups"
D [30/Mar/2013:13:48:27 -0300] [Job 18] PID 1752 (/usr/lib/cups/filter/hpcups) did not catch or ignore signal 13.
...
d [30/Mar/2013:13:48:27 -0300] cupsdFinishProcess(pid=1751, name=0x7fff88f156c0, namelen=1024, job_id=0x7fff88f156bc(18)) = "/usr/lib/cups/filter/gstoraster"
D [30/Mar/2013:13:48:27 -0300] [Job 18] PID 1751 (/usr/lib/cups/filter/gstoraster) stopped with status 13.
d [30/Mar/2013:13:48:27 -0300] select_timeout: JobHistoryUpdate=1364748446
d [30/Mar/2013:13:48:27 -0300] finalize_job(job=0x7f1f9bd8d730(18))
d [30/Mar/2013:13:48:27 -0300] cupsdSetPrinterReasons(p=0x7f1f9bdb3740(psc_1310),s="-connecting-to-device,cups-remote-pending,cups-remote-pending-held,cups-remote-processing,cups-remote-stopped,cups-remote-canceled,cups-remote-aborted,cups-remote-completed"
d [30/Mar/2013:13:48:27 -0300] cupsdSetPrinterReasons(p=0x7f1f9bdb3740(psc_1310),s="-offline-report"
...
I [30/Mar/2013:13:48:27 -0300] [Job 18] Printer stopped due to backend errors; please consult the error_log file for details.
...

Last edited by tenoriocalc (2013-03-31 00:42:26)

Offline

#4 2013-03-31 06:49:54

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

You should use http://pastebin.com/ and not filter out the output; we can use grep for that. I do not see the "Started filter" line that should be there; have you removed them? It is important because it shows you what command cups execute to convert the PDF/PS file into something understandable by the printer.

Anyway it seems that gstoraster fails in your case.

Try to launch it by hand on a PDF/PS file (a simple file)

export PPD=/etc/cups/ppd/lj.ppd
export PRINTER=lj
(exec -a lj /usr/lib/cups/filter/gstoraster 1 1 1 1 1 test.pdf) > a.pp

where you have to replace lj by the name of your printer (see http://opensource.apple.com/source/cups … NG_FILTERS for more informations).

Offline

#5 2013-03-31 09:47:11

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 97

Re: [SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

A few more suggestions that you may already have tried.
I am using the HP 1350 PSC printer with the cups driver 3.13.3 and it is all OK.

Try re-installing the cups-filters and ghostprint packages.

Also it is not a necessity to run the latest kernel unless there are other problems solved by its use.

Good luck.

Offline

#6 2013-04-12 23:48:10

tenoriocalc
Member
Registered: 2013-03-29
Posts: 8

Re: [SOLVED]Printer HP-PSC1315 does not work (Filter failed) w/ kernel 3.8

The problem has been solved with kernel 3.8.6, cups 1.6.2, cups-filters 1.0.34 and hplip 3.13.4.

Thank you all for trying to help me.

Last edited by tenoriocalc (2013-04-12 23:55:42)

Offline

Board footer

Powered by FluxBB