Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 22:14:09 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Josef Karthauser <joe@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb uhub.c
Message-ID:  <20030714201409.GO72706@cicely12.cicely.de>
In-Reply-To: <200307141746.h6EHkRjh079950@repoman.freebsd.org>
References:  <200307141746.h6EHkRjh079950@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 14, 2003 at 10:46:27AM -0700, Josef Karthauser wrote:
> 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.

Interesting - I'm running a CY7C65640 based hub since a while without
problems.
Which revision was it - mine is the following:
 port 1 addr 6: full speed, self powered, config 1, product 0x6560(0x6560), Cypress Semiconductor(0x04b4), rev 0.07

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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