summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--README32
-rw-r--r--windows/DF10CH.cat3
-rw-r--r--windows/DF10CH.inf132
4 files changed, 169 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index aef483b..a5b8ddb 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
History of changes from newest to oldest:
-----------------------------------------
+Added sub directory "windows/" with files for libusb driver installation on MS-Windows.
+Added description about libusb driver installation on MS-Windows in file README.
+
circuit revision 4
Changed R9 from 2K2 to 1K5
diff --git a/README b/README
index 580ed04..ff6f3d0 100644
--- a/README
+++ b/README
@@ -36,6 +36,7 @@ df10ch_usb_proto.h Include file with definitions of implemented USB communica
df10ch_setup.py Main python script of DF10CH setup program
setup.py Python script used for installation of Df10CH setup program
MANIFEST.in File used by Python installation script
+windows/ MS Windows related files
@@ -85,6 +86,33 @@ If you like you could directly flash the application firmware without the bootlo
lose the firmware update feature of the DF10CH setup program.
+------------------------------------------------
+Installation of USB driver for DF10CH controller
+------------------------------------------------
+
+The DF10CH setup programm and test application uses the USB library "libusb" for communication to the controllers.
+Currently there exits two different version of this libary called "libusb 0.1" and libusb 1.0".
+
+For Linux you must install the newer implementation "libusb 1.0".
+On debian based systems this is packages: libusb-1.0-0.
+
+For MS Windows you need to install the "libusb-win32 device driver" which is a port of "libusb 0.1":
+
+ * Log in as a user with administrator privileges.
+ * Download the latest device driver binary package (libusb-win32-device-bin-x.x.x.x.zip or tar.gz) from http://sourceforge.net/projects/libusb-win32/files/
+ * Extract it to a temporary directory.
+ * Copy the DF10CH.inf and DF10CH.cat files from the windows/ subdirectory to the temporary directory
+ * Unplug the device(s) from the system.
+ * Open the Windows Device Manager and remove all incorrectly installed USB devices (device entries with a yellow exclamation mark).
+ * Reconnect the device(s) to the system.
+ * When Windows asks for a driver, choose the inf-file(s) copyed above. On Win2k, WinXP, Windows will warn that the driver is is not 'digitally signed'.
+ Ignore this message and continue with the installation. It is similar for Windows Vista and Windows 7 32bit systems.
+ For 64bit Vista and Windows 7 systems, a valid digital signature is required. Please read more about the Microsoft Kernel Mode Code Signing (KMCS) policy for more information.
+ * Open the Windows Device Manager to verify that the device is installed correctly. Run the test program (testlibusb-win.exe) from the 'bin directory'.
+ It should print out the descriptors of your device(s).
+ * A reboot isn't necessary.
+
+
------------------------------------
Installation of DF10Ch setup program
------------------------------------
@@ -125,8 +153,10 @@ To get maximum load at controller you should have a setup so that each controlle
drives a different area. This is the initial setup of a controller if you do not have
already changed the channel mapping with the setup program.
-For compiling the application you need a installed libusb library.
+For compiling the application you need a installed libusb 1.0 library.
On debian based systems this is packages: libusb-1.0-0.
+Currently this application is not tested against MS-Windows because there is no existing
+port of libusb 1.0 for this platform!!
cd test_appl
make
diff --git a/windows/DF10CH.cat b/windows/DF10CH.cat
new file mode 100644
index 0000000..2ef39c5
--- /dev/null
+++ b/windows/DF10CH.cat
@@ -0,0 +1,3 @@
+This file will contain the digital signature of the files to be installed
+on the system.
+This file will be provided by Microsoft upon certification of your drivers.
diff --git a/windows/DF10CH.inf b/windows/DF10CH.inf
new file mode 100644
index 0000000..6cfe2d5
--- /dev/null
+++ b/windows/DF10CH.inf
@@ -0,0 +1,132 @@
+; DF10CH.inf
+; Copyright (c) 2010 libusb-win32 (GNU LGPL)
+[Version]
+Signature = "$Windows NT$"
+Class = "libusb-win32 devices"
+ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567}
+Provider = "libusb-win32"
+CatalogFile = DF10CH.cat
+DriverVer = 05/19/2010, 1.1.14.0
+
+[ClassInstall32]
+AddReg=libusb_class_install_add_reg
+
+[libusb_class_install_add_reg]
+HKR,,,0,"libusb-win32 devices"
+HKR,,Icon,,-20
+
+[Manufacturer]
+"yak54@gmx.net"=LIBUSB_WIN32, NT, NTAMD64, NTIA64
+
+;--------------------------------------------------------------------------
+; libusb-win32 files
+;--------------------------------------------------------------------------
+
+[SourceDisksNames]
+1 = %LIBUSB_WIN32_DiskName%
+
+[SourceDisksFiles.x86]
+libusb0.sys = 1,x86
+libusb0.dll = 1,x86
+
+[SourceDisksFiles.amd64]
+libusb0.sys = 1,amd64
+libusb0.dll = 1,amd64
+x86\libusb0.dll = 1
+
+[SourceDisksFiles.ia64]
+libusb0.sys = 1,ia64
+libusb0.dll = 1,ia64
+x86\libusb0.dll = 1
+
+[DestinationDirs]
+libusb_files_sys = 10,system32\drivers
+libusb_files_dll = 10,system32
+libusb_files_dll_wow64 = 10,syswow64
+
+[libusb_files_sys]
+libusb0.sys
+
+[libusb_files_dll]
+libusb0.dll
+
+[libusb_files_dll_wow64]
+libusb0.dll,x86\libusb0.dll
+
+;--------------------------------------------------------------------------
+; libusb-win32 device driver
+;--------------------------------------------------------------------------
+
+[LIBUSB_WIN32_DEV.NT]
+CopyFiles = libusb_files_sys, libusb_files_dll
+
+[LIBUSB_WIN32_DEV.NTAMD64]
+CopyFiles = libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64
+
+[LIBUSB_WIN32_DEV.NTIA64]
+CopyFiles = libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64
+
+[LIBUSB_WIN32_DEV.NT.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_WIN32_DEV.NTAMD64.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_WIN32_DEV.NTIA64.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_WIN32_DEV.NT.Services]
+AddService = libusb0, 0x00000002, libusb_add_service
+
+[LIBUSB_WIN32_DEV.NTAMD64.Services]
+AddService = libusb0, 0x00000002, libusb_add_service
+
+[LIBUSB_WIN32_DEV.NTIA64.Services]
+AddService = libusb0, 0x00000002, libusb_add_service
+
+; Older versions of this .inf file installed filter drivers. They are not
+; needed any more and must be removed
+[libusb_del_reg_hw]
+HKR,,LowerFilters
+HKR,,UpperFilters
+
+; libusb-win32 device properties
+[libusb_add_reg_hw]
+HKR,,SurpriseRemovalOK, 0x00010001, 1
+
+; (Optional) the usb configuration value to select when this device
+; is started. If this key does not exist the first config is selected.
+;HKR,,InitialConfigValue,0x00010001,<your config value>
+
+;--------------------------------------------------------------------------
+; libusb-win32 service
+;--------------------------------------------------------------------------
+
+[libusb_add_service]
+DisplayName = "LibUsb-Win32 - Kernel Driver 1.1.14.0, 05/19/2010"
+ServiceType = 1
+StartType = 3
+ErrorControl = 0
+ServiceBinary = %12%\libusb0.sys
+
+;--------------------------------------------------------------------------
+; LIBUSB_WIN32
+;--------------------------------------------------------------------------
+
+[LIBUSB_WIN32]
+"DF10CH"=LIBUSB_WIN32_DEV, USB\VID_16c0&PID_05dc
+
+[LIBUSB_WIN32.NT]
+"DF10CH"=LIBUSB_WIN32_DEV, USB\VID_16c0&PID_05dc
+
+[LIBUSB_WIN32.NTAMD64]
+"DF10CH"=LIBUSB_WIN32_DEV, USB\VID_16c0&PID_05dc
+
+[LIBUSB_WIN32.NTIA64]
+"DF10CH"=LIBUSB_WIN32_DEV, USB\VID_16c0&PID_05dc
+
+[Strings]
+LIBUSB_WIN32_DiskName="DF10CH Install Disk"