LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-24-2013, 06:07 PM   #1
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Rep: Reputation: 37
/dev/input/event* --permission denied


Hey so I'm trying to use my PS DS3 gamepad with the mednafen emulator, and it's trying to access the event files in /dev/input with permission denied. Would it be safe to do something like chmod 777 /dev/input/event*?
 
Old 12-24-2013, 07:18 PM   #2
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 43
Quote:
Would it be safe to do something like chmod 777 /dev/input/event*?
I don't know does it is safe or not, but all the contents of /dev is managed by udev and for this reason this content can be dynamically changed. But the X server can have access to /dev/events/* when he is launched by a regular user, but this user should be a member of, for example, a video group, this does allow to use for this user a video acceleration. I think you need to make the your regular user the member of several additional groups like plugdev and video. Which groups the your user is a member currently?
Also, if it's may be need, you may redefine the udev's behavior by editing a your udev rules, but it may be hard.
 
Old 12-24-2013, 10:29 PM   #3
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Original Poster
Rep: Reputation: 37
I am part of video and plugdev groups, that's not the issue...
 
Old 12-26-2013, 05:16 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Code:
ls -la /dev/input/

crw-r-----  1 root root 13, 64 dic 26 10:19 event0
crw-r-----  1 root root 13, 65 dic 26 10:19 event1
crw-r-----  1 root root 13, 63 dic 26 10:19 mice
crw-r-----  1 root root 13, 32 dic 26 10:19 mouse0
crw-r-----  1 root root 13, 33 dic 26 11:09 mouse1
try on your pc, there is no group membership that can grant you write access; you can manually change it through
Code:
chown root.plugdev && chmod 660
or edit udev rules to do it automatically for you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Alternatives to key event from /dev/input/eventX Xeratul Linux - General 1 05-24-2012 03:12 PM
/dev/gps0 permission denied aus-city Linux - Software 2 03-13-2007 06:15 AM
Connection between Touch Screen Device Driver and /dev/input/event ... okeyla Linux - Hardware 2 03-05-2006 06:52 AM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM
/dev/null: Permission denied LavaDevil94 Linux - Software 2 09-15-2004 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration