- Posts: 33
- Thank you received: 0
Intel DG41MJ Not finding Parallel Port
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 to join the conversation.
Getting closer. LinuxCNC now runs, but still does not give the power clicker or able to run tests in stepconf.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
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.brosskgm wrote: 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 to join the conversation.
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.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
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 to join the conversation.
It doesn't give a choice for DMA or IRQ.
Please Log in to join the conversation.
Please Log in to join the conversation.
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 to join the conversation.
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 to join the conversation.
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 to join the conversation.
