>From: "Russell Krayer" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: hplip-devel@lists.sourceforge.net
>Subject: Re: [HPLIP-Devel] big-endian troubles scanning?
>Date: Thu, 19 Oct 2006 20:23:04 -0400
>
>
>
>
> >From: "Russell Krayer" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >CC: hplip-devel@lists.sourceforge.net
> >Subject: Re: [HPLIP-Devel] big-endian troubles scanning?
> >Date: Thu, 19 Oct 2006 20:15:02 -0400
> >
> >
> >
> >
> > >From: "Suffield, David" <[EMAIL PROTECTED]>
> > >To: "Russell Krayer" <[EMAIL PROTECTED]>
> > >CC: <hplip-devel@lists.sourceforge.net>
> > >Subject: RE: [HPLIP-Devel] big-endian troubles scanning?
> > >Date: Thu, 19 Oct 2006 13:45:57 -0500
> > >
> > >We have actually reproduced your problem on a powerpc running Ubuntu
> > >(dapper). We get the same kernel message "(hpiod) did not claim
> > >interface 0 before use". Same symtoms - prints ok, but scanning fails.
> > >Dapper is running libusb 0.1.10a.
> > >
>
>I should have mentioned my libusb is 0.1.12
>
>
>
> > >Like I said before libusb is not claiming the interface as expected. 
>For
> > >our test we used a OJ 7400 and for that device hpiod will claim
> > >interface #1 which is the 7/1/2 interface. Hpiod does not use interface
> > >#0.
> > >
> > >We going to test with Ubuntu Breezy since that was our last known
> > >big-endian test setup that worked.
> > >


So I rebuilt my kernel with debugfs and usbmon and captured the activity on 
the two boxes I have.  I'm pretty sure we're seeing byte-swapping issues.  I 
stripped out the times and extra junk to show the differences more easily 
side by side with xxdiff.

First here is from the broken box on powerpc:

S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0302 0409 00ff 255 <
C Ci00 0 32 = 20035000 53004300 20003200 32003000 30002000 53006500 72006900 
65007300
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0303 0409 00ff 255 <
C Ci00 0 26 = 1a034d00 59003300 32004700 46003400 30005a00 4b003000 4700
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0302 0409 00ff 255 <
C Ci00 0 32 = 20035000 53004300 20003200 32003000 30002000 53006500 72006900 
65007300
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0303 0409 00ff 255 <
C Ci00 0 26 = 1a034d00 59003300 32004700 46003400 30005a00 4b003000 4700
S Co00 s 01 0b 0000 0001 0000 0
C Co00 0 0
S Co00 s 01 0b 0000 0001 0000 0
C Co00 0 0
S Ci00 s a1 00 0000 0100 0400 1024 <
C Ci00 0 158 = 009e4d46 473a4865 776c6574 742d5061 636b6172 643b4d44 
4c3a5053 43203232
S Ci00 s a1 00 0000 0100 0400 1024 <
C Ci00 0 158 = 009e4d46 473a4865 776c6574 742d5061 636b6172 643b4d44 
4c3a5053 43203232
S Ci00 s c1 00 4d00 0100 0001 1 <
C Ci00 0 1 = 00
S Bi03 -115 8192 <
C Bi03 0 0
S Bo03 -115 8 = 00000008 00000003
C Bo03 0 8 >
S Bi03 -115 8192 <
C Bi03 0 0
S Bi03 -115 8192 <
C Bi03 0 0


And here is from a working AMD64 box:

S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0302 0409 00ff 255 <
C Ci00 0 32 = 20035000 53004300 20003200 32003000 30002000 53006500 72006900 
65007300
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0303 0409 00ff 255 <
C Ci00 0 26 = 1a034d00 59003300 32004700 46003400 30005a00 4b003000 4700
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0302 0409 00ff 255 <
C Ci00 0 32 = 20035000 53004300 20003200 32003000 30002000 53006500 72006900 
65007300
S Ci00 s 80 06 0300 0000 00ff 255 <
C Ci00 0 4 = 04030904
S Ci00 s 80 06 0303 0409 00ff 255 <
C Ci00 0 26 = 1a034d00 59003300 32004700 46003400 30005a00 4b003000 4700
S Co00 s 01 0b 0000 0001 0000 0
C Co00 0 0
S Co00 s 01 0b 0000 0001 0000 0
C Co00 0 0
S Ci00 s a1 00 0000 0001 0400 1024 <
C Ci00 0 158 = 009e4d46 473a4865 776c6574 742d5061 636b6172 643b4d44 
4c3a5053 43203232
S Ci00 s a1 00 0000 0001 0400 1024 <
C Ci00 0 158 = 009e4d46 473a4865 776c6574 742d5061 636b6172 643b4d44 
4c3a5053 43203232
S Ci00 s c1 00 004d 0001 0001 1 <
C Ci00 0 1 = 4d
S Bi03 -115 8192 <
C Bi03 0 0
S Bo03 -115 8 = 00000008 00000003
C Bo03 0 8 >
S Bi03 -115 8192 <
C Bi03 0 6 = 00000009 0000
S Bi03 -115 8192 <
C Bi03 0 3 = 800003
S Bo03 -115 13 = 0000000d 00000704 20002000 00
C Bo03 0 13 >
S Bi03 -115 8192 <
C Bi03 0 6 = 0000000d 0000
S Bi03 -115 8192 <
C Bi03 0 7 = 87000044 200000
S Bo03 -115 11 = 0000000b 00000104 040000
C Bo03 0 11 >
S Bi03 -115 8192 <
C Bi03 0 6 = 0000000a 0000
S Bi03 -115 8192 <
C Bi03 0 4 = 81000000
S Bo03 -115 13 = 0000000d 00000701 20002000 00
C Bo03 0 13 >
S Bi03 -115 8192 <
C Bi03 0 6 = 0000000d 0000


The differences start at line 21.


Regards,
Russ Krayer



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to