Joypad problem

More
26 Aug 2014 16:10 #50299 by abfa9358
Joypad problem was created by abfa9358
Hi,
My CNC machine has been working well for last few years now - many thanks to all the linuxcnc developers!
I do have an intermittent problem with the joypad, sometimes after axis has started if I press an axis enable key the axis starts moving without a velocity command. It is as if the deadband on the axis has shifted or is not enabled.

Rebooting / plug unplugging the joypad normally fixes it, however it is annoying and I'm not sure how to debug what is going on.

Any help will be appreciated.

Here's my conversion
www.cnczone.com/forums/benchtop-machines...-cnc-conversion.html
Andy

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

More
26 Aug 2014 17:27 #50302 by Rick G
Replied by Rick G on topic Joypad problem
Not much information in your post to go on, but you might want to look here...
www.linuxcnc.org/index.php/german/forum/...g-at-random?start=10

Rick G

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

More
27 Aug 2014 01:44 #50330 by abfa9358
Replied by abfa9358 on topic Joypad problem
Hmmm thanks this sounds very similar. I shall try and monitor as shown.
Thanks.
Regards
Andy

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

More
14 Mar 2015 23:13 #56814 by abfa9358
Replied by abfa9358 on topic Joypad problem
So after a long gap the problem is back, this is what I see in the shell window. Linuxcnc runs ok for a while then the error appears and the joypad doesn't work anymore.

abfa9358@CNCPC:~$ linuxcnc
LINUXCNC - 2.6.7
Machine configuration directory is '/home/abfa9358/linuxcnc/configs/hm2-stepper'
Machine configuration file is 'BF30_7i43_big_V3.ini'
Starting LinuxCNC...

machine works ok for a bit then .......


Traceback (most recent call last):
File "/usr/bin/hal_input", line 210, in <module>
for i in d: i.update()
File "/usr/bin/hal_input", line 131, in update
ev = self.device.read_event()
File "/usr/lib/pymodules/python2.6/linux_event.py", line 866, in read_event
e = Event.read(self.f)
File "/usr/lib/pymodules/python2.6/linux_event.py", line 123, in read
buf = os.read(f, cls.size)
OSError: [Errno 19] No such device

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

Time to create page: 0.080 seconds
Powered by Kunena Forum