From 81ee3409f9c56badb3548beb24bbb65469e3274c Mon Sep 17 00:00:00 2001 From: "roel@libnfc.org" Date: Wed, 5 Dec 2012 20:45:42 +0000 Subject: [PATCH] added so-called 'driver' for windows --- armsrc/usb_cdc.c | 4 ++-- driver/proxmark3.inf | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 driver/proxmark3.inf diff --git a/armsrc/usb_cdc.c b/armsrc/usb_cdc.c index 85c5d493..b8aee5a4 100644 --- a/armsrc/usb_cdc.c +++ b/armsrc/usb_cdc.c @@ -51,8 +51,8 @@ const char devDescriptor[] = { 0x00, // bDeviceSubclass: CDC class sub code 0x00, // bDeviceProtocol: CDC Device protocol 0x08, // bMaxPacketSize0 - 0xeb,0x03, // Vendor ID (random numbers) - 0x25,0x61, // Product ID (random numbers) + 0x2d,0x2d, // Vendor ID (--) + 0x4d,0x50, // Product ID (PM), transmitted in reverse 0x01,0x00, // Device release number (0001) 0x01, // iManufacturer // 0x01 0x00, // iProduct diff --git a/driver/proxmark3.inf b/driver/proxmark3.inf new file mode 100644 index 00000000..601b2d8f --- /dev/null +++ b/driver/proxmark3.inf @@ -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" -- 2.39.2