- Posts: 4819
- Thank you received: 2177
New component for keyboards and panels.
- Aciera
- Offline
- Administrator
-
Less
More
3 years 2 months ago #278340
by Aciera
Replied by Aciera on topic New component for keyboards and panels.
Possible way to troubleshoot this is to comment out all the lines in hal that give you errors about non existing pins and then once you can get the config started check in halshow what the created pins are actually called. Sometimes copy pasting can give you wrong ascii characters for the hyphen/minus in the pin names so retyping manually may also help.The problem now is that I get the error "kb_3x4.row-00-out does not exist"
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 461
- Thank you received: 62
3 years 2 months ago #278408
by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
Fixed.
Since I was defining the use of the matrix_kb component with inputs and outputs, it was necessary to add the letter s to the keypad that is going to be generated in addition to the 7i73 keypad
loadrt matrix_kb config=4x8, 3x4s names=kb_7i73,kb_3x4.
The other error was because halui.mdi_command-00 was misspelled and should be halui.mdi-command-00
Since I was defining the use of the matrix_kb component with inputs and outputs, it was necessary to add the letter s to the keypad that is going to be generated in addition to the 7i73 keypad
loadrt matrix_kb config=4x8, 3x4s names=kb_7i73,kb_3x4.
The other error was because halui.mdi_command-00 was misspelled and should be halui.mdi-command-00
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 461
- Thank you received: 62
3 years 1 week ago #283729
by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
I have two keyboards working with the 7i73. One of 5x4 that I use to generate HAL pins, this works without problem, the other of 4x8 I am using to simulate keys with sendkey. This one also responds, but the problem is that it responds very slowly when you press a key or you have to do it several times until it responds. Also, most of the time it stays as if it were pressed and starts typing the same character and only stops when another key is pressed. What will be the problem?
[url][/url]
[url][/url]
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 461
- Thank you received: 62
3 years 3 days ago #284052
by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
andypugh please help.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
3 years 3 days ago #284061
by andypugh
Replied by andypugh on topic New component for keyboards and panels.
To be honest, I don't know what the problem is. It's a user-space HAL component and it sounds like it just isn't getting enough CPU time.
Are you running a base thread? How does the base thread execution time compare to the base thread period?
Are you running a base thread? How does the base thread execution time compare to the base thread period?
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 461
- Thank you received: 62
3 years 21 hours ago - 3 years 21 hours ago #284222
by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
Thank you for your response,
I'm running linuxcnc on a raspberry PI 4, with a 7i92 + 7i73.
but I really don't understand what you mean, could you explain?
I'm running linuxcnc on a raspberry PI 4, with a 7i92 + 7i73.
but I really don't understand what you mean, could you explain?
Last edit: 3 years 21 hours ago by COFHAL.
Please Log in or Create an account to join the conversation.
Time to create page: 1.065 seconds