Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm completely new to Linux, and am trying to install some hardware on my Linux machine that runs LinuxCNC (a CNC machining control program). Problem is, I don't understand the following from the hardware instruction sheet -
2. Put Makefile, vc-m1 and 99-vistacnc-pendant.rules to “src” under home directory ~/src$. If there is a Makefile in that directory, name that make file to different name, like Makefile_old.
Can anyone please explain where these files are to go, and if there's something more complicated about it than just copying the files to that location (wherever "that location" is!)?
To install from sources, you need to have kernel headers installed; most distros do not include them in a base install to save space in the installation *.iso, but you can find them in the repos.
Yep, it's just that simple. But note my sigline.
"that location" is a directory (folder to Windows users) that appears to exist - the "~/src$" will resolve automatically to your users directory; something like /home/sjhebrock/src$/ for example.
If using a GUI file manager simply drag and drop - after renaming that old Makefile if neccessary (right-click the file). Note that in linux, file (and directory) names are case sensitive.
it may help us if we can know exactly what you are trying to install and if we can actually see the "hardware instruction sheet"? Is it online somewhere?
Maybe here: http://vistacnc.com/a03_download/download.htm?
But roughly it seems that it wants you to do something like:
it may help us if we can know exactly what you are trying to install and if we can actually see the "hardware instruction sheet"? Is it online somewhere?
Maybe here: http://vistacnc.com/a03_download/download.htm?
But roughly it seems that it wants you to do something like:
Yes, the instruction sheet is on that page under "M1 Driver and Installation Package v1.20." As you've probably already seen, this is for what's called a "jog pendant" - a handheld USB controller that emulates keyboard strokes to control the machine.
Specifically, I'm baffled by what the "src" and "~/src$" mean. I'm an MSDOS/Windows guy, and these baffle me!
Also, there are two file folders included in the installation package for 32-bit and 64-bit Linux OS, but no mention of them in the installation instructions - another mystery!
Yes, the instruction sheet is on that page under "M1 Driver and Installation Package v1.20." As you've probably already seen, this is for what's called a "jog pendant" - a handheld USB controller that emulates keyboard strokes to control the machine.
Specifically, I'm baffled by what the "src" and "~/src$" mean. I'm an MSDOS/Windows guy, and these baffle me!
Also, there are two file folders included in the installation package for 32-bit and 64-bit Linux OS, but no mention of them in the installation instructions - another mystery!
Sincere thanks for your assistance!
The installation instructions are on the first page of the pdf. Here I'll assume that you are using a 64-bit OS with kernel 2.8 or later.
Step "2."
If you're used to dos then you should have no problem on the command line. Assuming that you are in the same directory as the files extracted from the zip file:
Step "3."
The next step requires you to be root or using su or sudo. I don't know how your system is configured, but one of the following should work
Option a)
Code:
sudo make install
You'll be prompted for *your* password.
Option b) (if option 1 didn't work)
Code:
su -l
make install
exit
With this, you'll be prompted for the *root* password.
Step "4."
You are supposed to copy vm-m1.hal file to somewhere. It specifies the same location as the ".ini" file. I have no idea what or where that is.
But assuming you know or can find out. Let's call it "/foo/bar/". You'd do:
Code:
cp 'vc-m1 HAL for 2.8 and above/vc-m1.hal' /foo/bar/
The instructions in steps 5. and 6. again refer to the .ini file an to another file that I again know nothing of: custom_postgui.hal.
Perhaps you know something about these files?
Evo2.
P.S. I just realised that the "2.8 and above" may be referring to the version of LinxCNC and not the version of the Linux kernel.
Last edited by evo2; 02-02-2022 at 05:36 PM.
Reason: P.S.
Here I'll assume that you are using a 64-bit OS with kernel 2.8 or later.
What you sent is wonderful, Evo2, and I very much appreciate the time you spent writing out the instructions.
But now I'm hung up on trying to figure out whether I need the 32-bit or 64-bit files. The computer is running UBUNTU 10.04 LTS, which apparently has both 32-bit and 64-bit versions according to the web, and I don't know how/where to determine which files to install. Can you shed any light on this?
What you sent is wonderful, Evo2, and I very much appreciate the time you spent writing out the instructions.
No problem, we all had to start somewhere.
Quote:
Originally Posted by sjhebrock
But now I'm hung up on trying to figure out whether I need the 32-bit or 64-bit files. The computer is running UBUNTU 10.04 LTS,
LOL, that's quite a dinosaur! I'm assuming it is not connected to the internet.
Quote:
Originally Posted by sjhebrock
which apparently has both 32-bit and 64-bit versions according to the web, and I don't know how/where to determine which files to install. Can you shed any light on this?
Thank you everyone, for your insights and assistance. I did manage to get everything installed per the instructions, but (of course!) now the program just crashes...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.