New component for keyboards and panels.

More
16 May 2024 11:00 #300722 by Aciera
Just a shot in the dark, have you tried the suggested
$ chmod 666 /dev/uinput
The following user(s) said Thank You: abdulasis12

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

More
16 May 2024 11:29 #300726 by tommylight
Should be
sudo chmod 666 /dev/uinput
The following user(s) said Thank You: abdulasis12

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

More
16 May 2024 11:50 #300730 by abdulasis12
Hi
Thank you for fast respond ! , MR.Aciera and MR.tommylight
 sudo chmod 666 /dev/uinput   
WORK !!
Now ls -l /dev/uinput    result   chang to  :  crw-crw-crw

Then I try reboot my PC
after reboot open terminal and recheck 

ls -l /dev/uinput
but it's will change back to  crw


I must type again : sudo chmod 666 /dev/uinput 
Then I try  open linux from terminal   and try keycode  2 button  it's Awsome  I can "G" and "1" in MDI

At last .......
How to remember  after reboot permission onfile uinput ?

 
Attachments:

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

More
16 May 2024 11:58 #300732 by tommylight
Well, that might be since the uinput is accessed during boot time, so something must be changing the permissions.
You can make a shortcut to start LinuxCNC and set permissions before running it as a bash script, butnit would still require entering the sudo password.

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

More
16 May 2024 13:57 #300744 by Aciera
Isn't there a section in the document you posted a screenshot of that explains how to modify the .rules file so the permission is permanently set?

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

More
16 May 2024 14:18 #300749 by Aciera
I really have no experience writing udev rules but I wonder if 'MODE:="0666"' is correct. Looking at this:
www.reactivated.net/writing_udev_rules.html

I only see (note the missing colon)
MODE="0666"

Might be worth a try.
And also you may want to check if that rules file is actually created with the correct content.

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

More
16 May 2024 15:10 #300757 by COFHAL
Try sudo chmod 777 /dev/uinput

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

More
16 May 2024 16:32 #300763 by MarkoPolo
The /dev directory is created dynamically at system startup, so nothing can be permanently written there.

You can create a file, e.g. uinput  in the /etc/cron.d/ directory, with the following content: @reboot root chmod 666 /dev/uinput
(remember to put enter at the end of the line)

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

More
17 May 2024 00:56 #300791 by COFHAL
What does it mean: put enter at the end of the line)?

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

More
17 May 2024 02:29 #300793 by tommylight
Most probably "press enter at the end of the line".
Translation mishap, maybe.

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

Time to create page: 0.120 seconds
Powered by Kunena Forum