Forum Header

Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)

More
7 years 7 months ago #128979 by NullStudent
Hello Seniors,
I am new to the scene of Linuxcnc, I'm having issue with the parport base address is 0 where launching my config produces an error but now it freezes (trying 0x378 freezes my virtual box), the output pinout is Xylotex. The rest of the setup is default excluding the table for x, y where it is from -12 to 12. The max velocity is 10in/s. is there a default address I'm suppose to be using or am I doing something wrong?

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

More
7 years 7 months ago #129058 by pl7i92
virtualö BOX is no Realtime
USE a Realtime Kernal
YOU can RUN Your Mashine on the DVD

for parport adress use
dmesg | grep parpo*
[ 9.087803] parport_pc 00:01: reported by Plug and Play ACPI
[ 9.087875] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 9.188196] lp0: using parport0 (interrupt-driven).
The following user(s) said Thank You: NullStudent

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

More
7 years 7 months ago #129068 by Todd Zuercher
It will not work in Virtualbox.
You can run simulations in Virtualbox, but controlling real hardware is not possible.
It is locking up because Virtualbox can't access the non existent address 0x378.

Run the Linuxcnc on bare hardware and it will work.

0x378 is the normal default address for a PC's built in parallel port. If your PC has a built in port that is probably the right address. If you are using an add in PCI or PCIe parallel port card, then the address will be something different that you will need to look up.
The following user(s) said Thank You: NullStudent

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

More
7 years 7 months ago #129074 by NullStudent
The thing is that I only want to run the simulations, but keeping the parport at 0 doesn't run the my-mill app or setting the parport freezes my virtual box.

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

More
7 years 7 months ago #129075 by Todd Zuercher
Actually come to think of it, on my installation of Virutalbox (v5.2.12) running in Windows7 does not freeze when starting a "real" parallel port config in Linuxcnc (v2.7). It does set alarms saying that ports can't be found, but the Axis window opens. After that you can't do much because the non existent machine can't be taken out of e-stop or homed but... Not sure why your system might be freezing.

Can you open and run simulation configs in Virtualbox?
The following user(s) said Thank You: NullStudent

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

More
7 years 7 months ago #129090 by NullStudent
I can run the default configs when opening up linuxcnc, but when using the step-config thats when I have an issue and problems.

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

Time to create page: 0.101 seconds
Powered by Kunena Forum