comedilib.git
22 years agoFixed getuid()/geteuid() problem causing modprobe post-install
David Schleef [Thu, 5 Jul 2001 05:21:44 +0000 (05:21 +0000)]
Fixed getuid()/geteuid() problem causing modprobe post-install
scripts to fail.  Updated usage information.

22 years agoAdded a little bit more to command section.
Frank Mori Hess [Mon, 2 Jul 2001 16:42:25 +0000 (16:42 +0000)]
Added a little bit more to command section.

22 years agoMore work on cmd trig sources
David Schleef [Sun, 1 Jul 2001 11:59:06 +0000 (11:59 +0000)]
More work on cmd trig sources

22 years agoadded a bit to the command section, merged comedilib_reference into this file.
Frank Mori Hess [Sun, 1 Jul 2001 01:02:36 +0000 (01:02 +0000)]
added a bit to the command section, merged comedilib_reference into this file.
Still have to document comedi_cmd struct and related functions.

22 years agoAdded install targets for perl, python, debian
David Schleef [Wed, 27 Jun 2001 22:21:45 +0000 (22:21 +0000)]
Added install targets for perl, python, debian

22 years agoChanged install target to install_debian
David Schleef [Wed, 27 Jun 2001 22:19:56 +0000 (22:19 +0000)]
Changed install target to install_debian

22 years agoUses deprecated functions, so added _COMEDILIB_DEPRECATED
David Schleef [Wed, 27 Jun 2001 22:18:47 +0000 (22:18 +0000)]
Uses deprecated functions, so added _COMEDILIB_DEPRECATED

22 years agoChanged from siginfo handler to simple signal handler
David Schleef [Wed, 27 Jun 2001 22:18:16 +0000 (22:18 +0000)]
Changed from siginfo handler to simple signal handler

22 years agoAdded #! line
David Schleef [Wed, 27 Jun 2001 22:17:38 +0000 (22:17 +0000)]
Added #! line

22 years agoAdded _COMEDILIB_DEPRECATED, 'cuz we still support it internally
David Schleef [Wed, 27 Jun 2001 22:17:17 +0000 (22:17 +0000)]
Added _COMEDILIB_DEPRECATED, 'cuz we still support it internally

22 years agoChange return value of comedi_close to int
David Schleef [Wed, 27 Jun 2001 22:16:42 +0000 (22:16 +0000)]
Change return value of comedi_close to int

22 years agoCleanup and rearrangement
David Schleef [Wed, 27 Jun 2001 22:16:08 +0000 (22:16 +0000)]
Cleanup and rearrangement

22 years agoFix bug about the return value of comedi_get_range()
David Schleef [Wed, 27 Jun 2001 22:15:31 +0000 (22:15 +0000)]
Fix bug about the return value of comedi_get_range()

22 years agore-autogenerated
David Schleef [Wed, 27 Jun 2001 22:14:20 +0000 (22:14 +0000)]
re-autogenerated

22 years agoDon't need fcntl(,F_SETSIG,)
David Schleef [Wed, 27 Jun 2001 22:12:32 +0000 (22:12 +0000)]
Don't need fcntl(,F_SETSIG,)

22 years agoFix previous bugus check-ins.
David Schleef [Wed, 27 Jun 2001 22:11:59 +0000 (22:11 +0000)]
Fix previous bugus check-ins.

22 years agoAdded device nodes
David Schleef [Wed, 27 Jun 2001 22:11:02 +0000 (22:11 +0000)]
Added device nodes

22 years agochange INFINITY to HUGE_VAL
David Schleef [Wed, 27 Jun 2001 22:10:33 +0000 (22:10 +0000)]
change INFINITY to HUGE_VAL

22 years ago*** empty log message ***
David Schleef [Wed, 27 Jun 2001 22:09:56 +0000 (22:09 +0000)]
*** empty log message ***

