Which CNC system to install?

More
23 May 2020 22:03 #168727 by PCW
Replied by PCW on topic Which CNC system to install?
Maybe on Windows, Linux has built in drivers for most parallel port chips

Please Log in or Create an account to join the conversation.

More
23 May 2020 22:09 #168728 by tommylight
Hmmmmm...... it seems you have one of those "software" parallel ports, they do not work with Linuxcnc or Linux at all.
I do have plenty of PCI parallel port cards with NetMos chips, i never ever installed any driver for them in Linux.
If you type
sudo lspci -v
in a terminal, does it show anything resembling a parallel port, the "driver in use" should say "parport".

Please Log in or Create an account to join the conversation.

More
23 May 2020 22:25 #168729 by TglEMC
Replied by TglEMC on topic Which CNC system to install?
Yes it does.

Parallel controller: MosChip Semiconductor Technology Ltd. PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 0, IRQ 16, NUMA node 0
I/O ports at 9c00
I/O ports at 9800
Memory at fdbff000 (32-bit, non-prefetchable) [size=4K]
Memory at fdbfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [48] Power Management version 2
Kernel driver in use: parport_pc
Kernel modules: parport_pc

But LinuxCNC says that the parallel port is not found.

Please Log in or Create an account to join the conversation.

More
23 May 2020 22:40 - 23 May 2020 22:41 #168734 by PCW
Replied by PCW on topic Which CNC system to install?
What address (or port number) are you using in your hal file?
( If this is the only parallel port in your system, '0' should work )
Last edit: 23 May 2020 22:41 by PCW.

Please Log in or Create an account to join the conversation.

More
23 May 2020 22:47 #168735 by TglEMC
Replied by TglEMC on topic Which CNC system to install?
I don't know the Debian OS well enough to know what that is. Where you do I find the hal file?

Please Log in or Create an account to join the conversation.

More
23 May 2020 22:57 #168737 by PCW
Replied by PCW on topic Which CNC system to install?
The "hal" file (or files) and "ini" file are the files that are used to
customize LinuxCNC for a particular machine and interface hardware

Most often, for a parallel port, the hal/ini files are created by the stepconf utility

These files are normally located in ~/linuxcnc/configs

Please Log in or Create an account to join the conversation.

More
23 May 2020 23:14 #168740 by TglEMC
Replied by TglEMC on topic Which CNC system to install?
stepconf shows the Parport base address set to 0. CNC shows Linux parallel port @888 not found.

Please Log in or Create an account to join the conversation.

More
23 May 2020 23:33 #168746 by PCW
Replied by PCW on topic Which CNC system to install?
You may have to enter one of the port addresses found by lspci
( 0x9C00 or 0x9800 ) for LinuxCNC to find the hardware

Please Log in or Create an account to join the conversation.

More
24 May 2020 00:01 #168749 by TglEMC
Replied by TglEMC on topic Which CNC system to install?
Thank you for your help.

Setting the address to 9c00 appears to have fixed the parallel port not found issue. Looks like I now need to read up on the configuration. The manual controls are grayed out.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum