Parallel Port Linuxcnc 2.8

More
24 Nov 2020 22:04 #190224 by tdhc2003
Hello, I've search for about a week now for a solution but have not found one. I originally installed linuxcnc 2.7.14 Debian 7 Wheezy on my computer. I was able to get the machine connected to the parallel port and working on this version. I then installed LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO because I wanted the Plasmac feature. I wrote in the .hal file my parallel port address that was obtain through the lspci -vv command when I had version 2.7.14 installed. The issue is when I load the linuxcnc interface it says it can not find the address of the port. Also when I type the command lspci -vv I get a message saying the "command cannot be found". I am not sure what I am doing wrong. My experience with linux is very minimal. Thank you for your help.

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

More
24 Nov 2020 23:56 #190232 by tommylight
sudo lspci -v

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

More
01 Feb 2021 12:02 - 01 Feb 2021 12:03 #197298 by Adam Maszynotwór
LinuxCNC 2.8.1 Debian 10
sudo lspci -v not working "command not found"
The last working version with this command is 2.7.15
I think this is a problem with newer Debian but I have no solutions how to check the address of the PCI cards
Last edit: 01 Feb 2021 12:03 by Adam Maszynotwór.

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

More
01 Feb 2021 12:13 #197299 by bevins
Replied by bevins on topic Parallel Port Linuxcnc 2.8

LinuxCNC 2.8.1 Debian 10
sudo lspci -v not working "command not found"
The last working version with this command is 2.7.15
I think this is a problem with newer Debian but I have no solutions how to check the address of the PCI cards


sudo apt-get install pciutils

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

More
01 Feb 2021 23:22 #197347 by Adam Maszynotwór
bevins
You're right it worked and shows PCI cards. found and checked this solution www.linuxquestions.org/questions/linux-n...nd-not-found-418455/
Unfortunately LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO does not see these cards "Linux parallel port @ 8216 not found"
I made 2 cards with a tracksuit 0x2018
here is an old movie that the card works on an older system and the same PC

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

More
01 Feb 2021 23:33 #197348 by tommylight
Ahoj Adam,
For the card in that video it seems the right address should be 0x3000, or maybe 0x3008.
Notice the statement at the end of each section of LSPCI command, for parallel port it does say:
Kernel driver in use: parport_pc

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

More
25 Nov 2021 05:15 #227556 by jay.perez1
Greetings,

I have the same problem as Adam, connecting my parallel card on the latest version of LinuxCNC running on Debian 10 using this download: LinuxCNC 2.8.2 Debian 10 Buster PREEMPT-RT ISO.

Using the info in this thread and typing the "sudo lspci -v" command seems to confirm the system recognizes my card. However, none of the numbers in the output are recognized in LinuxCNC when I enter them into the StepConf utility. (i.e.  a000:2000, a000, 4010, 4000). LinuxCNC will start but gives a warning that the parport was not registered.

As was mentioned in the post the card is recognized in Debian Wheezy and LinuxCNC 2.7 using this download: LinuxCNC 2.8.0 Debian 7 Wheezy RTAI.  (Installs LinuxCNC 2.7 with instructions on how to update to 2.8)

Any help or thoughts would be appreciated.

Thanks !

Jay

Here's the results of the command.

cnc@LinuxCNC282:~$ sudo lspci -v
.
.
.
02:00.2 Parallel controller: Asix Electronics Corporation Device 9100 (prog-if 03 [IEEE1284])
    Subsystem: Device a000:2000
    Flags: bus master, fast devsel, latency 0, IRQ 3
    I/O ports at 4010
    I/O ports at 4000
    Memory at e1a10000 (32-bit, non-prefetchable) [size=4K]
    Memory at e1a00000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
    Capabilities: [78] Power Management version 3
    Capabilities: [80] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting

 

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

Time to create page: 0.070 seconds
Powered by Kunena Forum