Project home: https://bues.ch/m/cnc-control Original repository at: https://git.bues.ch/git/cnc-control.git https://bues.ch/m/cnc-control

Michael Buesch b5d0459c61 Update LinuxCNC il y a 1 an
driver b5d0459c61 Update LinuxCNC il y a 1 an
firmware 32264c4373 sparse: Update progmem attr il y a 8 ans
schematics 401fa378f7 Add schematics in .ps format il y a 13 ans
.gitignore 7052deacbd Initial commit il y a 13 ans
COPYING 3028915eab Add a copy of the GPL and a README stub il y a 13 ans
README bd7e56c862 Update README il y a 12 ans
makerelease.sh 774c71ed7d Rewrite release script il y a 12 ans

README

-------------------------------------
--- CNC-Control
--- Fully Open Source CNC remote control device
------

Copyright (c) 2009-2013 Michael Buesch



--- Integrating CNC-Control into LinuxCNC ---

LinuxCNC 2.5.x or later is required.

Integration into LinuxCNC is easy, because the CNC-Control HAL file is pretty
much selfcontained. Just copy the driver/cnccontrol.hal file to your LinuxCNC
configuration directory. Then modify your .ini file to load the new .hal file.
LinuxCNC can load multiple HAL files. So all that is needed usually is to add
a line like this
HALFILE = cnccontrol.hal
to the end of the [HAL] section of your .ini file. Add the new HALFILE line
below any exitsing HALFILE line.

To install the HAL driver, just go to the "driver" subdirectory and run the
make
sudo -i # become root
make install
commands. This will install the driver. It will also install a sudo script
to /etc/sudoers.d/zzz-cnccontrol, which is required for the driver to have
access permissions to the USB device.
Note that "sudo" needs to be installed on the system and support for the
/etc/sudoers.d/ directory must available.
If sudo is not installed, install it with
aptitude install sudo
If your system does not support the sudoers.d directory, you need to manually
adjust your suoders file. In most cases you just need to append the
contents of the zzz-cnccontrol file to your /etc/sudoers file. Use visudo
to edit the sudoers file.

All configuration of the CNC-Control device can be done through the
cnccontrol.hal file. Just look into the file and read the comments.