LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu (http://www.linuxquestions.org/questions/slackware-14/hp-deskjet-usb-and-cups-and-slackware-9-1-unable-to-open-usb-device-usb-dev-usb-lp0-and-qu-127213/)

arnostienen 12-19-2003 07:12 AM

HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu
 
Hello,

I can't get my USB printer (HP 990 Cxi) working under CUPS. I've got a Slackware 9.1 box with KDE, CUPS and HPIJS installed. I've added the printer via the localhost:631 pages of CUPS, but when printing a test page, the printer doesn't show any sign of activity and the following messages is shown in the CUPS page for the HP 990:

Discription: HP Deskjet 990 Cxi
Location: Home Office
Printer State: stopped, accepting jobs.
"Unable to open USB device "usb:/dev/usb/lp0": No such device"
Device URI: usb:/dev/usb/lp0

Possibly relevant lines from my boot messages are:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hiddev
usb.c: registered new driver hid
[...]
hub.c: new USB device 00:04.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x45e/0x47) is not claimed by any active driver.
hub.c: new USB device 00:04.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x3f0/0x3304) is not claimed by any active driver.
usb.c: USB disconnect on device 00:04.2-1 address 2
[...]
hub.c: new USB device 00:04.3-2, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).

And from /proc/bus/usb/devices:

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=3304 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=DeskJet 990C
S: SerialNumber=ES0B21C1P4LG
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

I hope this is a simple newbie oversight of mine and I can get it working with just a few simple adaptations.

Thanks,
Arno.

arnostienen 01-29-2004 02:55 PM

I found this old post of mine. I 'solved' this by uncommenting usbprinter in rc.modules..... Please, stop laughing.

urka58 01-29-2004 03:22 PM

Another method to configure your printer from KDE is you open a printable file sich as a text file or pdf and then you click the printer icon. Look at the right side of the window that comes up for the "wizard" icon. This will take you into a GUI configuring menu.
Follow the instructions (very easy) and then your printer will work fine.
Just a couple a steps you shoild pay attention:
Choose CUPS (look at the bottom combo box) as default printing method and remember to include yourself as normal user when asked.
This logged as root of course
Hope this hepls
Ciao


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