LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   driver to device mapping problem in Linux (https://www.linuxquestions.org/questions/linux-kernel-70/driver-to-device-mapping-problem-in-linux-517607/)

suchi 01-09-2007 02:13 AM

driver to device mapping problem in Linux
 
Hi all,
The Bus driver in Linux kernel maps the devices with drivers, say like "Such and such a device uses such and such a driver". Is there a possibility of finding out which device uses which driver under linux. I mean is there a command which says "Such and such a device is using such and such a driver" under linux. I have used lsmod but then that just gives information about the modules under use !

Suchindra Chandrahas

xjlittle 01-09-2007 07:18 PM

You're probably going to have to do a little leg work but how about
[code]
cat /proc/modules
[code]

Also I believe that KDE (at least in Kubuntu) may have something similar to device manager that may give you the info.


All times are GMT -5. The time now is 08:35 PM.