New component for keyboards and panels.

More
3 years 2 months ago #278047 by SOLD
Replied by SOLD on topic New component for keyboards and panels.
in udev.conf must edit ?
Attachments:

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

More
3 years 2 months ago #278065 by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
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
3 years 2 months ago #278110 by SOLD
Replied by SOLD on topic New component for keyboards and panels.

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
3 years 2 months ago #278217 by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
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
3 years 2 months ago #278300 by COFHAL
Replied by COFHAL on topic New component for keyboards and panels.
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

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

More
3 years 2 months ago - 3 years 2 months ago #278326 by RotarySMP
Replied by RotarySMP on topic New component for keyboards and panels.
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: 3 years 2 months ago by RotarySMP.

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

Time to create page: 0.949 seconds
Powered by Kunena Forum