MATRIX_KB in 2.8.0

More
6 years 2 months ago #177750 by PCW
Replied by PCW on topic MATRIX_KB in 2.8.0
Do you have the matrix_kb addf between read and write?

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

More
6 years 2 months ago - 6 years 2 months ago #177751 by Daniel_D_Punkt
Replied by Daniel_D_Punkt on topic MATRIX_KB in 2.8.0
Jep, rearranged the HAL a little bit for better readability .
Last edit: 6 years 2 months ago by Daniel_D_Punkt.

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

More
6 years 2 months ago #177752 by PCW
Replied by PCW on topic MATRIX_KB in 2.8.0
Hmm I just tried 2.8 and don't see a problem either
Do all the keys work?
(4x8 mode scanner columns are P1 pins 7,8,9,10)

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

More
6 years 2 months ago #177755 by Daniel_D_Punkt
Replied by Daniel_D_Punkt on topic MATRIX_KB in 2.8.0
Yes, all keys are wirking fine. Key r1c1 works too, but it starts in pressed state.
If I use 2.7.14 key r1c1 starts in inactive state like all the others do. Because of that i thought it is an issue in 2.8.

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

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)
The following user(s) said Thank You: Daniel_D_Punkt

Please Log in or Create an account 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 or Create an account to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum