freebsd-dev/sys/dev/usb
Warner Losh f83fe7ce90 Don't wait for the printer to become ready before allowing the open to
succeed.  There are many printers that return status over the read
channel, and if we wait for the status to become ready, then we can't
find the status automatically.  Linux doesn't wait, nor does it ever
seem to really check the status in any meaningful way...  If there
really is a problem, the writes to the bulk out endpoint will still
fail (like they would if the printer was ready and then ran out of
paper or became unready).

In addition, there are a number of printers being made that emulate
the 'status' byte by returning '0' always rather than '0x18'.  This
fixes the EBUSY on open timeouts on those printer as well.

Reviewed by: the defining silence on usb@
2005-07-15 04:19:42 +00:00
..
dsbr100io.h add copyright notice to something I wrote that didn't have one 2005-01-06 01:36:28 +00:00
ehci_pci.c Identify the Intel ICH4 EHCI controller. 2005-06-10 08:28:22 +00:00
ehci.c Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ehcireg.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ehcivar.h It was possible to have two threads concurrently aborting the same 2005-03-19 19:08:46 +00:00
FILES Diff-reduction before merging if_axe to RELENG_4. 2004-12-08 22:02:58 +00:00
hid.c Fix problem with some logitec usb wireless mice. 2005-02-06 12:41:00 +00:00
hid.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
if_aue.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_auereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_axe.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_axereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_cdce.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_cdcereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_cue.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_cuereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_kue.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_kuereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_rue.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_ruereg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_udav.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_udavreg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_ural.c remove driver-private key allocators; use the default one instead 2005-07-10 00:17:05 +00:00
if_uralreg.h Initial import of ipw, iwi, ral and ural drivers: 2005-04-18 18:47:38 +00:00
if_uralvar.h Make sure that all the necessary USB endpoints are found during device 2005-07-08 19:19:06 +00:00
kue_fw.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ohci_pci.c Power state management now done in PCI bus code 2005-06-05 22:53:09 +00:00
ohci.c Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ohcireg.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ohcivar.h It was possible to have two threads concurrently aborting the same 2005-03-19 19:08:46 +00:00
rio500_usb.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
sl811hs.c Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
sl811hsreg.h Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
sl811hsvar.h Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
slhci_pccard.c Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
ubsa.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ubser.c initialize pp->p_sc so it can be referenced later. 2005-03-17 22:47:18 +00:00
ubser.h initialize pp->p_sc so it can be referenced later. 2005-03-17 22:47:18 +00:00
ucom.c Fix the handling of the UCS_RXSTOP flag so that it always tracks 2005-04-12 00:26:40 +00:00
ucomvar.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ucycom.c Use generic tty code. 2004-10-12 09:21:03 +00:00
udbp.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
udbp.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ufm.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uftdi.c Add support for FTDI's FT2232C twin channel chip. 2005-04-05 22:09:18 +00:00
uftdireg.h
ugen.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ugraphire_rdesc.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uhci_pci.c Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, return 2005-03-01 07:50:12 +00:00
uhci.c Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
uhcireg.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uhcivar.h It was possible to have two threads concurrently aborting the same 2005-03-19 19:08:46 +00:00
uhid.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uhub.c Take out Giant in uhub_child_* in giant. There's one place where we 2005-05-11 15:21:22 +00:00
ukbd.c Use the usb_callout_* API instead of timeout()/untimeout() in order 2005-03-30 08:32:41 +00:00
ulpt.c Don't wait for the printer to become ready before allowing the open to 2005-07-15 04:19:42 +00:00
umass.c Plug a potential memory leak. 2005-05-11 18:53:14 +00:00
umct.c Use a taskqueue rather than an swi to handle deferred notifications. 2004-10-05 04:03:00 +00:00
umodem.c Use a taskqueue to handle port status changes. 2005-01-31 13:58:10 +00:00
ums.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uplcom.c Add support for IODATA USB-RSAQ3 USB-Serial Adapter. 2005-07-03 23:51:16 +00:00
urio.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_ethersubr.c Move Rx/Tx lists management routines into central location. 2005-03-25 12:42:30 +00:00
usb_ethersubr.h Add /* _FOO_H_ */ after the final #endif to make danfe happy. 2005-03-25 13:22:58 +00:00
usb_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_mem.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_mem.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_port.h Although USBVERBOSE was an option in the config system, usb_subr.c failed 2005-01-20 05:03:28 +00:00
usb_quirks.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_quirks.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usb_subr.c Merge from NetBSD. 2005-03-01 08:01:22 +00:00
usb.c Prepare to commit SL811 based Host controller driver. 2005-07-14 14:19:05 +00:00
usb.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usbcdc.h Sync with 1.9 from NetBSD, this includes: 2005-03-01 06:35:04 +00:00
usbdevs update ural ids 2005-07-08 16:28:24 +00:00
usbdi_util.c Merge from NetBSD. 2005-03-01 08:01:22 +00:00
usbdi_util.h Merge from NetBSD. 2005-03-01 08:01:22 +00:00
usbdi.c Merge from NetBSD. 2005-03-01 08:01:22 +00:00
usbdi.h Add convenience functions to get port and interface. 2005-05-16 06:58:43 +00:00
usbdivar.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
usbhid.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uscanner.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
uvisor.c A patch to support Palm Tungsten T via USB-Cradle. 2005-05-04 00:46:24 +00:00
uvscom.c Use a taskqueue to handle port status changes. 2005-01-31 13:58:10 +00:00