Roland,
You might want to try 2.4.27-pre2 or 2.4.26 plus this patch: http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108234665207420&w=2 Steve On Wed, 2004-06-02 at 10:14, QROOF wrote: > Hi all, > I have some problems with printing via USB. > > Whenever I cancel the transfer through a USB printer port (printer.o/usblp.o) this > device (/dev/usb/lp0 in my case) gets > locked. This behaviour is easily reproducable: > I send something to the printer, like # cat myfile.ps > /dev/usb/lp0 > Then, the printer starts receiving data and starts printing. When I kill this cat > process, the printer still prints what > it has received so far, but does not switch back to online state (flashing LED > indicates still receiving data). When I > now cat something else to /dev/usb/lp0, this second cat process hangs, > i.e. it can't be killed (not even with kill -KILL), until I reconnect the USB cable > or power off/on the printer. In this > case lsusb shows me that /dev/usb/lp0 is now assigned to the next higher address > number on the same bus, and things run > as before. > > I'm running Gentoo Linux and the printer is a HP LaserJet 2200DTN. It happens with > both, the gentoo 2.4.25 and 2.6.5 > kernels, with OHCI and UHCI host controlers, and with any types of spoolers/filters. > It looks to me like a problem in > printer.o/usblp.o , because the hanging cat process is obviously in kernel mode, > waiting for the USB link to be reset. > > So I would be very glad if someone had a workaround for that. > > Best > Roland > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users