Skip to content

Tag: gpio

No access to /dev/mem. Try running as root

I’m a newbie! I have python files code to turn on the light: i tried here and here and here here on forum i chmod pi for /dev , adduser group file 1 file 2 access GPIO: Error occurs here. “No access to /dev/mem. Try running as root!” i have try here and here and here here on forum and

Periodic task in a Linux kernel module

Currently I am developing GPIO kernel module for friendlyarm Linux 2.6.32.2 (mini2440). I am from electronics background and new to Linux. The kernel module loaded at start-up and the related device file is located in /dev as gpiofreq. At first time writing to device file, GPIO pin toggles continuously at 50k…