Skip to content

rootless access to gpiomem? #1225

@sinadogru

Description

@sinadogru

According to issue #1112, I suppose to access gpiomem without root access. But when I open(2) it returns -1 and perror prints, "Permission denied". Also,

pi@raspberrypi ~ $ ls -l /dev/gpiomem
crw------- 1 root root 244, 0 Jan 1 1970 /dev/gpiomem
pi@raspberrypi ~ $ ls -l /dev/mem
crw-r----T 1 root kmem 1, 1 Jan 1 1970 /dev/mem

I use recently updated Rasbian-Wheezy on Rpi 2 model B,

Here is some information,

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.14-v7+ #828 SMP PREEMPT Thu Dec 10 13:22:08 GMT 2015 armv7l GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions