MATRIX_KB in 2.8.0

More
6 years 2 months ago #177756 by PCW
Replied by PCW on topic MATRIX_KB in 2.8.0
Very odd
Can you do a little experiment?

leave the matrix_kb keycode pin unconnected until linuxcnc starts
and then enter the net command by hand, to see if the same issue
that is, comment out the connection in your hal file

#net keypad hm2_7i76e.0.7i73.0.2.keycode => matrix_kb.0.keycode

and then connect by hand when linuxcnc is running

halcmd net keypad hm2_7i76e.0.7i73.0.2.keycode => matrix_kb.0.keycode

(trying to see if there is an initial keycode problem of some kind)

Please Log in to join the conversation.

More
6 years 2 months ago #177759 by Daniel_D_Punkt
Replied by Daniel_D_Punkt on topic MATRIX_KB in 2.8.0
Ok, I did that:

when net keypad was unconnected it stated in the correct state (all keys inactive). Then I connected it via halcmd and it was inactive and worked as it should.

I moved the line
Code:
net keypad hm2_7i76e.0.7i73.0.2.keycode => matrix_kb.0.keycode
to the postgui.hal. Now it is working. :)

But i think this is a quick and dirty work around and the bug is still not found.

Please Log in to join the conversation.

More
6 years 2 months ago #177761 by PCW
Replied by PCW on topic MATRIX_KB in 2.8.0
Does the problem happen with P1 unconnected?

Please Log in to join the conversation.

More
6 years 2 months ago #177763 by Daniel_D_Punkt
Replied by Daniel_D_Punkt on topic MATRIX_KB in 2.8.0
Same when P1 is unconnected.

Please Log in to join the conversation.

More
6 years 2 months ago #177766 by PCW
Replied by PCW on topic MATRIX_KB in 2.8.0
So its still not clear what is different between our setups. I guess It could be a faulty
7I73 but its still a pretty strange fault.

It does seem the the matrix_kb component should have a reset pin
to mask any startup transitions and restore operations if there has been an I/O fault

Please Log in to join the conversation.

More
6 years 2 months ago #177769 by Daniel_D_Punkt
Replied by Daniel_D_Punkt on topic MATRIX_KB in 2.8.0
A reset pin would be good.

I do not think it is a faulty 7i73.

I think there is a bug in my hal. It works when I connect matrix_kb in the postgui.hal and works with 2.7.14.

Thanks for helping me find the work around.

Please Log in to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum