From 7c6317a426d118967a9a4d9d7f5149e6c5b8c764 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sun, 8 Jan 2012 14:07:09 +1300 Subject: [PATCH] Change driver to work as composite device with two ACM interfaces. This works with the current firmware, but the DFU interface is orphaned: Windows complains about no driver it. --- driver/blackmagic.inf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/driver/blackmagic.inf b/driver/blackmagic.inf index 014a39c..4208858 100644 --- a/driver/blackmagic.inf +++ b/driver/blackmagic.inf @@ -3,7 +3,7 @@ Signature="$Windows NT$" Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%BLACKSPHERE% -DriverVer=03/11/2008,0.0.1.0 +DriverVer=28/12/2011,0.0.1.1 ; Copyright (C) 2004 Al Borchers (alborchers@steinerpoint.com) ; Taken from Linux documentation, modified for Black Magic debug probe @@ -13,7 +13,8 @@ DriverVer=03/11/2008,0.0.1.0 %BLACKSPHERE%=BlackSphereDeviceList [BlackSphereDeviceList] -%BLACKSPHEREDEV%=BlackSphereInstall, USB\VID_0483&PID_5740 +%BLACKMAGICGDB%=BlackSphereInstall, USB\VID_0483&PID_5740&MI_00 +%BLACKMAGICUART%=BlackSphereInstall, USB\VID_0483&PID_5740&MI_02 [DestinationDirs] DefaultDestDir=10,System32\Drivers @@ -43,6 +44,7 @@ LoadOrderGroup = Base [Strings] BLACKSPHERE = "Black Sphere Technologies" -BLACKSPHEREDEV = "Black Magic Probe" +BLACKMAGICGDB = "Black Magic GDB Server" +BLACKMAGICUART = "Black Magic UART Port" BLACKSPHERE_DISPLAY_NAME = "Black Magic Probe Driver"