comedilib.git
22 years agorelease script r0_7_16
David Schleef [Mon, 16 Jul 2001 00:04:06 +0000 (00:04 +0000)]
release script

22 years agoSimple makefile, 'cause I can never remember the correct commands
David Schleef [Sun, 15 Jul 2001 23:58:49 +0000 (23:58 +0000)]
Simple makefile, 'cause I can never remember the correct commands

22 years agoRegenerated docs
David Schleef [Sun, 15 Jul 2001 23:58:14 +0000 (23:58 +0000)]
Regenerated docs

22 years agoAdd a few comments about recent changes in demos
David Schleef [Sun, 15 Jul 2001 23:52:13 +0000 (23:52 +0000)]
Add a few comments about recent changes in demos

22 years agoDon't use debhelper
David Schleef [Sun, 15 Jul 2001 23:25:04 +0000 (23:25 +0000)]
Don't use debhelper

22 years agoUse ../Config
David Schleef [Sun, 15 Jul 2001 23:24:18 +0000 (23:24 +0000)]
Use ../Config

22 years agoUse ../Config. Fix 'make test'.
David Schleef [Sun, 15 Jul 2001 23:24:00 +0000 (23:24 +0000)]
Use ../Config.  Fix 'make test'.

22 years agoRandom todo checkin
David Schleef [Sun, 15 Jul 2001 23:15:55 +0000 (23:15 +0000)]
Random todo checkin

22 years agoAdded user-editable Config file. Add support for $(PREFIX).
David Schleef [Sun, 15 Jul 2001 23:15:29 +0000 (23:15 +0000)]
Added user-editable Config file.  Add support for $(PREFIX).

22 years agoGet CFLAGS from ../Config
David Schleef [Sun, 15 Jul 2001 23:14:09 +0000 (23:14 +0000)]
Get CFLAGS from ../Config

22 years agoremove suidregister
David Schleef [Sun, 15 Jul 2001 23:13:29 +0000 (23:13 +0000)]
remove suidregister

22 years agonew version
David Schleef [Sun, 15 Jul 2001 23:13:09 +0000 (23:13 +0000)]
new version

22 years agoGetting ready to release a new version
David Schleef [Sun, 15 Jul 2001 23:12:40 +0000 (23:12 +0000)]
Getting ready to release a new version

22 years agoRandom change
David Schleef [Sun, 15 Jul 2001 23:11:36 +0000 (23:11 +0000)]
Random change

22 years agoMake stdout unbuffered, so that if stderr==stdout, lines match up.
David Schleef [Sun, 15 Jul 2001 22:47:58 +0000 (22:47 +0000)]
Make stdout unbuffered, so that if stderr==stdout, lines match up.

22 years agoChanged prototype of comedi_get_cmd_generic_timed
David Schleef [Sun, 15 Jul 2001 22:47:14 +0000 (22:47 +0000)]
Changed prototype of comedi_get_cmd_generic_timed

22 years agoDoesn't need to be static. Added test target
David Schleef [Sun, 15 Jul 2001 22:46:37 +0000 (22:46 +0000)]
Doesn't need to be static.  Added test target

22 years agoFix comedi_get_cmd_* so that commands are only generated once.
David Schleef [Sun, 15 Jul 2001 22:46:02 +0000 (22:46 +0000)]
Fix comedi_get_cmd_* so that commands are only generated once.
More error messages.

22 years agoChange prototype of comedi_get_cmd_generic_timed
David Schleef [Sun, 15 Jul 2001 22:39:54 +0000 (22:39 +0000)]
Change prototype of comedi_get_cmd_generic_timed

22 years agoNeeds string.h, not others
David Schleef [Sun, 15 Jul 2001 19:58:15 +0000 (19:58 +0000)]
Needs string.h, not others

22 years agoMajor hacking, just like cmd.c
David Schleef [Sun, 15 Jul 2001 19:57:32 +0000 (19:57 +0000)]
Major hacking, just like cmd.c

22 years agoReplace <string.h>
David Schleef [Sun, 15 Jul 2001 19:57:08 +0000 (19:57 +0000)]
Replace <string.h>

22 years agoRemove commented stuff
David Schleef [Sun, 15 Jul 2001 19:56:31 +0000 (19:56 +0000)]
Remove commented stuff

22 years agoChanged main.c to common.c
David Schleef [Sat, 14 Jul 2001 00:53:30 +0000 (00:53 +0000)]
Changed main.c to common.c

