-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: gadget: g_serial: INF file updated
Updated the INF file for g_serial gadget. It should work with most recent Windows systems now. Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Michal Nazarewicz
authored and
Greg Kroah-Hartman
committed
Aug 10, 2010
1 parent
90eef5b
commit e41e134
Showing
2 changed files
with
117 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
; Windows USB CDC ACM Setup File | ||
|
||
; Based on INF template which was: | ||
; Copyright (c) 2000 Microsoft Corporation | ||
; Copyright (c) 2007 Microchip Technology Inc. | ||
; likely to be covered by the MLPL as found at: | ||
; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>. | ||
; For use only on Windows operating systems. | ||
|
||
[Version] | ||
Signature="$Windows NT$" | ||
Class=Ports | ||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} | ||
Provider=%Linux% | ||
DriverVer=11/15/2007,5.1.2600.0 | ||
|
||
[Manufacturer] | ||
%Linux%=DeviceList, NTamd64 | ||
|
||
[DestinationDirs] | ||
DefaultDestDir=12 | ||
|
||
|
||
;------------------------------------------------------------------------------ | ||
; Windows 2000/XP/Vista-32bit Sections | ||
;------------------------------------------------------------------------------ | ||
|
||
[DriverInstall.nt] | ||
include=mdmcpq.inf | ||
CopyFiles=DriverCopyFiles.nt | ||
AddReg=DriverInstall.nt.AddReg | ||
|
||
[DriverCopyFiles.nt] | ||
usbser.sys,,,0x20 | ||
|
||
[DriverInstall.nt.AddReg] | ||
HKR,,DevLoader,,*ntkern | ||
HKR,,NTMPDriver,,USBSER.sys | ||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" | ||
|
||
[DriverInstall.nt.Services] | ||
AddService=usbser, 0x00000002, DriverService.nt | ||
|
||
[DriverService.nt] | ||
DisplayName=%SERVICE% | ||
ServiceType=1 | ||
StartType=3 | ||
ErrorControl=1 | ||
ServiceBinary=%12%\USBSER.sys | ||
|
||
;------------------------------------------------------------------------------ | ||
; Vista-64bit Sections | ||
;------------------------------------------------------------------------------ | ||
|
||
[DriverInstall.NTamd64] | ||
include=mdmcpq.inf | ||
CopyFiles=DriverCopyFiles.NTamd64 | ||
AddReg=DriverInstall.NTamd64.AddReg | ||
|
||
[DriverCopyFiles.NTamd64] | ||
USBSER.sys,,,0x20 | ||
|
||
[DriverInstall.NTamd64.AddReg] | ||
HKR,,DevLoader,,*ntkern | ||
HKR,,NTMPDriver,,USBSER.sys | ||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" | ||
|
||
[DriverInstall.NTamd64.Services] | ||
AddService=usbser, 0x00000002, DriverService.NTamd64 | ||
|
||
[DriverService.NTamd64] | ||
DisplayName=%SERVICE% | ||
ServiceType=1 | ||
StartType=3 | ||
ErrorControl=1 | ||
ServiceBinary=%12%\USBSER.sys | ||
|
||
|
||
;------------------------------------------------------------------------------ | ||
; Vendor and Product ID Definitions | ||
;------------------------------------------------------------------------------ | ||
; When developing your USB device, the VID and PID used in the PC side | ||
; application program and the firmware on the microcontroller must match. | ||
; Modify the below line to use your VID and PID. Use the format as shown | ||
; below. | ||
; Note: One INF file can be used for multiple devices with different | ||
; VID and PIDs. For each supported device, append | ||
; ",USB\VID_xxxx&PID_yyyy" to the end of the line. | ||
;------------------------------------------------------------------------------ | ||
[SourceDisksFiles] | ||
[SourceDisksNames] | ||
[DeviceList] | ||
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7 | ||
|
||
[DeviceList.NTamd64] | ||
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7 | ||
|
||
|
||
;------------------------------------------------------------------------------ | ||
; String Definitions | ||
;------------------------------------------------------------------------------ | ||
;Modify these strings to customize your device | ||
;------------------------------------------------------------------------------ | ||
[Strings] | ||
Linux = "Linux Developer Community" | ||
DESCRIPTION = "Gadget Serial" | ||
SERVICE = "USB RS-232 Emulation Driver" |