How to find the device driver used for a device

Configurare noua (How To)

Situatie

I want to find the driver for my Ethernet card.

Solutie

Pasi de urmat
$ sudo lspci
...
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit
 Ethernet controller (rev 01)
$ find /sys | grep drivers.*02:00
/sys/bus/pci/drivers/r8169/0000:02:00.0

That is r8169.

First I need to find coordinates of the device using lspci; then I find driver that is used for the devices with these coordinates.

Tip solutie

Permanent

Voteaza

(65 din 149 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?