RE: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations

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

 



Hi, sorry for the delay in answering; 


FROM: Xiaofan Chen [mailto:xiaofanc@xxxxxxxxx] 
SENT: vrijdag 13 augustus 2010 15:32
TO: Dries Van Puymbroeck
CC: linux-usb@xxxxxxxxxxxxxxx; Greg KH; Michał Nazarewicz; Michał Nazarewicz; Dries Van Puymbroeck; linux-kernel@xxxxxxxxxxxxxxx
Onderwerp: Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations

>I did see something similar for WMCDC.
>http://msdn.microsoft.com/en-us/library/ff538833%28VS.85%29.aspx
>http://msdn.microsoft.com/en-us/library/ff537100%28v=VS.85%29.aspx

This is actually what I based my INF file on. Maybe I should mention that in the comments in the INF?


FROM: Xiaofan Chen [mailto:xiaofanc@xxxxxxxxx] 
SENT: zaterdag 14 augustus 2010 3:28
TO: Michal Nazarewicz
CC: Dries Van Puymbroeck; linux-usb@xxxxxxxxxxxxxxx; Greg KH; Michał Nazarewicz; Dries Van Puymbroeck; linux-kernel@xxxxxxxxxxxxxxx
Onderwerp: Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations

>Obviously you have the device to test, I would be interested to know your
>test results under XP, Vista and Win7.

Yes, I do have an embedded device running the g_multi driver, and have experimented with both 1 configuration (RNDIS) and 2 condfigurations (RNDIS and CDC ECM) on several windows versions (XP, Vista 32 and 64 bit, Windows 7 32 and 64 bit)

When running 1 configuration the device works: windows loads usbccgp.sys and all interfaces are detected (and the linux.inf file can be used). 

This is true for all versions I have tested except for Windows 7 64 bit. It seems here that the RNDIS interface is not detected as a network adapter but as an 'other usb device.' This then makes windows not show a driver install wizard (where one would choose the INF file). It is possible to go into the device manager and configure the RNDIS device manually as a network adapter, after which everything works the same as on other windows versions. Do you have any idea why this only happens on Windows 7 64 bit specifically? (Vista 64 bit and Windows 7 32 bit do not have this behavior, leaving me confused)

When running 2 configurations the device is simply detected as a "multifunction composite device". Usbccgp.sys is not loaded. It is possible to install linux.inf for this device, but then only the first interface (ie: the Ethernet over USB functionality) will be available, any other interfaces such as mass storage devices are not available then. What my INF file does is load usbccgp.sys so that linux.inf can use its multiple interfaces.


-----Oorspronkelijk bericht-----
FROM: Xiaofan Chen [mailto:xiaofanc@xxxxxxxxx] 
SENT: zaterdag 14 augustus 2010 10:58
TO: Michal Nazarewicz
CC: Dries Van Puymbroeck; linux-usb@xxxxxxxxxxxxxxx; Greg KH; Michał Nazarewicz; Dries Van Puymbroeck; linux-kernel@xxxxxxxxxxxxxxx
Onderwerp: Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations

>Thanks. Now it is clear. The patch is correct after all.

Thanks!

>Somehow I forgot the following blog entry again. This blog entry
>seems to be more clear than the MSDN entries.

Yes, it is, thanks for pointing this out to me, I had not found this webpage yet.
--
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