added so-called 'driver' for windows
authorroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 5 Dec 2012 20:45:42 +0000 (20:45 +0000)
committerroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 5 Dec 2012 20:45:42 +0000 (20:45 +0000)
armsrc/usb_cdc.c
driver/proxmark3.inf [new file with mode: 0644]

index 85c5d493bfb2bd63a0d6952a118f6b3612a39e6d..b8aee5a498a29c31a33539b7f69632c9018d52a0 100644 (file)
@@ -51,8 +51,8 @@ const char devDescriptor[] = {
        0x00,      // bDeviceSubclass: CDC class sub code\r
        0x00,      // bDeviceProtocol: CDC Device protocol\r
        0x08,      // bMaxPacketSize0\r
-       0xeb,0x03, // Vendor ID (random numbers)\r
-       0x25,0x61, // Product ID (random numbers)\r
+       0x2d,0x2d, // Vendor ID (--)\r
+       0x4d,0x50, // Product ID (PM), transmitted in reverse\r
        0x01,0x00, // Device release number (0001)\r
        0x01,      // iManufacturer    // 0x01\r
        0x00,      // iProduct\r
diff --git a/driver/proxmark3.inf b/driver/proxmark3.inf
new file mode 100644 (file)
index 0000000..601b2d8
--- /dev/null
@@ -0,0 +1,32 @@
+[Version]
+Signature="$Windows NT$"
+Class=Ports
+ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
+Provider=%ProviderName%
+DriverVer=10/15/2009,1.0.0.0
+
+[MANUFACTURER]
+%ProviderName%=DeviceList, NTx86, NTamd64
+
+[DeviceList.NTx86]
+%DeviceName%=DriverInstall,USB\VID_2d2d&PID_504d
+
+[DeviceList.NTamd64]
+%DeviceName%=DriverInstall,USB\VID_2d2d&PID_504d
+
+[DriverInstall]
+include=mdmcpq.inf
+CopyFiles=FakeModemCopyFileSection
+AddReg=LowerFilterAddReg,SerialPropPageAddReg
+
+[DriverInstall.Services]
+include = mdmcpq.inf
+AddService = usbser, 0x00000002, LowerFilter_Service_Inst
+
+; This adds the serial port property tab to the device properties dialog
+[SerialPropPageAddReg]
+HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
+
+[Strings]
+ProviderName = "proxmark.org"
+DeviceName = "Proxmark3"
Impressum, Datenschutz