View previous topic :: View next topic |
Author |
Message |
lasseo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Mar 2003 Posts: 33
|
Posted: Mon May 19, 2003 1:59 pm Post subject: USB & HP Deskjet Problem, USB device not found |
|
|
Hi.
After switching from Mandrake to Gentoo I cant get my USB printer (HP Deskjet 5550) to work any more with CUPS.
I am using the web gui to add and administrate the printer.
When adding the printer I can select "USB Printer#1 (hp deskjet 5550)"
But when getting back to the status page I receive something like:
"unable to open USB device usb://hp/deskjet%205500?serial==Êÿ¿P£: No such device"
For me it feels like CUPS can not find the correct address for the printer.
I have the following modules loaded:
usbcore
uhci
printer
Anybody that have any clue whats going on?
Best Regards
Lars Olsson |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gcostanz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Feb 2003 Posts: 69 Location: Hilton, New York
|
Posted: Mon May 19, 2003 10:35 pm Post subject: |
|
|
Looks like you may not have the correct USB drivers loaded.
Try building your kernel with the following support compiled in:
Enable USB kernel support
Compile in UHCI support and EHCI (if you have USB-2)
Compile in USB printer support
hope this helps... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lasseo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Mar 2003 Posts: 33
|
Posted: Tue May 20, 2003 7:43 am Post subject: |
|
|
Isn´t that what I just have loaded as modules?
Is there any difference if I load these as modules or have them compiled in the kernel?
The computer is a old IBM Pentium 2 so I suppose I do not need the USB 2 support.
Regards.
Lars |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hoppy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_astro.gif)
Joined: 14 Sep 2002 Posts: 44
|
Posted: Thu May 29, 2003 8:14 am Post subject: |
|
|
Sounds to me that cups doesnt have the correct device:
Go into CUPS Admin (http://127.0.0.1:631)
Delete the current printers and run this command:
Code: |
foomatic-configure -s cups -p HP-DeskJet_5550 -c file:/dev/usb/lp0 -n hp5550 -d hpijs
| [/code] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lasseo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Mar 2003 Posts: 33
|
Posted: Sat May 31, 2003 1:30 pm Post subject: |
|
|
Any idea why this happens? When adding the printer throu the web-GUI it finds the printer as a connected USB device.
I did work correctly running Mandrake default installation and latest CUPS.
Regards
Lars |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lasseo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Mar 2003 Posts: 33
|
Posted: Mon Jun 02, 2003 9:43 am Post subject: |
|
|
Tried the configuration method above.
Code: | foomatic-configure -s cups -p HP-Deskjet_5550 -c file /dev/usb/lp0 -n hp5550 -d hpijs
|
Received the following.
Code: | Cannot read file /usr/share/foomatic/db/source/printer/HP-Deskjet_5550.xml!Could not run "foomatic-combo-xml"/"foomatic-perl-data"! at /usr/lib/perl5/site_perl/5.8.0/Foomatic/DB.pm line 545. |
It seams that I dont have the correct XML file. Shouldn't the ppd file be enough?
I am not as good as I want to be in configurating CUPS.
If anybody have any advice, please feel free to reply.
Regards
Lars
[/code] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hoppy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_astro.gif)
Joined: 14 Sep 2002 Posts: 44
|
Posted: Wed Jun 11, 2003 12:05 am Post subject: |
|
|
Check your installed CUPS and FOOMATIC revisions against portage. It appears from the changelogs for foomatic that the HP-Deskjet_5550 xml file was introduced quite recently. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hoppy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_astro.gif)
Joined: 14 Sep 2002 Posts: 44
|
Posted: Wed Jun 18, 2003 11:04 am Post subject: |
|
|
Ive just had my printer config disappear after a cups upgrade and so had to run it again.
Rather than trying to remember it, I just came to this thread and copied the code from the window. I copied yours and it failed with the same error.
Your problem is that you are missing the colon after 'file' in
file:/dev/usb/lp0
cheers |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|