comedi.git
20 years agoenhancement from YEOW NGEE SOON <nsyeow@pd.jaring.my>:
Frank Mori Hess [Mon, 13 Dec 2004 01:42:32 +0000 (01:42 +0000)]
enhancement from YEOW NGEE SOON <nsyeow@pd.jaring.my>:

added simple event counting

20 years agonew driver from YEOW NGEE SOON <nsyeow@pd.jaring.my>
Frank Mori Hess [Mon, 13 Dec 2004 01:41:33 +0000 (01:41 +0000)]
new driver from YEOW NGEE SOON <nsyeow@pd.jaring.my>

20 years agofix for pcmcia fifo-half-full interrupt problems from
Frank Mori Hess [Wed, 8 Dec 2004 01:59:35 +0000 (01:59 +0000)]
fix for pcmcia fifo-half-full interrupt problems from
"Blacker, Phil M" <phil.blacker@atkinsglobal.com>

20 years agomake autogen.sh work with automake1.9
Frank Mori Hess [Sat, 4 Dec 2004 18:18:19 +0000 (18:18 +0000)]
make autogen.sh work with automake1.9

20 years agoadded new drivers from José Luis Sánchez (jsanchezv@teleline.es)
Frank Mori Hess [Tue, 30 Nov 2004 01:01:06 +0000 (01:01 +0000)]
added new drivers from José Luis Sánchez (jsanchezv@teleline.es)

20 years agosort devices.txt
Frank Mori Hess [Sat, 20 Nov 2004 17:22:34 +0000 (17:22 +0000)]
sort devices.txt

20 years agosome comment fixes to make Devices.txt get generated correctly
Frank Mori Hess [Sat, 20 Nov 2004 16:55:03 +0000 (16:55 +0000)]
some comment fixes to make Devices.txt get generated correctly

20 years agocmd is now dumping the first 5 packets. They are usually leftovers
Bernd Porr [Sun, 14 Nov 2004 23:12:29 +0000 (23:12 +0000)]
cmd is now dumping the first 5 packets. They are usually leftovers
from last the cmd: 4 packets from the quad buffer in the usbduxfast
and one packet kept by the host controller.

20 years agoThe memory allocation flag GFP_KERNEL is not permissible in an
Bernd Porr [Thu, 11 Nov 2004 00:20:21 +0000 (00:20 +0000)]
The memory allocation flag GFP_KERNEL is not permissible in an
interrupt callback. It has to be GFP_ATOMIC. The submit_urb
function has been called with the wrong kernel kernel flag. It's
now GFP_ATOMIC. Thanks for the feedback from Dave Brownell.

20 years agoCommented out the USB ID for testing purposes and added the proper one for
Bernd Porr [Tue, 9 Nov 2004 23:20:30 +0000 (23:20 +0000)]
Commented out the USB ID for testing purposes and added the proper one for
ITL/Univ of Stirling (product IDs 0x10 and 0x11).

20 years agoAdded the usbduxfast driver.
Bernd Porr [Sun, 31 Oct 2004 23:21:22 +0000 (23:21 +0000)]
Added the usbduxfast driver.

20 years agoInitial version of the new usbduxfast driver. Tested with 2.4.27 and
Bernd Porr [Sun, 31 Oct 2004 23:19:27 +0000 (23:19 +0000)]
Initial version of the new usbduxfast driver. Tested with 2.4.27 and
2.6.9.

20 years agoRemove bogus scan_end_src. By the way, the last log message should have said
Frank Mori Hess [Tue, 26 Oct 2004 22:25:39 +0000 (22:25 +0000)]
Remove bogus scan_end_src.  By the way, the last log message should have said
"added support for stop_src==TRIG_NONE", instead of saying he added
support for externally triggered input commands

20 years agoadded Brent Ledvina
Frank Mori Hess [Tue, 26 Oct 2004 22:11:15 +0000 (22:11 +0000)]
added Brent Ledvina

20 years agoSupport for externally triggered input commands from Brent Ledvina
Frank Mori Hess [Tue, 26 Oct 2004 22:09:45 +0000 (22:09 +0000)]
Support for externally triggered input commands from Brent Ledvina
bml22@cornell.edu

