Commit graph

63 commits

Author SHA1 Message Date
Ian Abbott
6bd3e85bdf etc/udev: Add z99_comedi.rules to EXTRA_DIST
Mark z99_comedi.rules to be added to the released sources, but don't
install it.
2012-08-28 11:52:42 +01:00
Ian Abbott
604a4dd8aa udev: Add commented out rule to set group owner to "iocard".
There is already a commented out rule in the example udev rules file
"z99_comedi.rules" to set the mode to 0660 and set the group owner to
"comedi".  Add an almost identical commented out rule to set the group
owner to "iocard" as this is favoured by Debian.
2012-08-28 10:41:34 +01:00
Bernd Porr
12155822bc Removed old hotplug install which is no longer used at all and
just left udev as the only hotplug mechanism. I've also added
an option to disable the installation of the firmware. This
is useful for debian or ubuntu packages where the firmware
is now provided by a package accompanying the staging kernel.
All usbdux files are included in the kernel firmware packages.
Package maintainers should use the --disable-firmware option.
2012-04-26 23:24:50 +01:00
Ian Abbott
be02f1a3d6 etc/hotplug/usbduxsigma: Remove Makefile and Makefile.in ...
... but keep Makefile.am of course!
2012-04-23 17:29:51 +01:00
Bernd Porr
ac43731c43 Updated usbdux firmware files. The udev hotplug mechanism
now takes binary files and no longer hex files. Also
added the firmware for usbduxsigma.
2012-04-23 14:03:12 +01:00
Bernd Porr
c2d03227e0 Removed two scripts which are no longer used by hotplug.
In the early udev days the firmware had to be uploaded
by comedi_config. However now the driver requests the
firmware by itself and there is no need to have dedicated
scripts for every kernel module in udev.
2012-04-23 12:28:13 +01:00
Bernd Porr
2387fcffef Generates also binary format for the new comedi driver integrated into
the mainstrain linux kernel
2009-04-17 20:41:45 +00:00
Bernd Porr
0b9c89434c Generates also binary format for the new kernel comedi drivers 2009-04-17 20:40:33 +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
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
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
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
Bernd Porr
ebd3258a05 New firmware with PWM support. It uses the GPIF of the board to stream
out the bit streams.
2007-11-25 21:17:14 +00:00
Bernd Porr
36dfab8446 Moved EXTRA_DIST outside of conditionals (as already happened to hotplug) 2007-11-20 19:43:00 +00:00
Frank Mori Hess
6c72b05ff4 Moved EXTRA_DIST outside of conditionals. 2007-10-21 20:05:13 +00:00
Frank Mori Hess
2b73533b8b Got rid of doccomedilib, use "configure --docdir=blah" and related
options.  Fixed some problems with "make distcheck".
2007-07-31 17:43:18 +00:00
Bernd Porr
5698f4a372 Added a line which sets the permissions to 0666 for all /dev/comedi devices. 2007-05-24 10:51:17 +00:00
Frank Mori Hess
9d36f4e886 Removed autogenerated file from cvs. 2007-04-29 18:40:28 +00:00
Bernd Porr
6277f54e12 Added udev support. 2007-04-23 22:20:09 +00:00
Bernd Porr
909897a5c3 Changed the path so that the .conf files are copied in
the doc directory. Otherwise they would have ended up
in /usr/share.
2005-06-07 23:28:25 +00:00
Bernd Porr
0dc6fe9c33 Conterpart to the change in comedi: have taken out the
bufferoverflow packet. It has messed everything up. Just
restarting the gpif is the best option. Without any additional
packets.
2005-02-27 20:40:38 +00:00
Bernd Porr
3ed5c07df6 Set the ring buffer length to 512kB for usbduxfast. This is needed
for graphical software like qtscope. Otherwise we get always buffer
overflows.
2005-02-27 02:18:23 +00:00
Frank Mori Hess
1142536a23 fix entries for pcm-das08 2005-02-03 02:45:40 +00:00
Bernd Porr
22eea6221e Transfer mode for data is now bulk. If a buffer overflow occurrs
the next packet has two 0xff at the begining.
2005-01-04 17:27:23 +00:00
Bernd Porr
317ef9454d Added usbduxfast to the makefile.am 2004-11-02 00:19:36 +00:00
Bernd Porr
e7f8fe4301 usbduxfast hotplug scripts and firmware. 2004-11-02 00:17:58 +00:00
Bernd Porr
c6463add66 For usbduxfast. Initial commit. 2004-11-02 00:15:47 +00:00
Bernd Porr
98ceac99f3 Changed e-mail adress to berndporr@f2s.com 2004-08-18 22:22:31 +00:00
Bernd Porr
769a448373 New constants for the new firmware. Access to revision control of the FX2. 2004-08-18 22:21:42 +00:00
Bernd Porr
1249c61de9 Removed usbdux_firmware.lst because it's just the listing of the assembler which is not needed in the distro. 2004-08-18 22:16:14 +00:00
Bernd Porr
f4ca47d701 Minor bug fixes. 2004-08-18 22:12:38 +00:00
Frank Mori Hess
cdb4e7d266 updated usbdux firmware from Bernd Porr:
Firmware now only measures as many channels as are in the channel list. If
there's only one channel in the list we can manage to measure within one
microframe. This makes it possible to measure with 8kHz max.
Added a counter. The counter is called every 2ms from an FX2 timer inerrupt. Low
priority so that measurements are not disturbed.
The bulk transfers are now two times faster (insn). Reading an A/D value or an
DIO takes now only 2ms or less. The trick is that the in endpoint is already
filled when the request is issued.
Fixed a bug in the FIFO resets.

Second counter did not count properly. That's fixed. Also
found two missing syncdelays.
2004-08-01 22:24:01 +00:00
Frank Mori Hess
30e7053ebc usbdux update from bernd porr:
The new hotplug script uses comedi/usbdux.c for firmware upload and not fxload
any more. fxload is too unreliable and seems to be missing or different among
different distros. All users of usbdux boards report problems which are fxload
related. The new hotplug script simply uses comedi_config -i firmware.hex. This
fix also removes problems with the usbdevfs (race in 2.6, sleep, ...). The
usbdevfs is no longer needed.
2004-03-29 01:43:27 +00:00
Frank Mori Hess
6ea1735e6e Update from Bernd Porr. Sleeps only if the file is not there. 2004-02-16 14:02:19 +00:00
Frank Mori Hess
2aeeb17080 usbdux firmware update from Bernd Porr:
Bugfix version of the firmware. When running ./cmd and ./ao_waveform at the same
time I got CRC errors on the USB. Reason: some registers in the FX2 need a
syncdelay. After a write to a register no other write is allowed to any other
register for a certain time. This is called "Syncdelay". Introduced syncdelays
for all EP registers. Now the CRC errors are gone.
Another bugfix: the byte for the CPUCS register was wrong (shifted one bit to
the left). This resulted in undefined processor speed. The speed was chosen just
by chance at power up (12Mhz,24Mhz,48Mhz).
2004-02-07 22:20:16 +00:00
Frank Mori Hess
38580fc697 patch form Bernd Porr:
added a "sleep 1" just before fxload to eliminate race condition betwwen hotplug and usbdevfs in the preemptive 2.6 kernel
2004-02-07 21:42:49 +00:00
Frank Mori Hess
4d08248fda update for usbdux driver form Bernd Porr who says:
Had to change the USB 2.0 transfer protocol from IRQ transfer to ISO transfer.
Reason: IRQ transfer is still not stable (2.4/2.6). However, ISO transfer has
been rewritten in the kernel and works (just now in 2.6 but will be backported
sooner or later)!
I supply new firmware and a new version of the driver which now uses ISO
transfer throughout (1.1 / 2.0).
2004-01-31 21:57:02 +00:00
Frank Mori Hess
a57ff1fc14 update from bernd porr to use fxload to load firmware 2003-12-21 17:30:01 +00:00
Frank Mori Hess
e410cfda9c comedilib support for new usbdux driver 2003-11-30 15:41:14 +00:00
Frank Mori Hess
a0b578697f add daqcard-6036e 2003-10-24 00:56:30 +00:00
David Schleef
d7a275dcac new makefiles 2003-08-16 22:19:35 +00:00
David Schleef
42eb25e515 not needed 2003-08-16 00:51:13 +00:00
Frank Mori Hess
70666cad39 added etc/ to EXTRA_DIST, moved creation of /etc/comedi/calibrations to
comedi_calibrate subdirectory's makefile
2003-07-09 20:13:00 +00:00
Frank Mori Hess
d492ffbc39 daqcard-1200 is now supported by ni_labpc_cs.o driver 2003-07-03 21:51:23 +00:00
Frank Mori Hess
840b17a894 fix script for different common comedi_config paths 2003-06-01 18:38:22 +00:00
Frank Mori Hess
69971fa3d2 updated reference to old lineo cvs server 2003-02-05 15:05:31 +00:00
Frank Mori Hess
340c849fcc new dev_info names for pcm-das08 and daqcard-1200 so pcmcia script runs
comedi_config correctly
2002-12-11 02:38:01 +00:00
David Schleef
ebde7f1f3d Fixes, add cb_das16_cs 2002-11-05 05:21:52 +00:00
David Schleef
aecc9c6a2b Add DAQ-DIO-24 2002-03-09 00:25:04 +00:00