View previous topic :: View next topic |
Author |
Message |
ascompltd Tux's lil' helper
Joined: 26 Sep 2002 Posts: 113 Location: UK
|
Posted: Tue Dec 26, 2006 7:48 pm Post subject: Printer not connected; will retry in 30 seconds |
|
|
Hi Merry Christmas and a Happy New Year
I have an Epson Stylus PHOTO RX620 which I have been using for some months up untill this last weekend oh the joys of Christmas and time on my hands...
An emerge --update --world later and I'm up at Gnome 2.16.2 amongst other things one of which I know was an upgrade to cups from cups-1.1.23-r8 to cups-1.2.6 any way I am using gimpprint drivers and have checked my config and all seems to be ok only its obviously not as I get no printout at all.
Code: |
jaguar log # lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 04b8:0811 Seiko Epson Corp.
Bus 001 Device 001: ID 0000:0000
|
On a restart for cups I get
Code: |
jaguar log # /etc/init.d/cupsd restart
* Stopping cupsd ... [ ok ]
* Starting cupsd ... [ ok ]
jaguar log # tail /var/log/cups/error_log
I [26/Dec/2006:19:43:12 +0000] Full reload is required.
I [26/Dec/2006:19:43:12 +0000] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [26/Dec/2006:19:43:12 +0000] Loading job cache file "/var/cache/cups/job.cache"...
I [26/Dec/2006:19:43:12 +0000] Full reload complete.
I [26/Dec/2006:19:43:12 +0000] Listening to 127.0.0.1:631 on fd 2...
I [26/Dec/2006:19:43:12 +0000] Listening to /var/run/cups/cups.sock on fd 3...
I [26/Dec/2006:19:43:12 +0000] Started filter /usr/libexec/cups/filter/pstops (PID 10804) for job 73.
I [26/Dec/2006:19:43:12 +0000] Started filter /usr/libexec/cups/filter/pstoraster (PID 10808) for job 73.
I [26/Dec/2006:19:43:12 +0000] Started filter /usr/libexec/cups/filter/rastertogutenprint.5.0 (PID 10810) for job 73.
I [26/Dec/2006:19:43:12 +0000] Started backend /usr/libexec/cups/backend/usb (PID 10811) for job 73.
|
Whilst preparing this post I have noticed that
Code: | I [26/Dec/2006:19:45:14 +0000] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=10863)
|
runs about every 11 - 12 seconds which seems strange
Any Help would be greatly received |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Tue Dec 26, 2006 8:56 pm Post subject: |
|
|
When you updated cups, did you follow the emerge advice? Quote: | The configuration changed with cups-1.2, you may want to save the old one and start from scratch: Code: | # mv /etc/cups /etc/cups.orig; emerge -va1 cups |
You need to rebuild kdelibs for kdeprinter to work with cups-1.2 |
If /usr/lib/cups exists then you will also be advised Quote: | /usr/lib/cups exists â You need to remerge every ebuild that installed into /usr/lib/cups and /etc/cups, qfile is in portage-utils: Code: | # FEATURES=-collision-protect emerge -va1 $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::") |
You should also run revdep-rebuild |
_________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
ascompltd Tux's lil' helper
Joined: 26 Sep 2002 Posts: 113 Location: UK
|
Posted: Wed Dec 27, 2006 7:43 am Post subject: |
|
|
wynn wrote: | When you updated cups, did you follow the emerge advice? Quote: | The configuration changed with cups-1.2, you may want to save the old one and start from scratch: Code: | # mv /etc/cups /etc/cups.orig; emerge -va1 cups |
You need to rebuild kdelibs for kdeprinter to work with cups-1.2 |
If /usr/lib/cups exists then you will also be advised Quote: | /usr/lib/cups exists â You need to remerge every ebuild that installed into /usr/lib/cups and /etc/cups, qfile is in portage-utils: Code: | # FEATURES=-collision-protect emerge -va1 $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::") |
You should also run revdep-rebuild |
|
Alas when an upgrade comes along with approx 128 others I tend not to sit at screen all time so missed this info but I have done so this am but still to no avail yet. Will look at it agian later when I get back from work.
Many thanks for you help.. |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Dec 27, 2006 11:39 am Post subject: |
|
|
ascompltd wrote: | wynn wrote: | When you updated cups, did you follow the emerge advice? | Alas when an upgrade comes along with approx 128 others I tend not to sit at screen all time so missed this info but I have done so this am but still to no avail yet. Will look at it agian later when I get back from work. | Yes, it's easy to miss these things even with only a few upgrades and sitting in front of the screen. If you wanted to be able to review these sort of notes at your leisure you could emerge app-portage/elogviewer which saves them all for you and gives you a nice window to select and read each one. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
ascompltd Tux's lil' helper
Joined: 26 Sep 2002 Posts: 113 Location: UK
|
Posted: Wed Dec 27, 2006 7:19 pm Post subject: |
|
|
OK have looked at it again and still no way of diagnosing the problem
I have no error withing error log
Code: |
jaguar cups # cat /var/log/cups/error_log |grep error
D [27/Dec/2006:19:16:12 +0000] PID 24142 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:16:23 +0000] PID 24148 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:16:33 +0000] PID 24149 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:16:45 +0000] PID 24150 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:16:56 +0000] PID 24151 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:17:08 +0000] PID 24152 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [27/Dec/2006:19:17:20 +0000] PID 24157 (/usr/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
|
but printer appears as not connected with Cups webinterface.
Does anybody no why its running the printer.cgi script so often |
|
Back to top |
|
|
ascompltd Tux's lil' helper
Joined: 26 Sep 2002 Posts: 113 Location: UK
|
Posted: Wed Dec 27, 2006 10:28 pm Post subject: |
|
|
Strange thing is that printer seems to remain active untill a print is sent to queue then it get as far as 7% and then goes to not connected. |
|
Back to top |
|
|
daddio Tux's lil' helper
Joined: 11 Oct 2003 Posts: 145 Location: Orem, UT
|
Posted: Wed Jan 03, 2007 7:04 am Post subject: |
|
|
Hey, I had a similar problem with epson cx3200
may be udev related. to test:
Code: | # ls -l /dev/usb/lp0 |
if the owner of lp0 is scanner... thats it
Code: | # chmod 777 /dev/usb/lp0 |
seemed to fix it... don't know about a permanent fix |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Sat Jan 13, 2007 7:17 am Post subject: |
|
|
Thanks -- same problem here, changing permissions of /dev/usb/lp0 fixed it! |
|
Back to top |
|
|
|