On 12/14/2017 10:14 PM, Jon Elson wrote:
On 12/14/2017 01:42 PM, Mark wrote:
Hi all,


Finally finishing up the new shop build, and working on firing up the machinery.


I've got asaw beveller powered by LinuxCNC (not sure of the version, machine is in the shop) running on Ubuntu 10.04 LTS. Yeah, Iknow it's elderly, but had been running fine before I fired it up recently.  It's got an mpg pendant, c22 interface card, and a second parallel port. Last time powered up before the move and the machine was put in storage, the mpg worked great.  I got the machine into the shop, connected everything up, and it all works except thependant operations. I've replaced the parallel port card so far, with a new one, a 9865 chipped card.


Fired up the computer, did an lspci -v and got the address of the card, ccf0. Replaced that port number for the old on in the hal file, and fired up linuxcnc.  Still nothing.  Started doing a littlescouting around the system, and ran ppdiag.  Only the mobo parport, parport0 at 0x378 shows up. Did a 'dmesg | grep par' and no second parport shows up.  I then cd'd to the /dev directory, and there's only parport0 listed.


Is there something I need to do to get the second parport registered in the /dev directory so that the OS can see the second parallel port card? Or am I missing something obvious?
If you get the lp driver to connect to the port, then it will probably show up in /dev, but that is NOT what you want to do for LinuxCNC.  As long as the card actually responds to the address you think it is at, then the various RT and usermode drivers of LinuxCNC OUGHT to be able to command it.  If they can't, then there may be something wrong with the card.  Is ccf0 the only address that shows up for that card?

Jon
Jon,

Doesn't it still need a devlink in the /dev folder?  The device parport0 shows up there.  Neither one of the cards, either the old one or the new one, show up using ppdiag or ptest (the hal script for testing parallel ports).  Running ppdiag shows only one card, the one on the mobo.  It shows neither the old card or the new. Running ptest it fails when it tries to load a parport.1 read. According to lspci, I've got ccf0 and ccf8 to play with.  And yes, I know I don't want the regular lp driver to be used.

Thanks for helping out.

Mark

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to