cmorley wrote: I was thinking about how to add your process into the docs for the next guy..
Good job!
Thank you, expect more lame questions as I'm building my first CNC (Plasma cutter)
My suggestion for future installations would be (correct my phrases as I'm not a Linux guy and English is not my native language):
1. First, run "lspci -v" to check if the device providing additional ports is detected
2. If detect note it's address and IRQ
3. Next, run "sudo dmesg | grep par" - that will give you the list of lp0 (or lpX) ports that are already "mapped"
4. Note port address and IRQ of existing ports
5. Edit or create /etc/modprobe.d/alsa-base.conf and add lines as per my config, where "(...)io="<LPT1 address>,<LPT2 address>" irq="<LPT1 IRQ>,<LPT2 IRQ>,auto"
where <LPT1 address> is the address of lp0 listed on "dmesg | grep par"
where <LPT1 IRQ> is the IRQ of lp0 listed on "dmesg | grep par"
where <LPT2 address> is the SECOND address of PCI card listed on "lspci -v"
where <LPT2 IRQ> is the IRQ of "lspci -v"
I hope it will help others in the future. If you need any help then send me PM.
You can also add the test program I've modified ptest.hal and ptest.xml - published here:
LINK