22 years agomade ao_waveform use same parse_options() as other demos
Frank Mori Hess [Wed, 27 Jun 2001 19:51:11 +0000 (19:51 +0000)]
made ao_waveform use same parse_options() as other demos

22 years agoupdate from wuttke joachim
Frank Mori Hess [Wed, 27 Jun 2001 19:42:19 +0000 (19:42 +0000)]
update from wuttke joachim

22 years agomade it refuse to resize buffer if we are removing device. Mostly change is
Frank Mori Hess [Thu, 21 Jun 2001 22:26:28 +0000 (22:26 +0000)]
made it refuse to resize buffer if we are removing device.  Mostly change is
whitespace, just added an if block.

22 years agonoted a Makefile problem
Frank Mori Hess [Wed, 20 Jun 2001 20:09:53 +0000 (20:09 +0000)]
noted a Makefile problem

22 years agoSome work on docs
David Schleef [Thu, 14 Jun 2001 09:13:08 +0000 (09:13 +0000)]
Some work on docs

22 years agorewrote
David Schleef [Wed, 13 Jun 2001 10:22:38 +0000 (10:22 +0000)]
rewrote

22 years agoAdded realtime command line option. Fixed tests to use realtime
David Schleef [Tue, 12 Jun 2001 10:41:09 +0000 (10:41 +0000)]
Added realtime command line option.  Fixed tests to use realtime
flag.  Added internal trigger test.

22 years agoFix realtime flag.
David Schleef [Tue, 12 Jun 2001 10:40:18 +0000 (10:40 +0000)]
Fix realtime flag.

22 years agoTest for internal triggering.
David Schleef [Tue, 12 Jun 2001 10:39:27 +0000 (10:39 +0000)]
Test for internal triggering.

22 years agoAdded insn ioctl support.
David Schleef [Tue, 12 Jun 2001 10:38:50 +0000 (10:38 +0000)]
Added insn ioctl support.
Added insn ioctl probing.
Renamed previously misnamed insnlist probing.
Rewrote comedi_data_read_n()

22 years agogeneral hacking, convert comedi_trigger to comedi_data_read_n
David Schleef [Tue, 12 Jun 2001 10:37:08 +0000 (10:37 +0000)]
general hacking, convert comedi_trigger to comedi_data_read_n

22 years agofixes for cross-compilation
David Schleef [Tue, 12 Jun 2001 10:36:25 +0000 (10:36 +0000)]
fixes for cross-compilation

22 years agoupdated reference to default buffer size from 128k -> 16k
Frank Mori Hess [Mon, 4 Jun 2001 00:37:21 +0000 (00:37 +0000)]
updated reference to default buffer size from 128k -> 16k

22 years agoAdd targets for python wrapper (disabled by default)
David Schleef [Mon, 28 May 2001 04:05:03 +0000 (04:05 +0000)]
Add targets for python wrapper (disabled by default)

22 years agohmmm... should compile things before I check them in.
David Schleef [Mon, 28 May 2001 04:00:34 +0000 (04:00 +0000)]
hmmm... should compile things before I check them in.

22 years agoFix things so that they actually work
David Schleef [Mon, 28 May 2001 03:57:32 +0000 (03:57 +0000)]
Fix things so that they actually work

22 years agofixed bug
Frank Mori Hess [Mon, 28 May 2001 03:35:34 +0000 (03:35 +0000)]
fixed bug

22 years agoa python wrapper
David Schleef [Mon, 28 May 2001 02:49:11 +0000 (02:49 +0000)]
a python wrapper

22 years agocopied from comedi
David Schleef [Mon, 28 May 2001 02:39:43 +0000 (02:39 +0000)]
copied from comedi

22 years agoadditional tests, fixes, move some functions to ../lib
David Schleef [Mon, 28 May 2001 02:39:00 +0000 (02:39 +0000)]
additional tests, fixes, move some functions to ../lib

