Commit graph

543 commits

Author SHA1 Message Date
Jeff Epler
5983acda83 Merge pull request #331 from lkundrak/lr/fsf-address
all: update FSF address in GPL 2.0 notices
2017-09-15 06:41:50 -05:00
Lubomir Rintel
a63ec765cb all: update FSF address in GPL 2.0 notices
If you write to 59 Temple Place you're unlikely to get a response.
Let's realign the address with a more up-to-date one from [1].

  [1] https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

This is purely a cosmetic change, doesn't affect the meaning of the
license. Done to make rpmlint happy.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2017-09-15 13:06:22 +02:00
Dewey Garrett
b7950c2936 Merge remote-tracking branch 'origin/2.7' 2017-08-23 12:30:52 -07:00
Sebastian Kuzminsky
724f2c395d docs: remove mention of ancient "bfloat" program from hm2_7i43 manpage 2017-08-23 09:40:05 -06:00
Dewey Garrett
845bb75283 motion.homing-inhibit (new pin)
Some complicated systems take advantage of the
provisions for synchronizing the final joint homing
moves as controlled by negative [JOINT_N]HOME_SEQUENCE=
ini file items.  Candidate systems include gantries
with two motors for an axis, delta robots, hexapods,
etc.

By default, the synchronization provisions also
disallow *joint* jogging prior to homing in order to
prevent jog activity that (unless executed with much
care) can misalign the machine (gantry racking for
example).

System integrators may want to allow *joint* jogging
prior to homing with some hal logic that dynamically
alters the [JOINT_N]HOME_SEQUENCE= items.  Such logic
can assert the motion.homing-inhibit pin to ensure
homing is not initiated under certain conditions.

Example: synced joints 0,1 using sequence -1 for
synced homing with a switch (allow_jjog) to select sequence 1 for
*joint* jogging before homing (partial hal code):

setp mux.in0 -1
setp mux.in1  1

net home_seq <= mux.out
net home_seq => ini.0.home_sequence
net home_seq => ini.1.home_sequence

net hsequence_select <= allow_jjog
net hsequence_select => mux_sel
net hsequence_select => motion.homing-inhibit

Note that ini hal pins are not available until milltask
starts so execution of the above hal commands may need
to be deferred using an [APPLICATION]APP= script or a
a postgui halfile.

Thanks to pkmcnc for suggestion.
2017-08-14 15:53:07 -07:00
Jeff Epler
240793be1e Merge branch 'hm2_rpspi' of https://github.com/BsAtHome/linuxcnc 2017-06-20 07:45:40 -05:00
Sebastian Kuzminsky
e375e3affc Merge remote-tracking branch 'origin/2.7' 2017-06-18 15:58:33 -06:00
Sebastian Kuzminsky
67490eca8f hm2_eth: add support for Mesa 7i93 AnyIO ethernet board
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-06-18 10:59:03 -06:00
Bertho Stultiens
ab6e4f569b Insert new option spi_debug at the correct position in the list.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 11:55:37 +02:00
Bertho Stultiens
4c41172713 - Fix includes and remove those not required
- Undefine debugging as default
- Add spi_debug to do enable run-time debuging (map-page updated)
- The cookie is 3 words, but we want to read 4 to catch the IDROM offset, subsequently used to read the board's ID

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 11:39:55 +02:00
Bertho Stultiens
1590d40d98 Significant update of the hostmot2 hm2_rpspi driver:
- Use correct synchronized register access
- Improve driver performance by utilizing the controller's fifos
- Add module parameters to set write/read speed
- Add module parameter to probe different CEs and SPI0/1
- Allow up to 5 boards on SPI0/1 and CEs
- Add pull-up/down enable/disable module parameter
- Use dynamic memory for RPI version detection
- Only use one (io)mmap'ed area for register access
- Update man-page to describe all module parameters and suggested usage

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-10 19:13:54 +02:00
Dewey Garrett
c73fa859cb kins manpage: expand on duplicated coord letters
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-06-07 13:40:55 -07:00
Sebastian Kuzminsky
8c21a2dd60 Merge remote-tracking branch 'origin/2.7' 2017-06-01 15:58:58 +00:00
Sebastian Kuzminsky
4cacd7c4c2 docs: sort board list in hm2_eth manpage
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-04-27 21:38:08 -06:00
Sebastian Kuzminsky
8b81a2e4bd docs: remove invalid ".R" macro from kins.9 manpage
"man --warn" (run by lintian) let us know that ".R" is not a valid macro.

