Date: Sat, 01 Jul 2006 18:40:47 +0200 From: Jan-Espen Pettersen <sigsegv@radiotube.org> To: freebsd-questions@freebsd.org Subject: Re: CUPS, USB printers & "Permission Denied" Message-ID: <44A6A58F.7090602@radiotube.org> In-Reply-To: <44A6A3D5.9020607@radiotube.org> References: <200606301737.32015.rainer.heesen@gmx.de> <44A6A3D5.9020607@radiotube.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB1B789F58A5ADB71676D1E3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > The problem is that read operations on usb printers might just > block/hang with no data from the printer (?). ulpt doesn't have > non-blocking I/O, so I've made a patch that simply times out read > operations, and disables further reads if it detects a blocking/stall > condition. It is possible that this breaks the back-channel, as I'm > unsure if we can expect a printer to send inbound data before we > actually write anything out? > > It looks like there are similar problems with other backends? I've only= > looked at the usb backend yet. > > =20 Sorry, the attachment got cleared by mailman. http://www.radiotube.org/patch-backend_usb-unix.c Put it into /usr/ports/print/cups-base/files if you would like to test it= =2E --------------enigAB1B789F58A5ADB71676D1E3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEpqWQH90qNYni6VoRAhg7AKC9BQkn8howRi2LldoVZdLjIvwhYwCfeHCX poPwyBJ59hT3F7KpkIM9qgU= =3ytx -----END PGP SIGNATURE----- --------------enigAB1B789F58A5ADB71676D1E3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A6A58F.7090602>