cvs commit: src/sys/dev/usb uhub.c

Bernd Walter ticso at cicely12.cicely.de
Mon Jul 14 13:14:18 PDT 2003


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 at bwct.de                                  info at bwct.de



More information about the cvs-src mailing list