PCI-E parallel port

More
11 Jan 2017 01:21 #85599 by alcam
PCI-E parallel port was created by alcam
I have a PCI-e parallel port card.

"loadrt probe_parport" fails (see attached log).

Is this a known issue?

sudo lspci -v snippet"

02:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at e010
I/O ports at e000
Memory at f7e01000 (32-bit, non-prefetchable) [size=4K]
Memory at f7e00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting
Attachments:

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

More
11 Jan 2017 22:24 #85628 by andypugh
Replied by andypugh on topic PCI-E parallel port
probe_parport is no longer used with LinuxCNC.

linuxcnc.org/docs/html/getting-started/u....html#_parallel_port

Which version of LinuxCNC are you using?

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

More
11 Jan 2017 23:20 - 11 Jan 2017 23:22 #85635 by alcam
Replied by alcam on topic PCI-E parallel port
Version is 2.7.8 (dedicated Debian-based installation).
I figured out I could skip the modprobe line, and now I'm trying to figure out how to specify the right ports.
In the docs, after listing PCI card's ports, the author uses 0x378 (which was not listed) as output, and two of the card's port as inputs. My card lists 0xe000 and 0xe010.
Using "0x378 out 0xe000" config I managed to get hardware EStop button mapping right (port 1, pin 15), but I cannot get port 0 (the controls) right. As soon as I start LinuxCNC, spindle starts (it's documented as [edit: inverted] pin 1 of port 0), and no commands seem to take any effect.
Any help would be, ghm, helpful. Thanks!
Last edit: 11 Jan 2017 23:22 by alcam.

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

More
12 Jan 2017 00:25 #85639 by alcam
Replied by alcam on topic PCI-E parallel port
"0xe000 out" worked in the end; not sure what I did wrong before, probably was not doing a clean experiment.
The stepconf wizard did the rest.
Thanks!

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

Time to create page: 0.083 seconds
Powered by Kunena Forum