Intel DG41MJ Not finding Parallel Port
28 Sep 2018 23:44 #118161
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
Well, I did get a clean install. Now I'm getting an error I've never seen before.
I get the debug screen when I tru to run LinuxCNC
DEBUG FILE INFORMATION
insmod: error inserting '/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_parport.ko': -1 Resource temporarily unavailable
./3020T_CNC.hal:6: exit value: 1
./3020T_CNC.hal:6: insmod for hal_parport failed, returned -1
I'm looking through the forum to see if this is covered.
I get the debug screen when I tru to run LinuxCNC
DEBUG FILE INFORMATION
insmod: error inserting '/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_parport.ko': -1 Resource temporarily unavailable
./3020T_CNC.hal:6: exit value: 1
./3020T_CNC.hal:6: insmod for hal_parport failed, returned -1
I'm looking through the forum to see if this is covered.
Please Log in or Create an account to join the conversation.
28 Sep 2018 23:58 #118162
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
Clean install. Had a few startup errors running LinuxCNC.
Getting closer. LinuxCNC now runs, but still does not give the power clicker or able to run tests in stepconf.
Getting closer. LinuxCNC now runs, but still does not give the power clicker or able to run tests in stepconf.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18524
- Thank you received: 6191
29 Sep 2018 05:29 #118167
by tommylight
Replied by tommylight on topic Intel DG41MJ Not finding Parallel Port
As far as i remember, that happens when setting the wrong address and it will not work without rebooting the PC and fixing the address.Well, I did get a clean install. Now I'm getting an error I've never seen before.
I get the debug screen when I tru to run LinuxCNC
DEBUG FILE INFORMATION
insmod: error inserting '/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_parport.ko': -1 Resource temporarily unavailable
./3020T_CNC.hal:6: exit value: 1
./3020T_CNC.hal:6: insmod for hal_parport failed, returned -1
I'm looking through the forum to see if this is covered.
Please Log in or Create an account to join the conversation.
29 Sep 2018 11:10 - 29 Sep 2018 11:12 #118173
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
I did get past that. Getting closer.
LinuxCNC now runs, but still does not give the power clicker or able to run tests in stepconf.
I blacklisted lp
dmesg | grep par
[ 0.004048] AppArmor: AppArmor disabled by boot time parameter
[ 0.142956] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 10.231352] parport0: PC-style at 0x378, irq 0 [PCSPP,TRISTATE]
[ 10.231360] parport0: irq 0 in use, resorting to polled operation
[ 10.792084] ppdev: user-space parallel port driver
lpinfo -v
network http
network https
network ipp
network ipps
network socket
network lpd
network beh
network ipp14
network smb
direct hp
direct hpfax
cat /proc/ioports
0378-037a : parport0
CNC.hal
loadrt hal_parport cfg="0x0378 out"
setp parport.0.reset-time 3000
I tried both ways
loadrt hal_parport cfg="0x378 out"
I'm at a loss.
LinuxCNC now runs, but still does not give the power clicker or able to run tests in stepconf.
I blacklisted lp
dmesg | grep par
[ 0.004048] AppArmor: AppArmor disabled by boot time parameter
[ 0.142956] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 10.231352] parport0: PC-style at 0x378, irq 0 [PCSPP,TRISTATE]
[ 10.231360] parport0: irq 0 in use, resorting to polled operation
[ 10.792084] ppdev: user-space parallel port driver
lpinfo -v
network http
network https
network ipp
network ipps
network socket
network lpd
network beh
network ipp14
network smb
direct hp
direct hpfax
cat /proc/ioports
0378-037a : parport0
CNC.hal
loadrt hal_parport cfg="0x0378 out"
setp parport.0.reset-time 3000
I tried both ways
loadrt hal_parport cfg="0x378 out"
I'm at a loss.
Last edit: 29 Sep 2018 11:12 by brosskgm.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18524
- Thank you received: 6191
29 Sep 2018 13:46 #118176
by tommylight
Replied by tommylight on topic Intel DG41MJ Not finding Parallel Port
Does that mainboard have a BIOS at all ?
There must be settings for parallel port, you need to set it to EPP or ECP mode in bios, set it to use DMA and IRQ, otherwise it will not work.
You have it set as Tristate and not using IRQ ( IRQ 0 is reserved, can not be used by parallel port).
There must be settings for parallel port, you need to set it to EPP or ECP mode in bios, set it to use DMA and IRQ, otherwise it will not work.
You have it set as Tristate and not using IRQ ( IRQ 0 is reserved, can not be used by parallel port).
Please Log in or Create an account to join the conversation.
29 Sep 2018 13:56 #118177
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
I did mention I had it set for bi-directional. I reset it for EPP, It doesn't give the option for Tristate. Just asks enable or disable and mode EPP, ECP, or bi-directional is all it gives.
It doesn't give a choice for DMA or IRQ.
It doesn't give a choice for DMA or IRQ.
Please Log in or Create an account to join the conversation.
29 Sep 2018 14:27 #118178
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
I'm re-installing. I've made so many changes I now have two parports and even deleting all conf & modules entries they don't go away on reboot.
Please Log in or Create an account to join the conversation.
29 Sep 2018 17:39 #118182
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
After a full clean install before installing the RTAI kernel
cat /proc/ioports now shows two parports. Is the EPP setting causing this?
0378-037a : parport0
037b-037f : parport0
dmesg now shows the Tristate & EPP & IRQ 5 you talked about.
I'll now install the kernel and see if it keeps this all.
dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.081455] regulator-dummy: no parameters
[ 0.130617] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 2.132676] Asymmetric key parser 'x509' registered
[ 11.683793] parport_pc 00:03: reported by Plug and Play ACPI
[ 11.683819] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]
[ 11.780152] lp0: using parport0 (interrupt-driven).
[ 11.835940] ppdev: user-space parallel port driver
lpinfo -v
network http
network https
network ipp
network ipps
network beh
network ipp14
network socket
network lpd
direct parallel:/dev/lp0
direct hp
network smb
direct hpfax
cat /proc/ioports now shows two parports. Is the EPP setting causing this?
0378-037a : parport0
037b-037f : parport0
dmesg now shows the Tristate & EPP & IRQ 5 you talked about.
I'll now install the kernel and see if it keeps this all.
dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.081455] regulator-dummy: no parameters
[ 0.130617] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 2.132676] Asymmetric key parser 'x509' registered
[ 11.683793] parport_pc 00:03: reported by Plug and Play ACPI
[ 11.683819] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]
[ 11.780152] lp0: using parport0 (interrupt-driven).
[ 11.835940] ppdev: user-space parallel port driver
lpinfo -v
network http
network https
network ipp
network ipps
network beh
network ipp14
network socket
network lpd
direct parallel:/dev/lp0
direct hp
network smb
direct hpfax
Please Log in or Create an account to join the conversation.
29 Sep 2018 17:59 #118184
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
So far might be doing good. The only thing different from this install and the previous one is I didn't remove a lot of bloatware.
Now to install LinuxCNC and see what happens.
dmesg | grep par
[ 0.004049] AppArmor: AppArmor disabled by boot time parameter
[ 0.143128] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 9.220048] parport_pc 00:04: reported by Plug and Play ACPI
[ 9.220073] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]
[ 9.236261] ppdev: user-space parallel port driver
[ 9.316458] lp0: using parport0 (interrupt-driven).
Now to install LinuxCNC and see what happens.
dmesg | grep par
[ 0.004049] AppArmor: AppArmor disabled by boot time parameter
[ 0.143128] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 9.220048] parport_pc 00:04: reported by Plug and Play ACPI
[ 9.220073] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]
[ 9.236261] ppdev: user-space parallel port driver
[ 9.316458] lp0: using parport0 (interrupt-driven).
Please Log in or Create an account to join the conversation.
29 Sep 2018 18:36 #118185
by brosskgm
Replied by brosskgm on topic Intel DG41MJ Not finding Parallel Port
Still not getting the power clicker when I run the program, and did not work when trying to test during stepconf.
I think I need to give up on this. Nothing seems to be working at all.
The only other thing different is the Hard drive is a 1T. The old IDE drive in the older board is 80-gig.
I guess I could try a 160-gig drive. But don't really think that would be a problem.
I think I need to give up on this. Nothing seems to be working at all.
The only other thing different is the Hard drive is a 1T. The old IDE drive in the older board is 80-gig.
I guess I could try a 160-gig drive. But don't really think that would be a problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds