- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
×
Forum Header
Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
19 Mar 2019 16:18 #128979
by NullStudent
Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc) was created 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?
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.
20 Mar 2019 13:33 #129058
by pl7i92
Replied by pl7i92 on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
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).
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.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
20 Mar 2019 14:10 #129068
by Todd Zuercher
Replied by Todd Zuercher on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
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.
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.
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
20 Mar 2019 15:15 #129074
by NullStudent
Replied by NullStudent on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
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.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
20 Mar 2019 15:31 #129075
by Todd Zuercher
Replied by Todd Zuercher on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
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?
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.
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
20 Mar 2019 18:35 #129090
by NullStudent
Replied by NullStudent on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
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.
20 Mar 2019 19:09 #129093
by Grotius
Replied by Grotius on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
@Michael Chan,
If you want only to run simulation's you don't need a parport config at all.
You actually need a simulation configuration to test your machine output.
The axis config's has a simulation version (standard). This ini and hal config's can be used and can modified all over the linux sources.
It works with Gscreen, Gmocappy, etc. It even works with Ethercat (the fastest protocol). Because linuxcnc is written to be compatible.
Are you running a virtual box in windows? So yes, why?
If you want only to run simulation's you don't need a parport config at all.
You actually need a simulation configuration to test your machine output.
The axis config's has a simulation version (standard). This ini and hal config's can be used and can modified all over the linux sources.
It works with Gscreen, Gmocappy, etc. It even works with Ethercat (the fastest protocol). Because linuxcnc is written to be compatible.
Are you running a virtual box in windows? So yes, why?
The following user(s) said Thank You: NullStudent
Please Log in or Create an account to join the conversation.
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
20 Mar 2019 19:16 - 20 Mar 2019 19:17 #129096
by NullStudent
Replied by NullStudent on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
tbh, I'm just rather not deal with linux on my laptop, but should probably get in on my laptop, if this is the case. As for why, well I was planning on just messing around with the simulations, but wanted to try other things out. Then this happen, so my bad. also Oof.
Last edit: 20 Mar 2019 19:17 by NullStudent.
Please Log in or Create an account to join the conversation.
20 Mar 2019 19:28 - 20 Mar 2019 19:32 #129098
by Grotius
Replied by Grotius on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
In window's you can do certain things, but not very much things, like command line command's like sudo.
Sudo mean's power. If you type : ping forum.linuxcnc.org
you get :
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 99.633/99.945/100.309/0.244 ms
If you type sudo before, you are in the endless loop.
So keep in mind. Once you start with linux, you will stay there if you are curious about linux.
Within 10 year's window's will not be used anymore. Who has a nokia phone today? Nokia and window's lost the battle.
Sudo mean's power. If you type : ping forum.linuxcnc.org
you get :
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 99.633/99.945/100.309/0.244 ms
If you type sudo before, you are in the endless loop.
So keep in mind. Once you start with linux, you will stay there if you are curious about linux.
Within 10 year's window's will not be used anymore. Who has a nokia phone today? Nokia and window's lost the battle.
Last edit: 20 Mar 2019 19:32 by Grotius.
The following user(s) said Thank You: NullStudent
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
20 Mar 2019 19:35 #129099
by Todd Zuercher
Replied by Todd Zuercher on topic Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
Stepconfig can create simulation configs as well. (on the first Stepconf window there is a check box for create simulation.)
The following user(s) said Thank You: NullStudent
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Parport Base Address and Launch my mill app (using Virtual Box, no mill, etc)
Time to create page: 0.096 seconds