22 years agoChanged the name of verbose_flag; Added a few more flags in main.c
David Schleef [Sat, 14 Jul 2001 00:50:52 +0000 (00:50 +0000)]
Changed the name of verbose_flag; Added a few more flags in main.c

22 years agoMajor fixes and added inline documentation. It's actually somewhat
David Schleef [Sat, 14 Jul 2001 00:50:15 +0000 (00:50 +0000)]
Major fixes and added inline documentation.  It's actually somewhat
decent now.

22 years agoAdded a bit of __comedi_errno initialization
David Schleef [Sat, 14 Jul 2001 00:42:51 +0000 (00:42 +0000)]
Added a bit of __comedi_errno initialization

22 years agoremoved bit about chanlist error in cmdtest, since all bad chanlist errors should
Frank Mori Hess [Thu, 12 Jul 2001 21:41:21 +0000 (21:41 +0000)]
removed bit about chanlist error in cmdtest, since all bad chanlist errors should
return same value, so I should change my drivers

22 years agoadded a burst-mode-like command to comedi_get_cmd_generic_timed()
Frank Mori Hess [Thu, 12 Jul 2001 20:34:05 +0000 (20:34 +0000)]
added a burst-mode-like command to comedi_get_cmd_generic_timed()

22 years agomore comedi_cmd related documentation
Frank Mori Hess [Thu, 12 Jul 2001 20:28:43 +0000 (20:28 +0000)]
more comedi_cmd related documentation

22 years agofix for compile warning with range.c
Frank Mori Hess [Tue, 10 Jul 2001 23:12:16 +0000 (23:12 +0000)]
fix for compile warning with range.c

22 years agoUpdates from (someone), plus corrections and additions by ds.
David Schleef [Tue, 10 Jul 2001 22:58:04 +0000 (22:58 +0000)]
Updates from (someone), plus corrections and additions by ds.

22 years agoAdded comments
David Schleef [Tue, 10 Jul 2001 22:55:32 +0000 (22:55 +0000)]
Added comments

22 years agoclean python and perl, even if not built
David Schleef [Tue, 10 Jul 2001 22:33:05 +0000 (22:33 +0000)]
clean python and perl, even if not built

22 years agoAdded debug_ptr(). Fixed do_test_for_cmd()
David Schleef [Tue, 10 Jul 2001 22:31:16 +0000 (22:31 +0000)]
Added debug_ptr().  Fixed do_test_for_cmd()

22 years agoRemove sched.h, because we don't use it and uclibc doesn't have it
David Schleef [Tue, 10 Jul 2001 22:30:27 +0000 (22:30 +0000)]
Remove sched.h, because we don't use it and uclibc doesn't have it

22 years agoPerl demos moved from perl/ directory
David Schleef [Tue, 10 Jul 2001 22:28:06 +0000 (22:28 +0000)]
Perl demos moved from perl/ directory

22 years ago*** empty log message ***
David Schleef [Tue, 10 Jul 2001 22:26:36 +0000 (22:26 +0000)]
*** empty log message ***

22 years agoCopied the etc/ directory from Comedi
David Schleef [Tue, 10 Jul 2001 22:26:15 +0000 (22:26 +0000)]
Copied the etc/ directory from Comedi

22 years agoA text version, for all the crazies
David Schleef [Tue, 10 Jul 2001 22:25:26 +0000 (22:25 +0000)]
A text version, for all the crazies

22 years agoRemove comedilib_reference, rebuild comedilib*html
David Schleef [Tue, 10 Jul 2001 22:23:29 +0000 (22:23 +0000)]
Remove comedilib_reference, rebuild comedilib*html

22 years agoFix getopt segfaulting
David Schleef [Tue, 10 Jul 2001 22:21:12 +0000 (22:21 +0000)]
Fix getopt segfaulting

22 years agoChanged from siginfo handler to signal.
David Schleef [Mon, 9 Jul 2001 20:12:07 +0000 (20:12 +0000)]
Changed from siginfo handler to signal.

22 years agoMoved chatter behind if(verbose)
David Schleef [Mon, 9 Jul 2001 02:41:18 +0000 (02:41 +0000)]
Moved chatter behind if(verbose)

22 years agoadded CR_PACK description
Frank Mori Hess [Fri, 6 Jul 2001 18:11:48 +0000 (18:11 +0000)]
added CR_PACK description

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

22 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

22 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

22 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

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