LIRC GPIO setup permission denied.
|
27th Jun, 2013, 11:11 PM
Post: #1
|
|||
|
|||
LIRC GPIO setup permission denied.
I am trying to set up a GPIO ir receiver on the raspberry pi.
When I try to run any of the associated programs (mode2, irrecord, irw) I get permission denied. I tried running as xbian and root. same either way. Am I doing something wrong? |
|||
28th Jun, 2013, 12:53 AM
Post: #2
|
|||
|
|||
RE: LIRC GPIO setup permission denied.
I guess you are running Alpha 1.
Reported on Github https://github.com/xbianonpi/xbian/issues/390. You can change them yourself with sudo chmod +x /usr/local/bin/xxx where xxx is the executable Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
28th Jun, 2013, 07:00 AM
Post: #3
|
|||
|
|||
RE: LIRC GPIO setup permission denied.
Nope, Beta 1. I did have this issue with alpha 1 as well. and I installed Beta 1 from scratch. but I will give that a try.
|
|||
28th Jun, 2013, 09:33 AM
Post: #4
|
|||
|
|||
RE: LIRC GPIO setup permission denied.
CHmod -x did nothing. Still permission denied.
root@xbian:/usr/local/bin# chmod -x lircrcd mode2 irrecord root@xbian:/usr/local/bin# modprobe lirc_rpi root@xbian:/usr/local/bin# mode2 -d /dev/lirc0 -bash: /usr/local/bin/mode2: Permission denied root@xbian:/usr/local/bin# /etc/init.d/lirc restart [FAIL] Stopping remote control daemon(s): LIRC: failed! [ ok ] Loading LIRC modules:. [ ok ] Starting remote control daemon(s) : LIRC :. root@xbian:/usr/local/bin# mode2 -d /dev/lirc0 -bash: /usr/local/bin/mode2: Permission denied GOT IT!!! Needed to change the permissions to 777 |
|||
28th Jun, 2013, 09:22 PM
Post: #5
|
|||
|
|||
RE: LIRC GPIO setup permission denied. | |||
29th Jun, 2013, 11:01 PM
Post: #6
|
|||
|
|||
RE: LIRC GPIO setup permission denied.
That was a typo. The permissions were the real issue though. 777 does the trick. +x makes it work if running as root. 777 lets me run it without sudo.
|
|||
« Next Oldest | Next Newest »
|