22 years agostaging area for moving functions from here to ../lib
David Schleef [Mon, 28 May 2001 02:38:09 +0000 (02:38 +0000)]
staging area for moving functions from here to ../lib

22 years agoadded HAVE_COMEDI_POLL
David Schleef [Mon, 28 May 2001 02:36:41 +0000 (02:36 +0000)]
added HAVE_COMEDI_POLL

22 years agoadded cmd.c
David Schleef [Mon, 28 May 2001 02:36:20 +0000 (02:36 +0000)]
added cmd.c

22 years agoadded cmd related functions
David Schleef [Mon, 28 May 2001 02:36:03 +0000 (02:36 +0000)]
added cmd related functions

22 years agoadded get_subdevice_flags()
David Schleef [Mon, 28 May 2001 02:35:08 +0000 (02:35 +0000)]
added get_subdevice_flags()

22 years agoadded get_cmd_src_mask, get_cmd_generic_timed, comedi_poll()
David Schleef [Mon, 28 May 2001 02:34:32 +0000 (02:34 +0000)]
added get_cmd_src_mask, get_cmd_generic_timed, comedi_poll()

22 years agoadded poll example
David Schleef [Mon, 28 May 2001 02:33:03 +0000 (02:33 +0000)]
added poll example

22 years agomore results
David Schleef [Mon, 28 May 2001 02:31:40 +0000 (02:31 +0000)]
more results

22 years agoChanged to LGPL, because that's what it was supposed to be.
David Schleef [Mon, 28 May 2001 02:28:55 +0000 (02:28 +0000)]
Changed to LGPL, because that's what it was supposed to be.

22 years agochanged N_CALDACS to 32
David Schleef [Thu, 24 May 2001 18:22:26 +0000 (18:22 +0000)]
changed N_CALDACS to 32

22 years agoremoved outdated lseek stuff
Frank Mori Hess [Mon, 14 May 2001 00:06:37 +0000 (00:06 +0000)]
removed outdated lseek stuff

22 years agoexplicitly initialized value, subdevice, channel, aref and range in main.c
Frank Mori Hess [Mon, 14 May 2001 00:04:08 +0000 (00:04 +0000)]
explicitly initialized value, subdevice, channel, aref and range in main.c

23 years agochanged all GPCTR names to GPCT
Tim Ousley [Fri, 4 May 2001 16:41:49 +0000 (16:41 +0000)]
changed all GPCTR names to GPCT

23 years agoadded checks for malloc failure
Frank Mori Hess [Wed, 2 May 2001 15:16:03 +0000 (15:16 +0000)]
added checks for malloc failure

23 years agoa small step towards standardized comedi error codes
Frank Mori Hess [Wed, 2 May 2001 00:08:28 +0000 (00:08 +0000)]
a small step towards standardized comedi error codes

23 years agoadded copy of GPL
Frank Mori Hess [Tue, 1 May 2001 20:51:09 +0000 (20:51 +0000)]
added copy of GPL

23 years agoFixed test for debian package build
David Schleef [Sat, 28 Apr 2001 16:14:59 +0000 (16:14 +0000)]
Fixed test for debian package build

23 years agoput back comedi_get_max_buffer_size
Frank Mori Hess [Fri, 27 Apr 2001 20:33:36 +0000 (20:33 +0000)]
put back comedi_get_max_buffer_size

23 years agoadded #define for GPCTR_GET_INT_CLK_FRQ
Tim Ousley [Fri, 27 Apr 2001 19:06:22 +0000 (19:06 +0000)]
added #define for GPCTR_GET_INT_CLK_FRQ

23 years agoremoved buffer config functions that I accidentally duplicated, made names of alpha...
Frank Mori Hess [Tue, 24 Apr 2001 16:37:51 +0000 (16:37 +0000)]
removed buffer config functions that I accidentally duplicated, made names of alpha functions follow conventions of older functions

