What techniques to use in order to find driver/module associated with a hardware device? For example I have two NIC's in my PC. Kernel ring buffer doesn't give out much helpful information this time:
Code:
root:~ # dmesg | egrep "eth1|eth2"
ADDRCONF(NETDEV_UP): eth1: link is not ready
tg3: eth1: Link is up at 1000 Mbps, full duplex.
tg3: eth1: Flow control is off for TX and off for RX.
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
root:~ #
One could check the
lsmod output, but not always the names are self-explanatory. I could do:
Code:
for module in `lsmod | cut -f1 -d " "`; do modinfo $module; done
..but this is not obviously the smartest solution either
What tricks/software to you use in order to associate module with hardware device?