no libaccess installed in LinuxCNC-LiveCD
02 Aug 2012 19:28 #22686
by t1m0n
no libaccess installed in LinuxCNC-LiveCD was created by t1m0n
Hi,
I installed LinuxCNC from LiveCD (Ubuntu 10.04, 2.6.32-122-RTAI, LinuxCNC 2.5).
I load a kernel module with insmod to work in kernel space. I think it works.
Now, I try to install the driver library. It needs libpciaccess.
Both, kernel module and library are required to use a cifx card over PCI-Port.
I searched and found libpciaccess: pkgs.org/ubuntu-10.04/ubuntu-main-i386/l...11.0-1_i386.deb.html
Description for libpciaccess: Provides functionality for X to access the PCI bus and devices in a platform-independant way.
Parallel port is the standard interface for linuxcnc, right? I want to integrate sercos-iii with cifx card over PCI.
But I don't understand how the parallelport should work out-of-the-box if libpciaccess is not installed.
Is PCI not required to use the parallel port if parallel port is onboard?
Only if I want to use a card direct over pci port libpciaccess is required, right?
But what is know with HAL?
I installed LinuxCNC from LiveCD (Ubuntu 10.04, 2.6.32-122-RTAI, LinuxCNC 2.5).
I load a kernel module with insmod to work in kernel space. I think it works.
Now, I try to install the driver library. It needs libpciaccess.
Both, kernel module and library are required to use a cifx card over PCI-Port.
I searched and found libpciaccess: pkgs.org/ubuntu-10.04/ubuntu-main-i386/l...11.0-1_i386.deb.html
Description for libpciaccess: Provides functionality for X to access the PCI bus and devices in a platform-independant way.
Parallel port is the standard interface for linuxcnc, right? I want to integrate sercos-iii with cifx card over PCI.
But I don't understand how the parallelport should work out-of-the-box if libpciaccess is not installed.
Is PCI not required to use the parallel port if parallel port is onboard?
Only if I want to use a card direct over pci port libpciaccess is required, right?
But what is know with HAL?
Please Log in or Create an account to join the conversation.
03 Aug 2012 00:01 - 03 Aug 2012 00:02 #22695
by andypugh
Replied by andypugh on topic Re:no libaccess installed in LinuxCNC-LiveCD
t1m0n wrote:
We only support the parallel port because people want to use it. It's nasty.
See for example: git.linuxcnc.org/gitweb?p=linuxcnc.git;a...8c0c968ad374;hb=HEAD
Which access PCI hardware with simple inb() and outb() instructions to a port address.
That is written in C, and isn't very clear. You can probably use "comp" which is a preprocessing language and allows for much smaller driver files. This one:
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...2ea8c65f4e2e;hb=HEAD
Is similar to the previous one (but is for an ISA card, not a PCI card)
No, LinuxCNC has many drivers for PCI, PCIe and even ISA hardware.Parallel port is the standard interface for linuxcnc, right?
We only support the parallel port because people want to use it. It's nasty.
I suspect not.Only if I want to use a card direct over pci port libpciaccess is required, right?
See for example: git.linuxcnc.org/gitweb?p=linuxcnc.git;a...8c0c968ad374;hb=HEAD
Which access PCI hardware with simple inb() and outb() instructions to a port address.
That is written in C, and isn't very clear. You can probably use "comp" which is a preprocessing language and allows for much smaller driver files. This one:
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...2ea8c65f4e2e;hb=HEAD
Is similar to the previous one (but is for an ISA card, not a PCI card)
Last edit: 03 Aug 2012 00:02 by andypugh.
Please Log in or Create an account to join the conversation.
11 Aug 2012 09:57 - 12 May 2013 17:41 #23060
by t1m0n
Replied by t1m0n on topic Re:no libaccess installed in LinuxCNC-LiveCD
Thanks for the link to the Code for pci_8255.c.
Last edit: 12 May 2013 17:41 by t1m0n.
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds