PCI parallel port disabled with Wheezy / Linuxcnc 2.7
24 Dec 2017 01:05 #103507
by andypugh
Nobody else does that![:-) :-)](/media/kunena/emoticons/smile.png)
What makes you think that you need it?
Replied by andypugh on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
I am running the following sequence of commands before starting LinuxCNC:
sudo /sbin/insmod /lib/modules/3.4-9-rtai-686-pae/kernel/drivers/parport/parport_pc.ko
sudo /sbin/rmmod ppdev
sudo /sbin/rmmod lp
sudo /sbin/rmmod parport_pc
Nobody else does that
![:-) :-)](/media/kunena/emoticons/smile.png)
What makes you think that you need it?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
26 Dec 2017 06:02 #103615
by tommylight
Replied by tommylight on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
Did you try the c800 address?
What error do you get when starting linuxcnc?
Why are you adding those lines before starting linuxcnc? The last line will remove parallel port driver!
Basically, install wheezy, make the config and change the parallel port address, run linuxcnc.
No terminal commands necessary.
Regards.
What error do you get when starting linuxcnc?
Why are you adding those lines before starting linuxcnc? The last line will remove parallel port driver!
Basically, install wheezy, make the config and change the parallel port address, run linuxcnc.
No terminal commands necessary.
Regards.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 5000
- Thank you received: 1409
26 Dec 2017 13:19 #103642
by Todd Zuercher
I think because he was trying to follow instructions on a 10 year old wiki page.
Replied by Todd Zuercher on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
Did you try the c800 address?
What error do you get when starting linuxcnc?
Why are you adding those lines before starting linuxcnc? The last line will remove parallel port driver!
Basically, install wheezy, make the config and change the parallel port address, run linuxcnc.
No terminal commands necessary.
Regards.
I think because he was trying to follow instructions on a 10 year old wiki page.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
26 Dec 2017 16:31 #103681
by Arnief3
Replied by Arnief3 on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
After a few days off, I am back to trying to get this sorted out. Thanks for all of the input.
I have set up a few EMC/LinuxCNC systems over the years but I am not a Linux expert so when it come to obscure linux driver setup issues I am a bit lost.
I have tried all of the normal setup procedures. Installed using the latest live cd (wheezy), config, tried the obvious parallel port addresses - no luck. Then I discovered that the parallel port was coming up as "disabled" using the lspci -vv command. This is what started me down the path of following these instructions ( wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos).
Moving forward, I am going to try a few things:
- dig a little deeper into the demsg output and try to get the parallel port up and running
- I am setting up a new pc and pci-e parallel port card. I may swap things around until I find something that works.
- try upgrading from 2.5 to 2.7 under Ubuntu Lucid (I don't want to break what I have now so I will try this as a last resort)
I have a working 2.5 system so none of this is an emergency at this point.
Arnie
I have set up a few EMC/LinuxCNC systems over the years but I am not a Linux expert so when it come to obscure linux driver setup issues I am a bit lost.
I have tried all of the normal setup procedures. Installed using the latest live cd (wheezy), config, tried the obvious parallel port addresses - no luck. Then I discovered that the parallel port was coming up as "disabled" using the lspci -vv command. This is what started me down the path of following these instructions ( wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos).
Moving forward, I am going to try a few things:
- dig a little deeper into the demsg output and try to get the parallel port up and running
- I am setting up a new pc and pci-e parallel port card. I may swap things around until I find something that works.
- try upgrading from 2.5 to 2.7 under Ubuntu Lucid (I don't want to break what I have now so I will try this as a last resort)
I have a working 2.5 system so none of this is an emergency at this point.
Arnie
Please Log in or Create an account to join the conversation.
26 Dec 2017 17:44 #103690
by andypugh
Replied by andypugh on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
It might be disabled in the BIOS.
Please Log in or Create an account to join the conversation.
29 Dec 2017 03:15 #103809
by Arnief3
Replied by Arnief3 on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
The new parallel port card arrived and it worked without a hitch with Ubuntu Lucid and Wheezy.
Thanks to everyone for their help!
Arnie
Thanks to everyone for their help!
Arnie
Please Log in or Create an account to join the conversation.
29 Dec 2017 03:20 #103810
by Arnief3
Replied by Arnief3 on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
In case anyone is interested, here is the card that worked for me:
StarTech.com 1 Port PCI Express Dual Profile Parallel Adapter Card - SPP/EPP/ECP - 2x DB25 IEEE 1284 PCIe Parallel Card
www.amazon.com/gp/product/B001Q7X0Z8/ref...00_s00?ie=UTF8&psc=1
StarTech.com 1 Port PCI Express Dual Profile Parallel Adapter Card - SPP/EPP/ECP - 2x DB25 IEEE 1284 PCIe Parallel Card
www.amazon.com/gp/product/B001Q7X0Z8/ref...00_s00?ie=UTF8&psc=1
Please Log in or Create an account to join the conversation.
05 Apr 2018 18:22 #108461
by probotix
Replied by probotix on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
We have been using MCS9900 PCIe cards on Biostar A68N-2100 motherboards as a secondary parallel port for quite some time. So we changed to an ECS KAM1-I recently because the Biostar is getting hard to find, and the MCS9900 cards do not work. Both motherboards use PCIe version 2.0 spec. The card appears to show up fine with lspci, but starting LinuxCNC will either cause the PC to reboot, or it will disable the card.
Whats really interesting is that I went into the bios and disabled the sound and onboard serial and when it came back up, the card had changed address and was now working. But upon reboot, it picked up the old address again and the failures starting happening again. Subsequent reboot continue to bring up the old address and same problem.
Whats really interesting is that I went into the bios and disabled the sound and onboard serial and when it came back up, the card had changed address and was now working. But upon reboot, it picked up the old address again and the failures starting happening again. Subsequent reboot continue to bring up the old address and same problem.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
05 Apr 2018 23:05 #108470
by tommylight
Replied by tommylight on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
You have to change the IRQ assignment in BIOS, from auto to manual and try to set it to a free IRQ ( not easily done as most of the hardware share IRQ's ).
How? I do not know as it differs a lot across the mainboards.
How? I do not know as it differs a lot across the mainboards.
Please Log in or Create an account to join the conversation.
05 Apr 2018 23:16 #108471
by probotix
Replied by probotix on topic PCI parallel port disabled with Wheezy / Linuxcnc 2.7
There doesn't appear to be any way to do that in the BIOS.
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds