diff options
author | 2011-03-04 23:55:32 +0000 | |
---|---|---|
committer | 2011-03-04 23:55:32 +0000 | |
commit | 510edd6f55300977e253fc546c427fe43f86364d (patch) | |
tree | 00c204b863d3c83ac4d894c3d02a7b76224d01d3 | |
parent | kill is_rx_elem_unknown. (diff) | |
download | wireguard-openbsd-510edd6f55300977e253fc546c427fe43f86364d.tar.xz wireguard-openbsd-510edd6f55300977e253fc546c427fe43f86364d.zip |
Apparently keeping some USB devices in reset for too long makes them
non-functional. Reduce the root port reset delay to 100 ms. This is still
twice as long as the delay mandated by the standard, but makes the Gunze
TouchScreen on the Sony Vaio VGN-UX91S and a few other devices work.
ok jakemsr@
-rw-r--r-- | sys/dev/usb/usb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index d8ed1dcfa1f..5542b65b303 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.h,v 1.36 2011/01/15 23:58:43 jakemsr Exp $ */ +/* $OpenBSD: usb.h,v 1.37 2011/03/04 23:55:32 kettenis Exp $ */ /* $NetBSD: usb.h,v 1.69 2002/09/22 23:20:50 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $ */ @@ -511,7 +511,7 @@ typedef struct { #else /* Allow for marginal (i.e. non-conforming) devices. */ #define USB_PORT_RESET_DELAY 50 /* ms */ -#define USB_PORT_ROOT_RESET_DELAY 250 /* ms */ +#define USB_PORT_ROOT_RESET_DELAY 100 /* ms */ #define USB_PORT_RESET_RECOVERY 250 /* ms */ #define USB_PORT_POWERUP_DELAY 300 /* ms */ #define USB_SET_ADDRESS_SETTLE 10 /* ms */ |