On Tue, 2005-11-22 at 10:49 -0500, Alan Stern wrote:
> On Tue, 22 Nov 2005, Steve Bangert wrote:
> 
> > I made two text files, one file had 8 one's in it and the other has 16
> > one's in it, i sent those files to the printer device node one after the
> > other while recording a usbmon trace, the printer _didn't_ print a
> > single character, and nothing was printed to the system log, here's the
> > usbmon trace:
> > 
> > ddb97300 1765765675 S Bi:003:02 -115 8192 <
> > ddb97800 1765766313 S Bo:003:01 -115 9 = 31313131 31313131 0a
> > ddb97300 1765767176 C Bi:003:02 0 0
> > ddb97800 1765767181 C Bo:003:01 0 9 >
> > ddb97300 1787606680 S Bi:003:02 -115 8192 <
> > ddb97800 1787607293 S Bo:003:01 -115 17 = 31313131 31313131 31313131
> > 31313131 0a
> > ddb97300 1787608643 C Bi:003:02 0 0
> > ddb97800 1787608648 C Bo:003:01 0 17 >
> 
> Well, that's clear enough.  It shows the two status reads returning 0 
> bytes and it shows the two file contents, each followed by a newline.  
> 
> There's nothing to signal the printer that it should eject a page.  It's 
> probably waiting for the computer to send more data.
> 
> Alan Stern

Maybe the page eject signal is a function of cups, here's a usbmon trace
with those same two files sent through cups instead of directly to the
device node:

ddb97300 1746092587 S Bi:003:02 -115 8192 <
d8c4e100 1746092870 S Ci:003:00 s a1 01 0000 0000 0001 1 <
ddb97300 1746093825 C Bi:003:02 0 0
d8c4e100 1746093831 C Ci:003:00 0 1 = 18
ddb97800 1747572137 S Bo:003:01 -115 3410 = 1b401b28 52080000 52454d4f
54453150 4d020000 00534e03 00000001 1b000000
ddb97800 1747622575 C Bo:003:01 0 3410 >
ddb97800 1747622645 S Bo:003:01 -115 2852 = 03fffc00 fffc003f fffffcfa
00013ff0 c200c500 0203ffc0 fb000bff c000ffc0
ddb97800 1747665567 C Bo:003:01 0 2852 >
ddb97800 1748029374 S Bo:003:01 -115 3455 = fc0003ff c000000f ff003ffc
ff00f0fa 000103ff fa00013f fcfe0004 3ffc000f
ddb97800 1748079498 C Bo:003:01 0 3455 >
ddb97800 1748079632 S Bo:003:01 -115 1519 = c0003ff0 00000300 00ffc081
00810081 0081009f 00c30001 3ff0fc00 01ffc0fc
ddb97800 1748103493 C Bo:003:01 0 1519 >
ddb97300 1759874400 S Bi:003:02 -115 8192 <
df0f2e00 1759874447 S Ci:003:00 s a1 01 0000 0000 0001 1 <
ddb97300 1759875598 C Bi:003:02 0 0
df0f2e00 1759875603 C Ci:003:00 0 1 = 18
ddb97800 1760357775 S Bo:003:01 -115 2453 = 1b401b28 52080000 52454d4f
54453150 4d020000 00534e03 00000001 1b000000
ddb97800 1760394518 C Bo:003:01 0 2453 >
ddb97800 1760394626 S Bo:003:01 -115 3819 = f000003f f000003f ff003ffe
ff03f000 00fffe00 000ffcff 0a00003f ff000003
ddb97800 1760451505 C Bo:003:01 0 3819 >
ddb97800 1760451591 S Bo:003:01 -115 4347 = fc0003ff c000000f ff003ffc
ff00f0fa 000103ff fa00013f fcfe0004 3ffc000f
ddb97800 1760516490 C Bo:003:01 0 4347 >
ddb97800 1760818127 S Bo:003:01 -115 1987 = c0003ff0 00000300 00ffc081
00810081 008100d5 00c30001 3ff0fc00 01ffc0fc
ddb97800 1760847433 C Bo:003:01 0 1987 >

Would it help if i sent a usbmon trace with a working printer to see the
contrast?

Steve





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to