- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- [SOLVED] I would need a hint to solve a parallel port issue
×
Forum Header
[SOLVED] I would need a hint to solve a parallel port issue
08 Jul 2017 19:06 - 09 Jul 2017 01:28 #95512
by Escain
Hello
Given that this is my first post: Hello, my name is Adrian, from Switzerland. Since about 1 year, I am getting slowly into CNC metal milling as a hobby. I recently got one of those 3020 1.5Kw Chinese routers, so here I am, trying to make it to work. Happy to meet you all!
Up to now, I manage successfully to:
To test the Parallel card, I did a simple software which send some signals through the parallel port, running it as root it works perfectly, while with normal user it does not. (Note, I used a oscilloscope/logic-analyzer to check the port output)
When I run LinuxCNC stepconf software (normal user) it does not seem to send any signal through the port, and obviously, I cannot test the different axis of the machine.
I tried to run stepconf with root privileges, but it does not like it!!! It shows many line of errors and no user interface appear.
So here I am, trying to get some hints, because I guess most of you already went through that long ago.
I do appreciate your time in reading and maybe answering this question, thanks in advance to all of you.
Adrian M.
Given that this is my first post: Hello, my name is Adrian, from Switzerland. Since about 1 year, I am getting slowly into CNC metal milling as a hobby. I recently got one of those 3020 1.5Kw Chinese routers, so here I am, trying to make it to work. Happy to meet you all!
Up to now, I manage successfully to:
- Install on my Debian jessie the real-time kernel
- Install LinuxCNC
- Install a parallel port PCI card
To test the Parallel card, I did a simple software which send some signals through the parallel port, running it as root it works perfectly, while with normal user it does not. (Note, I used a oscilloscope/logic-analyzer to check the port output)
When I run LinuxCNC stepconf software (normal user) it does not seem to send any signal through the port, and obviously, I cannot test the different axis of the machine.
I tried to run stepconf with root privileges, but it does not like it!!! It shows many line of errors and no user interface appear.
So here I am, trying to get some hints, because I guess most of you already went through that long ago.
- Do I need to push into running LinuxCNC under root privileges? or try to get the parallel port working for plain user?
- Any hint, reference page or guide of how to do that?
I do appreciate your time in reading and maybe answering this question, thanks in advance to all of you.
Adrian M.
Last edit: 09 Jul 2017 01:28 by Escain.
Please Log in or Create an account to join the conversation.
08 Jul 2017 20:21 #95514
by rodw
Replied by rodw on topic I would need a hint to solve a parallel port issue
I have not been using a parallel port but it look to me like it will be a permissions issue. Try googling "linux parport permissions". I think the solution is to add your default user to the lp group. I think the syntax isso try
sudo adduser user group
sudo adduser user-name lp
The following user(s) said Thank You: Escain
Please Log in or Create an account to join the conversation.
08 Jul 2017 22:04 #95517
by grump
Replied by grump on topic I would need a hint to solve a parallel port issue
If you had the same issues as I did, you may need to add sudo first.
addusur yourname sudo
For the other issue it sounds like your parport is not configured.
I have a guide for the 3020 here www.palleteer.uk/projects/cnc-setup
Hope it helps
addusur yourname sudo
For the other issue it sounds like your parport is not configured.
I have a guide for the 3020 here www.palleteer.uk/projects/cnc-setup
Hope it helps
The following user(s) said Thank You: Escain
Please Log in or Create an account to join the conversation.
08 Jul 2017 23:57 #95523
by Escain
Replied by Escain on topic I would need a hint to solve a parallel port issue
That is fantastic!! A full day trying it and you guys just provided the solution.
That solved the issue with the parallel port.
That guide helps me a lot, I have the CNC working a mostly configured (still tuning limits and microstepping).
sudo adduser user-name lp
That solved the issue with the parallel port.
I have a guide for the 3020 here
That guide helps me a lot, I have the CNC working a mostly configured (still tuning limits and microstepping).
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- [SOLVED] I would need a hint to solve a parallel port issue
Time to create page: 0.087 seconds