It was not clear to me what groff macro the author intended there,
so I just removed it.  The manpage renders fine and legible to me,
and without warnings.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-03-16 15:14:22 -06:00
Dewey Garrett
e624275f82 siggen.c: add reset pin
If reset pin asserted, force output pins to predefined state

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-27 16:04:35 -07:00
Dewey Garrett
87d2a4e1f2 motion: update for hal pos-cmd, vel-cmd pins
1) before this commit, hal pins axis.L.pos-cmd were
   only valid for teleop, now update in
   control.c/output_to_hal() so pins are valid for
   coordinated motion too.

2) rename to conform to actual implementation:
   was: axis.L.vel-cmd
    is: axis.L.teleop-vel-cmd

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-24 09:35:12 -07:00
Dewey Garrett
721e4304a8 corexy kinematics (+man page update +sim config)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-20 18:27:56 -07:00
Dewey Garrett
2d4f18f7c9 kins.9 clarify kinstype=B example text
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-16 19:55:22 -07:00
andypugh
73e68603e9 Hostmot2 Absolute Encoders: Add a flag to inhibit encoder wrapping.
Multi-turn encoders should never wrap, and a false detection of a wrap may
lead to permanent offsets that can not be removed without a restart
This commit adds an extra flag for SSI BiSS and Fanuc encoders.


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-11-13 20:48:14 +00:00
John Kasunich
180177664b Move hal_bb_gpio manpage from docs/src/ to docs/man/
Eventually all man pages will be asciidoc in docs/src/ and
the troff pages in docs/man/ will be auto-generated.  But
that may take a while, and in the meantime troff pages in
docs/src/ aren't usable.  When the move comes in the future
this page can move with all the rest.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-20 23:18:59 -04:00
Jeff Epler
880485484a Merge remote-tracking branch 'origin/2.7' 2016-08-18 21:27:17 -05:00
John Thornton
1489c87181 Docs: fix issue #143
Signed-off-by: John Thornton <bjt128@gmail.com>
2016-08-16 11:09:36 -05:00
Andrew Kyrychenko
f4a49b581e kinematics/genhexkins.c: add strut length correction
Add strut length correction for non-captive screw actuators with
universal (cardanic) joints, provide parameters for joint axes unit
vectors and screw lead, add pins to show correction values.

Update kins.9 manpage.

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 00:43:30 +03:00
Andrew Kyrychenko
5f44ed8ffa kinematics/genhexkins.c: add spindle-offset pin
Add spindle-offset pin to facilitate adjusting spindle position.

Convert pins to parameters where possible.

Document new pins.

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 00:43:30 +03:00
Sebastian Kuzminsky
b19c7b4dfe Merge remote-tracking branch 'tinkercnc/hm2_raspi' 2016-07-18 08:16:58 -06:00
Sebastian Kuzminsky
80c6adb4aa Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
	lib/python/gladevcp/tooledit_gtk.glade
