Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 15:07:44 -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:  <200301142307.h0EN7i1G099542@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
joe         2003/01/14 15:07:43 PST

  Modified files:
    sys/dev/usb          usb_subr.c 
  Log:
  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.
  
  Submitted by:   kan
  MFC after:      3 days
  
  Revision  Changes    Path
  1.54      +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?200301142307.h0EN7i1G099542>