LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2004, 01:27 PM   #1
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Rep: Reputation: 15
HP Deskjet 5550 USB - can't install


I am not lucky enough to use the OS listed in the HCL which automatically installed it. My problem is in installing an HP Deskjet 5550 printer, which is said to be fully compatible with linux. It is the only USB printer connected to my machine. I am using Mandrike Linux 10.0, which uses the kernel 2.6.3-7mdk. When I use the lsusb command, I get:

Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 001: ID 0000:0000

As you can see, my Logitech mouse is detected, and the printer, which is plugged in beside it, is not. The printer works, i.e. when I am in windows it works. I have went through many methods attempting to install it, but I will detail my latest efforts:

System/Configuration/Configure Your Desktop.
Peripherals/Printers
Go to Administrative Mode
Printing system currently used: CUPS
Add Printer/Class
Select USB Printer #1
Select HP Deskjet 5550
Select (for driver) HP Deskjet 5550 (Foomatic + hpijs) [recommended]
Then I click test.

It says: "Test page successfully sent to printer. Wait until printing is complete, then click the OK button."

However, printing is never complete. I can leave it like this for hours and nothing ever comes up. If I go into the CUPS WWW admin tool, I can see my print job, but it still never prints. I've tried this installation method, and others, several times, and I am having no luck. Any help would be appreciated.
 
Old 09-19-2004, 01:45 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Do you have the device file /dev/usb/lp0?

Also do you have the modules installed for usb printers in your kernel?

The module is called usblp
 
Old 09-19-2004, 04:15 PM   #3
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
No, I do not have a /dev/usb/lp0. All I have is /dev/usb/hid , which has nothing in it. I will check on the module you mentioned. I installed the default Mandrake distribution, and I'm not sure if that is included. It will be easier to just install it and try again, so I'll post here after I've been able to do that.
 
Old 10-02-2004, 12:10 PM   #4
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
Wow, it's been awhile. Haven't had time to work with Linux. Well, I do have the module loaded. When I run the command "lsmod", I get, among other things:

usblp 12288 0

usbcore 99132 8 usblp, uhci-hcd, usbmouse, hid, ehci-hcd, ohci-hcd

So I have the module usblp running.

I'll keep working on it.
 
Old 10-02-2004, 11:12 PM   #5
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
OK, I'm still having no luck with this. I uninstalled and reinstalled CUPS, and then tried to install the printer using the WWW admin tool and the PPD file that I had downloaded specifically for the HP Deskjet 5550, but it still didn't work. When I try to print a test page using the admin tool, it says that all is well. If I go to jobs, I will see the print job sitting there. When I go back to printers in the admin tool after attempting a test page, it says this:

"Unable to open USB device "usb:/dev/usblp0": No such device"
Device URI: usb:/dev/usblp0

The file /dev/usblp0 does exist, but only because I created it. No matter how many times I attempted to add the printer this file was never created.

If I look in usbview, then I do not see the printer, I only see my mouse.

If I look at the file /proc/bus/usb/devices then I see 2 UHCI Controllers, 1 EHCI Controller, 2 OHCI Controllers, my mouse, and no printer.

I am not very skilled in the art of Linux, and would appreciate any further advice that can be given. I will post further details as my problem continues.
 
Old 10-03-2004, 03:17 PM   #6
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
Well, having had my feel of trying to deal with Linux's ineptitude with the USB system, I decided to drag out my old parallel printer cable and give that a go. Approximately 2 minutes later I had a nice looking test page coming out from the WWW admin tool. This is, of course, why Linux is going to need some more work before it becomes a truly mainstream OS.

On the plus side, though, I have the need to occasionally do work by ssh'ing into a server and running an x-windows interface, and I just found out yesterday that the free tools that come with Linux are vastly superior to Hummingbird Exceed, and so that gives me another plus for using Linux. I'm confident that I will eventually have my printer working on USB, but atleast I can print perfectly fine now.
 
Old 10-03-2004, 10:19 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
I found this, it maybe useful to you. Sorry I didn't reply earlier, but I've been away from a computer.

How to get USB devices working
 
Old 10-04-2004, 09:50 AM   #8
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
Not content to let Linux beat me out of using USB, I took more extreme measures. I downloaded the latest kernel, 2.6.8.1, and then configured it, ensuring that all necessary options were selected to allow USB to operate. Now my printer, and my sidewinder joystick (woohoo) are detected as usb devices. If I look at /proc/bus/usb/devices I see:

T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=6004 Rev= 1.00
S: Manufacturer=hp
S: Product=deskjet 5550
S: SerialNumber=MY2761M1KK2L
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

Showing that my printer is now detected as a USB device (I have only the USB connected and not the parallel cable). I am able set it up in the cups www admin tool using the downloaded ppd file. When I attempt a test print the job shows up and immediately aborts, and I can look in the jobs and see the completed jobs, and all completed jobs have been aborted.

I attempted to print by typing in the command line:

echo "hello">>/dev/usb/lp0

The printer tried for a bit, gave me the flashing error light, and when I pushed the button it spit out the page with hello on it. So I've made some progress, but I'm still not getting it to work.
 
Old 10-04-2004, 11:10 AM   #9
Malice132
Member
 
Registered: Sep 2004
Location: U.S.
Distribution: Mandrake 10.1
Posts: 41

Original Poster
Rep: Reputation: 15
Woohoo!! On a whim I just decided to go into the admin tool and attempt to print a test page again, and then for some reason one came out, and now I can print stuff using my USB cable. The only thing that I did was reinstall the printer with a newer driver (hpijs-rss), but it didn't print when I did a test print after doing that. Then I rebooted again for other reasons and when I tried to print it mysteriously worked. I wish I had a better explanation in case someone read this post and was having the same problem, but I'm going with the old adage now of "if it ain't broke, don't fix it" and I'm leaving the printer setup alone. Thanks for the suggestions leonscape.
 
  


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
HP Deskjet 5550 (usb) - HPLIP can't run in Debian sarge ch_music Linux - Hardware 4 02-12-2005 09:57 PM
HP Deskjet 5550 master General 0 10-02-2004 11:53 AM
HP DeskJet 5550 USB & Slackware Tratulla Linux - Hardware 0 08-20-2003 10:30 AM
USB hp deskjet 5550 fieldsofsalmon Slackware 22 02-22-2003 09:13 PM
HP Deskjet 5550 Serena Linux - Hardware 1 09-13-2002 07:14 PM


All times are GMT -5. The time now is 12:01 PM.

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