Skip to content
Advertisement

Tag: linux-kernel

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 50kHz. At second time writing it stop toggling. At third

Unknown symbol in while loading a kernel module

I need help understanding why I get an error when I insert a module. I have tried this with no success. Many thanks. Answer I have solved this problem as suggested on this forum: Compiled scst. Appended the generated Module.symvers to existent /lib/modules/<version>/build/Module.symvers (Hack. Do not know why the kernel did not see the exported symbols). Copied the scst to

Converting jiffies to milli seconds

How do I manually convert jiffies to milliseconds and vice versa in Linux? I know kernel 2.6 has a function for this, but I’m working on 2.4 (homework) and though I looked at the code it uses lots of macro constants which I have no idea if they’re defined in 2.4. Answer As a previous answer said, the rate at

Advertisement