summaryrefslogtreecommitdiff
path: root/digital/dev2
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-01 23:56:36 +0200
committerNicolas Schodet2010-04-01 23:56:36 +0200
commita2d6db53863855f65f91d259d827e77179b774fc (patch)
treef3f13aca73f8b37db523935421d859671ed9592a /digital/dev2
parentedf52bce04223a63bd982f5027497c634dfc38fe (diff)
digital/dev2/doc: add dev2 documentation
Diffstat (limited to 'digital/dev2')
-rw-r--r--digital/dev2/doc/dev2.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/digital/dev2/doc/dev2.txt b/digital/dev2/doc/dev2.txt
new file mode 100644
index 00000000..3ae9a0e2
--- /dev/null
+++ b/digital/dev2/doc/dev2.txt
@@ -0,0 +1,32 @@
+===============================================================
+ dev2 - Multi-purpose development board using USB and Ethernet
+===============================================================
+
+USB connection
+==============
+
+As there is no driver for the dev2 board in the kernel and there is not enough
+USB end points in the AT90USB162 to implement a ACM class device with two
+serial ports, you should load the generic serial driver:
+
+ modprobe usbserial vendor=0x03eb product=0x204e
+
+Then look at kernel messages to locate the new serial devices (/dev/ttyUSBx).
+
+Controlling the output
+======================
+
+The board can be controlled using the dev2ctl.py program which uses libusb.
+
+Use it to select an output.
+
+You can also use it to deselect an output so that no current flows into it.
+
+It can also be used to control GPIO when available in the loaded firmware.
+
+About the vendor and product ID
+===============================
+
+They come from LUFA, the USB library we use for dev2. This is not supposed to
+be done in a commercial USB product, but this is OK for hobbyists. That's why
+dev2ctl parses the product name to make sure it talks to the right device.