fixed errno sign problem
[comedilib.git] / README
1
2
3
4         Linux Control and Measurement Device Interface (comedi)
5
6                 David Schleef
7                 <ds@stm.lbl.gov>
8
9
10 A new minor version of comedi, 0.6.0, is now available at
11 <ftp://stm.lbl.gov/pub/comedi/>.  The change in minor version
12 level to 6 represents a complete redesign and rewrite of
13 the kernel interface.  Because of this, 0.6.0 is almost
14 completely incompatible with previous versions.
15
16 This redesign was necessary for current and future growth
17 of comedi.  The current needs that have been addressed are
18 SMP and RT compatibility, the need to be more friendly to
19 high-level programming, and an overall simplification of
20 the interface.  Using the 0.6 series should eventually be
21 easier and more understandable.
22
23 The major changes from the 0.5 series are:
24
25         - Comedi devices are now divided into "subdevices",
26           such as a A/D subsystem or D/A subsystem, instead
27           of channels.  This eliminates much of the redundant
28           information and coding that was present in the 0.5
29           series, and also allows proper locking of devices
30           necessary for proper SMP and RT performance.
31         
32         - The 0.6 series will allow multiple methods for
33           data transfer from hardware to your user-level
34           process, including read()/write(), ioctl(), and
35           mmap(), giving users needed flexibility.
36         
37         - Hardware drivers that are real-time compatibile will
38           now be able to perform RTLinux tasks timed by device
39           interrupts.
40
41 Upgrading to 0.6 should not be too difficult, although it
42 will require editing and recompiling all programs that use
43 comedi, since the interface has changed.
44
45 Comedi includes hardware drivers for many boards.  See ./drivers
46 for details.
47
48 If you want to add support for another hardware device, you
49 will want to look at the comedi hardware driver writing HOWTO
50 in the doc directory.  It is fairly simple to write a new hardware
51 driver for comedi, but I am always willing to answer any questions
52 you might have.
53
54 Comedi may be freely distibuted and modified in accordance with the
55 GNU General Public License.
56