Date: Fri, 17 Jan 2003 09:40:00 -0800 (PST) From: Josef Karthauser <joe@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb usb_subr.c Message-ID: <200301171740.h0HHe05c001017@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joe 2003/01/17 09:40:00 PST Modified files: (Branch: RELENG_4) sys/dev/usb usb_subr.c Log: MFC: revision 1.54 Some USB devices are not prepared to deal with a single byte string descriptor request, which usbd_get_string_desc() uses to get the length of a descriptor. One device for instance returns a full 8 byte long packet instead which confuses the rest of the stack and leads to the USB port being reset. The fix is to instead request two bytes, but not to complain if we only get one. Revision Changes Path 1.23.2.7 +8 -2 src/sys/dev/usb/usb_subr.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?200301171740.h0HHe05c001017>