On Tue, 29 Nov 2005, Steve Bangert wrote:

> >  It's related to the
> > drivers only in that they aren't able to convince the printer to start
> > working again once it has stopped.
> 
> Would a "SOFT_RESET" convince the printer to start working?
> check out sections 4.2 and 4.2.3 of the usb printer spec at:
> 
> http://www.usb.org/developers/devclass_docs/usbprint11.pdf

I don't have time to read through the spec.  It _might_ work.

On the other hand, you can get the effect of a "harder" reset by doing 
rmmod uhci-hcd followed by modprobe uhci-hcd.  Does that convince the 
printer to start working?  If it doesn't, a soft reset might not work 
either.  You can get an even "harder" reset by unplugging the USB cable 
and then replugging it.

> > ...
> > > cf4f3800 3833320353 C Bi:004:02 0 10 = 0000000a 00007f00 0080
> > 
> > > And here's a repost of a working printer when i insmod the printer
> > > driver:
> > 
> > ...
> > > d3f6e500 3212296796 C Bi:003:02 0 0
> > 
> > Everything was identical except the two lines shown above.  They show a
> > status message sent back by the non-working printer,
> 
> so if a SOFT_RESET was implemented when this status message was received maybe
> it could be cleared, and get the printer working again, does that sound 
> reasonable?

I don't know.  Firstly I don't know what that message means (if anything).  
Secondly it's not clear that a soft reset will do any good.  Thirdly I 
don't know how the driver could tell when a soft reset is needed.

> >  whereas the working
> > printer sent an empty message.  I have no idea what the message means,
> > though.  Nor do I know which program was responsible for issuing the read 
> > that provoked the message.  Do you have hal running on your system?
> > 
> yes 

You might try configuring the hal service off and then rebooting.  Maybe 
the printer doesn't like hal.

> Still no printer output, seems the only think that gets it going is power 
> cycling the printer.

Do you want to try capturing the Windows USB communications?  There's a 
program called USB Snoop available at sourceforge.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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