LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-01-2006, 06:03 AM   #1
driptray
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Rep: Reputation: 0
USB printer stopped being recognised


I have a new Epson Stylus C87 USB printer. I'm running CUPS in Kubuntu Breezy.

I installed the printer using the Add Printer wizard in KDE. I used the Gutenprint v5.0.0.-rc2 driver for the Epson Stylus C88. It worked. I was happy.

But ever since that first happy day it hasn't worked. CUPS is running. The driver is installed. When I plug in the printer, dmesg indicates that my PC sees it:

Code:
[ 1611.717637] usb 2-1: new full speed USB device using ohci_hcd and address 3
[ 1611.773160] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
But my jobs never print. They show up as "Queued" in KJobViewer. The printer shows as "stopped" in the KDE Control Panel.

When I try and print a test page from the KDE Control Panel, /var/log/cups/error_log shows:

Code:
Unable to open USB device "usb://EPSON/Stylus%20C87": No such device
I've tried removing the printer, and re-adding it, but I always get the same result.

What's gone wrong? Why did it work for a single day and then never again?
 
Old 03-02-2006, 11:59 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
You can check if the printer is still recognised by the usb system with the usbview app.

You should check the usblp driver is loaded. If compiled as a module it will be in the output of the 'lsmod' command.

Pretty obviously the printer has to show up as waiting for jobs rather than stopped in the KDE printer control panel.

All above OK and still no output? Pretty strange. Try a different USB port? Check the cable connections?
 
Old 03-03-2006, 04:36 AM   #3
driptray
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the suggestions! I'm also in Sydney btw.

Anyway, usbview tells me that the printer is indeed seen by the computer. The relevant part of its output is:

Code:
USB Printer
Manufacturer: EPSON
Serial Number: L42030601091024370
Speed: 12Mb/s (full)
USB Version:  1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 04b8
Product Id: 0005
Revision Number:  1.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: c0
	MaxPower Needed:   2mA

	Interface Number: 0
		Name: usblp
		Alternate Number: 0
		Class: 07(print) 
		Sub Class: 1
		Protocol: 2
		Number of Endpoints: 2

			Endpoint Address: 01
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval: 0ms

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval: 0ms
Then I try:

Code:
lsmod|grep usblp
usblp                  13568  0
So I guess there's no problem there.

The printer does show up as waiting for jobs, ("idle, accepting jobs" is the phrase from memory), but about 20 seconds after I send it a job it switches to "stopped". Restarting it doesn't work - after another 20 seconds it switches to "stopped" again.

And every time I send it a job, /var/log/cups/error_log shows:

Code:
Unable to open USB device "usb://EPSON/Stylus%20C87": No such device
I've tried a couple of different USB ports. I haven't tried a different cable, but it's a bit hard to believe that the new cable that worked only a few days ago would suddenly break, especially as usbview is telling me that the computer and printer are communicating along that cable just fine.

My limited diagnostic skills tell me that the USB connection between computer and printer is fine, but that CUPS might not be communicating with the printer. Is that a reasonable deduction? What could I change in my CUPS configuration that might help?
 
Old 03-03-2006, 06:16 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Hi again - yes, looks pretty mysterious. Is the printer still showing up in usbview after being stopped in the print manager?

You can turn the CUPS debug info way up. In KDE Control Center -> Peripherals -> Printers there is a menu item Print Server -> Configure Server which lets you set the debug level. Might show the failure point a bit better.

Is there plenty of ink? I seem to recall a couple of ink-jets I've used (HP I think) just cut off communication when the ink was low.
 
Old 04-21-2006, 06:25 AM   #5
driptray
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by maroonbaboon
Hi again - yes, looks pretty mysterious. Is the printer still showing up in usbview after being stopped in the print manager?
Yes.

Quote:
Originally Posted by maroonbaboon
You can turn the CUPS debug info way up. In KDE Control Center -> Peripherals -> Printers there is a menu item Print Server -> Configure Server which lets you set the debug level. Might show the failure point a bit better.
Nope, no extra useful information.

Quote:
Originally Posted by maroonbaboon
Is there plenty of ink?
Yes, there is plenty of ink, and the printer works fine in Windows.

I'm lost. I researched my printer purchase on linuxprinting.org, bought one of their "recommended" printers, and the damn thing doesn't work.
 
Old 04-22-2006, 08:13 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Sorry to hear you haven't solved the problem yet. I don't understand the internals of CUPS well enough to know where to look.

One other suggestion: there is a possible conflict between cupsd and rpc.statd daemons for port 631. This bit me recently, preventing the cups server even starting. It is not 100% reproducible and I'm not sure if it can produce the symptoms you report.

Run 'lsof | grep IP | grep ipp' (or try '631' instead of 'ipp') to see what else is using the port.

Other than that I can only suggest using apt-get to remove and reinstall the cupsys package and its dependencies, just in case something got corrupted.
 
  


Reply

Tags
cups, epson, printing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB mp3 player not recognised, gives 'USB bus 1 deregistered' tkedwards Linux - Hardware 0 02-01-2006 01:47 AM
USB Printer always Stopped, how to autostart mortoray Linux - Hardware 0 08-22-2005 07:10 AM
HP Photosmart USB printer recognised as scsi hard drive reddazz Linux - Hardware 3 04-09-2005 05:58 AM
hp 5550 usb printer always "stopped" SlowMindThinkin Suse/Novell 2 12-27-2004 05:22 AM
printer recognised but can't print doddy Linux - Hardware 3 05-24-2003 11:56 PM


All times are GMT -5. The time now is 02:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration