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

From: Xiaofan Chen
Date: Thu Jun 03 2010 - 01:03:26 EST


2010/6/2 MichaÅ Nazarewicz <m.nazarewicz@xxxxxxxxxxx>:
> On Wed, 02 Jun 2010 15:02:54 +0200, Xiaofan Chen <xiaofanc@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/