Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB & HP Deskjet Problem, USB device not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Mon May 19, 2003 1:59 pm    Post subject: USB & HP Deskjet Problem, USB device not found Reply with quote

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
View user's profile Send private message
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Mon May 19, 2003 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Tue May 20, 2003 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
hoppy
n00b
n00b


Joined: 14 Sep 2002
Posts: 44

PostPosted: Thu May 29, 2003 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Sat May 31, 2003 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Mon Jun 02, 2003 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
hoppy
n00b
n00b


Joined: 14 Sep 2002
Posts: 44

PostPosted: Wed Jun 11, 2003 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
hoppy
n00b
n00b


Joined: 14 Sep 2002
Posts: 44

PostPosted: Wed Jun 18, 2003 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum