Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752204Ab0FCFQ3 (ORCPT ); Thu, 3 Jun 2010 01:16:29 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:50052 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570Ab0FCFQ0 convert rfc822-to-8bit (ORCPT ); Thu, 3 Jun 2010 01:16:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=H5IBSKEjqbUwyckW9WN8Di4ntFypu1OwTUmSVISDzacsAs887esmnT4LHUINHKNPit I7vK7NUk7DiVJUWFFaQPcsvUuN0iLlPoaomvR8c6llooGJtD7g9fDRMikhTvszqR51yZ vd+YzBGOLibtJWXIavTPIcXCYZk4I90sIFr3Q= MIME-Version: 1.0 In-Reply-To: References: <5e151207bced1e418bcfed136a871d2da47e417e.1275481997.git.mina86@mina86.com> <785f09f63fe30ba52ce15fd7cb3f5750aa279ab9.1275481997.git.mina86@mina86.com> <5492eaf531c8a59c7c188b9e341572c9cdaed5f2.1275481997.git.mina86@mina86.com> <17b54e2cc00a7f730483401f06c79c781491dc62.1275481997.git.mina86@mina86.com> <381c3f8318e39caaffa1ecfdf5e3cf13ed59cd27.1275481997.git.mina86@mina86.com> Date: Thu, 3 Jun 2010 13:16:24 +0800 Message-ID: Subject: Re: [PATCHv3 07/11] USB: gadget: g_multi: added documentation and INF files From: Xiaofan Chen To: =?ISO-8859-2?Q?Micha=B3_Nazarewicz?= Cc: linux-usb@vger.kernel.org, David Brownell , Kyungmin Park , Marek Szyprowski , linux-kernel@vger.kernel.org, "mina86@mina86.com" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2594 Lines: 63 2010/6/3 Xiaofan Chen : > 2010/6/2 Michał Nazarewicz : >> On Wed, 02 Jun 2010 15:02:54 +0200, Xiaofan Chen 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. Just hope the Linux USB developers will not be bored by this kind of Windows specific information. Here is the nice writeup by Microsoft about KMCS. http://www.microsoft.com/whdc/driver/install/drvsign/kmcs-walkthrough.mspx So if your employer (Samsung) or others is quite nice and submit the driver package (the inf and cat file for CDC-ACM) for WHQL and got approved, in the future, uses of the inf file will not see the red color warning. This might be desired for corporate customers. BTW, I am one of the admins of the open source libusb-win32 project. Actually we want to get some donations to sign the kernel libusb0.sys driver so that it can work under 64bit Vista/Win7. Therefore I came to know a bit of the things. >> 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/