20 years agoAdded Steve Sharples
Frank Mori Hess [Sun, 17 Oct 2004 15:44:05 +0000 (15:44 +0000)]
Added Steve Sharples

20 years agoEnhancement from Steve Sharples:
Frank Mori Hess [Sun, 17 Oct 2004 15:40:57 +0000 (15:40 +0000)]
Enhancement from Steve Sharples:

I've added the ability for the AI command to support "triggered burst mode"
sampling, ie:
- scan_begin_src=TRIG_EXT
- convert_src=TRIG_TIMER

20 years agorenamged Changelog to ChangeLog and add entry for 0.7.69
Frank Mori Hess [Sun, 10 Oct 2004 17:02:55 +0000 (17:02 +0000)]
renamged Changelog to ChangeLog and add entry for 0.7.69

20 years agooops, convert counter really should be limited to 16 bits after all
Frank Mori Hess [Wed, 6 Oct 2004 01:56:07 +0000 (01:56 +0000)]
oops, convert counter really should be limited to 16 bits after all

20 years agoFix bogus sample at beginning of ao command (me). Fix check of convert_arg
Frank Mori Hess [Wed, 6 Oct 2004 01:38:44 +0000 (01:38 +0000)]
Fix bogus sample at beginning of ao command (me).  Fix check of convert_arg
in ai_cmdtest() (Jonathan Wang <jtwang@MIT.EDU>).

20 years agofix passing of bad argument to comedi_error()
Frank Mori Hess [Wed, 6 Oct 2004 01:35:50 +0000 (01:35 +0000)]
fix passing of bad argument to comedi_error()

20 years agoadd support for 6014, and add missing entries to pci device table
Frank Mori Hess [Wed, 6 Oct 2004 00:47:21 +0000 (00:47 +0000)]
add support for 6014, and add missing entries to  pci device table

20 years agobump version for release
Frank Mori Hess [Sat, 2 Oct 2004 23:01:31 +0000 (23:01 +0000)]
bump version for release

20 years agome400_fw.h is gone
Frank Mori Hess [Sat, 2 Oct 2004 22:49:30 +0000 (22:49 +0000)]
me400_fw.h is gone

20 years agomodtool.in is gone
Frank Mori Hess [Sat, 2 Oct 2004 22:47:30 +0000 (22:47 +0000)]
modtool.in is gone

20 years agocheck for modpost in two possible locations r0_7_69
Frank Mori Hess [Sat, 2 Oct 2004 00:27:13 +0000 (00:27 +0000)]
check for modpost in two possible locations

20 years agofix missing $ in check for depmod
Frank Mori Hess [Sat, 2 Oct 2004 00:26:47 +0000 (00:26 +0000)]
fix missing $ in check for depmod

20 years agofix for shared interrupt bug from steve.sharples@nottingham.ac.uk
Frank Mori Hess [Wed, 29 Sep 2004 12:28:26 +0000 (12:28 +0000)]
fix for shared interrupt bug from steve.sharples@nottingham.ac.uk

20 years agofix argument to rtl_delay for rtlinux
Frank Mori Hess [Thu, 9 Sep 2004 11:49:25 +0000 (11:49 +0000)]
fix argument to rtl_delay for rtlinux

20 years agoTypo in the synchonous out command: in case of an error the
Bernd Porr [Sun, 5 Sep 2004 19:12:26 +0000 (19:12 +0000)]
Typo in the synchonous out command: in case of an error the
synchronous _in_ command was stopped instead of the out command.
Also added a short description of the timer connections.

20 years agouse rtl_delay() for rtlinux
Frank Mori Hess [Wed, 1 Sep 2004 01:50:25 +0000 (01:50 +0000)]
use rtl_delay() for rtlinux

20 years agousleep() seems to crash rtlinux when called from non-rt priority
Frank Mori Hess [Wed, 1 Sep 2004 01:38:59 +0000 (01:38 +0000)]
usleep() seems to crash rtlinux when called from non-rt priority

