Re: Can't print with PSC 2410

dsuffiel <[email protected]> Tue, 19 Apr 2005 13:27:59 -0700
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
I would try HPLIP instead of HPOJ. See hpinkjet.sf.net.

On Wed, 30 Mar 2005 23:34:32 +0200, Xavier Poinsard wrote:

> The printer is correctly seen by ptal-XXX.
> If I try to print nothing happens, but if remove the usblp kernel modul=
e=20
> printing starts but hangs almost immediately.
>=20
> ptal-init-setup :
>=20
>   Found "psc 2400 series"
>      with serial number "MY47MM22XH6T".
>      This device is already set up as "mlc:usb:psc_2400_series".
>=20
>=20
> in syslog :
> ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=3D<mlc:usb:psc_2400_series>,=20
> pid=3D30441, e=3D2, t=3D1112217458         ptal-mlcd successfully initi=
alized.
> ptal-printd: ptal-printd(mlc:usb:psc_2400_series) successfully=20
> initialized using /var/run/ptal-printd/mlc_usb_psc_2400_series*.
> ptal-photod: ptal-photod(mlc:usb:psc_2400_series) successfully=20
> initialized, listening on port 5703.
>=20
> If I try to print :
> ptal-mlcd: ERROR at ExMgr.cpp:2525, dev=3D<mlc:usb:psc_2400_series>,=20
> pid=3D7423, e=3D16, t=3D1112160630         Couldn't find device!
>=20
> If I remove usblp :
> ptal-mlcd: SYSLOG at=20
> /var/lib/mythtv/mnt/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646=
,=20
> dev=3D<mlc:usb:psc_2400_series@%001%002>, pid=3D7423, e=3D11, t=3D11122=
14650=20
>       ptal-mlcd successfully activated, mode=3D1284.4.
> ptal-mlcd: ERROR at ExMgr.cpp:3165,=20
> dev=3D<mlc:usb:psc_2400_series@%001%002>, pid=3D27300, e=3D11, t=3D1112=
214655=20
>        llioSubprocess: llioWrite returns -110, expected=3D63!
>=20
>=20
> Additional info :
> ptal-connect mlc:usb:psc_2400_series -service PTAL-MLCD-DUMP
> ptal-connect: connecting to device "mlc:usb:psc_2400_series"...  succes=
sful.
>=20
> ExMgr:
> pid=3D30441
> gDebugFlag=3D0
> pBufferPool: available#=3D0, size=3D4102, requested#=3D390, allocated#=3D=
1
> noFork=3D0
> noDrain=3D0
> forceMlcDot4=3D0
> noDot4=3D0
> noMlc=3D0
> noPmlMultiplexing=3D0
> initialized=3D1
> fd=3D5: read=3D1, write=3D0
> fd=3D8: read=3D1, write=3D0
> fdCount=3D9
> exContext=3D2
> exState=3D0
> exActivateCount=3D0
> exCloseCount=3D0
> exCloseReason=3D0x0000
> tryDot4=3D0
> tryMlc=3D0
> transportMode=3D0=3Dprint-only
> miser=3D0
> argcOriginal=3D8
> argvOriginal:  "mlc:usb:psc_2400_series" "-devidmatch" "MDL:psc 2400=20
> series;" "-devidmatch" "SN:MY47MM22XH6T;" "-device" "/dev/usb/lp[0-9]*"=
=20
> "/dev/usblp[0-9]*"
> argc=3D0
> fdNull=3D4
> pFreeMsgPool: depth=3D0
> pPendingMsgQueue: depth=3D0
> pActiveTimerQueue: depth=3D0
> pPeriodicTimerQueue: depth=3D0
> select timeout: sec=3D0, usec=3D0, infinite=3D1
> consoleAllowRemote=3D0
> consoleOldStdin=3D6
> consoleOldStdout=3D7
> consoleIsRemote=3D0
> socketSuffix=3D<usb:psc_2400_series>
> socketName=3D</var/run/ptal-mlcd/usb:psc_2400_series>
> socketFd=3D5
> pmlTransportSession=3D8
> pmlCurrentSession=3D-1
> pmlLastSession=3D31
> llioPossibleName[0]=3D</dev/usb/lp[0-9]*>
> llioPossibleName[1]=3D</dev/usblp[0-9]*>
> llioPossibleNameCount=3D2
> llioName=3D<>
> llioGlobBuffer.gl_pathc=3D0
> llioGlobBuffer.gl_offs=3D0
> llioGlobFlags=3D0
> llioMatchDeviceID[0]=3D<MDL:psc 2400 series;>
> llioMatchDeviceID[1]=3D<SN:MY47MM22XH6T;>
> llioMatchDeviceIDCount=3D2
> llioInterface[EX_INTERFACE_MLC].pForwardBdrQueue: depth=3D0
> llioInterface[EX_INTERFACE_MLC].active=3D0
> llioInterface[EX_INTERFACE_MLC].transportState=3D0
> llioInterface[EX_INTERFACE_MLC].fdPipe.read=3D-1
> llioInterface[EX_INTERFACE_MLC].fdPipe.write=3D-1
> llioInterface[EX_INTERFACE_MLC].fdDevice=3D-1
> llioInterface[EX_INTERFACE_MLC].overrideMaxForwardPacketSize=3D0
> llioInterface[EX_INTERFACE_MLC].pid=3D-1
> llioInterface[EX_INTERFACE_PRINT].pForwardBdrQueue: depth=3D0
> llioInterface[EX_INTERFACE_PRINT].active=3D0
> llioInterface[EX_INTERFACE_PRINT].transportState=3D0
> llioInterface[EX_INTERFACE_PRINT].fdPipe.read=3D-1
> llioInterface[EX_INTERFACE_PRINT].fdPipe.write=3D-1
> llioInterface[EX_INTERFACE_PRINT].fdDevice=3D-1
> llioInterface[EX_INTERFACE_PRINT].overrideMaxForwardPacketSize=3D0
> llioInterface[EX_INTERFACE_PRINT].pid=3D-1
> llioEnablePrintInterface=3D1
> llioDeviceID=3D<>
> llioSavedDeviceID=3D<>
> llioMatchVendorID=3D0xFFFFFFFF
> llioMatchProductID=3D0xFFFFFFFF
> llioAllowComposite=3D1
> llioGlobUsb=3D1
> llioAllowChannelChangeRequest=3D1
> llioBusAddress=3D0
> llioDeviceAddress=3D0
> llioVendorID=3D0x0000
> llioProductID=3D0x0000
> llioSupportedProtocols=3D0x00
> llioCurrentProtocol=3D0
> llioDesiredProtocol=3D0
>=20
> Passthrough transport:
> this=3D0x00000000080762F0
> port=3D0
> pMgr=3D0x0000000008073008
> pPhysicalPort=3D0x0000000008073008
> forwardTransactionCounter: current=3D128, initial=3D128, low=3D128, hig=
h=3D128,=20
> max=3D128
> channelCount=3D1
> channelArray=3D0x00000000080763D0
> channelArray[0]=3D0x00000000080763E0
> overheadBufferCount=3D0
> pNextTransport=3D0x0000000000000000
> pForwardDataTimer=3D0x0000000008076390 (count=3D0)
> pForwardDataTimeoutMsg=3D0x0000000008076360
> reverseDataBufferCount=3D0
> reverseDataBufferSize=3D0
> maxForwardBdrsPerTransaction=3D0
> nextChannelToAllocate=3D0
> absoluteMaxForwardDatalen=3D0
> absoluteMaxReverseDatalen=3D0
> nextBlockedChannel=3D-1
> lookupQueue: depth=3D0, peek=3D0x0000000000000000
>=20
> MLC/1284.4 transport:
> this=3D0x0000000008073DB0
> port=3D0
> pMgr=3D0x0000000008073008
> pPhysicalPort=3D0x0000000008073008
> forwardTransactionCounter: current=3D128, initial=3D128, low=3D128, hig=
h=3D128,=20
> max=3D128
> channelCount=3D17
> channelArray=3D0x0000000008073FA8
> channelArray[0]=3D0x0000000008073FF0
> channelArray[1]=3D0x00000000080742F0
> channelArray[2]=3D0x00000000080744F0
> channelArray[3]=3D0x00000000080746F0
> channelArray[4]=3D0x00000000080748F0
> channelArray[5]=3D0x0000000008074AF0
> channelArray[6]=3D0x0000000008074CF0
> channelArray[7]=3D0x0000000008074EF0
> channelArray[8]=3D0x00000000080750F0
> channelArray[9]=3D0x00000000080752F0
> channelArray[10]=3D0x00000000080754F0
> channelArray[11]=3D0x00000000080756F0
> channelArray[12]=3D0x00000000080758F0
> channelArray[13]=3D0x0000000008075AF0
> channelArray[14]=3D0x0000000008075CF0
> channelArray[15]=3D0x0000000008075EF0
> channelArray[16]=3D0x00000000080760F0
> overheadBufferCount=3D0
> pNextTransport=3D0x00000000080762F0
> pForwardDataTimer=3D0x0000000008073E80 (count=3D0)
> pForwardDataTimeoutMsg=3D0x0000000008073E50
> reverseDataBufferCount=3D0
> reverseDataBufferSize=3D0
> maxForwardBdrsPerTransaction=3D0
> nextChannelToAllocate=3D0
> absoluteMaxForwardDatalen=3D0
> absoluteMaxReverseDatalen=3D0
> nextBlockedChannel=3D-1
> lookupQueue: depth=3D0, peek=3D0x0000000000000000
> ----------------
> pForwardHeaderPool=3D0x0000000008073EC0
> mlcChannelArray=3D0x0000000008073FA8
> pCommandChannel=3D0x0000000008073FF0
> grcState=3D0
> reverseDataStopped=3D0
> tryDot4=3D0
> tryPreDot4=3D0
> tryMlc=3D0
> requestedRevision=3D0xFFFF
> revision=3D0xFFFF
> maxRemoteSockets=3D32
>=20
> Command channel:
> this=3D0x0000000008073FF0
> port=3D0
> channel=3D0
> localSocket=3D0
> pTransport=3D0x0000000008073DB0
> pMgr=3D0x0000000008073008
> pPhysicalPort=3D0x0000000008073008
> openingAnySetFlags=3D0x0010
> closingAnySetFlags=3D0x0124
> flags=3D0x0000
> countOpen=3D0
> countOpenFailure=3D0
> pService=3D0x0000000000000000
> scd=3D0x0000000000000000
> forwardDataPriority=3D0
> minBuffersRequired=3D0
> benefitOfMoreBuffers=3D0
> reverseDataBufferSize=3D0
> bufferCount=3D3
> remoteSocket=3D0
> maxForwardDatalen=3D0
> maxReverseDatalen=3D0
> countForwardData=3D0
> countReverseData=3D0
> countReverseBuffers=3D0
> countReverseBufferReturns=3D0
> lastReverseBuffer=3D0x0000000000000000
> currentForwardBuffer=3D0x0000000000000000
> currentGrabbedCredit=3D-1
> currentGrabbedTransaction=3D-1
> ----------------
> pMlcTransport=3D0x0000000008073DB0
> pCommandChannel=3D0x0000000008073FF0
> disableCreditCommands=3D1
> pForwardCreditRequestTimer=3D0x08074190
> pForwardCreditRequestMsg=3D0x0000000008074160
> pReverseCreditHeartbeatTimer=3D0x00000000080741F8
> pReverseCreditHeartbeatMsg=3D0x080741C8
> musherFirstCreditRequestDelay=3D2
> musherNextCreditRequestDelay=3D5
> gusherFirstCreditRequestDelay=3D5
> gusherNextCreditRequestDelay=3D10
> miserFirstCreditRequestDelay=3D0
> miserNextCreditRequestDelay=3D2
> gusherPiggybackCreditCount=3D1
> gusherCreditCount=3D2
> miserCreditRequestCount=3D2
> workaroundReverseCreditLoss=3D0
> maxForwardPacketSize=3D64
> maxReversePacketSize=3D64
> forwardCreditRequest=3D16
> forwardMaxOutstandingCredit=3D1
> forwardCredit: current=3D0, initial=3D0, low=3D0, high=3D0, max=3D65535
> lastCreditRequestGotUsNowhere=3D0
> reverseMaxOutstandingCredit=3D1
> reverseBuffersPerPacket=3D0
> uncreditedBuffers=3D3
> reverseCreditToGrant=3D0
> reverseCredit: current=3D0, initial=3D0, low=3D0, high=3D0, max=3D65535
> countSendPiggybackCredit=3D0
> countHandlePiggybackCredit=3D0
> countSendCredit=3D0
> countHandleCredit=3D0
> countHandleCreditAfterCreditRequest=3D0
> countSendCreditRequest=3D0
> countHandleCreditRequest=3D0
> countSendEmptyCreditRequestReply=3D0
> countHandleEmptyCreditRequestReply=3D0
> isGusher=3D-1
> ----------------
> pForwardCommandPool=3D0x0000000008074230
> pForwardNonconsumingQueue=3D0x0000000008074250
> pForwardReplyQueue=3D0x0000000008074260
> pForwardRequestQueue=3D0x0000000008074270
> forwardRequestCredit: current=3D0, initial=3D0, low=3D0, high=3D0, max=3D=
65535
> pCommandReplyTimer=3D0x00000000080742B0 (count=3D0)
> pCommandReplyTimeoutMsg=3D0x0000000008074280
> allowErrorPackets=3D1
> lastRequest=3D0xFFFFFFFF
> lastPsid=3D-1
> lastSsid=3D-1
>=20
> Session 0: type=3Dcommand
>          state=3D1
>          fd=3D8
>          scdlink=3D-1
>          pLookup=3D0x0000000008073888
>          outstandingForwardBdrCount=3D1
>          pReverseBdrQueue: depth=3D0
>          tcd=3D0x0000000000000000
>          pCommandBdr=3D0x00000000080786A0
>          pmlTrapsRegistered=3D0
>          bitbucketSocket=3D0
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/info/Sentarus/hamr30




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime in=
fo,
new features, or free trial, at: http://www.businessobjects.com/devxi/728