2016-07-13 16:19:28 -06:00
Matsche
c5bcd08fe2 new man page for the hm2_rpspi hal driver
Signed-off-by: W.Martinjak <matsche@play-pla.net>
2016-07-09 00:47:27 +02:00
Andrew Kyrychenko
47b8d05f97 kins.9 document new pin: genhexkins.tool-offset JA
Add new pin tool-offset to kins manpage

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
63fc6c7e96 rose engine kinematics, sim example JA
Ref: https://en.wikipedia.org/wiki/Rose_engine_lathe

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
9c301493b5 docs: update kins.9 manpage trivkins with some gantry info
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
73fd00adbf kins.9 fix editing errors JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a2c268fee0 kins.9 include new xyzac-trt,xyzbc-trt kins JA
also:
  put trivkins first in list (otherwise order alphabetically)
  and at least mention all kins available in the distribution

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74db1f519d kins.9 fix example error JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
036345709f kins.9 update,gentrivkins,gantrykins superseded JA
Retain man pages for gantrykins,gentrivkins -- add note that these
modules are superseded by trivkins and point to trivkins (kins) man page

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4e242a69ae trivkins update, del gentrivkins, gantrykins
trivkins    was gentrivkins
gentrivkins deleted
gantrykins  deleted (use trivkins kinstype=BOTH)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9de635e0f4 kins manpage, add info for gentrivkins
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
171b5c05ed man page compiler warnings try fix
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f6e968df82 fix some compiler warnings (edit errors)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9f2a23f04c ini-config.txt updates for joints_axes
ini-config.txt      update for joints/axes
core-components.txt update motion joints/axes
                    refer to motion man page instead of
                    listing pins in two places

iniaxis.cc remove unused items:
           [TRAJ]AXES no longer used
           [AXIS_n]HOME

inihal.cc  remove some refs

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ded5760802 motion.c: new parameter to specify unlock hal pins
Unlock pins:
   joint.N.unlock
   joint.N.is-unlocked
may be needed for locking indexers (typically a rotary joint).

Previously, unlock pins were created based on the convention
for rotary axes (A,B,C).

For joints_axes branch, use a parameter to cause creation
of the unlock pins.

New parameter: unlock_joints_mask=
Example:       loadrt motmod ... unlock_joints_mask=0x38
               for joints 3,4,5

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
dc1c6ac2d1 gentrivkins: add man page
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ce3e3f1680 motion.9 update man page for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
57082538ca kins: Implement linear delta kinematics 2016-06-26 19:08:28 -06:00
Jeff Epler
f581faef25 hm2_eth: doc updates
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-10 20:48:03 -05:00
Jeff Epler
52febb5f38 hm2_eth: improve docs
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-10 20:48:03 -05:00
Jeff Epler
ce80671f13 hm2_eth: detect lost reads and writes
.. with a pile of new tunables (yuck)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-10 20:48:02 -05:00
Sebastian Kuzminsky
fd8964307c Merge remote-tracking branch 'origin/2.7' 2016-05-12 21:34:01 -06:00
Jeff Epler
01e82b2989 motion: remove overruns parameter
After the removal of heuristic overrun detection, this param's value
was never changed from 0.

As noted clearly in the documentation, this parameter was for debugging
and subject to removal at any time, so we don't need to wait to remove
it.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-10 12:52:43 -05:00
Sam Sokolik
6ceba7a9bb irq-coalesce requires ethtools
Signed-off-by: Sam Sokolik <samcoinc@gmail.com>
2016-05-10 10:53:05 -06:00
Jeff Epler
8c082eaac5 hm2_eth: note the irq-coalesce trick
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-04-12 13:04:18 -05:00
Jeff Epler
0b8bce1d23 Merge remote-tracking branch 'origin/2.7' 2016-02-07 10:35:14 -06:00
John Thornton
59e5b75d78 Docs: add supported boards
Signed-off-by: John Thornton <bjt128@gmail.com>
2016-02-04 07:07:22 -06:00
Jeff Epler
4c491d750f Merge remote-tracking branch 'origin/2.7' 2016-01-29 21:32:51 -06:00
John Thornton
0baf37dce6 Docs: fix markup, for some strange reason the \fB did not carry over to the next line
Signed-off-by: John Thornton <bjt128@gmail.com>
2016-01-28 06:37:24 -06:00
Jeff Epler
4c485bc55e Merge remote-tracking branch 'origin/2.7' 2016-01-16 09:47:53 -06:00
Jeff Epler
4d02519fb4 Merge remote-tracking branch 'origin/2.6' into 2.7
Conflicts:
	VERSION
	debian/changelog
