LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem Connecting to USB Printer (https://www.linuxquestions.org/questions/linux-software-2/problem-connecting-to-usb-printer-284935/)

linuxnewbie24 02-01-2005 11:08 AM

Problem Connecting to USB Printer
 
I have just installed FC3 and am current with all updates. I cannot get my HP OfficeJet G55 multifunction printer working on this system. It works under Win98, but FC2 didn't even recognize it as being connected.

So, I can now see the printer in USBVIEW!
Quote:
OfficeJet G55
Manufacturer: Hewlett-Packa
Serial Number: SGA01E533KVL
Speed: 12Mb/s (full)
USB Version: 1.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 03f0
Product Id: 0011
Revision Number: 1.00

Config Number: 1
Number of Interfaces: 1
Attributes: 00
MaxPower Needed: 2mA

Interface Number: 0
Name: usblp
Alternate Number: 0
Class: 07(print)
Sub Class: 1
Protocol: 3
Number of Endpoints: 3

Endpoint Address: 01
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Endpoint Address: 81
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Endpoint Address: 82
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 8
Interval: 255ms


I have the printer configured with a print queue through CUPS that names the device it is connected to as
/dev/usb/lp0 Hewlett-Packard OfficeJet G55

When I issue a ptal-init setup command I get the following:

Quote:
Stopping the HP OfficeJet Linux driver.

----------------------------------------------------------------------

This program manages devices controlled by the HP OfficeJet Linux
driver (hpoj). It attempts to probe your computer for local parallel-
and USB-connected devices, and allows you to specify network addresses
for remote JetDirect-connected devices.

If you experience any difficulties in detecting your device(s), then
refer to the hpoj documentation for troubleshooting information.

----------------------------------------------------------------------

Currently defined device names ([*]=default):
(none)

----------------------------------------------------------------------

Probe for parallel-connected devices ([y]/n)? n

----------------------------------------------------------------------

Probe for USB-connected devices ([y]/n)? y

Probing "/dev/usb/lp0"...
Found "OfficeJet G55"
with serial number "SGA01E533KVL".

This device will be set up as "mlc:usb:OfficeJet_G55".
Press <Enter> alone to continue or <Ctrl-D> to skip this device, or
enter a different desired name suffix (without the "mlc:usb:" prefix)
here --->

Setting up as "mlc:usb:OfficeJet_G55".
Enabling ptal-mlcd and ptal-printd.

Probing "%001%003"...
No device found.

Probing "%001%001"...
No device found.

----------------------------------------------------------------------

Press <Enter> alone to continue, or if you would like to add a
JetDirect-connected device, then enter its dotted-decimal
IP address or hostname here --->

----------------------------------------------------------------------

Done updating device configuration files stored under /etc/ptal.
If you make manual changes to those files, then be sure to run
"/usr/sbin/ptal-init start" so they will take effect.

----------------------------------------------------------------------

Starting the HP OfficeJet Linux driver.
mlc:usb:OfficeJet_G55

[root@Beethoven /]#
ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107024529
Command reply timeout on port=0, count=1, lastRequest=0x00!

ptal-mlcd: ERROR at ExMgr.cpp:871, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107024529
exClose(reason=0x3002)


When I use the ptal-hp mlc:usb:OfficeJet_G55 device command I get:
Quote:
ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107037600
Command reply timeout on port=0, count=1, lastRequest=0x00!

ptal-mlcd: ERROR at ExMgr.cpp:871, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107037600
exClose(reason=0x3002)

ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107037606
Command reply timeout on port=0, count=1, lastRequest=0x00!

ptal-mlcd: ERROR at ExMgr.cpp:871, dev=<mlc:usb:OfficeJet_G55@/dev/usb/lp0>, pid=14674, e=11, t=1107037606
exClose(reason=0x3002)
ptal-hp: Unable to communicate with device "mlc:usb:OfficeJet_G55"!

Syntax: ptal-hp [<devname>] <command> [-help] [<params>...]
Where <devname> may be one of:
mlc:usb:OfficeJet_G55
Valid commands:
device
display
clock


It seems like the machine is schizophrenic, knowing that the device is there, being able to, on occasion, connect to it, but not being able to communicate with it on a regular basis.

Questions:
1. Am I missing something here? Is there something else I should be doing?
2. Does the power management mode of the printer make a difference in whether it responds to commands from the computer? (Doesn't work that way under Win98, but who knows?)
3. What do I need to do in order to use this printer under Linux FC3 as a printer and a scanner (I know there is more to be done for scanning, but just trying to get the printing going first)?

Thanks for any help ... Dana


All times are GMT -5. The time now is 02:07 AM.