Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 10:46:27 -0700 (PDT)
From:      Josef Karthauser <joe@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb uhub.c
Message-ID:  <200307141746.h6EHkRjh079950@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
joe         2003/07/14 10:46:27 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/usb          uhub.c 
  Log:
  As defined by USB Specification Rev 2.0 (in section 11.24.2.5), to
  get a Hub descriptor, we have to set req.wValue to "Descriptor Type
  and Descriptor Index". In this case, Descriptor Type is 0x29
  (UDESC_HUB), Descriptor Index should be 0.
  
  If I don't do a check (dev->address > 1 ... ), root hub fails.
  
  A new Cytronix 4-port USB 2.0 Hub (Cypress CY7C65640 chip) now works
  after this patch.
  
  Submitted by:   Alexander Pohoyda <alexander.pohoyda@gmx.net>
  MFC after:      7 days
  
  Revision  Changes    Path
  1.49      +1 -1      src/sys/dev/usb/uhub.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307141746.h6EHkRjh079950>