2016-01-16 09:47:24 -06:00
John Thornton
d819fef886 Docs: change aio from 16 to 64
Signed-off-by: John Thornton <bjt128@gmail.com>
2016-01-14 09:08:55 -06:00
Sebastian Kuzminsky
e2b065110d Merge remote-tracking branch 'origin/2.7' 2015-10-29 10:29:22 -06:00
Sebastian Kuzminsky
21ae4806b3 Merge remote-tracking branch 'origin/2.6' into 2.7
Conflicts:
	docs/man/man9/hm2_7i90.9
2015-10-29 10:28:57 -06:00
Sebastian Kuzminsky
2485089f9c hm2_7i90 manpage: clarify firmware management
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-10-29 09:58:04 -06:00
Sebastian Kuzminsky
a6bda7b46a hm2_7i90 manpage: remove incorrect EPP info
The factoring out of the 7i43/7i90/etc EPP driver code never progressed
beyond a good intention.

Thanks to Andy Pugh for the bug report.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-10-29 09:57:47 -06:00
Jeff Epler
a6bd7d3014 hostmot2: work properly with duplicate pins
.. by introducing an extra .#. part of the aliased name when the same
gtag/unit/pin is associated with more than one GPIO.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-17 13:07:29 -05:00
Jeff Epler
993436a6fd Merge branch 'jepler/hm2-aliases' 2015-10-10 17:10:34 -05:00
Jeff Epler
c7803838e3 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/getting-started/updating-linuxcnc.txt
2015-10-10 17:10:28 -05:00
Jeff Epler
0c6fd14d94 hostmot2: add aliases related to GPIO pins used for special functions
On my test rig, this creates aliases like the following excerpt:
$ halcmd show alias
Parameter Aliases:
 Alias                                            Original Name
 hm2_7i92.0.pwmgen.00.out0.invert_output          hm2_7i92.0.gpio.001.invert_output
 hm2_7i92.0.pwmgen.00.out0.is_opendrain           hm2_7i92.0.gpio.001.is_opendrain

Where possible, I tried to model the naming after the related software
implementations (stepgen, pwmgen).

I did not cover all gtag and sec_tag combos; the ones that aren't covered
will not create aliases.  Mostly the combos not covered were marked
as not supported in hm2_get_pin_secondary_name.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-10 11:46:45 -05:00
Jeff Epler
3b24d38347 manpages: markup fixes
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-10 11:45:29 -05:00
Sebastian Kuzminsky
aa37cb02f9 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-09-10 15:53:54 -06:00
Jeff Epler
5f8123045a hostmot2: don't let ntp cause following errors
.. by tuning the dpll so that it can handle the +-500ppm
changes in the linux CLOCK_MONOTONIC rate that can be caused
by software like ntpd and ntpdate.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-09-03 09:54:07 -05:00
Sebastian Kuzminsky
fc374e3119 Merge remote-tracking branch 'origin/2.7' 2015-07-29 10:20:17 -06:00
Sebastian Kuzminsky
6a5ad145d7 Merge remote-tracking branch 'origin/2.6' into 2.7
Conflicts:
	docs/man/man9/hostmot2.9
2015-07-29 10:19:37 -06:00
Sebastian Kuzminsky
77eb37da67 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/halui/mdi/test-ui.py
2015-07-28 14:07:29 -06:00
andypugh
fcc3b0c339 Smart-serial boards can have HAL pins identified by board serial numbers. Document this.
Signed-off-by: andypugh <andy@bodgesoc.org>
2015-07-23 19:16:48 +02:00
Jeff Epler
06ca091fad hostmot2: support split reads
.. by a new read-request function.  This is useful on systems
with more than one hm2_eth card, because the transmission of the
second read request can overlap with the first card processing
and responding to its read request.

