Good feedback. I don't know if we can reproduce your system, but we can
make sure 1.6.10 still works on a big-endian system. 

I think the problem is still related to the kernel message "did not
claim interface". If you see the same message printing and it still
prints ok this does not surprise me. Because we do not print over
1284.4/MLC. The print channel uses only "raw" communication which is
probably the default USB interface.

For 1284.4/MLC, depending on the device, we use the 7/1/3 or 7/1/2 USB
interface. Hpiod uses libusb to claim the interface. Maybe there is some
issue with libusb support on your system.

-dave

> -----Original Message-----
> From: Russell Krayer [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 17, 2006 3:00 PM
> To: Suffield, David
> Cc: hplip-devel@lists.sourceforge.net
> Subject: RE: [HPLIP-Devel] big-endian troubles scanning?
> 
> 
> 
> 
> 
> >From: "Suffield, David" <[EMAIL PROTECTED]>
> >To: "Russ Krayer" <[EMAIL PROTECTED]>
> >CC: <hplip-devel@lists.sourceforge.net>
> >Subject: RE: [HPLIP-Devel] big-endian troubles scanning?
> >Date: Tue, 17 Oct 2006 11:58:28 -0500
> >
> >This kernel message "Oct 16 20:25:21 [kernel] usb 3-1: 
> usbfs: process 
> >10392 (hpiod) did not claim interface 0 before use" tells me why 
> >1284.4/MLC communication is failing. For some reason hpiod is not 
> >claiming the USB interface before creating the 1284.4/MLC channel.
> 
> It's interesting that the same message about not claiming the 
> interface 
> appears in the log when I print something, but it prints fine.
> 
> >Here
> >are some suggestions.
> >
> >1. Did your install of HPLIP complete correctly?
> 
> I believe it installed correctly.
> 
> >2. Do you have any old copy of HPLIP still installed?
> 
> The version I had was 1.6.9.  I have installed 1.6.10 just now.
> 
> >3. Try a clean install of the latest HPLIP 1.6.10.
> 
> So now I have 1.6.10 installed.  It appeared to install without any 
> problems.  1.6.9 is all gone too.  But the scanning problems remain.
> 
> >
> >If you are still having problems, give us your system details and we 
> >will try to reproduce the problem in-house.
> 
> My platform is slightly exotic but fairly inexpensive.  I am 
> running on a 
> powerpc-based kurobox.
> 
> My distribution is gentoo.  I'm betting you probably cannot 
> help me with 
> gentoo (it's a great platform though).  Anyway, I had to 
> create my own 
> ebuild for 1.6.10 because an official one is not yet 
> available, being so 
> new.  With gentoo, an "ebuild" tells the system how to 
> download the source, 
> build and install. It's a lot like installing from source.
> 
> I don't know if you will really be able to reproduce my 
> problem in-house ... 
> it's nice of you to offer though.  Have I given you enough 
> details about my 
> system?
> 
> I am open to suggestions.  I can always resort to using 
> usbmon and compare 
> against my AMD64 gentoo box which scans successfully (but I 
> want the kurobox 
> to be the scanner server since it makes a great print server).
> 
> Thanks and regards,
> Russ Krayer
> 
> >
> >-dave
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On 
> Behalf Of Russ 
> > > Krayer
> > > Sent: Monday, October 16, 2006 5:39 PM
> > > To: Albright, Aaron
> > > Cc: hplip-devel@lists.sourceforge.net
> > > Subject: Re: [HPLIP-Devel] big-endian troubles scanning?
> > >
> > >
> > > Aaron Albright wrote:
> > > > Have you looked over this document?
> > > >
> > > > http://hplip.sourceforge.net/troubleshooting/scanning.html
> > > >
> > > > We have tested on the powerpc platform in the past and
> > > haven't had any
> > > > problems.
> > > >
> > > > Also run
> > > >
> > > > tail -f /var/log/messages
> > > >
> > > > and try to scan and post any errors.
> > > >
> > > > Aaron
> > > >
> > >
> > > So I tried this:
> > >
> > > [EMAIL PROTECTED] ~ $ export SANE_DEBUG_DLL=128
> > > [EMAIL PROTECTED] ~ $ scanimage -L
> > > [sanei_debug] Setting debug level of dll to 128.
> > > [dll] sane_init: SANE dll backend version 1.0.12 from 
> sane-backends 
> > > 1.0.18 [dll] sane_init: reading dll.conf [dll]
> > > add_backend: adding backend `hpaio' [dll] sane_get_devices [dll] 
> > > load: searching backend `hpaio' in `/usr/lib/sane' [dll] load: 
> > > trying to load `/usr/lib/sane/libsane-hpaio.so.1'
> > > [dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
> > > [dll] init: initializing backend `hpaio'
> > > [dll] init: backend `hpaio' is version 1.0.6
> > > [dll] sane_get_devices: found 2 devices
> > > device `hpaio:/usb/PSC_2200_Series?serial=MY32GF40ZK0G' is a hp 
> > > PSC_2200_Series multi-function peripheral device 
> > > `hpaio:/usb/PSC_2200_Series?serial=MY32GF40ZK0G' is a hp 
> > > PSC_2200_Series multi-function peripheral [dll] sane_exit: exiting
> > > [dll] sane_exit: calling backend `hpaio's exit function
> > > [dll] sane_exit: finished
> > >
> > >
> > > And during that, there was no output in the logs.
> > >
> > > But, a simple scanimage (without -L) produced this in the log:
> > >
> > > Oct 16 20:25:21 [kernel] usb 3-1: usbfs: process 10392
> > > (hpiod) did not
> > > claim interface 0 before use
> > > Oct 16 20:25:25 [hpiod] unable to read MlcReverseReply
> > > header: Resource
> > > temporarily unavailable bytesRead=0 io/hpiod/mlc.cpp 230_ Oct 16 
> > > 20:25:25 [hpiod] invalid MLCInitReply retrying command... 
> > > io/hpiod/mlc.cpp 338_ Oct 16 20:25:29 [hpiod] unable to read 
> > > MlcReverseReply
> > > header: Resource
> > > temporarily unavailable bytesRead=0 io/hpiod/mlc.cpp 230_ Oct 16 
> > > 20:25:29 [hpiod] invalid MLCInitReply: cmd=0, result=3_, 
> revision=0 
> > > io/hpiod/mlc.cpp 348_ Oct 16 20:25:30 [hpiod] device cleanup
> > > uri=hp:/usb/PSC_2200_Series?serial=MY32GF40ZK0G_
> > >
> > > And, I also tried an "strace" on the hpiod process and produced a 
> > > lot of output, too much to post here I think (but I can 
> if you want 
> > > ;-) ). There was a flurry of activity and then a lot of this over 
> > > and over:
> > >
> > > 10847 ioctl(5, USBDEVFS_REAPURBNDELAY, 0x30824258) = -1 EAGAIN 
> > > (Resource temporarily unavailable)
> > > 10847 select(6, NULL, [5], NULL, {0, 1000}) = 1 (out [5],
> > > left {0, 1000}) 10847 gettimeofday({1161044995, 616515},
> > > NULL) = 0 10847 ioctl(5, USBDEVFS_REAPURBNDELAY, 0x30824258)
> > > = 0 10847 gettimeofday({1161044995, 617430}, NULL) = 0 10847
> > > ioctl(5, USBDEVFS_SUBMITURB, 0x1003943c) = 0 10847
> > > gettimeofday({1161044995, 618165}, NULL) =
> > > 0
> > >
> > >
> > > Thanks for any clues you can offer.
> > >
> > >
> > > 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
> 
> 
> 

-------------------------------------------------------------------------
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