Commit graph

1157 commits

Author SHA1 Message Date
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
Ian Abbott
051f58fd8b Sync with comedi 2008-02-21 12:59:07 +00:00
Frank Mori Hess
cd0469894b Made mkref script handle the case of a void parameter correctly. Allowed
text lines to begin with any whitespace character (not just space).
2008-02-13 20:14:38 +00:00
Frank Mori Hess
d127a63155 Updated references for error reporting functions. 2008-02-13 20:13:39 +00:00
Frank Mori Hess
7eb7a64566 Updated the dio function reference 2008-02-12 19:31:26 +00:00
Frank Mori Hess
0695475797 Updated comedi_dio_config implementation to reflect logical split
between COMEDI_INPUT/COMEDI_OUTPUT and corresponding config insn ids
(even though they still have the same value).  Made comedi_dio_config
return 0 on success for better consistency in API.
2008-02-12 18:27:00 +00:00
Frank Mori Hess
2d4cc8f6d0 Updated and added some links to reference for asynchronous command
functions.
2008-02-12 17:01:43 +00:00
Frank Mori Hess
0c69850ffc Made comedi_ioctl take its third argument as a void* instead of
and integer type, and got rid of a bunch of casts (and added a few).
2008-02-12 01:12:46 +00:00
Frank Mori Hess
a61ed59402 Fixed return values from comedi_mark_buffer_read/written(). Removed
some redundant assignments of __comedi_errno
2008-02-11 20:50:14 +00:00
Frank Mori Hess
d2809f82d5 Added some "type" elements to docbook output, although they don't really
have much effect.
2008-02-11 16:42:28 +00:00