Commit graph

1166 commits

Author SHA1 Message Date
Ian Abbott
0fbbf1a5f1 Add brief note about dependencies for Python and Ruby bindings. 2009-03-31 15:08:55 +00:00
Bernd Porr
1b52275fa2 Added the installtion instructions from the Wiki and removed reference
to Debian woody packages. I had recently quite a lot of e-mails
asking about the permissions of the comedi files and every time the
the problem was that the udev rules were installed in /usr/local/etc.
2009-03-16 19:30:39 +00:00
Ian Abbott
12eedd26b3 comedi_get_default_calibration_path(): Check result of asprintf() for error. 2009-02-18 15:35:09 +00:00
Ian Abbott
d7bdd10bd6 Update setup.rb using http://i.loveruby.net/archive/setup/setup-3.4.1.tar.gz 2009-02-18 15:14:53 +00:00
Ian Abbott
f2fdf25018 Move "comedi_errno.h" into "include/" and install it. 2009-02-18 14:47:06 +00:00
Ian Abbott
76a2e658b7 Put __comedi_errno variable into thread-local storage if the compiler
supports it.  Configuration test uses Alan Woodland's 'ax_tls.m4' from
<http://autoconf-archive.cryp.to/ax_tls.html>.
2009-02-18 14:10:54 +00:00
Ian Abbott
24147c08a4 Allow swig to include comedi.h and comedilib.h from comedi.i to avoid
duplication.
2009-01-30 14:51:38 +00:00
Ian Abbott
3c25224334 Added updates from comedi.h and comedilib.h. 2009-01-30 14:21:52 +00:00
Ian Abbott
8ccf6492f4 Added dependencies flex and bison, and (optionally) swig, python, ruby and
xmlto.
2009-01-06 12:19:31 +00:00
Bernd Porr
3549993b55 the udev scripts are no longer needed because of autoconf in kernelspace
and the drivers request the firmware now via the standard udev firmware
helper.
2008-12-21 14:29:53 +00:00
Ian Abbott
564e9680b0 Fixed do_test_for_insn_bits(), broken by validity checks added to
comedi_do_insnlist().  Call comedi_ioctl() instead of comedi_do_insnlist().
2008-12-18 17:23:14 +00:00
Ian Abbott
9a06deb6f9 Removed unneeded comedi_insnlist from do_test_for_insn(). 2008-12-18 16:44:20 +00:00
Ian Abbott
d8c3b29ca4 Corrected the 'BUG' message in do_test_for_insnlist() (it reported the
wrong function).
2008-12-18 16:38:51 +00:00
Ian Abbott
c234d5afbc Oops, I missed one of the info to board_info changes. 2008-12-18 11:43:27 +00:00
Ian Abbott
80ac38a5b1 demo/info is now demo/board_info. Thanks to JuanPi for pointing it out. 2008-12-18 11:23:48 +00:00
Frank Mori Hess
8884128f3a Persistent names by pci device path should be in by-path subdirectory,
not by-id.
2008-11-13 14:40:48 +00:00
Frank Mori Hess
83058293b9 Added C++ wrapper for comedi_get_buffer_contents(). 2008-11-13 14:17:15 +00:00
Bernd Porr
9c3e25cddf Simplified the comedi rules for usbdux(fast). Also fixed the coldplug problem: the script was only called after a hotplug but not at boot time. This should work now. 2008-11-09 21:42:41 +00:00
Ian Abbott
4df5ffd451 Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
Ian Abbott
0038ed1467 Handle COMEDI_SUBD_PWM and check for future unknown subdevice types. 2008-11-05 11:40:42 +00:00
Frank Mori Hess
acfb8c3fb4 Made suffix on persistent subdevice symlinks use underscore
for consistency.
2008-10-20 19:49:02 +00:00
Frank Mori Hess
81ba50ceec Added example udev rules file for new udev/sysfs in comedi for pci boards. 2008-10-20 19:37:57 +00:00
Frank Mori Hess
8103c5334a Updated it to only run the (unreliable) do_test_for_insn_bits() if the
information was not available in the subdevice info.
2008-09-16 14:49:35 +00:00
Frank Mori Hess
4d61d75531 Added subdevice::subdevice_type() wrapper. 2008-09-16 14:48:14 +00:00
Frank Mori Hess
ac9f5f248f synced with comedi. 2008-09-16 14:01:38 +00:00
Frank Mori Hess
c13e19648b fixed typo in printf. 2008-09-04 21:24:42 +00:00
Frank Mori Hess
b94b2ba024 Fixed memory leak in comedi_cleanup_calibration(). 2008-08-29 19:17:40 +00:00
Frank Mori Hess
6c1a1cdacb Added missing return type to member function declaration. 2008-08-29 13:38:27 +00:00
Frank Mori Hess
fa3510e878 Added binding for comedi_get/set_routing. 2008-08-20 15:15:25 +00:00
Frank Mori Hess
72c2c73a1e Added comment about using gpct_encoder demo with 660x boards. 2008-08-20 00:27:16 +00:00
Frank Mori Hess
c99e7803a6 Added C++ binding for comedi_get_clock_source. Fixed binding for
comedi_find_subdevice_by_type.
2008-08-06 20:06:16 +00:00
Ian Abbott
4007cc82f5 Added AC_CONFIG_MACRO_DIR([m4]). 2008-07-31 09:54:43 +00:00
Frank Mori Hess
fe3b6fa9d7 Added comedi::subdevice::set_clock_source, set_counter_mode, and
set_gate_source.
2008-06-25 15:47:06 +00:00
Frank Mori Hess
0b4cf53b45 Added comedi::subdevice::reset wrapper for comedi_reset(). 2008-06-25 15:14:23 +00:00
Frank Mori Hess
f21482f6c2 Added specification of return value for comedi_dio_bitfield2. 2008-05-01 17:30:11 +00:00
Ian Abbott
64f8e05331 Fix some 64-bit warnings. 2008-04-23 18:53:09 +00:00
Frank Mori Hess
39253a72b3 Added wrappers for comedi_get_hardware_buffer_size and comedi_find_range. 2008-03-31 17:08:33 +00:00
Frank Mori Hess
758813e955 Added description of return value from comedi_internal_trigger(). 2008-03-28 21:11:49 +00:00
Frank Mori Hess
3b34f5f08d Added wrapper for comedi_internal_trigger(). 2008-03-28 21:10:56 +00:00
Frank Mori Hess
8952c74075 Added reference entry for comedi_get_hardware_buffer_size(). 2008-03-28 18:16:45 +00:00
Frank Mori Hess
d0956ca8b5 Added comedi_get_hardware_buffer_size() wrapper function, and made
comedi_strerror return a const char*.
2008-03-28 15:56:35 +00:00
Frank Mori Hess
b3873b7c79 Replaced a perror with comedi_perror 2008-03-28 15:55:03 +00:00
Frank Mori Hess
2edd66775b synced with comedi. 2008-03-28 15:29:16 +00:00
Frank Mori Hess
0f6494cfdc Added default constructors to from_physical and to_physical. Added
missing const qualifier to hardcal_converter and softcal_converter
methods.
2008-03-27 20:44:15 +00:00
Frank Mori Hess
4acda5c777 Fixed compile error. 2008-03-26 19:52:05 +00:00
Frank Mori Hess
0e3150e577 Made comedi::calibration default constructible. Added wrapper classes
for comedi_to/from_physical.
2008-03-26 19:22:38 +00:00
Frank Mori Hess
959b2ebcad Added wrappers for calibration functions. Fixed memory leak in
default_calibration_path() method.
2008-03-14 19:07:22 +00:00
Frank Mori Hess
7e3ad2a0fd Made it very slightly more clear that comedi_apply_calibration is only
useful for hardware-calibrated boards.
2008-03-14 18:22:24 +00:00
Frank Mori Hess
e0b0b89338 Allow comedi_cleanup_calibration to accept a NULL argument. 2008-03-14 17:52:20 +00:00
Frank Mori Hess
5e90332b02 Added perl to EXTRA_DIST 2008-03-11 16:04:23 +00:00