View previous topic :: View next topic |
Author |
Message |
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Sun May 01, 2005 5:25 am Post subject: Problems w/CUPS:Unable to open USB device [SOLVED] |
|
|
Hi
I am having problems setting up my printer. I've done quite a bit of reading on various documents and here on the forums.
I have the following included in my USE flags: cups, foomaticdb, ppds, and usb.
I've gone and rebuilt the kernel. I enabled [*] USB Support ... and ... [M] USB Printer support. (first one built in while the second one as a module).
This is what I get when I unplug and plug the printer back on:
Code: |
# dmesg | tail
fbsplash: console 8 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 8
fbsplash: console 9 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 9
fbsplash: console 10 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 10
fbsplash: console 11 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 11
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using ohci_hcd and address 6
# |
I am assuming this is where I start to go wrong as it detects the printer as only a "USB device" and not a printer? Not sure.
And when I do a low level test print, I get this....
Code: | # cat test.txt > /dev/usb/lp0
bash: /dev/usb/lp0: No such device |
I tried to continue on further with configuring CUPS but I still get the same error message of "No such device". What can I do to enable this printer at /dev/usb/lp0?
Last edited by upalom00 on Sun May 01, 2005 11:39 pm; edited 1 time in total |
|
Back to top |
|
|
Ma3oxuct Guru
Joined: 18 Apr 2003 Posts: 523
|
Posted: Sun May 01, 2005 5:43 am Post subject: |
|
|
Did you by any chance read this Printing guide: http://www.gentoo.org/doc/en/printing-howto.xml?
Too me it does not seem that you are enableing the proper modules...did you try
Code: | modprobe usbcore
modprobe usblp
|
|
|
Back to top |
|
|
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Sun May 01, 2005 5:02 pm Post subject: |
|
|
Per the guide, it states to enable "Support for USB" as a module. I have done this before, and it broke my system. I could not start the windows manager. So I decided against enabling this as a module. I did however, enable "USB Printer support" as a module.
Okay...after modprobe,
I get this in my dmesg
Code: |
# dmesg | tail
fbsplash: console 11 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 11
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 1-1: new full speed USB device using ohci_hcd and address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
usb 1-1: USB disconnect, address 5
drivers/usb/class/usblp.c: usblp0: removed
usb 1-1: new full speed USB device using ohci_hcd and address 6
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005 |
I tried to do a test print and get nothing.
Code: | # cat test.txt > /dev/usb/lp0 |
I tried restarting CUPS and then another test print but get no results.
Anything else I should be doing?
Is it absolutely necessary to build "Support for USB" as a module? |
|
Back to top |
|
|
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Sun May 01, 2005 5:32 pm Post subject: |
|
|
I should add that I decided to continue and configure CUPS. After configuring it, I went to http://localhost:631/ and attempted a test print.
All test prints show as "Completed".
However, there is no output on my printer. |
|
Back to top |
|
|
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Sun May 01, 2005 11:14 pm Post subject: |
|
|
Making some small progress but still no output on the printer.
I found out that I did not have gimp-print installed so I emerged it. Configured my printer as such:
Code: | b# foomatic-configure -s cups -p Epson-Stylus_Color_880 -c file:/dev/usb/lp0 -n Epson -d gimp-print
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 3427. |
I still don't get any output doing a low level print. Nor do I get one with I try a print test through the browser admin page. Instead it tells me the print attempt was aborted.
Here are the printers specs through my printer manager.....
Code: | Epson Stylus Color 880 Foomatic/gimp-print (recommended)
Description: Epson Stylus Color 880
Location:
Printer State: idle, accepting jobs.
Device URI: usb://EPSON/Stylus%20COLOR%20880 |
|
|
Back to top |
|
|
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Sun May 01, 2005 11:39 pm Post subject: SOLVED!! |
|
|
Finally!!
I decided to configure the printer through the browser admin. It turns out that by selecting the correct Printer/Driver, I was able to get it working again. My specs now read as follows per the Printer Admin Page:
Code: |
EPSON Stylus Color 880 - CUPS+Gimp-Print v4.2.7
Description: Epson Stylus Color 880
Location:
Printer State: idle, accepting jobs.
"Ready to print."
Device URI: usb://EPSON/Stylus%20COLOR%20880 |
|
|
Back to top |
|
|
AgtSkippy n00b
Joined: 10 Aug 2003 Posts: 39
|
Posted: Thu Jun 09, 2005 10:48 pm Post subject: |
|
|
ah, thanks man. I have the exact problem down to the epson stylus 880, but where on the CUPS admin webpage can you change the driver? _________________ Linux is not the answer, it is the question. The answer is yes... |
|
Back to top |
|
|
AgtSkippy n00b
Joined: 10 Aug 2003 Posts: 39
|
Posted: Thu Jun 09, 2005 11:02 pm Post subject: |
|
|
lol, see "modify printer" x-p
silly me, I need to pay more attention. false alarm, false alarm. |
|
Back to top |
|
|
|