Re: [PATCH] USB: fix the idProduct value for USB-3.0 root hubs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 25, 2010 at 01:19:37PM -0500, Alan Stern wrote:
> This patch (as1346) changes the idProduct value for USB-3.0 root hubs
> from 0x0002 (which we already use for USB-2.0 root hubs) to 0x0003.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> CC: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
> CC: <stable@xxxxxxxxxx>
> 
> ---
> 
> This probably was a copy & paste error originally.

Not necessarily.  I need to check if khubd will work correctly with this
change.  I was trying to do the minimal amount of modification needed to
get the USB3 root hubs working, so the root hub descriptor for USB3 is
very similar to a USB2 root hub descriptor.

> 
> 
> Index: usb-2.6/drivers/usb/core/hcd.c
> ===================================================================
> --- usb-2.6.orig/drivers/usb/core/hcd.c
> +++ usb-2.6/drivers/usb/core/hcd.c
> @@ -142,7 +142,7 @@ static const u8 usb3_rh_dev_descriptor[1
>  	0x09,       /*  __u8  bMaxPacketSize0; 2^9 = 512 Bytes */
>  
>  	0x6b, 0x1d, /*  __le16 idVendor; Linux Foundation */
> -	0x02, 0x00, /*  __le16 idProduct; device 0x0002 */
> +	0x03, 0x00, /*  __le16 idProduct; device 0x0003 */
>  	KERNEL_VER, KERNEL_REL, /*  __le16 bcdDevice */
>  
>  	0x03,       /*  __u8  iManufacturer; */
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux