Re: [PATCHv3 07/11] USB: gadget: g_multi: added documentation and INF files

Xiaofan Chen
2010-06-03T05:03:23Z

2010/6/2 Michał Nazarewicz <m.nazarewicz@samsung.com>:
> On Wed, 02 Jun 2010 15:02:54 +0200, Xiaofan Chen <xiaofanc@gmail.com> wrote:
>>
>> [Version]
>> Signature="$Windows NT$"
>> Class=Ports
>> ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
>> Provider=%MFGNAME%
>> LayoutFile=layout.inf
>> CatalogFile=%MFGFILENAME%.cat
>
> So, what is this cat file for?  I changed the IDs and the INF file started
> working even though I expected that this file will be required.  I'm
> wondering is it because I have something installed on my Windows
> box that others may miss?

You do not need the cat file in this case. Microchip's Driver Package is
WHQLed, in that case, the cat file will have the necessary
digital certificate (Verisign Class 3 code signing certificate for WHQL).
You can also sign your driver package with other valid certificates
(GlobalSign) for KMCS requirement. In this case, the kernel driver
is already signed by Microsoft, you do not need the signed driver
package (cat file) to load the driver in 64bit Vista/Win7. But there
will be a warning (for 32bit/64bit XP/Vista/Win7). Once you pay
money and go through WHQL process, the warning will not be there.

In a word, that line can be deleted.

> And what's with the layout.inf.
Ah, I think that should not be there now. Only system provided
INF file should have that line (eg: mdmcpq.inf which is included
in the Microchip INF file). You can remove that line.

More information:
http://support.microsoft.com/kb/837637

--
Xiaofan http://mcuee.blogspot.com