Hello Michal,
W dniu 05.05.2014 20:41, Michal Nazarewicz pisze:
On Mon, May 05 2014, Andrzej Pietrasiewicz wrote:
When a gadget is composed with configfs the usb_add_config() is invoked
each time a configuration's directory is created, so this way configurations'
indices are determined. If we w
On Mon, May 05 2014, Andrzej Pietrasiewicz wrote:
> When a gadget is composed with configfs the usb_add_config() is invoked
> each time a configuration's directory is created, so this way configurations'
> indices are determined. If we were to rearrange the configurations if
> one of them becomes "
Hi Michal,
W dniu 01.05.2014 03:42, Michal Nazarewicz pisze:
On Thu, Apr 24 2014, Andrzej Pietrasiewicz wrote:
@@ -438,8 +440,46 @@ static int config_desc(struct usb_composite_dev *cdev,
unsigned w_value)
}
- /* This is a lookup by config *INDEX* */
w_value &= 0xff;
+
On Thu, Apr 24 2014, Andrzej Pietrasiewicz wrote:
> @@ -438,8 +440,46 @@ static int config_desc(struct usb_composite_dev *cdev,
> unsigned w_value)
>
> }
>
> - /* This is a lookup by config *INDEX* */
> w_value &= 0xff;
> + /*
> + * This is a lookup to make non-complia
There is a custom (non-USB IF) extension to the USB standard:
http://msdn.microsoft.com/library/windows/hardware/gg463182
The said extension is maintained by Microsoft for Microsoft.
Yet it is fairly common for various devices to use it, and a
popular proprietary operating system expects devices