Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: tools/usb_gadget/usb_gadget.inf

Issue 803723002: Add a Windows INF file for the non-standard USB gadget devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ;
2 ; This INF file instructs Windows to load winusb.sys against the USB devices
3 ; implemented by the test gadget that don't implement a standard USB class.
4 ;
5
6 [Version]
7 Signature = "$Windows NT$"
8 Class = USBDevice
9 ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
10 Provider = %ManufacturerName%
11 CatalogFile = WinUSBInstallation.cat
12 DriverVer = 09/04/2012,13.54.20.543
13
14 ; ========== Manufacturer/Models sections ===========
15
16 [Manufacturer]
17 %ManufacturerName% = Standard,NTx86,NTia64,NTamd64
18
19 [Standard.NTx86]
20 %USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
21 %USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
22
23 [Standard.NTia64]
24 %USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
25 %USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
26
27 [Standard.NTamd64]
28 %USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
29 %USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
30
31 ; ========== Class definition ===========
32
33 [ClassInstall32]
34 AddReg = ClassInstall_AddReg
35
36 [ClassInstall_AddReg]
37 HKR,,,,%ClassName%
38 HKR,,NoInstallClass,,1
39 HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
40 HKR,,LowerLogoVersion,,5.2
41
42 ; =================== Installation ===================
43
44 [USB_Install]
45 Include = winusb.inf
46 Needs = WINUSB.NT
47
48 [USB_Install.Services]
49 Include = winusb.inf
50 Needs = WINUSB.NT.Services
51
52 [USB_Install.HW]
53 AddReg = Dev_AddReg
54
55 [Dev_AddReg]
56 HKR,,DeviceInterfaceGUIDs,0x10000,"{9f543223-cede-4fa3-b376-a25ce9a30e74}"
57
58 ; =================== Strings ===================
59
60 [Strings]
61 ManufacturerName = "Google, Inc."
62 ClassName = "USB Test Devices"
63 USB\DefaultDevice.DeviceDesc = "Test Gadget"
64 USB\EchoDevice.DeviceDesc = "Echo Gadget"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698