23 years agoadded GPCTR constants.
Tim Ousley [Fri, 20 Apr 2001 19:47:54 +0000 (19:47 +0000)]
added GPCTR constants.

23 years agoadded some comments describing alpha functions
Frank Mori Hess [Sun, 8 Apr 2001 22:28:25 +0000 (22:28 +0000)]
added some comments describing alpha functions

23 years agoadded comedi_buf_offset function that returns buf_user_ptr
Frank Mori Hess [Sun, 8 Apr 2001 18:03:05 +0000 (18:03 +0000)]
added comedi_buf_offset function that returns buf_user_ptr

23 years agoforgot to add buffer.c file containing definitions for new functions
Frank Mori Hess [Sun, 8 Apr 2001 18:02:20 +0000 (18:02 +0000)]
forgot to add buffer.c file containing definitions for new functions

23 years agoadded buffer info ioctl support and some alpha buffer related functions
Frank Mori Hess [Fri, 6 Apr 2001 23:12:42 +0000 (23:12 +0000)]
added buffer info ioctl support and some alpha buffer related functions

23 years agoa script probably only useful to ds
David Schleef [Tue, 13 Mar 2001 09:35:07 +0000 (09:35 +0000)]
a script probably only useful to ds

23 years agomake install now installs man pages to the wrong place, as per
David Schleef [Tue, 13 Mar 2001 09:34:04 +0000 (09:34 +0000)]
make install now installs man pages to the wrong place, as per
user request

