Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Driver installation
- 10-11-2006

Re: Driver installation

Hi Nilesh,
driver files are usually object files infact kernel module object
files.and if u r using them it means they are under execution and the
location ,interms of memory location details,
would be either a part of the monolithic kernel(a builtin) or a module
that gets loaded and unloaded as per the need.
Typically ur drivers are modules.and to chk what are all the device
driver modules present in ur system issues the /sbin/lsmod command.
the object files are available in the /lib/modules/<version>
subdirectories.
Also take the help of /proc details as they can give u device specific
and kernel internal info.
/proc/devices would list the kernel modules with their major numbers.
Take up these major numbers and look into the /dev directory for the
files which have these major numbers attatched to them.
man -> insmod,rmmod,modprobe.
cat /proc/ -> device,interrupts
drivers are very very specific for the devices.post ur requirement more
specifically for a better help ;)
-kaushal

Re: Driver installation
I've Linux installed on ARM9.
When I give command lsmod or cat /proc/modules, I cannot see any
modules.
So aren't these installed at boot time.
But I can see the devices loaded by cat /proc/devices.
How do I check what all drivers are currently present on my system.
Thanks,
Nilesh

Re: Driver installation

The dirvers might not be modules.Instead they cud be part of the
kernel.Builtins for the kernel.
In that case u won't find them in lsmod.Try doing 'dmesg' command for
the list of devices installed during the boot time.Also u can chk
/var/log/messages for that sake.

Hence dmesg output and lsmod output together consitute the total
drivers present in ur system.

-kaushal
Site Timeline
- » Links-hacked & Only Directfb (How)
- — Next thread in » Embedded Linux
-
- » USB: how transmit more than wMaxPacketSize of bulk data in one submission ?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » regulacija 40 - 80V DC?
- — The site's Newest Thread. Posted in » Electronics (Croatian)
-