0
votes
0answers
30 views

What is the difference between cat and normal file operations on proc files

I have implemented a ps like utility module for procfs which extracts basic information such as command, pid, tgid etc. I have used the sequence file approach. I am inspecting my proc file using two ...
0
votes
0answers
57 views

Linux kernel module is not running anymore when switching from mdev to udev

I'm using Buildroot 2013.10 to generate my Linux 2.6.39 Images, with the following Kernel module: void GPIO_LED(void) { printk(" GPIO: set PC8: '0'); at91_set_gpio_value(AT91_PIN_PC8, 1); ...
3
votes
2answers
2k views

How to get a list of active drivers that are statically built into the linux kernel?

While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
2
votes
1answer
1k views

Automatically load kernel module at boot. (Angstrom)

i know how to load your module automatically in ubuntu. you put your module in /etc/modules But, i compile a kernel and filesystem for an embedded system which i am working on it. but there is no ...
2
votes
2answers
1k views

lsmod and /proc/modules

I can get a list of modules using either lsmod or cat /proc/modules. Do the two approaches use the same mechanism to retrieve the modules? I want to know this as we could use it to find some hidden ...