Power On in axis freezes mouse and keboard.
- howser
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
06 Mar 2019 04:44 #127859
by howser
Power On in axis freezes mouse and keboard. was created by howser
This is a mazak m4 lathe with Ubunti 10.04 emc2 2.50.
This setup been running for about 8 years with the occasional mechanical wear issues.
A previous fellow employee refurbished this machine with linux as the controller.
All was good bar a month ago i replaced the motherboard battery as was loosing bios startup settings.
two settings in the bios where changed so no starting issues.
All starts fine and mouse and keyboard work well before turning on the cnc gear.
But lately the mouse and keyboard (usb) will freeze when clicking on the axis power icon.
i replaced the remote usb hub and its power supply and different mouse and keyboards no difference.
A mouse and keyboard directly into the computer at the rear of the lathe works sometimes but jittery and
sometimes the usb still locks up. Also once axis has started, and the mouse and keyboard are frozen, moving the machine by the jog joystick all the graphic on screen are working normal.
Running a cnc file there is no fault with machine or display. Only mouse and keyboard either frozen or very jittery.
oi are mesa cards via pp and serial for speed control.
Any pointers appreciated.. Doug
This setup been running for about 8 years with the occasional mechanical wear issues.
A previous fellow employee refurbished this machine with linux as the controller.
All was good bar a month ago i replaced the motherboard battery as was loosing bios startup settings.
two settings in the bios where changed so no starting issues.
All starts fine and mouse and keyboard work well before turning on the cnc gear.
But lately the mouse and keyboard (usb) will freeze when clicking on the axis power icon.
i replaced the remote usb hub and its power supply and different mouse and keyboards no difference.
A mouse and keyboard directly into the computer at the rear of the lathe works sometimes but jittery and
sometimes the usb still locks up. Also once axis has started, and the mouse and keyboard are frozen, moving the machine by the jog joystick all the graphic on screen are working normal.
Running a cnc file there is no fault with machine or display. Only mouse and keyboard either frozen or very jittery.
oi are mesa cards via pp and serial for speed control.
Any pointers appreciated.. Doug
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23315
- Thank you received: 4945
06 Mar 2019 15:18 #127892
by andypugh
Replied by andypugh on topic Power On in axis freezes mouse and keboard.
This all points to everything being OK in the realtime layers (motion, jogging through HAL) but with somethign being wrong in the userspace area.
First thing I would check is available disk space. Linux gets very odd when the disk is full.
Then see if some mysterious (and potentially evil) process is hogging the CPU.
Also have a look at the realtime thread times. Are those mysteriously long and eating all available CPU?
First thing I would check is available disk space. Linux gets very odd when the disk is full.
Then see if some mysterious (and potentially evil) process is hogging the CPU.
Also have a look at the realtime thread times. Are those mysteriously long and eating all available CPU?
The following user(s) said Thank You: howser
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18531
- Thank you received: 5079
06 Mar 2019 16:12 - 06 Mar 2019 16:12 #127899
by PCW
Replied by PCW on topic Power On in axis freezes mouse and keboard.
Another possibility suggested by the loss of USB connection when machine-on is activated is an electrical noise issue. You could check this by disabling all axis and spindle motor drives to see if the keyboard/mouse problem remains.
If its not electrical noise it may be something using most of your CPU time as Andy suggests.
You can test this by running LinuxCNC and then running "top" in a terminal window.
If its not electrical noise it may be something using most of your CPU time as Andy suggests.
You can test this by running LinuxCNC and then running "top" in a terminal window.
Last edit: 06 Mar 2019 16:12 by PCW.
The following user(s) said Thank You: howser
Please Log in or Create an account to join the conversation.
- howser
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
06 Mar 2019 21:59 #127913
by howser
Replied by howser on topic Power On in axis freezes mouse and keboard.
Thank you both for your replies.
I was thing noise from one of the io's or maybe cpu hogging.
I will be at this machine today and will update of any findings.
ps tried a wireless setup and can sometimes start the cnc side but still
have very jittery mouse/keyboard but when jogging thru the mesa cards all
jogs are true and screen display are good.
Doug
I was thing noise from one of the io's or maybe cpu hogging.
I will be at this machine today and will update of any findings.
ps tried a wireless setup and can sometimes start the cnc side but still
have very jittery mouse/keyboard but when jogging thru the mesa cards all
jogs are true and screen display are good.
Doug
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
07 Mar 2019 02:33 #127938
by jmelson
Replied by jmelson on topic Power On in axis freezes mouse and keboard.
The jittery screen display but responsive jogging sounds to me like the real time thread is using up 95% of the CPU, not leaving enough for the non-realtime parts like the GUI.
It is possible some unintended program is gobbling up all the remaining CPU time, too.
Jon
It is possible some unintended program is gobbling up all the remaining CPU time, too.
Jon
Please Log in or Create an account to join the conversation.
- bevins
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1943
- Thank you received: 336
07 Mar 2019 13:58 #127976
by bevins
Replied by bevins on topic Power On in axis freezes mouse and keboard.
I just had an issue with usb lately. I thought it was the power supply. It would freeze the screen but would continue to finish the file being cut.
I tried everything. I changed the computer for a dell I3 slapped in the hard drive from the old machine and everything worked fine. I still do not know what the problem is. But a new PC fixed it.
I tried everything. I changed the computer for a dell I3 slapped in the hard drive from the old machine and everything worked fine. I still do not know what the problem is. But a new PC fixed it.
Please Log in or Create an account to join the conversation.
- pl7i92
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 357
08 Mar 2019 11:22 #128073
by pl7i92
Replied by pl7i92 on topic Power On in axis freezes mouse and keboard.
i got this on a Plasma and i added a PS/2 to usb adapter and all is gone well
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
-
Less
More
- Posts: 622
- Thank you received: 75
08 Mar 2019 15:34 #128084
by OT-CNC
Replied by OT-CNC on topic Power On in axis freezes mouse and keboard.
Subscribed. I have / had this issue on one of my machines on rare occasion. It's just the USB keyboard shutting off after linuxcnc loads and the mouse stays on. I forget if plugging the keyboard back in brings it back to life. I'll have to pay attention to it next time it happens. This is on an old dell. Restart works and it does not repeat during machine run time.
Please Log in or Create an account to join the conversation.
- dberndt
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 1
21 Mar 2019 15:41 #129190
by dberndt
Replied by dberndt on topic Power On in axis freezes mouse and keboard.
Did this get resolved? I had a similar issue it was noise from a solenoid closing without a flyback diode. I found tracking the usb status with a command like: udevadm monitor --udev, I think was useful. I could actually see my usb microcontroller disconnect from the usb chain entirely and then reconnecting.
So in short, if you suspect usb issues combined with RF issues, you might be right, consider monitoring the usb services with udev or similar.
So in short, if you suspect usb issues combined with RF issues, you might be right, consider monitoring the usb services with udev or similar.
Please Log in or Create an account to join the conversation.
- howser
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
19 Aug 2020 02:31 #178668
by howser
Replied by howser on topic Power On in axis freezes mouse and keboard.
Sorry for super late reply but life got in the way.
It turned out that the problem was noise between the Boldar drive and the encoder.
We do not have another drive unit the same to test by replacement. The motor with encoder we don't have another to change.
The motor with encoder was replaced 10 months before this started.
Changed motherboard hoping pci bus problems as effecting usb mouse and graphics.
Turned out by rerouting the display cable away from the drive cabling stopped all problems.
So now the vesa and the usb extension cables are routed and all is well and stable.
I still have the issue of the generated noise which i will dig into when i can get to my cro's and sig generators.
Thanks to all advice
It turned out that the problem was noise between the Boldar drive and the encoder.
We do not have another drive unit the same to test by replacement. The motor with encoder we don't have another to change.
The motor with encoder was replaced 10 months before this started.
Changed motherboard hoping pci bus problems as effecting usb mouse and graphics.
Turned out by rerouting the display cable away from the drive cabling stopped all problems.
So now the vesa and the usb extension cables are routed and all is well and stable.
I still have the issue of the generated noise which i will dig into when i can get to my cro's and sig generators.
Thanks to all advice
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.143 seconds