Linux / linuxcnc can't see my parallel port card - Page 2


Page 2 of 2 FirstFirst 12
Results 13 to 20 of 20

Thread: Linux / linuxcnc can't see my parallel port card

  1. #13
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    797
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Quote Originally Posted by PCW_MESA View Post
    You could also just try the address of the device found by lspci, LinuxCNCs parallel port driver
    ( hal_parport ) does not depend on Linux's driver at all so if the hardware works and you can
    determine the base address, you should be good to go.

    ( There are exceptions as some broken parallel port cards require vendor specific initialization )
    I already tried that. It doesn't work. I haven't even been able to get linuxcnc to open yet. It just produces an incredibly long error message. It's like "here's a copy of War and Peace, the answers in there somewhere".

    A new card arrived today and Linux can't recognize that one as a parallel port card either. It thinks they are all serial cards and the new one has both serial and parallel. Just my luck, it can see the serial port but not the parallel.

    At this point, I'm starting to wish I had just bought a USB solution... or gone with Windows software.



  2. #14
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    576
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Thats odd, LinuxCNC errors about the parallel port are very short
    Maybe you have other issues.
    Does stepconf run properly?
    Do sims (no hardware required) run properly?



  3. #15
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    797
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Quote Originally Posted by PCW_MESA View Post
    Thats odd, LinuxCNC errors about the parallel port are very short
    Maybe you have other issues.
    Does stepconf run properly?
    Do sims (no hardware required) run properly?
    The stepconf runs properly as far as I can tell.

    As for whether there are other problems, I guess I will see when my new parallel port card arrives. I'm going to give it one more try (I just ordered my 4th card). If not, I'm going to give up on linuxcnc as I just don't know enough about Linux to troubleshoot it properly.

    The new card is a wcs9900 which is apparently one that has worked for others.



  4. #16
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    797
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Quote Originally Posted by machinehop5 View Post
    Just a thought......what shows up in your Start up BIOS of the motherboard Options?

    Nothing. There are no options related to pci lanes or parallel ports or anything else that looks related in the bios menu.



  5. #17
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    576
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Quote Originally Posted by Goemon View Post
    The stepconf runs properly as far as I can tell.

    As for whether there are other problems, I guess I will see when my new parallel port card arrives. I'm going to give it one more try (I just ordered my 4th card). If not, I'm going to give up on linuxcnc as I just don't know enough about Linux to troubleshoot it properly.

    The new card is a wcs9900 which is apparently one that has worked for others.
    What actual errors did you get when trying to use the "serial" card address from lspci?



  6. #18
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    797
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    Quote Originally Posted by PCW_MESA View Post
    What actual errors did you get when trying to use the "serial" card address from lspci?
    I'm not really sure. It just looks like 20 pages of gobbledygook to me. The tiny bit I almost partially understand a little bit is that it is not getting a response from the address I put in. I am going to assume that is because the card is not compatible.

    Also, when I lspci -vv it says something about a kernal driver working for every bit of hardware listed, except the parallel card.

    The issues with the WCH 382l chipset seems to be fairly universal. No mortal men have ever gotten one to work. For some reason, Linux chooses not to start the relavent drivers and there is apparently no easy way to make it load them manually.

    - - - Updated - - -

    Quote Originally Posted by PCW_MESA View Post
    What actual errors did you get when trying to use the "serial" card address from lspci?
    I'm not really sure. It just looks like 20 pages of gobbledygook to me. The tiny bit I almost partially understand a little bit is that it is not getting a response from the address I put in. I am going to assume that is because the card is not compatible.

    Also, when I lspci -vv it says something about a kernal driver working for every bit of hardware listed, except the parallel card.

    The issues with the WCH 382l chipset seems to be fairly universal. No mortal men have ever gotten one to work. For some reason, Linux chooses not to start the relavent drivers and there is apparently no easy way to make it load them manually.



  7. #19
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    576
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    1. Its not really important that the kernel driver work for the parallel port as long as the hardware works without vendor specific setup (LinuxCNC does not depend on Linux's driver)
    2. I dont think I've ever seen more that a page or so of LinuxCNC error messages and I've used LinuxCNC for more than 10 years
    Can you capture the messages and put them in a public place (pastebin etc) and supply a link?



  8. #20
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    797
    Downloads
    0
    Uploads
    0

    Default Re: Linux / linuxcnc can't see my parallel port card

    My new parallel port card arrived and this one is recognized by Linux as a Parallel port. I entered the address into the Hal file and now Linuxcnc actually opens. But.... the stepper drivers still won't move.

    I am using a Gecko g540 with bought-in DB9 cables going to each motor, so I am fairly sure the wiring is ok. The green light on the G540 only comes on when the charge pump is set to off. With the charge pump on, it stays red.

    I went over the instructions on the Gecko site and it says something about it needing to be in EPP mode for the charge pump thing to work. I can't seem to find any info on how I check which mode the parallel port is in or how to change it, or if it is in any way related to my problem.

    the motors do not move even when the green light is on (when charge pump is off). I tried all three axis so it is unlikely to be a faulty motor (it would be very unlucky to get 3 non-working ones).

    Does anyone have any ideas of what I can try?



Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Linux / linuxcnc can't see my parallel port card

Linux / linuxcnc can't see my parallel port card