Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm currently taking a repair class and this is related to, but not actual homework.
On a Windows box we had to determine the I/O address, IRQ, and driver for COM1, COM2, LPT1, mouse, modem, CD drive, display adapter, and network card. Is there some relatively easy way to get this info in Linux?
By checking the BIOS, dmesg, and some other hunting I managed to find the I/O and IRQ for everything but the mouse. But how do I determine what the drivers are? I've found the related source and object files in the build tree for the kernel but I don't think those would be the drivers. Mainly because you don't need the source installed if you have a precompiled kernel.
Does Linux have something like Device Manager or Sandra?
Thanks for the reply. lsdev was a new one to me. Now all I need are the names of the drivers. I know that if something is loaded as a module the module is the driver. But what if something is compiled into the kernel. Is there a seperate file that is the driver? Or is the driver actually part of the kernel itself?
For example, if my CD-drive supoport were compiled as a module the driver would be ide-cd.so. Since it is compiled into the kernel is the kernel the driver?
I'm using Redhat, may be different for your OS. During the installation, a lot of generic drivers are loaded which will work in most cases. For example, I can find those cdrom drivers in /lib/modules/<kernel version>/kernel/drivers/ide/ide-cd.o
If I load a driver after the fact like my ltmodem , for example, a new folder is created with the drivers in it. In this case, they are found at... /lib/modules/<kernel version>/ltmodem/lt_modem.o and lt_serial.o
Find your kernel version with the command:uname -r
I know that /lib/modules/<kernel version>/kernel/drivers has the drivers for devices that are loaded as modules.
But what about devices that are not loaded as modules? To use the CD as an example, if I had CD support compiled as a modules I would have
/lib/modules/<kernel version>/kernel/drivers/ide/ide-cd.o
But I have the CD support compiled into the kernel instead of being a module, do the ide-cd.o does not exist.
Which means there are drivers someplace else also. Those are what I am trying to figure out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.