This also splits the multiple personalities of "queue_read",
so that the length argument to "queue_read" is no longer
overloaded to select whether to queue / actually send / actually
receive the requested reads.

It also fixes the new functions so that they return success /
failure codes correctly; before, some send/recv failures were
logged via LL_PRINT but not by return value.

It also moves rtapi_delay so that the delay is only taken after a
failed recv().  With multiple cards, this typically removes
the delay for all ethernet cards after the first.

In my hal-test harness, these measures together lowered the typical
thread1.time by >40% with two cards.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-18 11:37:57 -05:00
Jeff Epler
a00817f8b8 hm2_eth: allow multiple instances (up to 4)
.. including on a single gigabit ethernet interface with a
gigabit switch between the PC and multiple hostmot2 cards.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-18 11:37:57 -05:00
Jeff Epler
66ec566cfb Merge remote-tracking branch 'origin/2.7' 2015-07-15 20:09:46 -05:00
Sebastian Kuzminsky
7679b83624 Merge remote-tracking branch 'origin/2.6' into 2.7 2015-07-15 18:57:43 -06:00
Sebastian Kuzminsky
4ef16263f0 docs: document motion.feed-inhibit better
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-07-15 17:36:35 -06:00
Sebastian Kuzminsky
8df0f68e0a Merge remote-tracking branch 'origin/2.7' 2015-07-01 02:01:03 -06:00
Jeff Epler
6df518d96b hm2_eth: do iptables and sysctl configuration automatically
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-06-30 17:24:00 -05:00
Sebastian Kuzminsky
8163316158 Merge remote-tracking branch 'origin/2.6' into 2.7 2015-06-29 23:14:00 -06:00
Sebastian Kuzminsky
20b05daf60 docs: update encoder.9 manpage
The encoder comp has no parameters, and the min-velocity-estimate pin
is really called min-speed-estimate (because it's direction-insensitive).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-06-29 23:10:09 -06:00
Jeff Epler
adbff9cde1 hm2: encoder: enable dpll when supported by firmware
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-06-25 16:43:54 -05:00
Jeff Epler
b8948eec06 hm2: improve documentation of timers
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-06-25 16:43:53 -05:00
Jeff Epler
c4ea03c235 Merge remote-tracking branch 'origin/2.7' 2015-06-22 17:02:06 -05:00
John Thornton
70a054bdd9 Docs: restore guess as to what was causing the build warnings
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-06-17 06:26:58 -05:00
John Thornton
c83f2d33a7 Docs: fix build warnings
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-06-16 12:55:12 -05:00
John Thornton
7fb10751b0 Docs: fix build warnings
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-06-16 06:12:16 -05:00
John Thornton
736b0e4231 Docs: fix build errors and minor markup fixes
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-06-15 06:11:42 -05:00
Jeff Epler
f699c1cc1b Merge branch '2.7'
Conflicts:
	VERSION
	debian/changelog
	docs/man/man9/streamer.9
2015-05-02 18:40:04 -05:00
Dewey Garrett
9ea94bb71b streamer.c: add clock,clock-mode pins
note: default clock-mode (0) behavior is identical to
      prior behavior

Credit to: Slavko Kocjancic
Author's info:
 15. November 2014 addition by eslavko
 streamer.N.cur-depth, streamer.N.empty and streamer.N.underruns are
 now (correctly) updated even if streamer.N.enabled is set to false.
 in addition there are two new pins to enable clocking streamer.
 by default values the streamer behaviour is as before update.
 the new pin is
 streamer.N.clock bit input
 it's clock input with actions defined by clock_mode pin.
 streamer.N.clock-mode s32 input
 define behaviour of clock pin.
 value 0 (default) freerun at every loop
 value 1 means clock by falling edge
 value 2 means clock by rising edge
 value 3 meand clock by any edge

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-04-24 08:29:45 -07:00
Jeff Epler
e868776261 hm2_eth: it's our elbpcom program now
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-04-19 12:12:15 -05:00
Jeff Epler
da07d64aaf hm2_eth: note some LED gotchas
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-04-18 21:22:07 -05:00
Jeff Epler
067b8f7bef hostmot2: comment about functions that don't work well on hm2_eth
.. due to extra packet generation

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-04-18 21:22:06 -05:00
Sebastian Kuzminsky
eaff4f05eb docs: convert streamer manpages to asciidoc
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-03-08 17:44:45 -06:00
Chris Radek
18a933a176 Remove probe_parport, which is unneeded since we now cooperate with parport_pc
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-01-14 20:24:34 -06:00
Andrew Kyrychenko
0cc3445e1d genhexkins: add hal pins for joints coordinates
Parameters added for base and platform joints coordinates. Pins added
to control forward iterations. Cleaned from unused code. Manpage updated.

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-01-04 21:46:45 -07:00
Norbert Schechner
6096b1b3df Merge branch '2.6' into 2.7 2014-12-25 15:45:20 +01:00
Sebastian Kuzminsky
38e2776a8b docs: document the surprising encoder num_chan=0 behavior
It means "use the default, 3".

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-12-21 13:04:15 -07:00
Sebastian Kuzminsky
d740ca41de Merge remote-tracking branch 'origin/2.6' into 2.7 2014-12-18 18:32:57 -07:00
John Thornton
4572451cad Docs: provide an example of creating filter groups
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2014-12-18 06:49:48 -06:00
Sebastian Kuzminsky
37f73ab5f0 Merge origin/2.6 into 2.7 (using imerge) 2014-12-08 23:25:51 -07:00
Sebastian Kuzminsky
02b2bb3c94 docs: move the skeleton manpages out of the way
This means there's no need to filter out the skeletons from the manpage
list in the docs/src/Submakefile any more.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-12-05 23:33:03 -07:00
Sebastian Kuzminsky
5b75adaf39 Merge remote-tracking branch 'origin/2.6' into 2.7 2014-11-17 09:15:24 -07:00
Sebastian Kuzminsky
397fae4068 docs: fix up whitespace in mux_generic(9) manpage
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-11-17 08:10:09 -07:00
Chris Radek
e664379a2b Fix motion-type docs in motion manpage
Signed-off-by: Chris Radek <chris@timeguy.com>

Conflicts:
	docs/man/man9/motion.9
2014-10-20 13:08:17 -05:00
Chris Radek
2f38c5c5a9 Fix motion-type docs in motion manpage
Signed-off-by: Chris Radek <chris@timeguy.com>
2014-10-20 12:06:50 -05:00
Sebastian Kuzminsky
e7a9bd5a26 docs: fix a path in the motion.9 manpage
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-10-17 13:23:21 -06:00
Sebastian Kuzminsky
de8a3e2123 Merge remote-tracking branch 'origin/2.6' 2014-09-11 08:59:53 -06:00
Sebastian Kuzminsky
9f1bd7115e docs: fix a copy/paste error in the hostmot2.9 manpage 2014-09-06 17:34:57 -06:00
Sebastian Kuzminsky
052052d971 docs: update motion manpage with new tc.h location 2014-09-02 21:44:18 -06:00
Jeff Epler
5318daa895 hostmot2: support boards on spi interface
.. for uspace systems with /dev/spidev.  This is mildly tested on odroid
u3 with a 7i43 custom firmware and with a real 7i90.

Note that on many systems out there, including odroid, /dev/spidev is lousy
for realtime performance.  Some kernel-side changes, available at
https://github.com/jepler/odroid-linux.git in branch odroid-3.8.13-rt
give good performance on my odroid u3 system.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-09-02 22:02:22 -05:00
Sebastian Kuzminsky
0b48bda9db hm2: remove pet_watchdog from the docs
This removes mention of the pet_watchdog function from all docs, and
updates some out-of-date information about the watchdog.

But we still export the pet_watchdog function to HAL, for now.  It does
nothing but complain about its own obsolescence, watchdog-petting happens
in hm2's write function now.  We should remove pet_watchdog before 2.7.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-08-29 11:00:05 -06:00
Jeff Epler
1730c5ace1 hm2_eth: how to set up the ethernet interface 2014-07-28 13:30:35 -05:00
Jeff Epler
57e1d5465e docs: Note GPL license on files 2014-07-28 09:29:03 -05:00
Sebastian Kuzminsky
6b2ba98fb7 Merge remote-tracking branch 'origin/2.6'
Conflicts:
	VERSION
2014-07-26 23:48:53 -06:00
Jeff Epler
f876f77e19 hm2_eth: Use iptables to restrict traffic to just us 2014-07-26 16:40:56 -05:00
Jeff Epler
3303a37f90 hm2_eth: correct header in manpage 2014-07-26 15:46:25 -05:00
Jeff Epler
d2e4742002 hm2_eth: Fix ARP pinning
* Don't require specification of MAC address at all.  Instead,
   request the hardware address from the attached hostmot2 ethernet
   board.  (of all the ways to get the MAC address automatically,
   this seemed like the best one.  Alternate ways involved parsing
   /proc/net/arp; or using SIOCGARP which requires correctly filling
   in the interface name that the hostmot2 card is connected to, and
   also still requires sending a packet to the board)

 * When SIOCSARP (set arp entry) fails, report it; this will happen if
   you did not "sudo make setuid".

 * When an ARP entry was successfully pinned in init_net, delete it
   in close_net with SIOCDARP.
2014-07-26 12:45:18 -05:00
Jeff Epler
b4f3f51afc hm2_eth: note that only one board is supported 2014-07-26 12:44:38 -05:00
Michael Geszkiewicz
c72834b3c7 hm2_eth: New driver for Mesa 7I80 ethernet cards 2014-07-26 11:08:57 -05:00
bdebruijn
80c46b9207 docs : update manpage pid.9 for use of IN pins 2014-07-14 15:01:01 -05:00
Chris Morley
0013e46058 Merge branch 'v2.5_branch' into 2.6 2014-07-12 00:07:17 -07:00
John Thornton
80efa5fdc5 Docs: try to word synopsis to be a bit clearer in the description
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2014-07-02 08:38:52 -05:00
Kim Kirwan
c7bd914a82 add driver for the 7i90
This is almost entirely a copy of the 7i43 driver, with a few tiny tweaks.
Should be integrated with the 7i43 driver so they share more code,
but that can happen in the master branch later.
2014-06-05 18:02:56 -06:00
Chris Morley
ebaae4d51f manpages -update classicladder
add hide_gui pin description
2014-05-27 06:39:56 -07:00
Chris Morley
f9586acf63 Merge branch 'v2.5_branch' into 2.6 2014-05-26 23:38:38 -07:00
Chris Morley
305309ae2b manpages -update pages on classicladder
missing floats and pinnames were wrong for s32 pins
2014-05-26 23:35:13 -07:00
Sebastian Kuzminsky
7a1153a811 Merge remote-tracking branch 'origin/v2.5_branch' into 2.6 2014-05-19 23:19:28 -04:00
Sebastian Kuzminsky
52dc6f1810 docs: fix hm2 encoder.rawcounts pin name in manpage
The hm2 driver exports pins called "hm2_BLAH.X.encoder.YY.rawcounts",
but the manpage incorrectly called them ".rawcount".  Fix the manpage
to match the existing pin name.
2014-05-19 23:15:55 -04:00
Michael Geszkiewicz
a31beaa372 doc: add 5i24 to list of supported boards in hm2_pci manpage and to MODULE_DESCRIPTION text
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-05-14 23:53:46 +02:00
Sebastian Kuzminsky
4dd14c18a9 docs: add missing motion.motion-type to motion(9) manpage 2014-05-14 17:21:12 -04:00
Sebastian Kuzminsky
d897a13703 docs: update motion(9) to match reality
We haven't had a "motion.motion-inpos" pin since af317701 (January 2009).
2014-05-14 16:45:31 -04:00
Sebastian Kuzminsky
65933c3edf docs: fix motion(9) motion.in-position pin name
Also expand the description of the pin meaning a little.
2014-05-14 16:39:17 -04:00
Sebastian Kuzminsky
49f3930e49 doc: update list of supported boards in hm2_pci manpage 2014-05-14 15:03:47 -04:00
Sebastian Kuzminsky
fe00c88ca5 docs: fix a formatting error in hostmot2 manpage 2014-05-08 10:35:48 -06:00
Chris Morley
0033f781f7 docs -add descriptions of new motion pins to man pages
feed-inhibit, spindle-inhibit, and the two absolute spindle speed
pins.
2014-04-18 15:58:53 -07:00
andy pugh
67967fbb9a Add a pin width limit to the Hostmot2 Stepgen
The recent addition of support for table mode to the Hostmot2 stepgen had an unfortunate
and unintended consequence. Some of the existing bitfiles did have wide stepgens included
but this was masked by the driver. Users that have configured these stepgen pins as GPIO
are likely to find that important parts of their machines no longer work.
This patch adds an extra parameter to the hm2 modparams so that system builders
have to actively choose to use the wide stepgens.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2014-04-08 00:43:38 +01:00
Chris Radek
a2bb101076 Ignore auto-generated manpages for two new comps 2014-04-05 19:32:54 -05:00
Sebastian Kuzminsky
595ab6ccd2 remove an accidentally added file 2014-03-05 00:15:10 -07:00
Norbert Schechner
90eb342ac9 gmoccapy_1_0_2 - solved spindle bug
ver. 1.0.2
- solved a spindle button issue and included a check so it
  is no possible to exceed the limits of the spindle with
  override values. i.e. a spindle has a max of 6000 rpm and
  the user enters S 5500 M3 now he can increase the spindle
  override, but it will be limited by 109 %, because otherwise
  he would ask the spindle to run faster than allowed.
2014-03-02 15:25:17 +01:00
Chris Radek
f7eee04923 Freqgen has been replaced by stepgen's velocity mode
said the manpage: "freqgen may be eliminated at any time, and almost certainly
will be eliminated for the version 2.2 release of EMC"
2013-12-15 17:28:22 -06:00
Andy Pugh
ac5345e61e Add support for the Table-mode to the Hostmot2 stepgens
This only works for firmwares that offer that facility for more than 2 pins
(which I do not think is any of the ones in the wild)


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-11-26 22:57:14 +00:00
Andy Pugh
ac64b2d8e2 Rename the Hostmot2 DPLL function to be consistent with other modules.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-10-31 01:39:04 +00:00
Andy Pugh
bdb16702b3 Absolute Serial Encoders: Further tidying up and introduction of the HM2DPLL module to allow pre-triggering
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-10-30 00:09:26 +00:00
Jeff Epler
3b616b6376 Merge branch 'v2.5_branch'
Conflicts:
	docs/man/.gitignore
	docs/man/man9/.gitignore
2013-10-28 07:01:18 -05:00
Jeff Epler
ddcfd17bac docs: improve ignore patterns 2013-10-28 06:51:25 -05:00
Andy Pugh
24dc2a2306 Fix a bug caused by misunderstanding do_div in the lcd.comp
If no format length was specified then the formatting would break for any value with a zero in its representation.

Signed-off-by: Andy Pugh <andy@bodgesoc.org>

Fix some bugs in the lcd component

Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-10-24 23:11:36 +01:00
Andy Pugh
3b736bb6ae Add (or make less ambiguous) the licensing of a number of files.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-09-25 20:35:45 +01:00
Andy Pugh
cc548fa4ed Add support for Fanuc absolute Serial Encoders to Hostmot2
(pushed for testing, I have no hardware)


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2013-09-24 01:49:57 +01:00