Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Windows works using Zadig to install the USB driver pyusb can talk to.
  • Loading branch information
wonkoderverstaendige committed Nov 12, 2014
1 parent c45d7af commit 757af00
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -9,19 +8,16 @@ src="https://github.com/wonkoderverstaendige/PyFL593FL/blob/master/docs/interfac
alt="PyQt4 client screenshot"/>
</p>

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
Expand All @@ -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:
Expand All @@ -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.

0 comments on commit 757af00

Please sign in to comment.