20 years agoadd error message when no isapnp support is available
Frank Mori Hess [Wed, 1 Sep 2004 00:56:34 +0000 (00:56 +0000)]
add error message when no isapnp support is available

20 years agoreturn error if a command is run with no irq
Frank Mori Hess [Tue, 31 Aug 2004 02:42:38 +0000 (02:42 +0000)]
return error if a command is run with no irq

20 years agoThe submission of the bulk transfers can be delayed. This leads in the worst case...
Bernd Porr [Wed, 18 Aug 2004 22:36:06 +0000 (22:36 +0000)]
The submission of the bulk transfers can be delayed. This leads in the worst case to a change in the order of bulk transfers. For example, the insn command requests the counter value. After that another insn requests the status of the digital port. It happens that these requests are swapped in their temporal order because the USB controller might delay a submission because of heavy traffic. The linux kernel _assumes_ that the packet has been sent. In fact this can't be guaranteed. Therefore now the packet which is sent from the firmware is checked. If it is the wrong one it is requested again.

20 years agofix deadlock on end-of-acquisition
Frank Mori Hess [Fri, 6 Aug 2004 00:48:02 +0000 (00:48 +0000)]
fix deadlock on end-of-acquisition

20 years agomove setup of subdevices after init of plx9080
Frank Mori Hess [Mon, 2 Aug 2004 01:13:22 +0000 (01:13 +0000)]
move setup of subdevices after init of plx9080

20 years agofix initialization of eeprom subdevice
Frank Mori Hess [Sun, 1 Aug 2004 23:18:42 +0000 (23:18 +0000)]
fix initialization of eeprom subdevice

20 years agoupdated usbdux driver from Bernd Porr
Frank Mori Hess [Sun, 1 Aug 2004 22:20:58 +0000 (22:20 +0000)]
updated usbdux driver from Bernd Porr

20 years agofix INSN_GTOD
Frank Mori Hess [Sun, 25 Jul 2004 19:05:33 +0000 (19:05 +0000)]
fix INSN_GTOD

20 years agofix double-munging when bufinfo ioctl is called in concert with
Frank Mori Hess [Wed, 21 Jul 2004 00:10:59 +0000 (00:10 +0000)]
fix double-munging when bufinfo ioctl is called in concert with
read()s from /dev/comediX

20 years agoadd isapnp device id for at-mio-64e-3
Frank Mori Hess [Mon, 19 Jul 2004 23:24:12 +0000 (23:24 +0000)]
add isapnp device id for at-mio-64e-3

20 years agofix null dereference on boards without analog output
Frank Mori Hess [Mon, 19 Jul 2004 23:05:02 +0000 (23:05 +0000)]
fix null dereference on boards without analog output

20 years agofix prototype of comedi_request_irq()
Frank Mori Hess [Mon, 19 Jul 2004 22:14:18 +0000 (22:14 +0000)]
fix prototype of comedi_request_irq()

20 years agomissed some locking that should have been converted to use
Frank Mori Hess [Sun, 18 Jul 2004 01:03:23 +0000 (01:03 +0000)]
missed some locking that should have been converted to use
devpriv->window_lock

20 years agobug fix from zharkov@vista-control.com (Eugene Zharkov)
Frank Mori Hess [Sun, 18 Jul 2004 00:40:18 +0000 (00:40 +0000)]
bug fix from  zharkov@vista-control.com (Eugene Zharkov)

20 years agolist 10 insn limit on insn lists
Frank Mori Hess [Sat, 17 Jul 2004 22:55:05 +0000 (22:55 +0000)]
list 10 insn limit on insn lists

20 years agofix interrupt handler return value
Frank Mori Hess [Sat, 17 Jul 2004 22:44:19 +0000 (22:44 +0000)]
fix interrupt handler return value

20 years agodon't write to ao fifo offset load register if it doesn't exist
Frank Mori Hess [Thu, 15 Jul 2004 22:30:24 +0000 (22:30 +0000)]
don't write to ao fifo offset load register if it doesn't exist