23 years ago*** empty log message ***
David Schleef [Tue, 13 Mar 2001 09:32:57 +0000 (09:32 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
David Schleef [Wed, 7 Mar 2001 05:09:19 +0000 (05:09 +0000)]
*** empty log message ***

23 years agochange bufconfig version test from 0.7.56 to 0.7.57 r0_7_15
David Schleef [Fri, 2 Mar 2001 06:52:57 +0000 (06:52 +0000)]
change bufconfig version test from 0.7.56 to 0.7.57

23 years agoadded test to make sure area is unmapped
David Schleef [Fri, 2 Mar 2001 06:52:06 +0000 (06:52 +0000)]
added test to make sure area is unmapped

23 years ago*** empty log message ***
David Schleef [Fri, 2 Mar 2001 06:50:53 +0000 (06:50 +0000)]
*** empty log message ***

23 years agochanged bufconfig to support new bufconfig structure
David Schleef [Thu, 1 Mar 2001 22:01:15 +0000 (22:01 +0000)]
changed bufconfig to support new bufconfig structure

23 years agoadded bufconfig test
David Schleef [Thu, 1 Mar 2001 21:59:01 +0000 (21:59 +0000)]
added bufconfig test

23 years agobufconfig support
David Schleef [Thu, 1 Mar 2001 21:58:37 +0000 (21:58 +0000)]
bufconfig support

23 years agoenabled use of instructions for dio_bits
David Schleef [Thu, 1 Mar 2001 21:58:28 +0000 (21:58 +0000)]
enabled use of instructions for dio_bits

23 years agoadded bufconfig support
David Schleef [Thu, 1 Mar 2001 21:57:33 +0000 (21:57 +0000)]
added bufconfig support

23 years ago5 new demos
David Schleef [Thu, 1 Mar 2001 21:57:00 +0000 (21:57 +0000)]
5 new demos
cmd uses main.c
removal of direct ioctl calls

23 years agoadded dependency on debhelper
David Schleef [Thu, 1 Mar 2001 21:54:37 +0000 (21:54 +0000)]
added dependency on debhelper

23 years agofixes for DAQCard-AI-16XE-50 and new pci-6023e
David Schleef [Thu, 1 Mar 2001 21:54:08 +0000 (21:54 +0000)]
fixes for DAQCard-AI-16XE-50 and new pci-6023e
better dumping support
better statistics

23 years agohorribly out of date. needs fixing BAD
David Schleef [Thu, 1 Mar 2001 21:52:37 +0000 (21:52 +0000)]
horribly out of date.  needs fixing BAD

23 years agoupdate docs
David Schleef [Thu, 1 Mar 2001 21:52:23 +0000 (21:52 +0000)]
update docs

23 years agointerface update
David Schleef [Thu, 1 Mar 2001 05:10:28 +0000 (05:10 +0000)]
interface update

23 years agoadded permission error report if not run as root, removed redundant sanity check...
Frank Mori Hess [Fri, 23 Feb 2001 17:27:33 +0000 (17:27 +0000)]
added permission error report if not run as root, removed redundant sanity check I put in last revision

23 years agomade comedi_config no longer require a driver name when used to detach a driver
Frank Mori Hess [Thu, 22 Feb 2001 21:48:40 +0000 (21:48 +0000)]
made comedi_config no longer require a driver name when used to detach a driver

23 years agodocumented -r --remove option for comedi_config
Frank Mori Hess [Thu, 22 Feb 2001 20:11:02 +0000 (20:11 +0000)]
documented -r --remove option for comedi_config

23 years agoadded some comments, including advice on how to make interrupt handler run at hard...
Frank Mori Hess [Thu, 15 Feb 2001 21:01:13 +0000 (21:01 +0000)]
added some comments, including advice on how to make interrupt handler run at hard real time priority

23 years agoremoved my misguided SDF_MMAPPED flag
Frank Mori Hess [Tue, 30 Jan 2001 20:13:34 +0000 (20:13 +0000)]
removed my misguided SDF_MMAPPED flag

23 years agoadded SDF_MMAPPED flag
Frank Mori Hess [Mon, 29 Jan 2001 00:48:16 +0000 (00:48 +0000)]
added SDF_MMAPPED flag

23 years agoadded buffer resize options to man page
Frank Mori Hess [Thu, 25 Jan 2001 20:46:48 +0000 (20:46 +0000)]
added buffer resize options to man page

23 years agofixed bug with option parsing when both read and write buffers are resized simultaneously
Frank Mori Hess [Thu, 25 Jan 2001 12:34:48 +0000 (12:34 +0000)]
fixed bug with option parsing when both read and write buffers are resized simultaneously

23 years agoadded exit(1) on buffer resize error
Frank Mori Hess [Thu, 25 Jan 2001 01:23:42 +0000 (01:23 +0000)]
added exit(1) on buffer resize error

23 years agoadded --read-buffer and --write-buffer options for resizing buffers,
Frank Mori Hess [Thu, 25 Jan 2001 00:49:26 +0000 (00:49 +0000)]
added --read-buffer and --write-buffer options for resizing buffers,
incremented CC_VERSION to 0.7.13

23 years agoadded bufconfig struct and ioctl
Frank Mori Hess [Thu, 25 Jan 2001 00:45:00 +0000 (00:45 +0000)]
added bufconfig struct and ioctl

23 years agoadded todo
David Schleef [Tue, 23 Jan 2001 18:26:08 +0000 (18:26 +0000)]
added todo

23 years agodon't know
David Schleef [Tue, 23 Jan 2001 18:24:25 +0000 (18:24 +0000)]
don't know

23 years agoexport more of units
David Schleef [Tue, 23 Jan 2001 18:23:44 +0000 (18:23 +0000)]
export more of units

23 years agomemleak fix from someone
David Schleef [Tue, 23 Jan 2001 18:23:20 +0000 (18:23 +0000)]
memleak fix from someone

23 years agobugfix
David Schleef [Tue, 23 Jan 2001 18:22:24 +0000 (18:22 +0000)]
bugfix

23 years agospelling fix
David Schleef [Tue, 23 Jan 2001 18:22:08 +0000 (18:22 +0000)]
spelling fix

23 years agoadded segfault testing
David Schleef [Tue, 23 Jan 2001 18:21:47 +0000 (18:21 +0000)]
added segfault testing