On Wed, Aug 14, 2013 at 11:17:57AM +0200, Hans de Goede wrote:
> +What:                /sys/bus/usb/devices/.../busnum
> +KernelVersion:       2.6.22
> +Description:
> +             Bus-number of the USB-bus the device is connected to.
> +
> +What:                /sys/bus/usb/devices/.../descriptors
> +KernelVersion:       2.6.26
> +Description:
> +             Binary file containing cached descriptors of the device. The
> +             binary data consists of first the device descriptor, and when
> +             the descriptors for each configuration of the device.

You probably want s/when/then/ here, but perhaps

        "The binary data consists of the device descriptor followed by
         the descriptors for each configuration of the device."

would be more clear?

Thanks,
Johan

> +             Note that the wTotalLength of the config descriptors can not
> +             be trusted, as the device may have a smaller config descriptor
> +             than it advertises. The bLength field of each (sub) descriptor
> +             can be trusted, and can be used to seek forward one (sub)
> +             descriptor at a time until the next config descriptor is found.
> +             All descriptors read from this file are in bus-endian format
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to