20 years agoadded pci-6014 to supported devices list
Frank Mori Hess [Thu, 15 Jul 2004 22:29:53 +0000 (22:29 +0000)]
added pci-6014 to supported devices list

20 years agochange caldac to ad8804_debug for at-mio-64e-3
Frank Mori Hess [Wed, 14 Jul 2004 11:41:00 +0000 (11:41 +0000)]
change caldac to ad8804_debug for at-mio-64e-3

20 years agoa little update for 2.6 kernels
Frank Mori Hess [Mon, 12 Jul 2004 01:51:13 +0000 (01:51 +0000)]
a little update for 2.6 kernels

20 years agodon't barf if Modules.symvers doesn't exist
Frank Mori Hess [Mon, 12 Jul 2004 01:28:10 +0000 (01:28 +0000)]
don't barf if Modules.symvers doesn't exist

20 years agofix interrupt reenabling with rtai-adeos
Frank Mori Hess [Wed, 7 Jul 2004 22:11:43 +0000 (22:11 +0000)]
fix interrupt reenabling with rtai-adeos

20 years agofix possible crash when shared interrupt is asserted before
Frank Mori Hess [Mon, 28 Jun 2004 01:03:01 +0000 (01:03 +0000)]
fix possible crash when shared interrupt is asserted before
comedi_device_attach() has finished with postconfig()

20 years agoadd autogen.sh to EXTRA_DIST
Frank Mori Hess [Mon, 28 Jun 2004 00:51:13 +0000 (00:51 +0000)]
add autogen.sh to EXTRA_DIST

20 years agofix selection of output channel for ao write insn (for boards with fifo)
Frank Mori Hess [Sat, 19 Jun 2004 13:04:40 +0000 (13:04 +0000)]
fix selection of output channel for ao write insn (for boards with fifo)

20 years agoremoved obsolete references to comedi_counter_unstable.h
Frank Mori Hess [Tue, 15 Jun 2004 12:17:41 +0000 (12:17 +0000)]
removed obsolete references to comedi_counter_unstable.h

20 years agoadded Luis Martinez for bug fix
Frank Mori Hess [Tue, 15 Jun 2004 12:17:12 +0000 (12:17 +0000)]
added Luis Martinez for bug fix

20 years agobug fix from Luis Martínez <luimarma@marcosa.e.telefonica.net>
Frank Mori Hess [Wed, 9 Jun 2004 00:19:38 +0000 (00:19 +0000)]
bug fix from Luis Martínez <luimarma@marcosa.e.telefonica.net>

20 years agofix CR_EDGE and CR_INVERT flags for ai scan_begin_src = TRIG_EXT
Frank Mori Hess [Sat, 5 Jun 2004 16:55:18 +0000 (16:55 +0000)]
fix CR_EDGE and CR_INVERT flags for ai scan_begin_src = TRIG_EXT

20 years agoFix CR_INVERT and CR_EDGE flags for ai start_arg=TRIG_EXT
Frank Mori Hess [Sat, 5 Jun 2004 16:51:45 +0000 (16:51 +0000)]
Fix CR_INVERT and CR_EDGE flags for ai start_arg=TRIG_EXT

20 years agopatch from Emmanuel PACAUD
Frank Mori Hess [Thu, 3 Jun 2004 23:01:49 +0000 (23:01 +0000)]
patch from Emmanuel PACAUD

20 years agopcmcia drivers should work under 2.6 now
Frank Mori Hess [Wed, 2 Jun 2004 23:30:15 +0000 (23:30 +0000)]
pcmcia drivers should work under 2.6 now

20 years agoUpgrade as-linux.m4 and as-modtool.m4. Fix build system to handle
David Schleef [Wed, 2 Jun 2004 19:00:58 +0000 (19:00 +0000)]
Upgrade as-linux.m4 and as-modtool.m4.  Fix build system to handle
changes.

20 years agofix compiler warnings for 2.4
Frank Mori Hess [Tue, 1 Jun 2004 01:55:51 +0000 (01:55 +0000)]
fix compiler warnings for 2.4

