LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to check on system devices currently using what module(driver)? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-on-system-devices-currently-using-what-module-driver-667441/)

hocheetiong 09-03-2008 10:46 PM

how to check on system devices currently using what module(driver)?
 
Hi, i using command: lsmod to show all current loaded modules include video driver, sound card...the eth0(this is in VMware) i know the module using pcnet32, why i using command lsmod than have show module pcnet32 but dont have show eth0, lets said if i don't know my eth0 is using pcnet32(module) than how to check it?


How to check current devices using which module?like eth1 using ipw2100(this is intel wifi card)?

Thank you.

Bruce Hill 09-04-2008 04:55 AM

I don't know about on Red Hat, but on Slackware-12.1 "lspci -v" as root.
Code:

for example:
root@silas:~# lspci -v
<snip>
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
        Subsystem: ASUSTeK Computer Inc. Unknown device 8239
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
        Memory at fe02a000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at b000 [size=8]
        Memory at fe029000 (32-bit, non-prefetchable) [size=256]
        Memory at fe028000 (32-bit, non-prefetchable) [size=16]
        Capabilities: [44] Power Management version 2
        Capabilities: [70] MSI-X: Enable- Mask- TabSize=8
        Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/3 Enable-
        Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
        Kernel driver in use: forcedeth

My version of lspci is version 2.2.10.


All times are GMT -5. The time now is 06:47 PM.