New component for keyboards and panels.

More
15 Aug 2023 02:57 #278022 by SOLD
Sorry, I mean install from USB images. LinuxCNC 2.8.4 released

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

More
15 Aug 2023 12:30 #278043 by SOLD
thank you for the advice I can now hit the response button.

but still like you said When turning off and on Access rights will not work.

Is there any way to call the 0660 permissions on startup?
Attachments:

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

More
15 Aug 2023 15:13 #278047 by SOLD
in udev.conf must edit ?
Attachments:

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

More
15 Aug 2023 18:28 #278065 by COFHAL
Yes, it is possible but I don't know what GUI you are using, could you send me a screenshot. Are you using Debian?

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

More
16 Aug 2023 03:00 #278110 by SOLD

Yes, it is possible but I don't know what GUI you are using, could you send me a screenshot. Are you using Debian?
 

yes i use debian with linuxcnc 2.8.4 gmoccapy gui.
Attachments:

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

More
17 Aug 2023 00:30 #278217 by COFHAL
I really don't know, I'm using this component with raspian and with root privileges, therefore when I change the permissions I was able to keep them, because I don't need a password to run sudo chmod 666 /dev/input. Today I tried to do it on a PC, but it always asks me for a password when executing the sudo command. I haven't found a way to run a script without being prompted for the password.

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

More
17 Aug 2023 20:50 #278300 by COFHAL
I have problems with the configuration of the component matrix_kb. I am going to use the Matrix_kb and SENDKEYS components simultaneously. For that, I configured the 7i73 for a 4x8 keypad with the SENDKEYS component, and for the Matrix_kb component I configured it 3x4, for this I used some of the 7i73's available outputs and inputs. The problem now is that I get the error "kb_3x4.row-00-out does not exist" ie. Another error that I get is net zero-x halui.mdi_command-00 not found despite being defined in the INI file. I attach my files. 

File Attachment:

File Name: custom_pos...8-17.hal
File Size:9 KB
 

File Attachment:

File Name: Torno_7i78...8-17.ini
File Size:7 KB
Attachments:

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

More
18 Aug 2023 06:45 - 18 Aug 2023 07:01 #278326 by RotarySMP
I checked the matrix keyboard I use on my Maho,

loadrt matrix_kb config=5x5s names=maho_panel
addf maho_panel               servo-thread
# Multiplex interface with the user control panel buttons
#Invert inputs
setp maho_panel.negative-logic 0
#scan out0
net maho_panel.row_00_sig-out maho_panel.row-00-out => hm2_5i25.0.7i77.0.0.output-01   
net maho_panel.row_01_sig-out maho_panel.row-01-out => hm2_5i25.0.7i77.0.0.output-02
net maho_panel.row_02_sig-out maho_panel.row-02-out => hm2_5i25.0.7i77.0.0.output-03
net maho_panel.row_03_sig-out maho_panel.row-03-out => hm2_5i25.0.7i77.0.0.output-04
net maho_panel.row_04_sig-out maho_panel.row-04-out => hm2_5i25.0.7i77.0.0.output-05
#scan in
net maho_panel.col_00_sig-in  maho_panel.col-00-in  <= hm2_5i25.0.7i77.0.0.input-05
net maho_panel.col_01_sig-in  maho_panel.col-01-in  <= hm2_5i25.0.7i77.0.0.input-06
net maho_panel.col_02_sig-in  maho_panel.col-02-in  <= hm2_5i25.0.7i77.0.0.input-07
net maho_panel.col_03_sig-in  maho_panel.col-03-in  <= hm2_5i25.0.7i77.0.0.input-08
net maho_panel.col_04_sig-in  maho_panel.col-04-in  <= hm2_5i25.0.7i77.0.0.input-09I

Compared to your HAL the only think I see is that your "zero-x" is written "cero-x".
Last edit: 18 Aug 2023 07:01 by RotarySMP.

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

More
18 Aug 2023 09:56 #278340 by Aciera

The problem now is that I get the error "kb_3x4.row-00-out does not exist"

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.

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

More
18 Aug 2023 18:18 #278408 by COFHAL
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

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

Time to create page: 0.145 seconds
Powered by Kunena Forum