20 years agoport to 2.6 pcmcia api
Frank Mori Hess [Tue, 1 Jun 2004 01:05:46 +0000 (01:05 +0000)]
port to 2.6 pcmcia api

20 years agoport to 2.6 pcmcia api
Frank Mori Hess [Tue, 1 Jun 2004 00:52:01 +0000 (00:52 +0000)]
port to 2.6 pcmcia api

20 years agoport to 2.6 pcmcia api
Frank Mori Hess [Tue, 1 Jun 2004 00:35:41 +0000 (00:35 +0000)]
port to 2.6 pcmcia api

20 years agoport to 2.6 pcmcia api
Frank Mori Hess [Mon, 31 May 2004 23:01:10 +0000 (23:01 +0000)]
port to 2.6 pcmcia api

20 years agofix if block that got broken during port to 2.6
Frank Mori Hess [Mon, 31 May 2004 23:00:23 +0000 (23:00 +0000)]
fix if block that got broken during port to 2.6

20 years agoport to 2.6 pcmcia api
Frank Mori Hess [Mon, 31 May 2004 22:31:45 +0000 (22:31 +0000)]
port to 2.6 pcmcia api

20 years agoadded cs_error() compatibility function
Frank Mori Hess [Mon, 31 May 2004 22:30:58 +0000 (22:30 +0000)]
added cs_error() compatibility function

20 years agomoved some 2.4 compatibility cruft into headers
Frank Mori Hess [Mon, 31 May 2004 21:45:37 +0000 (21:45 +0000)]
moved some 2.4 compatibility cruft into headers

20 years agoadd 2.4 compatibility for pcmcia_register_driver() and pcmcia_unregister_driver()
Frank Mori Hess [Mon, 31 May 2004 21:44:53 +0000 (21:44 +0000)]
add 2.4 compatibility for pcmcia_register_driver() and pcmcia_unregister_driver()

20 years agoported to 2.6 kernel pcmcia api
Frank Mori Hess [Sat, 22 May 2004 01:05:45 +0000 (01:05 +0000)]
ported to 2.6 kernel pcmcia api

20 years agopci-6014 support courtesy Alberto Sechi
Frank Mori Hess [Sat, 22 May 2004 00:39:24 +0000 (00:39 +0000)]
pci-6014 support courtesy Alberto Sechi

20 years agoupdate for some minor changes to comedi instalation that have occurred
Frank Mori Hess [Tue, 18 May 2004 12:30:31 +0000 (12:30 +0000)]
update for some minor changes to comedi instalation that have occurred

20 years agobe less picky about finding .hdepend
Frank Mori Hess [Fri, 14 May 2004 22:59:02 +0000 (22:59 +0000)]
be less picky about finding .hdepend

20 years agofix caldac type for at-mio-16e-10
Frank Mori Hess [Sun, 9 May 2004 20:41:02 +0000 (20:41 +0000)]
fix caldac type for at-mio-16e-10

20 years agohave comedi_command set subdevice->busy
Frank Mori Hess [Thu, 29 Apr 2004 22:13:21 +0000 (22:13 +0000)]
have comedi_command set subdevice->busy

20 years agofix init of len_chanlist for analog output subdevice, removed
Frank Mori Hess [Thu, 22 Apr 2004 22:39:24 +0000 (22:39 +0000)]
fix init of len_chanlist for analog output subdevice, removed
redundant check in ao command test

20 years agocrashes on pci-das6402/16 attach seem to be due to interrupt handler
Frank Mori Hess [Thu, 22 Apr 2004 21:58:33 +0000 (21:58 +0000)]
crashes on pci-das6402/16 attach seem to be due to interrupt handler
running before postconfig() in drivers.c has finished initializing
everything.  So I added check for dev->attached in handler, and
put a barrier() before dev->attached is set in drivers.c.

20 years agoadded a memory barrier to try and fix mysterious 6402/16 crash
Frank Mori Hess [Wed, 21 Apr 2004 19:16:36 +0000 (19:16 +0000)]
added a memory barrier to try and fix mysterious 6402/16 crash
on attach

