PCIe Parallel cards - what chipset?

More
29 Apr 2018 20:20 #109822 by InMyDarkestHour
Ok
Taken from:
www.vdwalle.com/Norte/Second%20Parport.htm

download this script, rename it to ppdiag.sh and run it as: sh ppdiag.sh
www.vdwalle.com/Norte/ppdiag.txt

And lets see what output we have.

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

More
29 Apr 2018 20:27 #109823 by cupakm
S01: parport built as module
 
S02: parport0:
S02:	modes:PCSPP,TRISTATE,EPP
S02:	ADDR :0xE010
S02:	IRQ  :27
S02:	DMA  :no DMA used
 
grep: /etc/modules.conf: No such file or directory
S03: no parport parameters
 
S10: ppdev built as module
 
S12: /dev/parport0 exists ...
S12: /dev/parport0 is readable ...
S12: /dev/parport0 is writable ...
S12: do you want to allow any user to access ppdev ? (yes/no)
yes
S12: mode changed ...
 
successfull end ....

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

More
29 Apr 2018 20:56 #109831 by tommylight
Sorry for the late reply.
You can skip everything and just make a new config with stepconf wizard and enter the 0xe000 address instead of 0x387 and test it, if it does not work restart the computer and change that address to 0xe010.
One of them must work.
You can also start linuxcnc directly from the menu and pick the parallel port test config there, edit the hal file replacing the 0x387 or 0x287 with 0xe010 or 0xe000.

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

More
27 Jun 2019 19:14 #138018 by Bari
The kernel has been updated to support this chip and board configuration: This driver was added to the kernel for Dev. ID 3050, Date: Sat, 26 May 2018, Kernel 4.14 git.kernel.org/pub/scm/linux/kernel/git/...788f7d57b3b8d1a030ab

Debian also back ported this to earlier kernels since it is working with Kernel 4.9

www.ebay.com/itm/NEW-DB25-25-pin-LPT-Por...Adapter/272174222785 $9.29 shipped, confirmed working with LCNC on newer kernels June 27, 2019

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

More
28 Jun 2019 01:29 #138074 by jmelson

The kernel has been updated to support this chip and board configuration:

But, LinuxCNC does not use the kernel driver for real time control through the parallel ports. So, as long as the board follows the generic parport register layout, it will work with the various LinuxCNC internal drivers that use the parallel port.

Jon

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

More
28 Jun 2019 18:04 #138131 by pl7i92
all modern pci and pcie are now working as the drivers are standards since 2015

so insert a modern 2port pci card to the pc

Start it up (( most people are entering bios and safe the config no entrys needed))

then as OS si running enter
dmesg | grep parpo*
in a terminal
and write down your adresses 0x2022 or simular
parport 0 is the oncard paroprtt 1 is the extra cable port

goto your mashine file folder and open the HAL file named as your mashine
look at
loadrt hal_parport cfg="0x378 out" -> change to 0x2022 or what you reed in terminal
setp parport.0.reset-time 6000

safe and restart linuxcnc

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

More
01 Jul 2019 12:09 #138295 by andypugh

The kernel has been updated to support this chip and board configuration:

But, LinuxCNC does not use the kernel driver for real time control through the parallel ports. So, as long as the board follows the generic parport register layout, it will work with the various LinuxCNC internal drivers that use the parallel port.


These devices don't behave as a parallel port without the driver loaded, though, if they are the ones I think they are.
They basically have an uncommitted IO chip that becomes a serial port, parallel port (and maybe other things) depending on the firmware that is loaded at startup.

I guess there is intriguing possibility of building a specific, custom CNC firmware for them.

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

More
01 Jul 2019 12:30 #138297 by Bari
Here's the drama behind these cards:
wiki.linuxcnc.org/cgi-bin/wiki.pl?WCH

They would not show up in "dmesg | grep parpo" since the kernel would not recognize them until they were added to the kernel driver.

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

More
01 Jul 2019 12:39 #138298 by Bari
No firmware required. Use a newer rt kernel, software step away.

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

Moderators: PCWjmelson
Time to create page: 0.215 seconds
Powered by Kunena Forum