From: Xavier P. <xpo...@fr...> - 2005-03-30 22:14:05
|
The printer is correctly seen by ptal-XXX. If I try to print nothing happens, but if remove the usblp kernel module printing starts but hangs almost immediately. ptal-init-setup : Found "psc 2400 series" with serial number "MY47MM22XH6T". This device is already set up as "mlc:usb:psc_2400_series". in syslog : ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:psc_2400_series>, pid=30441, e=2, t=1112217458 ptal-mlcd successfully initialized. ptal-printd: ptal-printd(mlc:usb:psc_2400_series) successfully initialized using /var/run/ptal-printd/mlc_usb_psc_2400_series*. ptal-photod: ptal-photod(mlc:usb:psc_2400_series) successfully initialized, listening on port 5703. If I try to print : ptal-mlcd: ERROR at ExMgr.cpp:2525, dev=<mlc:usb:psc_2400_series>, pid=7423, e=16, t=1112160630 Couldn't find device! If I remove usblp : ptal-mlcd: SYSLOG at /var/lib/mythtv/mnt/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646, dev=<mlc:usb:psc_2400_series@%001%002>, pid=7423, e=11, t=1112214650 ptal-mlcd successfully activated, mode=1284.4. ptal-mlcd: ERROR at ExMgr.cpp:3165, dev=<mlc:usb:psc_2400_series@%001%002>, pid=27300, e=11, t=1112214655 llioSubprocess: llioWrite returns -110, expected=63! Additional info : ptal-connect mlc:usb:psc_2400_series -service PTAL-MLCD-DUMP ptal-connect: connecting to device "mlc:usb:psc_2400_series"... successful. ExMgr: pid=30441 gDebugFlag=0 pBufferPool: available#=0, size=4102, requested#=390, allocated#=1 noFork=0 noDrain=0 forceMlcDot4=0 noDot4=0 noMlc=0 noPmlMultiplexing=0 initialized=1 fd=5: read=1, write=0 fd=8: read=1, write=0 fdCount=9 exContext=2 exState=0 exActivateCount=0 exCloseCount=0 exCloseReason=0x0000 tryDot4=0 tryMlc=0 transportMode=0=print-only miser=0 argcOriginal=8 argvOriginal: "mlc:usb:psc_2400_series" "-devidmatch" "MDL:psc 2400 series;" "-devidmatch" "SN:MY47MM22XH6T;" "-device" "/dev/usb/lp[0-9]*" "/dev/usblp[0-9]*" argc=0 fdNull=4 pFreeMsgPool: depth=0 pPendingMsgQueue: depth=0 pActiveTimerQueue: depth=0 pPeriodicTimerQueue: depth=0 select timeout: sec=0, usec=0, infinite=1 consoleAllowRemote=0 consoleOldStdin=6 consoleOldStdout=7 consoleIsRemote=0 socketSuffix=<usb:psc_2400_series> socketName=</var/run/ptal-mlcd/usb:psc_2400_series> socketFd=5 pmlTransportSession=8 pmlCurrentSession=-1 pmlLastSession=31 llioPossibleName[0]=</dev/usb/lp[0-9]*> llioPossibleName[1]=</dev/usblp[0-9]*> llioPossibleNameCount=2 llioName=<> llioGlobBuffer.gl_pathc=0 llioGlobBuffer.gl_offs=0 llioGlobFlags=0 llioMatchDeviceID[0]=<MDL:psc 2400 series;> llioMatchDeviceID[1]=<SN:MY47MM22XH6T;> llioMatchDeviceIDCount=2 llioInterface[EX_INTERFACE_MLC].pForwardBdrQueue: depth=0 llioInterface[EX_INTERFACE_MLC].active=0 llioInterface[EX_INTERFACE_MLC].transportState=0 llioInterface[EX_INTERFACE_MLC].fdPipe.read=-1 llioInterface[EX_INTERFACE_MLC].fdPipe.write=-1 llioInterface[EX_INTERFACE_MLC].fdDevice=-1 llioInterface[EX_INTERFACE_MLC].overrideMaxForwardPacketSize=0 llioInterface[EX_INTERFACE_MLC].pid=-1 llioInterface[EX_INTERFACE_PRINT].pForwardBdrQueue: depth=0 llioInterface[EX_INTERFACE_PRINT].active=0 llioInterface[EX_INTERFACE_PRINT].transportState=0 llioInterface[EX_INTERFACE_PRINT].fdPipe.read=-1 llioInterface[EX_INTERFACE_PRINT].fdPipe.write=-1 llioInterface[EX_INTERFACE_PRINT].fdDevice=-1 llioInterface[EX_INTERFACE_PRINT].overrideMaxForwardPacketSize=0 llioInterface[EX_INTERFACE_PRINT].pid=-1 llioEnablePrintInterface=1 llioDeviceID=<> llioSavedDeviceID=<> llioMatchVendorID=0xFFFFFFFF llioMatchProductID=0xFFFFFFFF llioAllowComposite=1 llioGlobUsb=1 llioAllowChannelChangeRequest=1 llioBusAddress=0 llioDeviceAddress=0 llioVendorID=0x0000 llioProductID=0x0000 llioSupportedProtocols=0x00 llioCurrentProtocol=0 llioDesiredProtocol=0 Passthrough transport: this=0x00000000080762F0 port=0 pMgr=0x0000000008073008 pPhysicalPort=0x0000000008073008 forwardTransactionCounter: current=128, initial=128, low=128, high=128, max=128 channelCount=1 channelArray=0x00000000080763D0 channelArray[0]=0x00000000080763E0 overheadBufferCount=0 pNextTransport=0x0000000000000000 pForwardDataTimer=0x0000000008076390 (count=0) pForwardDataTimeoutMsg=0x0000000008076360 reverseDataBufferCount=0 reverseDataBufferSize=0 maxForwardBdrsPerTransaction=0 nextChannelToAllocate=0 absoluteMaxForwardDatalen=0 absoluteMaxReverseDatalen=0 nextBlockedChannel=-1 lookupQueue: depth=0, peek=0x0000000000000000 MLC/1284.4 transport: this=0x0000000008073DB0 port=0 pMgr=0x0000000008073008 pPhysicalPort=0x0000000008073008 forwardTransactionCounter: current=128, initial=128, low=128, high=128, max=128 channelCount=17 channelArray=0x0000000008073FA8 channelArray[0]=0x0000000008073FF0 channelArray[1]=0x00000000080742F0 channelArray[2]=0x00000000080744F0 channelArray[3]=0x00000000080746F0 channelArray[4]=0x00000000080748F0 channelArray[5]=0x0000000008074AF0 channelArray[6]=0x0000000008074CF0 channelArray[7]=0x0000000008074EF0 channelArray[8]=0x00000000080750F0 channelArray[9]=0x00000000080752F0 channelArray[10]=0x00000000080754F0 channelArray[11]=0x00000000080756F0 channelArray[12]=0x00000000080758F0 channelArray[13]=0x0000000008075AF0 channelArray[14]=0x0000000008075CF0 channelArray[15]=0x0000000008075EF0 channelArray[16]=0x00000000080760F0 overheadBufferCount=0 pNextTransport=0x00000000080762F0 pForwardDataTimer=0x0000000008073E80 (count=0) pForwardDataTimeoutMsg=0x0000000008073E50 reverseDataBufferCount=0 reverseDataBufferSize=0 maxForwardBdrsPerTransaction=0 nextChannelToAllocate=0 absoluteMaxForwardDatalen=0 absoluteMaxReverseDatalen=0 nextBlockedChannel=-1 lookupQueue: depth=0, peek=0x0000000000000000 ---------------- pForwardHeaderPool=0x0000000008073EC0 mlcChannelArray=0x0000000008073FA8 pCommandChannel=0x0000000008073FF0 grcState=0 reverseDataStopped=0 tryDot4=0 tryPreDot4=0 tryMlc=0 requestedRevision=0xFFFF revision=0xFFFF maxRemoteSockets=32 Command channel: this=0x0000000008073FF0 port=0 channel=0 localSocket=0 pTransport=0x0000000008073DB0 pMgr=0x0000000008073008 pPhysicalPort=0x0000000008073008 openingAnySetFlags=0x0010 closingAnySetFlags=0x0124 flags=0x0000 countOpen=0 countOpenFailure=0 pService=0x0000000000000000 scd=0x0000000000000000 forwardDataPriority=0 minBuffersRequired=0 benefitOfMoreBuffers=0 reverseDataBufferSize=0 bufferCount=3 remoteSocket=0 maxForwardDatalen=0 maxReverseDatalen=0 countForwardData=0 countReverseData=0 countReverseBuffers=0 countReverseBufferReturns=0 lastReverseBuffer=0x0000000000000000 currentForwardBuffer=0x0000000000000000 currentGrabbedCredit=-1 currentGrabbedTransaction=-1 ---------------- pMlcTransport=0x0000000008073DB0 pCommandChannel=0x0000000008073FF0 disableCreditCommands=1 pForwardCreditRequestTimer=0x08074190 pForwardCreditRequestMsg=0x0000000008074160 pReverseCreditHeartbeatTimer=0x00000000080741F8 pReverseCreditHeartbeatMsg=0x080741C8 musherFirstCreditRequestDelay=2 musherNextCreditRequestDelay=5 gusherFirstCreditRequestDelay=5 gusherNextCreditRequestDelay=10 miserFirstCreditRequestDelay=0 miserNextCreditRequestDelay=2 gusherPiggybackCreditCount=1 gusherCreditCount=2 miserCreditRequestCount=2 workaroundReverseCreditLoss=0 maxForwardPacketSize=64 maxReversePacketSize=64 forwardCreditRequest=16 forwardMaxOutstandingCredit=1 forwardCredit: current=0, initial=0, low=0, high=0, max=65535 lastCreditRequestGotUsNowhere=0 reverseMaxOutstandingCredit=1 reverseBuffersPerPacket=0 uncreditedBuffers=3 reverseCreditToGrant=0 reverseCredit: current=0, initial=0, low=0, high=0, max=65535 countSendPiggybackCredit=0 countHandlePiggybackCredit=0 countSendCredit=0 countHandleCredit=0 countHandleCreditAfterCreditRequest=0 countSendCreditRequest=0 countHandleCreditRequest=0 countSendEmptyCreditRequestReply=0 countHandleEmptyCreditRequestReply=0 isGusher=-1 ---------------- pForwardCommandPool=0x0000000008074230 pForwardNonconsumingQueue=0x0000000008074250 pForwardReplyQueue=0x0000000008074260 pForwardRequestQueue=0x0000000008074270 forwardRequestCredit: current=0, initial=0, low=0, high=0, max=65535 pCommandReplyTimer=0x00000000080742B0 (count=0) pCommandReplyTimeoutMsg=0x0000000008074280 allowErrorPackets=1 lastRequest=0xFFFFFFFF lastPsid=-1 lastSsid=-1 Session 0: type=command state=1 fd=8 scdlink=-1 pLookup=0x0000000008073888 outstandingForwardBdrCount=1 pReverseBdrQueue: depth=0 tcd=0x0000000000000000 pCommandBdr=0x00000000080786A0 pmlTrapsRegistered=0 bitbucketSocket=0 |
From: Xavier P. <xpo...@op...> - 2005-03-31 13:22:41
|
Sorry for the noise : I solved the problem by switching to HPLIP and creating usb devices ( with "MAKEDEV usb" ). Xavier Poinsard wrote: > The printer is correctly seen by ptal-XXX. > If I try to print nothing happens, but if remove the usblp kernel module > printing starts but hangs almost immediately. > |
From: dsuffiel <dav...@hp...> - 2005-04-19 21:28:49
|
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 module > printing starts but hangs almost immediately. > > ptal-init-setup : > > Found "psc 2400 series" > with serial number "MY47MM22XH6T". > This device is already set up as "mlc:usb:psc_2400_series". > > > in syslog : > ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:psc_2400_series>, > pid=30441, e=2, t=1112217458 ptal-mlcd successfully initialized. > ptal-printd: ptal-printd(mlc:usb:psc_2400_series) successfully > initialized using /var/run/ptal-printd/mlc_usb_psc_2400_series*. > ptal-photod: ptal-photod(mlc:usb:psc_2400_series) successfully > initialized, listening on port 5703. > > If I try to print : > ptal-mlcd: ERROR at ExMgr.cpp:2525, dev=<mlc:usb:psc_2400_series>, > pid=7423, e=16, t=1112160630 Couldn't find device! > > If I remove usblp : > ptal-mlcd: SYSLOG at > /var/lib/mythtv/mnt/home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646, > dev=<mlc:usb:psc_2400_series@%001%002>, pid=7423, e=11, t=1112214650 > ptal-mlcd successfully activated, mode=1284.4. > ptal-mlcd: ERROR at ExMgr.cpp:3165, > dev=<mlc:usb:psc_2400_series@%001%002>, pid=27300, e=11, t=1112214655 > llioSubprocess: llioWrite returns -110, expected=63! > > > Additional info : > ptal-connect mlc:usb:psc_2400_series -service PTAL-MLCD-DUMP > ptal-connect: connecting to device "mlc:usb:psc_2400_series"... successful. > > ExMgr: > pid=30441 > gDebugFlag=0 > pBufferPool: available#=0, size=4102, requested#=390, allocated#=1 > noFork=0 > noDrain=0 > forceMlcDot4=0 > noDot4=0 > noMlc=0 > noPmlMultiplexing=0 > initialized=1 > fd=5: read=1, write=0 > fd=8: read=1, write=0 > fdCount=9 > exContext=2 > exState=0 > exActivateCount=0 > exCloseCount=0 > exCloseReason=0x0000 > tryDot4=0 > tryMlc=0 > transportMode=0=print-only > miser=0 > argcOriginal=8 > argvOriginal: "mlc:usb:psc_2400_series" "-devidmatch" "MDL:psc 2400 > series;" "-devidmatch" "SN:MY47MM22XH6T;" "-device" "/dev/usb/lp[0-9]*" > "/dev/usblp[0-9]*" > argc=0 > fdNull=4 > pFreeMsgPool: depth=0 > pPendingMsgQueue: depth=0 > pActiveTimerQueue: depth=0 > pPeriodicTimerQueue: depth=0 > select timeout: sec=0, usec=0, infinite=1 > consoleAllowRemote=0 > consoleOldStdin=6 > consoleOldStdout=7 > consoleIsRemote=0 > socketSuffix=<usb:psc_2400_series> > socketName=</var/run/ptal-mlcd/usb:psc_2400_series> > socketFd=5 > pmlTransportSession=8 > pmlCurrentSession=-1 > pmlLastSession=31 > llioPossibleName[0]=</dev/usb/lp[0-9]*> > llioPossibleName[1]=</dev/usblp[0-9]*> > llioPossibleNameCount=2 > llioName=<> > llioGlobBuffer.gl_pathc=0 > llioGlobBuffer.gl_offs=0 > llioGlobFlags=0 > llioMatchDeviceID[0]=<MDL:psc 2400 series;> > llioMatchDeviceID[1]=<SN:MY47MM22XH6T;> > llioMatchDeviceIDCount=2 > llioInterface[EX_INTERFACE_MLC].pForwardBdrQueue: depth=0 > llioInterface[EX_INTERFACE_MLC].active=0 > llioInterface[EX_INTERFACE_MLC].transportState=0 > llioInterface[EX_INTERFACE_MLC].fdPipe.read=-1 > llioInterface[EX_INTERFACE_MLC].fdPipe.write=-1 > llioInterface[EX_INTERFACE_MLC].fdDevice=-1 > llioInterface[EX_INTERFACE_MLC].overrideMaxForwardPacketSize=0 > llioInterface[EX_INTERFACE_MLC].pid=-1 > llioInterface[EX_INTERFACE_PRINT].pForwardBdrQueue: depth=0 > llioInterface[EX_INTERFACE_PRINT].active=0 > llioInterface[EX_INTERFACE_PRINT].transportState=0 > llioInterface[EX_INTERFACE_PRINT].fdPipe.read=-1 > llioInterface[EX_INTERFACE_PRINT].fdPipe.write=-1 > llioInterface[EX_INTERFACE_PRINT].fdDevice=-1 > llioInterface[EX_INTERFACE_PRINT].overrideMaxForwardPacketSize=0 > llioInterface[EX_INTERFACE_PRINT].pid=-1 > llioEnablePrintInterface=1 > llioDeviceID=<> > llioSavedDeviceID=<> > llioMatchVendorID=0xFFFFFFFF > llioMatchProductID=0xFFFFFFFF > llioAllowComposite=1 > llioGlobUsb=1 > llioAllowChannelChangeRequest=1 > llioBusAddress=0 > llioDeviceAddress=0 > llioVendorID=0x0000 > llioProductID=0x0000 > llioSupportedProtocols=0x00 > llioCurrentProtocol=0 > llioDesiredProtocol=0 > > Passthrough transport: > this=0x00000000080762F0 > port=0 > pMgr=0x0000000008073008 > pPhysicalPort=0x0000000008073008 > forwardTransactionCounter: current=128, initial=128, low=128, high=128, > max=128 > channelCount=1 > channelArray=0x00000000080763D0 > channelArray[0]=0x00000000080763E0 > overheadBufferCount=0 > pNextTransport=0x0000000000000000 > pForwardDataTimer=0x0000000008076390 (count=0) > pForwardDataTimeoutMsg=0x0000000008076360 > reverseDataBufferCount=0 > reverseDataBufferSize=0 > maxForwardBdrsPerTransaction=0 > nextChannelToAllocate=0 > absoluteMaxForwardDatalen=0 > absoluteMaxReverseDatalen=0 > nextBlockedChannel=-1 > lookupQueue: depth=0, peek=0x0000000000000000 > > MLC/1284.4 transport: > this=0x0000000008073DB0 > port=0 > pMgr=0x0000000008073008 > pPhysicalPort=0x0000000008073008 > forwardTransactionCounter: current=128, initial=128, low=128, high=128, > max=128 > channelCount=17 > channelArray=0x0000000008073FA8 > channelArray[0]=0x0000000008073FF0 > channelArray[1]=0x00000000080742F0 > channelArray[2]=0x00000000080744F0 > channelArray[3]=0x00000000080746F0 > channelArray[4]=0x00000000080748F0 > channelArray[5]=0x0000000008074AF0 > channelArray[6]=0x0000000008074CF0 > channelArray[7]=0x0000000008074EF0 > channelArray[8]=0x00000000080750F0 > channelArray[9]=0x00000000080752F0 > channelArray[10]=0x00000000080754F0 > channelArray[11]=0x00000000080756F0 > channelArray[12]=0x00000000080758F0 > channelArray[13]=0x0000000008075AF0 > channelArray[14]=0x0000000008075CF0 > channelArray[15]=0x0000000008075EF0 > channelArray[16]=0x00000000080760F0 > overheadBufferCount=0 > pNextTransport=0x00000000080762F0 > pForwardDataTimer=0x0000000008073E80 (count=0) > pForwardDataTimeoutMsg=0x0000000008073E50 > reverseDataBufferCount=0 > reverseDataBufferSize=0 > maxForwardBdrsPerTransaction=0 > nextChannelToAllocate=0 > absoluteMaxForwardDatalen=0 > absoluteMaxReverseDatalen=0 > nextBlockedChannel=-1 > lookupQueue: depth=0, peek=0x0000000000000000 > ---------------- > pForwardHeaderPool=0x0000000008073EC0 > mlcChannelArray=0x0000000008073FA8 > pCommandChannel=0x0000000008073FF0 > grcState=0 > reverseDataStopped=0 > tryDot4=0 > tryPreDot4=0 > tryMlc=0 > requestedRevision=0xFFFF > revision=0xFFFF > maxRemoteSockets=32 > > Command channel: > this=0x0000000008073FF0 > port=0 > channel=0 > localSocket=0 > pTransport=0x0000000008073DB0 > pMgr=0x0000000008073008 > pPhysicalPort=0x0000000008073008 > openingAnySetFlags=0x0010 > closingAnySetFlags=0x0124 > flags=0x0000 > countOpen=0 > countOpenFailure=0 > pService=0x0000000000000000 > scd=0x0000000000000000 > forwardDataPriority=0 > minBuffersRequired=0 > benefitOfMoreBuffers=0 > reverseDataBufferSize=0 > bufferCount=3 > remoteSocket=0 > maxForwardDatalen=0 > maxReverseDatalen=0 > countForwardData=0 > countReverseData=0 > countReverseBuffers=0 > countReverseBufferReturns=0 > lastReverseBuffer=0x0000000000000000 > currentForwardBuffer=0x0000000000000000 > currentGrabbedCredit=-1 > currentGrabbedTransaction=-1 > ---------------- > pMlcTransport=0x0000000008073DB0 > pCommandChannel=0x0000000008073FF0 > disableCreditCommands=1 > pForwardCreditRequestTimer=0x08074190 > pForwardCreditRequestMsg=0x0000000008074160 > pReverseCreditHeartbeatTimer=0x00000000080741F8 > pReverseCreditHeartbeatMsg=0x080741C8 > musherFirstCreditRequestDelay=2 > musherNextCreditRequestDelay=5 > gusherFirstCreditRequestDelay=5 > gusherNextCreditRequestDelay=10 > miserFirstCreditRequestDelay=0 > miserNextCreditRequestDelay=2 > gusherPiggybackCreditCount=1 > gusherCreditCount=2 > miserCreditRequestCount=2 > workaroundReverseCreditLoss=0 > maxForwardPacketSize=64 > maxReversePacketSize=64 > forwardCreditRequest=16 > forwardMaxOutstandingCredit=1 > forwardCredit: current=0, initial=0, low=0, high=0, max=65535 > lastCreditRequestGotUsNowhere=0 > reverseMaxOutstandingCredit=1 > reverseBuffersPerPacket=0 > uncreditedBuffers=3 > reverseCreditToGrant=0 > reverseCredit: current=0, initial=0, low=0, high=0, max=65535 > countSendPiggybackCredit=0 > countHandlePiggybackCredit=0 > countSendCredit=0 > countHandleCredit=0 > countHandleCreditAfterCreditRequest=0 > countSendCreditRequest=0 > countHandleCreditRequest=0 > countSendEmptyCreditRequestReply=0 > countHandleEmptyCreditRequestReply=0 > isGusher=-1 > ---------------- > pForwardCommandPool=0x0000000008074230 > pForwardNonconsumingQueue=0x0000000008074250 > pForwardReplyQueue=0x0000000008074260 > pForwardRequestQueue=0x0000000008074270 > forwardRequestCredit: current=0, initial=0, low=0, high=0, max=65535 > pCommandReplyTimer=0x00000000080742B0 (count=0) > pCommandReplyTimeoutMsg=0x0000000008074280 > allowErrorPackets=1 > lastRequest=0xFFFFFFFF > lastPsid=-1 > lastSsid=-1 > > Session 0: type=command > state=1 > fd=8 > scdlink=-1 > pLookup=0x0000000008073888 > outstandingForwardBdrCount=1 > pReverseBdrQueue: depth=0 > tcd=0x0000000000000000 > pCommandBdr=0x00000000080786A0 > pmlTrapsRegistered=0 > bitbucketSocket=0 > > > > ------------------------------------------------------- > 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 |