20 years agofixes for 64bit archs
Frank Mori Hess [Wed, 21 Apr 2004 05:56:54 +0000 (05:56 +0000)]
fixes for 64bit archs

20 years agochange dev->iobase to unsigned long for 64 bit cpus
Frank Mori Hess [Mon, 19 Apr 2004 22:09:57 +0000 (22:09 +0000)]
change dev->iobase to unsigned long for 64 bit cpus

20 years agoadd note about unresolved rt kernel symbols
Frank Mori Hess [Mon, 19 Apr 2004 21:56:58 +0000 (21:56 +0000)]
add note about unresolved rt kernel symbols

20 years agort_request_global_irq_arg() doesn't seem to exist in rtai anymore
Frank Mori Hess [Tue, 13 Apr 2004 23:23:02 +0000 (23:23 +0000)]
rt_request_global_irq_arg() doesn't seem to exist in rtai anymore

20 years agoadded Nils
Frank Mori Hess [Sun, 11 Apr 2004 17:38:37 +0000 (17:38 +0000)]
added Nils

20 years agocommand support for pcl818 from Nils Juergens:
Frank Mori Hess [Sun, 11 Apr 2004 17:36:42 +0000 (17:36 +0000)]
command support for pcl818 from Nils Juergens:

The streaming aquisition support has been dropped with the move from comedi_trig
to comedi_command. The attached patch ports the comedi_trig stuff over to
comedi_command. It is not heavily tested, but works for me with both pcl818 and
pcl818h cards (though i haven't tested the fifo code for the 818h).

20 years agofigured out how i broke dma, and removed useless barrier
Frank Mori Hess [Tue, 6 Apr 2004 00:03:43 +0000 (00:03 +0000)]
figured out how i broke dma, and removed useless barrier

20 years agotake into account possibility of comedi_poll getting called from
Frank Mori Hess [Mon, 5 Apr 2004 22:47:59 +0000 (22:47 +0000)]
take into account possibility of comedi_poll getting called from
interrupt context (kcomedilib).  Removed some dead code.  Fix
tiny possibility of undetected buffer overrun.  Added a memory
barrier to ni_sync_ai_dma().

20 years agoremove bogus bug warning
Frank Mori Hess [Mon, 5 Apr 2004 21:42:11 +0000 (21:42 +0000)]
remove bogus bug warning

20 years agoreplaced some preprocessor defines with enums and inline functions
Frank Mori Hess [Sun, 4 Apr 2004 20:30:43 +0000 (20:30 +0000)]
replaced some preprocessor defines with enums and inline functions

20 years agoadded declarations for IO Device Window Base Size Register
Frank Mori Hess [Sun, 4 Apr 2004 18:19:13 +0000 (18:19 +0000)]
added declarations for IO Device Window Base Size Register

20 years agotry to make sure we get the scan data dma'd after eos interrupts
Frank Mori Hess [Sun, 4 Apr 2004 17:49:38 +0000 (17:49 +0000)]
try to make sure we get the scan data dma'd after eos interrupts

20 years agoadd more locking to make comedi_poll smp safe, and made ni_handle_fifo_dregs()
Frank Mori Hess [Sun, 4 Apr 2004 16:44:29 +0000 (16:44 +0000)]
add more locking to make comedi_poll smp safe, and made ni_handle_fifo_dregs()
slightly more efficient

20 years agofix initialization of channel, that I broke with last fix
Frank Mori Hess [Sun, 4 Apr 2004 16:40:15 +0000 (16:40 +0000)]
fix initialization of channel, that I broke with last fix

20 years agofix analog output channel interaction for boards with analog output
Frank Mori Hess [Fri, 26 Mar 2004 00:24:23 +0000 (00:24 +0000)]
fix analog output channel interaction for boards with analog output
fifo

20 years agocomplain more loudly on comedi_switch_to_rt() failure
Frank Mori Hess [Mon, 22 Mar 2004 21:05:26 +0000 (21:05 +0000)]
complain more loudly on comedi_switch_to_rt() failure