LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-03-2003, 09:36 PM   #1
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
USB printer not seen by cups


I have been fighting with an hp3820 usb printer for a week now, and I'm having new problems at every turn! Here is a previous post about not being able to print ghostscript.

However, before I could continue working on that problem, now I can't print at all. Cups will not see the usb printer, and will only give me options for parallel and scsi. The first time I ran cups to set this printer up it saw the usb fine.

I get a strange result from dmesg:

bash-2.05a# dmesg | grep printer
printer.c: v0.8:USB Printer Device Class driver
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0
printer.c: usblp0: removed
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0
printer.c: usblp0: removed
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0
printer.c: usblp0: removed
printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0
printer.c: usblp0: removed
printer.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0

Why would my printer be removed like that?
Here is my messages log:
May 3 07:04:11 marsha kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
May 3 07:04:11 marsha kernel: parport0: irq 7 detected
May 3 07:04:11 marsha kernel: lp0: using parport0 (polling).
May 3 07:09:31 marsha kernel: usb.c: USB disconnect on device 3
May 3 07:09:31 marsha kernel: printer.c: usblp0: removed
May 3 07:09:32 marsha kernel: hub.c: USB new device connect on bus1/2, assigned device number 4
May 3 07:09:32 marsha kernel: printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0
May 3 07:10:07 marsha kernel: usb.c: USB disconnect on device 4
May 3 07:10:07 marsha kernel: printer.c: usblp0: removed
May 3 07:10:08 marsha kernel: hub.c: USB new device connect on bus1/2, assigned device number 5
May 3 07:10:08 marsha kernel: printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0
May 3 07:15:09 marsha kernel: usb.c: USB disconnect on device 5
May 3 07:15:09 marsha kernel: printer.c: usblp0: removed
May 3 07:15:10 marsha kernel: hub.c: USB new device connect on bus1/2, assigned device number 6
May 3 07:15:10 marsha kernel: printer.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0

Here is the /proc/bus/usb listing:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d2845000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d2843000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=1904 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=DeskJet 3820
S: SerialNumber=CN2BG1B0YH18
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms


Here is output from lsmod:

bash-2.05a# lsmod
Module Size Used by Not tainted
parport_pc 14404 1 (autoclean)
lp 6368 0 (autoclean)
parport 21664 1 (autoclean) [parport_pc lp]
pcmcia_core 40896 0
ide-scsi 7456 0
8139too 13792 1
mii 1008 0 [8139too]
emu10k1 55680 0
sound 52876 0 [emu10k1]
ac97_codec 9568 0 [emu10k1]
soundcore 3236 7 [emu10k1 sound]
printer 5632 0
usb-ohci 17472 0 (unused)
usbcore 48000 1 [printer usb-ohci]

The usb modules are there, and the printer is mentioned. So I guess that looks allright.

In kde, I can see the printer listed under the control panel -> info -> usb devices. Gives the exact name and model of my printer.

I've tried stopping and starting cupsd and lpd. Reran modprobe printer.

Sorry if that's too much info to sort through. But if anybody had any ideas, I'd be grateful.
Thanks kindly.

Last edited by tunedLow; 05-03-2003 at 09:47 PM.
 
  


Reply


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
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
CUPS & USB espon printer edM Slackware 5 03-17-2005 05:20 PM
parrellel printer in CUPS? No parellel printer option... servnov Linux - General 3 10-31-2004 02:08 PM
CUPS keeps "forgetting" my USB printer! JazzMastaJim Linux - Hardware 3 06-16-2004 11:40 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM


All times are GMT -5. The time now is 06:25 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