Date: Tue, 7 Nov 2000 02:50:35 -0800 (PST) From: Nick Hibma <n_hibma@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ulpt.c Message-ID: <200011071050.CAA77624@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
n_hibma 2000/11/07 02:50:35 PST Modified files: sys/dev/usb ulpt.c Log: Fix for powering off a HP DJ950C during printing. As stated by Ian: When the printer is turned off the pipe write will cause and error, which causes lpd to close the device and reopen it to clear the error. After a short while the device will disappear from the bus but lpd will have opened the ulpt0 port by then. ulpt_status will check for status without checking the sc->dying flag and panic the kernel when the device finally disappears from the bus. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Revision Changes Path 1.33 +6 -1 src/sys/dev/usb/ulpt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011071050.CAA77624>