From 757af009b6f4768ee057303ed6f17270e25ee8c1 Mon Sep 17 00:00:00 2001 From: Ronny Eichler Date: Wed, 12 Nov 2014 22:32:01 +0100 Subject: [PATCH] Update README.md Windows works using Zadig to install the USB driver pyusb can talk to. --- README.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f0556ca..f668d68 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -PyFL593FL -========== +#PyFL593FL Python/PyUSB interface to the ![FL593FL](http://www.teamwavelength.com/products/product.php?part=154) evaluation board for the TeamWavelength ![FL500](http://www.teamwavelength.com/products/product.php?part=147) laser diode driver. @@ -9,19 +8,16 @@ src="https://github.com/wonkoderverstaendige/PyFL593FL/blob/master/docs/interfac alt="PyQt4 client screenshot"/>

-While in principle cross-platform, libusb was not able to interact with the FL593FL on Windows after -some initial testing. But that is likely the authors fault. +USB communication is handled by PyUSB, which can operate with several backends, i.e. libusb-0.1, libusb-1.0 or OpenUSB. Any of these should do the job as the grimy details are thankfully hidden away. +##Windows -Installation -============== +To install the driver, use ![Zadig](http://zadig.akeo.ie/) and install a libusb-win32 driver as per instructions (For this exact model: vendor id: 0x1a45, product id: 0x2001). Very easy. Then install ![PyUSB](https://github.com/walac/pyusb) and done (assuming all the other requirements like PyQt are installed...). -PyUSB can operate with several backends, i.e. libusb-0.1, libusb-1.0 or OpenUSB. Any of these -should do the job as the grimy details are thankfully hidden away. +##Linux -libusb ------- +###Libusb Installing on distributions using apt goes something along the lines of: $ sudo apt-get install libusb-dev @@ -30,8 +26,7 @@ Or for specifically installing libusb-1.0 at the time of writing: $ sudo apt-get install libusb-1.0-0-dev -PyUSB ------ +###PyUSB Many distributions pull the old 0.x branch when using their package manager, but the 1.0.0+ version of PyUSB is required. As the latter is a pure python library, installing from the github repo should work just fine: @@ -41,8 +36,7 @@ required. As the latter is a pure python library, installing from the github rep $ python setup.py install -Future -====== +#Future Replace the current directly coupled Qt interface with a separate server, handling the USB interface, and a Qt based client. The two communicate via ZMQ.